v0.6.9.2 © 2011-2014 James Inge. Geocaching Map Enhancements is licensed for reuse under the MIT License. For documentation, see http://geo.inge.org.uk/gme.htm
Elevation and reverse geocoding data provided by GeoNames and used under a Creative Commons Attribution 3.0 (CC-BY) License.
Grid reference manipulation is adapted from code © 2005-2014 Chris Veness (www.movable-type.co.uk/scripts/latlong-gridref.html, used under a Creative Commons Attribution 3.0 (CC-BY) License.
Photos provided by Panoramio and Geograph are copyright their respective owners - hover mouse over thumbnails or click through for attribution details. Geograph photos may be resused under a Creative Commons Attribution-ShareAlike 2.0 (CC-BY-SA) License.
Custom mapsources can be added by supplying entering a JSON configuration string that tells GME what to call the map, where to find it, and how it is set up. e.g.
{"alt":"OS
NPE (GB
only)","tileUrl":"http://ooc.openstreetmap.org/npe/{z}/{x}/{y}.png",
"minZoom":6, "maxZoom": 15, "attribution": "OpenStreetMap NPE" }
The "alt"
and "tileUrl"
parameters are mandatory. "tileUrl"
can contain {x}, {y} and {z} for Google-style coordinate systems (also works with TMS systems like Eniro, but needs the "scheme":"tms"
parameter), or {q} for Bing-style quadkeys. GME can also connect with WMS servers, in which case a "layers"
parameter is required.
The other parameters are the same as those used by the Leaflet API, with the addition of a "overlay":true
option, that makes the mapsource appear as a selectable overlay.