aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-fms.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-08-01 10:05:11 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-08-01 10:05:39 +0100
commitff75abcb0b43cdca74b813f73b7b25f4c6868eab (patch)
tree91972348d96b372ee852af0ec45f9635eb9faf07 /web/js/map-fms.js
parent2f4473bb13a1b8065b12b8040b0da4bf6f9df7b9 (diff)
Update Bing Maps parameter ID.
[fixmystreet.com] Update to use OS OpenMap Local tiles.
Diffstat (limited to 'web/js/map-fms.js')
-rw-r--r--web/js/map-fms.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/web/js/map-fms.js b/web/js/map-fms.js
index 014bd58bb..37ef8dfa1 100644
--- a/web/js/map-fms.js
+++ b/web/js/map-fms.js
@@ -1,4 +1,4 @@
-fixmystreet.maps.tile_base = [ [ '', 'a-', 'b-', 'c-' ], '//{S}tilma.mysociety.org/sv' ];
+fixmystreet.maps.tile_base = [ [ '', 'a-', 'b-', 'c-' ], '//{S}tilma.mysociety.org/oml' ];
fixmystreet.maps.config = (function(original) {
return function(){
@@ -61,10 +61,10 @@ OpenLayers.Layer.BingUK = OpenLayers.Class(OpenLayers.Layer.Bing, {
type = '&productSet=mmOS&key=' + fixmystreet.key;
}
urls = [
- "//ecn.t0.tiles.virtualearth.net/tiles/r${id}.png?g=5941" + type,
- "//ecn.t1.tiles.virtualearth.net/tiles/r${id}.png?g=5941" + type,
- "//ecn.t2.tiles.virtualearth.net/tiles/r${id}.png?g=5941" + type,
- "//ecn.t3.tiles.virtualearth.net/tiles/r${id}.png?g=5941" + type
+ "//ecn.t0.tiles.virtualearth.net/tiles/r${id}.png?g=6570" + type,
+ "//ecn.t1.tiles.virtualearth.net/tiles/r${id}.png?g=6570" + type,
+ "//ecn.t2.tiles.virtualearth.net/tiles/r${id}.png?g=6570" + type,
+ "//ecn.t3.tiles.virtualearth.net/tiles/r${id}.png?g=6570" + type
];
}
return urls;