Results 1 to 4 of 4

Thread: Google Map Selector v2.0

  1. #1
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,370
    Thanks
    77
    Thanked 3,421 Times in 3,382 Posts
    Blog Entries
    12

    Default Google Map Selector v2.0

    This is an update to: Google Map Selector - http://www.dynamicdrive.com/dynamici...apselector.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), 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:

    http://john.dynamicdrive.com/demos/g.../ddnewdemo.htm
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,370
    Thanks
    77
    Thanked 3,421 Times in 3,382 Posts
    Blog Entries
    12

    Default

    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:

    http://www.dynamicdrive.com/forums/s...an-t-get-links

    For questions or comments, respond to this post. Or start a new thread in the DD scripts help area.
    Last edited by jscheuer1; 03-16-2017 at 06:16 PM. Reason: English Usage
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,370
    Thanks
    77
    Thanked 3,421 Times in 3,382 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,370
    Thanks
    77
    Thanked 3,421 Times in 3,382 Posts
    Blog Entries
    12

    Default

    Update: Switched back to cookies for persistence, added option for long range or session only.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Google Map Selector - can't get links
    By jscheuer1 in forum Bug reports
    Replies: 0
    Last Post: 03-02-2017, 07:09 PM
  2. trouble with google map selector
    By mcolton in forum Dynamic Drive scripts help
    Replies: 7
    Last Post: 03-01-2017, 08:02 PM
  3. Replies: 0
    Last Post: 04-16-2013, 07:44 AM
  4. google map selector
    By racerxfactor in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 04-16-2013, 07:39 AM
  5. Google Map Selector
    By SillyoldDuffer in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 03-02-2011, 08:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •