Types
Initialization options for the load
method.
Properties
Gets or sets default of whether to clamp to the ground.
Gets an object that maps the href property of a crs link to a callback function which takes the crs properties object and returns a Promise that resolves to a function that takes a GeoJSON coordinate and transforms it into a WGS84 Earth-fixed Cartesian. Items in this object take precedence over those defined in crsLinkHrefs
, assuming the link has a type specified.
Gets an object that maps the type property of a crs link to a callback function which takes the crs properties object and returns a Promise that resolves to a function that takes a GeoJSON coordinate and transforms it into a WGS84 Earth-fixed Cartesian. Items in crsLinkHrefs
take precedence over this object.
Gets an object that maps the name of a crs to a callback function which takes a GeoJSON coordinate and transforms it into a WGS84 Earth-fixed Cartesian. Older versions of GeoJSON which supported the EPSG type can be added to this list as well, by specifying the complete EPSG name, for example 'EPSG:4326'.
Gets or sets the default color of the map pin created for each point.
Gets or sets the default size of the map pin created for each point, in pixels.
Gets or sets the default symbol of the map pin created for each point. This can be any valid Maki identifier, any single character, or blank if no symbol is to be used.
Gets or sets the default width of polylines and polygon outlines.
Functions
Creates a Promise to a new instance loaded with the provided GeoJSON or TopoJSON data.