On Tue, Sep 8, 2009 at 3:53 AM, Rossko  wrote:
>
> > My question is this: if I
> > have a map that uses a KLM file with elevation in SchemaData elements, then
> > I click on a section of the map, is there a way to get the value of those
> > SchemaData elements for the section I clicked via the API?
>
> No.  If you use Google's KML parser, via GGeoXml, it will discard any
> data it isn't interested in.  Because that happens at Google's
> servers, the data will never get to the client.
> If you use one of the client-side parsers, GeoXml or EGeoXml, you
> could customise that to parse your custom KML data and do whatever ...
> For instance you might store the data as a custom attribute on the
> GPolygon object and adapt the click handler to do what you need with
> it.
>
> cheers, Ross K
>

Alright, now we're getting somewhere.  Thanks for a point in the right
direction.

--~--~---------~--~----~------------~-------~--~----~
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