• Home
  • Pricing
  • Features
  • Support
    • Documentation
    • What’s New
    • Changelog
    • Support Forum
    • Contact Support
  • Account
  • Get Started
  • Home
  • Pricing
  • Features
  • 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.

    Try the free version, or get MapPress Pro for professional maps.

    © 2010-2023 Chris Richardson and mappresspro.com

    MapPress Pro