experimental new ol.format.KML(opt_options)
| Name | Type | Argument | Description | ||||||
|---|---|---|---|---|---|---|---|---|---|
options |
optional
Options.
|
||||||||
Extends
Methods
-
experimental readFeature(source){ol.Feature}
-
Read the first feature from a KML source.
Name Type Description sourceArrayBuffer | Document | Node | Object | string Source.
-
experimental readFeatures(source){Array.<ol.Feature>}
-
Read all features from a KML source.
Name Type Description sourceArrayBuffer | Document | Node | Object | string Source.
-
experimental readProjection(source){ol.proj.Projection}
-
Read the projection from a KML source.
Name Type Description sourceArrayBuffer | Document | Node | Object | string Source.
OpenLayers 3