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?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.