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/Icon~IconAnchorUnits
y number
yunits module:ol/style/Icon~IconAnchorUnits
origin module:ol/style/Icon~IconOrigin