Sunday, March 14, 2010

Marker setImage changing image for the wrong marker

Hi,

I am using .setImage to change the image for a marker. Howevere it is
changing the image for the wrong marker.

I have set up a simplified example at http://www.homeforhire.com/googlemaptest.aspx

Rollover the markers to see that it changes the icon on the wrong
marker. This issue seems to be inconsistent and occurs in all
browers.

A full example of how the application works is viewable at
http://www.homeforhire.com/Home.aspx?sId=46393 however this code does
a number of other things at the same time. The code which highlighs
the marker has been removed pending resolution of this bug as this is
a live site.

My javascript is very average so please excuse me if this issue is a
basic javascript issue that I cannot see.

Any help greatly appreciated.

Karen

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate