On Nov 24, 11:46 am, "Diego Plentz" <[EMAIL PROTECTED]> wrote:
> It remains the same even if I add this line
>
> GEvent.clearListeners(marker, "click")
>
> before the GEvent.addListener(marker, "click", function() { ...
>
> On Mon, Nov 24, 2008 at 5:41 PM, Rossko <[EMAIL PROTECTED]> wrote:
>
> > > ... but the infoWindow remais the default. Any idea?
>
> > Where in your code would you stop the default infoWindow action
> > happening ?
>See the documentation for GDirections. Once GDirections has returned a result (the "load" event fires), use the documented methods to get the marker, remove it from the map and add a new one with your click listener at the same location. There have been several threads that discussed this in the past, you can search the group for them if you need more info. Or if you run into problems you could even follow the posting guidelines and post a link to "your" map: http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines (rather than code...) -- Larry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-API?hl=en -~----------~----~----~----~------~----~------~--~---
