[openstreetmap/openstreetmap-website] fix for #1239 add public gps tiles layer for debugging purposes (#1406)
IOOI-SqAR
notifications at github.com
Wed Jan 4 12:52:27 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'
+ }
+});
+
So I basically create a new pull request with https://github.com/jfirebaugh/leaflet-osm first and remove that part here then?
--
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/4c98631b/attachment.html>
More information about the rails-dev
mailing list