Posts by Fernando Falcão • 1 point
1 post
-
0
votes1
answer176
viewsA: Maps API Cordova - Add multiple markers
Try it this way: addMarkers(data, function(markers) { markers[markers.length - 1].showInfoWindow(); }); function addMarkers(data, callback) { var markers = []; function onMarkerAdded(marker) {…