OpenLayers JavaScript Mapping Library |
OpenLayers. Format.KMLRead/Wite KML. Create a new instance with the OpenLayers.Format.KML constructor. Inherits fromSummary
read
Read data from a string, and return a list of features. Parameters
Returns{Array(OpenLayers.Feature.Vector)} List of features. write
Accept Feature Collection, and return a string. Parameters
Returns{String} A KML string. |
Read data from a string, and return a list of features.
read: function( data )
Accept Feature Collection, and return a string.
write: function( features )