Optional
opt_options: KMLOptionsOptions.
Feature format for reading and writing data in the KML format.
Note that the KML format uses the URL() constructor. Older browsers such as IE which do not support this will need a URL polyfill to be loaded before use.
stable
Read the first feature from a KML source. MultiGeometries are converted into GeometryCollections if they are a mix of geometry types, and into MultiPoint/ MultiLineString/MultiPolygon if they are all of the same type.
Source.
Optional
opt_options: ReadOptionsRead options.
Feature.
stable
Read all features from a KML source. MultiGeometries are converted into GeometryCollections if they are a mix of geometry types, and into MultiPoint/ MultiLineString/MultiPolygon if they are all of the same type.
Source.
Optional
opt_options: ReadOptionsRead options.
Features.
stable
Read the projection from a KML source.
Source.
Projection.
stable
Encode an array of features in the KML format. GeometryCollections, MultiPoints, MultiLineStrings, and MultiPolygons are output as MultiGeometries.
Features.
Optional
opt_options: WriteOptionsOptions.
Result.
stable
Encode an array of features in the KML format as an XML node. GeometryCollections, MultiPoints, MultiLineStrings, and MultiPolygons are output as MultiGeometries.
Features.
Optional
opt_options: WriteOptionsOptions.
Node.
Generated using TypeDoc
Classdesc
Feature format for reading and writing data in the KML format.
Note that the KML format uses the URL() constructor. Older browsers such as IE which do not support this will need a URL polyfill to be loaded before use.
Param: opt_options
Options.
Api
stable