placing multiple markers on google map from array
问题 I'm trying to place multiple markers on a map that are provided from an array. Right now only my initial point loads (NYC). var geocoder; var map; var markersArray = []; //plot initial point using geocode instead of coordinates (works just fine) function initialize() { geocoder = new google.maps.Geocoder(); latlang = geocoder.geocode( { 'address': 'New York City'}, function(results, status) { //use latlang to enter city instead of coordinates if (status == google.maps.GeocoderStatus.OK) { map