User Password Lost Password? 
  • Home
  • Features
  • Pricing
  • Support
    • Documentation
    • What’s New
    • Changelog
    • Support Forum
    • Contact Support
  • Account
  • Get Started
  • Home
  • Features
  • Pricing
  • Support
    • Documentation
    • What’s New
    • Changelog
    • Support Forum
    • Contact Support
  • Account
  • Get Started

Reply To: Ajax response not working for setCenter() etc

Home › Forums › MapPress Support › Ajax response not working for setCenter() etc › Reply To: Ajax response not working for setCenter() etc

July 24, 2013 at 7:49 am #13071
Chris
Keymaster

Hi,

I don’t think you want to wrap your function calls in jQuery(). Try:
mapp0.setCenter(response);

Instead of:
jQuery(mapp0.setCenter(response));

MapPress is the leading Leaflet and Google Maps Plugin for WordPress.  Get the free version or try MapPress Pro for dozens of additional features.

© 2020 Chris Richardson and mappresspro.com

Do NOT follow this link or you will be banned from the site!