From GamingWiki
Line 89: | Line 89: | ||
for ( i = 0; i < markers.length; i++ ) { | for ( i = 0; i < markers.length; i++ ) { | ||
marker = markers[i]; | marker = markers[i]; | ||
− | if (typeof marker['address'] === 'undefined' || | + | if (typeof marker['address'] === 'undefined' || marker['address'] == '') { |
addMarkerByLatLng(marker['latlng'], marker['name'], marker['description']); | addMarkerByLatLng(marker['latlng'], marker['name'], marker['description']); | ||
} else { | } else { |