[openstreetmap/openstreetmap-website] fix for #1239 add public gps tiles layer for debugging purposes (#1406)
Tom Hughes
notifications at github.com
Wed Jan 4 12:53:53 UTC 2017
tomhughes 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'
+ }
+});
+
@derickr well that builds on this - they're two components of the same things although I agree the split is a bit arbitrary.
@IOOI-SqAR open the upstream PR but there's not need to remove it here as we still need it, we just don't want out version diverging from upstream.
--
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/d32e454f/attachment.html>
More information about the rails-dev
mailing list