Classes
Type Definitions
-
GxTrackObject{Object}
-
Properties:
Name Type Description coordinatesArray.<Array.<number>> Coordinates.
whensArray.<number> Whens.
-
A function that takes a url
{string}and returns a url{string}. Might be used to change an icon path or to substitute a data url obtained from a KMZ array buffer. -
KMLCamera{Object}
-
Specifies the observer's viewpoint and associated view parameters.
Properties:
Name Type Description Latitudenumber | undefined Latitude of the camera.
Longitudenumber | undefined Longitude of the camera.
Altitudenumber | undefined Altitude of the camera.
AltitudeModestring | undefined Floor-related altitude mode.
Headingnumber | undefined Horizontal camera rotation.
Tiltnumber | undefined Lateral camera rotation.
Rollnumber | undefined Vertical camera rotation.
-
Options{Object}
-
Properties:
Name Type Description extractStylesboolean
(defaults to true)Extract styles from the KML.
showPointNamesboolean
(defaults to true)Show names as labels for placemarks which contain points.
defaultStyleArray<Style> | undefined Default style. The default default style is the same as Google Earth.
writeStylesboolean
(defaults to true)Write styles into KML.
crossOriginnull | string
(defaults to 'anonymous')The
crossOriginattribute for loaded images. Note that you must provide acrossOriginvalue if you want to access pixel data with the Canvas renderer.iconUrlFunctionIconUrlFunction | undefined Function that takes a url string and returns a url string. Might be used to change an icon path or to substitute a data url obtained from a KMZ array buffer.
-
Vec2{Object}
-
Properties:
Name Type Description xnumber X coordinate.
xunitsIconAnchorUnits Units of x.
ynumber Y coordinate.
yunitsIconAnchorUnits Units of Y.
originIconOrigin | undefined Origin.