unfortunately hidden in a corporate internet :(
On Jul 18, 1:22 pm, "[email protected]" <[email protected]> wrote: > On Jul 18, 7:55 am, gdp <[email protected]> wrote: > > > Hi - the function below is called to create a set of markers on a map. > > My problem is that within themarkerclick listener I am trying to > > change theiconimage. What is in fact happening is that the last > >markerto be added to the map ends up showing my 'special'iconas > > soon as it is drawn and the click event does not change theiconfor > > any clickedmarker. The 2 alerts show the problem - the first alert > > shows the correctmarkerid value onclick, the second alert always > > shows the id of the lastmarkeradded to the map and this is the > >markerthat is given the 'special' image. So I guess my question is > > how to do get the setIcon method to act on themarkeridentified in > > the first alert. > > > Hope that makes a bit of sense to someone. Thanks for any help given > > as usual. > > Where is the link to a map that shows the problem? > > -- Larry -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
