Dear All,
I read a list of lat long values over a period of time.
Then I run a for loop and show each of the lat long by using a arrow
icon. So each time I create a new marker which is red color. What I
want to do is that when I populate the i+1 marker then the pervious i
marker I want to change it to different color say for example yellow
color? Any idea how to do that ? My basic code each time for i is as
below
var marker = new GMarker(point, replayIcons[icontype]);
GEvent.addListener(marker, "click", function()
{
var htmlString = "Vehicle No.: "+vno+"<br/>"+
"Loc. : "+loc+"<br/>"+
"</font>";
marker.openInfoWindowHtml(htmlString);
}
)
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en.