Support

Account

Home Forums Feature Requests Google Map – Save Map Data Reply To: Google Map – Save Map Data

  • Hi Dave,

    I see your point. However there’s also a few issues with this. Firstly I’m not sure wether it’s possible to save more data from the map. Sure you could save the current zoom value but other than that? Secondly it would still not be enough to make sure the map you see in admin looks the same as the one you create on the frontend. Since the map in the admin has a relative width it’ll show you different amount of content depending on your screen size. And it’s the same for the front end (if you use responsive design which I sincerely hope).

    You could get the maps height at least (since that never changes) by fetching the field object: http://www.advancedcustomfields.com/resources/get_field_object/
    You’d also get the initial zoom level but I’m guessing that’s not too helpful for you.

    Would you think it’s enough to also save the current zoom level?