aboutsummaryrefslogtreecommitdiffstats
path: root/phonegap/www/js/map-bing.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-03-12 16:52:29 +0000
committerMatthew Somerville <matthew@mysociety.org>2014-03-12 16:52:29 +0000
commit8b725b38bb6abf3b77e22c2f65f93fabfc92c645 (patch)
tree6e4ab7d0c4047fc0342427da86da1f1820ae864b /phonegap/www/js/map-bing.js
parent87017d5197a623f642b0267ddd44f4d6c70bf751 (diff)
parent1185871fe27fa663a95b304e2f223d458525ed85 (diff)
Merge branch 'delete-mobile-app-folders'
Diffstat (limited to 'phonegap/www/js/map-bing.js')
-rw-r--r--phonegap/www/js/map-bing.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/phonegap/www/js/map-bing.js b/phonegap/www/js/map-bing.js
deleted file mode 100644
index 715a8efc9..000000000
--- a/phonegap/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; }
- });
-});