aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/map-google.js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-07-03 16:19:37 +0100
committerStruan Donald <struan@exo.org.uk>2013-07-03 16:19:37 +0100
commit996bf676b2aa53b682157a6adafa3b17511d4430 (patch)
tree080a878e8d58baefdab1b6fedf0bb1368cc2a26f /www/js/map-google.js
parent482ac93b6ddc827d151425df4f85b36d73239872 (diff)
tidy up of lots of unused files
Diffstat (limited to 'www/js/map-google.js')
-rw-r--r--www/js/map-google.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/www/js/map-google.js b/www/js/map-google.js
deleted file mode 100644
index 7da21ba..0000000
--- a/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); }
- });
-});