[openstreetmap/openstreetmap-website] fix for #1239 add public gps tiles layer for debugging purposes (#1406)
IOOI-SqAR
notifications at github.com
Wed Jan 4 13:09:37 UTC 2017
IOOI-SqAR commented on this pull request.
> @@ -64,6 +64,16 @@ L.OSM.HOT = L.OSM.TileLayer.extend({
}
});
+L.OSM.GPS = L.OSM.TileLayer.extend({
+ options: {
+ url: document.location.protocol === 'https:' ?
+ 'https://{s}.gps-tile.openstreetmap.org/lines/{z}/{x}/{y}.png' :
+ 'http://{s}.gps-tile.openstreetmap.org/lines/{z}/{x}/{y}.png',
+ maxZoom: 20,
+ subdomains: 'abc'
+ }
+});
+
I have just created https://github.com/jfirebaugh/leaflet-osm/pull/15
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1406
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170104/775b7db3/attachment-0001.html>
More information about the rails-dev
mailing list