aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-bing.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-10-11 16:51:09 +0100
committerMatthew Somerville <matthew@mysociety.org>2013-10-11 19:41:32 +0100
commit0407e599b3dff6ac04f89acb12a4727ee3d481bc (patch)
tree9db3efb0e9382bfc070aca05359528c5f0bffa61 /web/js/map-bing.js
parenta4175ffd108308ad6c848c0dbac3cb05a58b4eec (diff)
Upgrade main OpenLayers to 2.13.1.
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;
- });
-});