On Mar 9, 11:54 am, Cirdan il Timoniere <[email protected]> wrote: > I follow your advice, if you are interested I solved the problem in > this way...
Right. Now you are creating the markers in a separate function, (the geocoder callback function), and thereby you are correctly obtaining function closure. But since buildings do not change location very often it would be more efficient to geocode your addresses only once, rather than sending new requests to the geocoder, for the same address, every time someone loads the page. -- Marcelo - http://maps.forum.nu -- Thanks for your help and patience. > > http://cirdan.ilbello.com/cirdanmaps/geocoder_v3.htm > > bye > > On 7 Mar, 19:21, Marcelo <[email protected]> wrote: > > > > > On Mar 7, 6:03 pm, Cirdan il Timoniere <[email protected]> > > wrote: > > > > Thank you Brak for your answer. > > > I chaged code as you suggest but unfortunately it doed not work > > > properly. For every marker, the tip is the same, the content of > > > descr[3]. > > > > You can see here your > > > suggestions...http://cirdan.ilbello.com/cirdanmaps/brak.htm > > > > Any other ideas? Thanx > > > It's not about "ideas". > > You need to obtain function closure:http://econym.org.uk/gmap/closure.htm > > > Create your markers in a separate function. > > > -- > > Marcelo -http://maps.forum.nu > > -- -- 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.
