Dear Rossko,
                    How will the code look like to save a marker and change
the image of the earlier marker? Thank you.

On Sun, Sep 5, 2010 at 1:15 AM, ss <shaisoftwa...@gmail.com> wrote:

> 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 google-maps-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to