From GamingWiki
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[' | + | 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']); |