aboutsummaryrefslogtreecommitdiffstats
path: root/web/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
parent2f4473bb13a1b8065b12b8040b0da4bf6f9df7b9 (diff)
Update Bing Maps parameter ID.
[fixmystreet.com] Update to use OS OpenMap Local tiles.
Diffstat (limited to 'web/js')
-rw-r--r--web/js/map-bing-ol.js8
-rw-r--r--web/js/map-fms.js10
2 files changed, 9 insertions, 9 deletions
diff --git a/web/js/map-bing-ol.js b/web/js/map-bing-ol.js
index 6662bf91a..526ad2da9 100644
--- a/web/js/map-bing-ol.js
+++ b/web/js/map-bing-ol.js
@@ -95,10 +95,10 @@ OpenLayers.Layer.Bing = OpenLayers.Class(OpenLayers.Layer.XYZ, {
get_urls: function(bounds, z) {
return [
- "//ecn.t0.tiles.virtualearth.net/tiles/r${id}.png?g=5941",
- "//ecn.t1.tiles.virtualearth.net/tiles/r${id}.png?g=5941",
- "//ecn.t2.tiles.virtualearth.net/tiles/r${id}.png?g=5941",
- "//ecn.t3.tiles.virtualearth.net/tiles/r${id}.png?g=5941"
+ "//ecn.t0.tiles.virtualearth.net/tiles/r${id}.png?g=6570",
+ "//ecn.t1.tiles.virtualearth.net/tiles/r${id}.png?g=6570",
+ "//ecn.t2.tiles.virtualearth.net/tiles/r${id}.png?g=6570",
+ "//ecn.t3.tiles.virtualearth.net/tiles/r${id}.png?g=6570"
];
},
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;