From 0835c58d60d13f61d7b134cc690cf1a46d310278 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 29 Dec 2013 18:18:15 +0000 Subject: fixed typo (i hate weak typed languages...) --- map3.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/map3.js b/map3.js index 8b5dce1..2f40e11 100644 --- a/map3.js +++ b/map3.js @@ -93,8 +93,8 @@ function onAddOverlay(overlay) { function onMapClick(mouse_event) { - map.setCenter(mouse_event.latlng); - setNewMarker(mouse_event.latlng); + map.setCenter(mouse_event.latLng); + setNewMarker(mouse_event.latLng); } //##//function onData(data, responseCode) { @@ -527,10 +527,10 @@ function addNewNodeText(point) { var html = 'Neuen Knoten eintragen
Nutzen sie den Zoombereich aus!


'; html += ''; - html += ''; + html += ''; html += ''; - html += ''; + html += 'onclick="javascript:centerAndZoom(' + point.lat + ',' + point.lng + ')" />'; + html += ''; html += ''; html += '
Breitengrad: ' + convertCoords(point.y) + ' 
Breitengrad: ' + convertCoords(point.lat) + ' 
Längengrad: ' + convertCoords(point.x)+ ' 
Längengrad: ' + convertCoords(point.lat)+ ' 
'; -- cgit v1.2.1