diff options
author | Edmund von der Burg <evdb@mysociety.org> | 2013-09-10 16:33:13 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-03-12 16:49:30 +0000 |
commit | 4514e67c1d001d40171508f450a0aacba3e57c84 (patch) | |
tree | 51d9f4a8bae710edc7bd7638f56c5f39cf59a375 /phonegap/www/js/map-google.js | |
parent | 87017d5197a623f642b0267ddd44f4d6c70bf751 (diff) |
Remove the phonegap directory
Diffstat (limited to 'phonegap/www/js/map-google.js')
-rw-r--r-- | phonegap/www/js/map-google.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/phonegap/www/js/map-google.js b/phonegap/www/js/map-google.js deleted file mode 100644 index 7da21ba09..000000000 --- a/phonegap/www/js/map-google.js +++ /dev/null @@ -1,22 +0,0 @@ -$(function(){ - var centre = new google.maps.LatLng( fixmystreet.latitude, fixmystreet.longitude ); - var map = new google.maps.Map(document.getElementById("map"), { - mapTypeId: google.maps.MapTypeId.ROADMAP, - center: centre, - zoom: 16, - disableDefaultUI: true, - navigationControl: true, - navigationControlOptions: { - style: google.maps.NavigationControlStyle.SMALL - }, - mapTypeControl: true, - mapTypeControlOptions: { - style: google.maps.MapTypeControlStyle.DROPDOWN_MENU - } - }); - - google.maps.event.addListener(map, "zoom_changed", function() { - if (map.getZoom() < 13) { map.setZoom(13); } - if (map.getZoom() > 17) { map.setZoom(17); } - }); -}); |