diff options
author | Steven Day <steve@mysociety.org> | 2016-04-28 13:11:04 +0100 |
---|---|---|
committer | Steven Day <steve@mysociety.org> | 2016-04-28 13:11:04 +0100 |
commit | 3bc83903d0c3467d0659b9fb47374a476b4a0a3f (patch) | |
tree | a512b5650cdc0591bd8348e1c3d535a14b6a772e /www/js/map-bing.js | |
parent | 78b35e6402441962149db536a15249c45fa3c7f6 (diff) | |
parent | d623b70d7273ad212074fa1e008c4e3ceb480fdf (diff) |
Merge remote-tracking branch 'mysociety/cordova-6-fix-maps' into cordova-6
Diffstat (limited to 'www/js/map-bing.js')
-rw-r--r-- | www/js/map-bing.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/www/js/map-bing.js b/www/js/map-bing.js deleted file mode 100644 index 715a8ef..0000000 --- a/www/js/map-bing.js +++ /dev/null @@ -1,22 +0,0 @@ -$(function(){ - var centre = new Microsoft.Maps.Location( fixmystreet.latitude, fixmystreet.longitude ); - var map = new Microsoft.Maps.Map(document.getElementById("map"), { - credentials: fixmystreet.key, - mapTypeId: Microsoft.Maps.MapTypeId.ordnanceSurvey, - center: centre, - zoom: 15, - enableClickableLogo: false, - enableSearchLogo: false, - showCopyright: false, - showDashboard: true, - showLogo: false, - showScalebar: false - }); - //minZoomLevel: 14, - //numZoomLevels: 4 - - Microsoft.Maps.Events.addHandler(map, "viewchangestart", function(e) { - /* Doesn't work */ - if (map.getTargetZoom() < 12) { return false; } - }); -}); |