Thanks for such friendly responses - this project is on a company intranet, its not a profit making thing - just me messing about trying to provide my co-workers with a tool - it is impossible for me to make it public without setting up a duplicate site which would involve me having to make it all anonoymous etc which is too much effort - particularly seeing as the issue is not the end of the world the that the two reponses so far are unencouraging, i have found that usually on these groups if somebody is more interested in being a smart arse, self righteous or unpleasant they also would be incapable of actually giving an answer to the question
On Jul 18, 1:39 pm, Florian Behr <[email protected]> wrote: > Then Read the Terms of Service. > Gmaps API is for public use only. > > 2011/7/18 gdp <[email protected]> > > > 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. -- 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.
