Animation options for the map content source.
Note that not all options will be used since this source's animation is managed by a parent timeline animation.
Provides data configuration options for the data source.
A function that returns the geographical coordinate based on the model object.
An optional formatter function that can be used to format layer data before being processed for rendering on the map. This function receives the entire dataset loaded for the layer and should return the formatted data to use when rendering map elements.
A function that returns the shape's GeoJSON geometry based on the model object.
An array of objects to display on the map. If this value is provided, then data will not be requested from a remote source.
Data property key associations.
Property key path to use for an object's category or grouping, if any.
If the model is represented as a polygon or polyline by a valid path
key path and
each path's category is defined on the path object, prefix this category key path
with [path]
. This will use category property relative to the path's object instead
of the model's root object.
Property key path to use for an object's identifier.
Property key path to use for the object's coordinate path that defines the shape. If the value of this property is an array, then multiple paths will be rendered on the map for the model.
Property key path that contains the point/coordinate data for the layer. This value can also be an array of key paths, in which case the points will be combined when rendering the data source's points on the map.
Key path to the root of the node containing the array of data elements (e.g. features
).
If not provided, then the root node is assumed to contain the array of data elements.
Property key path to use for the object's date/time. Can be a single value or an object
providing a range as from
and to
property key paths.
Key path of the property that contains the data's value for each object in the response. This can also be a function that receives the model's data and returns the value to use in case additional formatting needs to occur on the value.
Configuration options to use when requesting data for the layer (for vector content sources only).
API action to use for the request. Default value is ApiAction.WITHIN
for point content
sources and ApiAction.SEARCH
for shape content sources.
API endpoint to use for the request.
Defines the request parameters to use when requesting data for the layer.
A Boolean indicating whether the data's coordinate arrays are reversed from the GeoJSON
standard (e.g. [lat, lon]
instead of the default of [lon, lat]
).
The ApiRequest instance to use when loading API data for the data source. Either an instance of ApiRequest or configuration options to use when requesting data for the layer (for vector content sources only).
The URL string to request data from for the data source. Value may be a function that receives information about the map, such as current coordinate bounds, to format a URL string before returning.
Unique identifier for the source.
Data auto-update interval, in seconds. Default value is 0
, which disables auto-updating.
Whether the data source requests data for the visible map bounds. If true
, then data will
be reloaded whenever the map's visible region changes. Default value is false
.
Whether the data source requests should be restricted to the from/to time range associated
with the timeline. Set this value to false
if you want to control the data's time range
outside of the data source. Default is true
.
Style associated with the source.
Generated using TypeDoc
A data type that provides the configuration options for a combined source instance.