ZenithSourceOptions | MapGL | Urbi Documentation
MapGL JS API

ZenithSourceOptions

Zenith data source initialization options

Properties
undefinedstring

Put IDs of source features to separate ID-scope. If idScope isn't specified, all IDs will be added into the "default" ID-scope. Objects that have the same ID inside ID-scope will be processed by map as one object. For example, these objects will be selected simultaneously.

Scope of the identifiers is used for objects selection, see method map.setSelectedObjects.

undefinedstring

ID of the layer stored on the Tile Server used to fetch tiles and other resources. "layerId" overrides the tileTemplateUrl and the metatileTemplateUrl options if they are provided,

undefinedstring

URL template used to fetch meta-tiles. If it is provided alongside the "layerId" option, "layerId" is not used.

string[]

Attributes provided to the data source by every object

undefinedstring

Name of the object attribute to use as id.

Data source attributes.

undefinedstring

URL template used to fetch tiles. If it is provided alongside the "layerId" option, "layerId" is not used.