diff options
author | Matthew Somerville <matthew@fury.ukcod.org.uk> | 2011-03-09 22:21:04 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@fury.ukcod.org.uk> | 2011-03-09 22:21:04 +0000 |
commit | c56f704e998b418aa3f11d5e3b6b86d6c7ce40e6 (patch) | |
tree | 4c23b1830e9b6cb35d71413a5387dc6fe367bfad /web/js/map-google.js | |
parent | 6f5bebbb14ec2291ef6b3621f24acffeb9d70a98 (diff) |
Fixes to other map types to work with lat/lon. Split OSM JavaScript into core OpenLayers bits and OSM config bit.
Diffstat (limited to 'web/js/map-google.js')
-rw-r--r-- | web/js/map-google.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/map-google.js b/web/js/map-google.js index 77e54ab7c..ab9bb9042 100644 --- a/web/js/map-google.js +++ b/web/js/map-google.js @@ -1,5 +1,5 @@ YAHOO.util.Event.onContentReady('map', function() { - var centre = new google.maps.LatLng( fixmystreet.lat, fixmystreet.lon ); + 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, |