Greasemonkey, or how to embed OSM into geocaching.com
Unviáu por IgnoredAmbience el 29 April 2008 en 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
Comentariu de xsteadfastx el 29 de April de 2008 a les 07:00
where can i find the greasemonkey script? this would be awsome.
Comentariu de NicRoets el 29 de April de 2008 a les 09:38
It's at http://groups.google.com/group/enhanced-os-maps-for-geocaching
This is sooo greeaat !
Comentariu de IgnoredAmbience el 29 de April de 2008 a les 16:11
Hmm, a reasonably good response, I'll push an update to remember the last layer selected ASAP.
Comentariu de HannesHH el 29 de April de 2008 a les 16:34
Great job!
I wish geocaching.com would use OSM maps by default to encourage GPS-lovers to contribute.
Comentariu de zby-cz el 21 de October de 2009 a les 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
Comentariu de richlv el 15 de July de 2016 a les 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.