I have a KML file overlay on an embedded Google Map using the GGeoXml
object. I'd like to be able to access specific placemarks in the KML
file from Javascript (for example to highlight a selected polygon on
the map in response to user action).
Ideally what I'd like to do is something like this (pseudo-code):
geoXml.getPlacemarkByName('Foo').focus();
Unforunately the [Google Maps API](http://code.google.com/apis/maps/
documentation/reference.html#GGeoXml) doesn't seem to expose the
placemarks or any other internals of the KML overlay. Does anyone have
any thoughts as to how I might accomplish this? I don't know anything
about how the overlays are implemented internally, but it seems like
there might be a hack that would let me do this.
I'm also using jQuery FWIW.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---