Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

Here is a list of all the markers:  https://sites.google.com/site/gmapsdevelopment/

here is how to added them to a marker

instantiate the object:

var marker = new google.maps.Marker({position: new google.maps.LatLng(lata,longi), map: map,title: "Some title", icon: 'https://maps.google.com/mapfiles/ms/micons/rangerstation.png'});

 

Flow and Method:

var allMarkers = [];

var marker = new google.maps.Marker({position: new google.maps.LatLng(lata,longi), map: map,title: "Some title"});

allMarkers.push(marker);

var marker = new google.maps.Marker({position: new google.maps.LatLng(lata2 ,longi2 ), map: map,title: "Some title 2"});

allMarkers.push(marker);

 

for(var ix=0;ix< allMarkers.length;ix++ )

{

  allMarkers[ix].setIcon('https://maps.google.com/mapfiles/ms/icons/red-dot.png');

}