aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-bing.js
diff options
context:
space:
mode:
authorChris Mytton <self@hecticjeff.net>2013-10-16 14:09:32 +0100
committerChris Mytton <self@hecticjeff.net>2013-10-16 14:09:32 +0100
commit762c106ec81a4923d35b1eb4c60d762e60a495bf (patch)
tree4b7244a7e1fbfd53a7ef950a02072c162999af71 /web/js/map-bing.js
parent0efb806e7dbfc6681230041751ed49552ec3ba5b (diff)
parent6daf4d511f5a2fd908d53ee974e04be4bf3ee722 (diff)
Merge branch 'master' into oxfordshire-usability-recommendations
Diffstat (limited to 'web/js/map-bing.js')
-rw-r--r--web/js/map-bing.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/web/js/map-bing.js b/web/js/map-bing.js
deleted file mode 100644
index 856e4f188..000000000
--- a/web/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;
- });
-});