diff options
Diffstat (limited to 'web/js/map-fms.js')
-rw-r--r-- | web/js/map-fms.js | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/web/js/map-fms.js b/web/js/map-fms.js index 1c08bd251..6ef4265d0 100644 --- a/web/js/map-fms.js +++ b/web/js/map-fms.js @@ -59,12 +59,14 @@ OpenLayers.Layer.BingUK = OpenLayers.Class(OpenLayers.Layer.Bing, { } } else { var type = ''; - if (z > 10 && in_uk) { type = '&productSet=mmOS'; } + if (z > 10 && in_uk) { + type = '&productSet=mmOS&key=' + fixmystreet.key; + } urls = [ - "//ecn.t0.tiles.virtualearth.net/tiles/r${id}.png?g=3293" + type, - "//ecn.t1.tiles.virtualearth.net/tiles/r${id}.png?g=3293" + type, - "//ecn.t2.tiles.virtualearth.net/tiles/r${id}.png?g=3293" + type, - "//ecn.t3.tiles.virtualearth.net/tiles/r${id}.png?g=3293" + type + "//ecn.t0.tiles.virtualearth.net/tiles/r${id}.png?g=3467" + type, + "//ecn.t1.tiles.virtualearth.net/tiles/r${id}.png?g=3467" + type, + "//ecn.t2.tiles.virtualearth.net/tiles/r${id}.png?g=3467" + type, + "//ecn.t3.tiles.virtualearth.net/tiles/r${id}.png?g=3467" + type ]; } return urls; |