Hello,

I'm using a KML layer like this:

var brewpub_layer = new
OpenLayers.Layer.GML("KML", "path/to/my.kml",
              {
              format: OpenLayers.Format.KML,
              projection: map.displayProjection,
              formatOptions: {  
                extractStyles: true,
                extractAttributes: true
               }
             });

This works fine as far as the features are concerned. But I would
also like to extract a few other attributes from the kml file to
display them beside the map.

Currently I'm talking about <name> and <description> attributes only.

How can this be done?

Sven

-- 
"The term "any key" does not refer to a particular key on the keyboard. It
simply means to strike any one of the keys on your keyboard or handheld
screen." (Compaq FAQ Entry 2859)
/me is gig...@ircnet, http://sven.gegg.us/ on the Web
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to