ExtendedData in KML for use in GoogleMaps

4 views
Skip to first unread message

Trem

unread,
Oct 8, 2008, 2:17:21 AM10/8/08
to KML Developer Support - Getting Started with KML
Hi,

I've read that meta data can be added to KML using the ExtendedData/
Data element and that it can be used within the BalloonStyle for
GoogleEarth.

However if I am using Google Maps, BallonStyle is not available. Is
there any way I can read custom meta data values from a KML file that
is used to generate a Google Map?

Ideally I would like to be able to read the values from the KML object
and assign to javascript variables that can be used for displaying
these values around the page.

Cheers,

Trem

barryhunter [KML Guru]

unread,
Oct 8, 2008, 9:22:51 AM10/8/08
to KML Developer Support - Getting Started with KML
The issue is that Google Maps KML parser doesnt read these and/or that
the enviroment wouldnt know what to do with them if it did..

As you note KML can represent this just fine.

however using the Google Maps API, there is nothing stopping you
developing your own custom KML parser. GeoXML and EGeoXml are two
starting points you could use.
Reply all
Reply to author
Forward
0 new messages