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 GGeoXml
http://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