This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Work on to bring back google maps

Former Member
Former Member
Ok I would first like to state that I am not a developer just a good old fashion geek, however im certain that with a bit of investigation and effort the maps currently used by Garmin connect can be replaced on a per user basis.
I believe at this that the application itself has not changed, its only the physical maps which are called.

Reviewing the code and the way the website behaves using the following tools available for the firefox web browser:
1) firebug
2) pagespeed
3) addblock plus
Along with reviewing the source code l currently believe that the intergration seems to be based around a flash api called umap : http://www.afcomponents.com/components/umap_as3/docs/

At this moment I believe the bing map info may be called from the following MicrosoftSettings.xml file:
http://umap.s3.amazonaws.com/assets/xml/MicrosoftSettings.xml

I believe that google maps info may have been called from the following GoogleSettings.xml file:
http://umap.s3.amazonaws.com/assets/xml/GoogleSettings.xml

As such I believe that using a browser plugin which permits the modification of webpages such as greasemonkey for firefox will permit code to be written to replace the bing maps with googlemaps.

My javascript skill set is lacking as such im trying to read up on how to do this with greasemonkey. Should anyone else whish to have a go please do.

Like I said im no developer and have no idea for certain if this is how the maps are called but the site most certainly currently refrences the MicrosoftSettings.xml file at this time. I also other websites using google maps refrenced the GoogleSettings.xml file as such this seems a good place to start as any.

If you can not help with coding, but are technically minded please review as much as you can and provide any URL's you think the maps are pulled from and any ideas or suggestions you have.

NOTE : Garmin state running firebug slows down performance of garmin connect, read the following URL for more details:- https://forums.garmin.com/showthread.php?p=43015
  • Former Member
    0 Former Member over 14 years ago
    As a fellow geek, I love this!

    I'm staying optimistic that Garmin will respond appropriately to the user outrage expressed in this forum, but if they do not, I would certainly embrace a solution like this.

    Nice work. :)
  • Former Member
    0 Former Member over 14 years ago
    I certainly reckon someone with a FireFox browser plugin such as GreaseMonkey could get it to overlay a Google Map over the Bing one. If you type

    h t t p://maps.google.com/maps?q=connect.garmin.com/.../[Activity_ID]?full=true

    into your address bar and insert the activity ID of any of your activities, Google will get your map straight from the Garmin Connect website. Surely someone could use this info.

    Edit: sorry - fully reread your post and didn't realise you mentioned GreaseMonkey. Someone must be able to do it.
  • Former Member
    0 Former Member over 14 years ago
    Looks like garmin have blocked direct access from google maps to load KML source now - above doesn't work for me. I can save the KML from the GC URL and view in Google Earth just fine.
  • Former Member
    0 Former Member over 14 years ago
    Greasemonkey script

    Here's a link to a Greasemonkey script I wrote that restores the Google map on the dashboard and activity pages:

    http://www.renderfast.com/garminconnect/garmin_connect_google_ma.user.js
  • Former Member
    0 Former Member over 14 years ago
    Here's a link to a Greasemonkey script I wrote that restores the Google map on the dashboard and activity pages:

    http://www.renderfast.com/garminconnect/garmin_connect_google_ma.user.js


    For me the map indeed changes to Google, but it doesn't show the run-path or even zoom/locate on the area in which I ran, unfortunately. It also slows down some selections (of runs in the dashboard) to the point of them not seeming to show up at all.

    But I appreciate you making an effort AS OPPOSED TO THE DUMMIES AT GARMIN!!!!

    YOU HEAR YOUR CUSTOMERS YET?????
  • Former Member
    0 Former Member over 14 years ago
    Voice your discontent ">here">here and ">here">here
  • Former Member
    0 Former Member over 14 years ago
    Greasemonkey script updated

    For me the map indeed changes to Google, but it doesn't show the run-path or even zoom/locate on the area in which I ran, unfortunately. It also slows down some selections (of runs in the dashboard) to the point of them not seeming to show up at all.

    But I appreciate you making an effort AS OPPOSED TO THE DUMMIES AT GARMIN!!!!

    YOU HEAR YOUR CUSTOMERS YET?????


    I have updated the greasemonkey script. It uses a different method to display the Google map and completely removes the Bing map, so it should be faster.

    It can be downloaded here, Garmin Connect Google Maps Greasemonkey script, at userscripts.org.
  • Former Member
    0 Former Member over 14 years ago
    Great - almost no Bing!

    The script works wonders. I can see Google maps in everything but the player. I guess that's a bit harder to sort out :(

    Between tools like this script and the chrome plugin, and the plethora or other sites that know what a decent map looks like, we are not forced to be the dumb consumers to be drained of money at your convenience :p
  • Former Member
    0 Former Member over 14 years ago
    Can this work on a Mac?
  • Former Member
    0 Former Member over 14 years ago
    Just used the firefox version many thanks what joy to see a proper map with detail. :D:):D:)