View Full Version : Google Map Selector v2.0

03-02-2017, 07:16 PM
This is an update to: Google Map Selector - http://www.dynamicdrive.com/dynamicindex11/googlemapselector.htm

That script no longer works as described, as the links cannot be procured in the manner instructed on the demo page. There is a workaround (see my post on that in the bug reports section (http://www.dynamicdrive.com/forums/showthread.php?81004-Google-Map-Selector-can-t-get-links)), but even that might not be workable at some point because Google is changing its syntax on all its links and may eventually remove the possibility of using the workaround I discovered.

This new script changes the markup, styles and script. Only the script has changed radically though, and now includes optional persistence and an easier path to having multiple map groups on a page. All required files and updated instructions are here:


03-08-2017, 03:24 AM
Update: In addition to adding optional persistence and greater ease of modularity, I've added an optional utility for converting the data-embed attributes to short goo.gl addresses. Also of note, if you're updating from the original version, you can use your existing links without having to look them up again and without needing to add the data-embed attributes. That's because, although Google maps no longer supplies the old address format*, it still recognizes it for navigation purposes.

*In fact you can still get the old address format (or one close enough to it to work), for now, at least until Google Maps changes this, if you follow the instructions here:


For questions or comments, respond to this post. Or start a new thread in the DD scripts help area.

03-16-2017, 06:15 PM
Update: Switched to local/session storage for remembering selected maps. Added a helper script to use when updating your old markup and/or css to the new script. Added css driven animations if using the new css.

03-18-2017, 04:26 PM
Update: Switched back to cookies for persistence, added option for long range or session only.