From GamingWiki
Jump to: navigation, search
Line 90: Line 90:
 
marker = markers[i];
 
marker = markers[i];
 
if (typeof marker['address'] === 'undefined' || marker['address'] == '') {
 
if (typeof marker['address'] === 'undefined' || marker['address'] == '') {
addMarkerByLatLng(marker['latlng'], marker['name'], marker['node']);
+
addMarkerByLatLng(marker['lat'], marker['lng'], marker['name'], marker['node']);
 
} else {
 
} else {
 
addMarkerByAddress(marker['address'], marker['name'], marker['node']);
 
addMarkerByAddress(marker['address'], marker['name'], marker['node']);

Revision as of 06:48, 29 October 2010