Greasemonkey, or how to embed OSM into geocaching.com
Skrive av IgnoredAmbience 29 april 2008 på English
Greasemonkey is a brilliant plugin for Mozilla Firefox which allows you to run JavaScript snippets on loading certain webpages.
Using Greasemonkey, it is possible to embed OSM into other websites.
Several months ago, I originally started to embed Ordnance Survey maps into geocaching.com, since there was a reasonable demand for this functionality.
In the most recent version (after working on the OL codebase a little), I added OSM to the available layers for the map widget in an attempt to spread OSM's reputation among geocachers. The good news is that two people have already commented that they're surprised by OSM's coverage, and have started mapping their own data!
I gradually intend to push OSM further up the layer list and hopefully make it the default layer in future versions.
Discussion
Kommentar frå xsteadfastx, 29 april 2008 kl. 07:00
where can i find the greasemonkey script? this would be awsome.
Kommentar frå NicRoets, 29 april 2008 kl. 09:38
It's at http://groups.google.com/group/enhanced-os-maps-for-geocaching
This is sooo greeaat !
Kommentar frå IgnoredAmbience, 29 april 2008 kl. 16:11
Hmm, a reasonably good response, I'll push an update to remember the last layer selected ASAP.
Kommentar frå HannesHH, 29 april 2008 kl. 16:34
Great job!
I wish geocaching.com would use OSM maps by default to encourage GPS-lovers to contribute.
Kommentar frå zby-cz, 21 oktober 2009 kl. 10:57
It doesnt work for me any more, it just shows the google maps. Isnt that userscript out of date? But i would love to see OSM maps instead all the google maps on GC.com website :) thanks
Kommentar frå richlv, 15 juli 2016 kl. 21:21
in the meantime, geocaching moved to osm as the default (mapquest open tiles), then moved back to google maps when mapquest open tiles disappeared. anybody got a snippet for firefox to use osm again ? google maps… are lacking any and every useful detail.