aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-bing.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@fury.ukcod.org.uk>2011-03-09 22:21:04 +0000
committerMatthew Somerville <matthew@fury.ukcod.org.uk>2011-03-09 22:21:04 +0000
commitc56f704e998b418aa3f11d5e3b6b86d6c7ce40e6 (patch)
tree4c23b1830e9b6cb35d71413a5387dc6fe367bfad /web/js/map-bing.js
parent6f5bebbb14ec2291ef6b3621f24acffeb9d70a98 (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-bing.js')
-rw-r--r--web/js/map-bing.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/map-bing.js b/web/js/map-bing.js
index fbbbcc676..da8f3512b 100644
--- a/web/js/map-bing.js
+++ b/web/js/map-bing.js
@@ -1,5 +1,5 @@
YAHOO.util.Event.onContentReady('map', function() {
- var centre = new Microsoft.Maps.Location( fixmystreet.lat, fixmystreet.lon );
+ var centre = new Microsoft.Maps.Location( fixmystreet.latitude, fixmystreet.longitude );
var map = new Microsoft.Maps.Map(document.getElementById("map"), {
mapTypeId: Microsoft.Maps.MapTypeId.ordnanceSurvey,
center: centre,