Arrays to be merged
var longitudeArray = [];
var latitudeArray = [];
I'm trying to merge the two arrays above to make a third array called locations
to access it like the example below to display markers on Google Maps. Any ideas how to merge them both?
position: new google.maps.LatLng(locations[i][1], locations[i][2]),