Greasemonkey, or how to embed OSM into geocaching.com
ارسالی از IgnoredAmbience در 29 آوریل 2008 به 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
نظر از xsteadfastx در 29 آوریل 2008 ساعت 07:00
where can i find the greasemonkey script? this would be awsome.
نظر از NicRoets در 29 آوریل 2008 ساعت 09:38
It's at http://groups.google.com/group/enhanced-os-maps-for-geocaching
This is sooo greeaat !
نظر از IgnoredAmbience در 29 آوریل 2008 ساعت 16:11
Hmm, a reasonably good response, I'll push an update to remember the last layer selected ASAP.
نظر از HannesHH در 29 آوریل 2008 ساعت 16:34
Great job!
I wish geocaching.com would use OSM maps by default to encourage GPS-lovers to contribute.
نظر از zby-cz در 21 اکتبر 2009 ساعت 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
نظر از richlv در 15 ژوئیه 2016 ساعت 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.