Module: ol/format/KML

ol/format/KML


Classes

KML

Type Definitions

GxTrackObject{Object}

Properties:
Name Type Description
flatCoordinates Array.<number>
whens Array.<number>

Options{Object}

Properties:
Name Type Argument Default Description
extractStyles boolean <optional>
true

Extract styles from the KML.

showPointNames boolean <optional>
true

Show names as labels for placemarks which contain points.

defaultStyle Array.<module:ol/style/Style~Style> <optional>

Default style. The default default style is the same as Google Earth.

writeStyles boolean <optional>
true

Write styles into KML.

Vec2{Object}

Properties:
Name Type Description
x number
xunits module:ol/style/IconAnchorUnits
y number
yunits module:ol/style/IconAnchorUnits
origin module:ol/style/IconOrigin