Excerpts from pmilanovic's message of Mon Jun 08 05:49:39 -0400 2009:
>
> Is it posible to read description attribute of KML file?
feature.attributes.description should do this.
-Nick
>
> I have loaded kml file with next commands
>
> testLayer = new OpenLayers.Layer.GML("Test layer", kmlPath,
> {
> format: OpenLayers.Format.KML,
> projection: map.displayProjection,
> formatOptions: {
> extractStyles: true,
> extractAttributes: true
> }
> });
> ...
>
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users