I think you can also remove the <name> and <description> from the kml
and no infoWindow will appear.

On Oct 30, 8:09 am, "[email protected]" <[email protected]>
wrote:
> On Oct 30, 7:41 am, wisalex <[email protected]> wrote:
>
> > I place the GGeoXML to map and need to handle clicking on it.
> > The data for GGEoXML loads from kml.
>
> > Code:
> > GEvent.addListener(map, "click", function(overlay,latlng) {
> > if (overlay) {
> >         buildInfo(overlay.name);
> >               }
>
> > } );
>
> > but function buildInfo don't get overlay.name, and shows embedded
> > infoWIndow with content of tag <name> of polyline
>
> > How I can to disable this info window? hide() not works
>
> Either:
> 1. intercept the addOverlay events:
> From Mike Williams' tutorial:
> Part 36 Tricks with GGeoXmlhttp://econym.org.uk/gmap/interceptor.htm
>
> or
> 2. use a 3rd party parser for the KML.
>
>   -- 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to