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['latlng'], marker['name'], marker[' | + | addMarkerByLatLng(marker['latlng'], marker['name'], marker['node']); |
} else { | } else { | ||
− | addMarkerByAddress(marker['address'], marker['name'], marker[' | + | addMarkerByAddress(marker['address'], marker['name'], marker['node']); |
} | } | ||
} | } |