Optional
adapterOptional
attributionOptional
baselayerIndicate on a cartographic base layer.
Optional
clusterOptional
clusterMax zoom to cluster points on
Optional
clusterRadius of each cluster when clustering points
Optional
crossParameter added when forming a request for layer data. This is needed if you want to access tile pixel data. Refer to CORS Settings for valid String values.
Optional
dataGeojson data
Optional
featureOptional
fieldsOptional
filterOptional
fitFit map to layer extent
Optional
headersOptional
heightOptional
idUnique Layer ID. If not specified, will be added automatically.
Optional
interactiveOptional
intersectsWKT polygon geometry
Optional
labelOptional
labelOptional
labelOptional
labelShow set label immediately
Optional
layersOptional
layoutOptional
limitLimit (paginated) - max number of entities should be taken.
Optional
maxTODO: replace by maxZoom
Optional
maxMaximum zoom level of the map.
Optional
minTODO: replace by minZoom
Optional
minMinimum zoom level of the map.
Optional
multiselectIndicates whether several objects can be selected in one layer.
Optional
nameNon-unique name of the layer. Can be used for user interfaces.
Optional
nativeOptional
nativeMap and layer adapter base options Use with care. There may be a conflict in the addLayer method by the adapter of the NextGIS Frontend library
Optional
nativeOptional
offsetOffset (paginated) where from entities should be taken.
Optional
onOptional
opacityLayer transparency. From 0-transparent to 1-visible
Optional
orderIndicates the map layers display sequence. A layer with a larger order value overlaps smaller ones. Zero value used to indicate baselayer. If the value is not specified explicitly, it will be assigned automatically with an increase of one for each new layer.
Optional
orderset fields for order
Optional
paintDetermine the appearance of the vector data geometries.
Optional
popupOptional
popupOptional
popupOptional
popupOptional
propertiesOptional
propsAny properties to save in layer. May be useful to get additional info from layer event.
Optional
ratioOptional
selectableDetermines whether objects are selected by mouse click.
Optional
selectedOptional
selectedThe paint that applies to the features after it becomes selected.
Optional
selectMake the feature selected while mouseover.
Optional
setExperimental option to set the map loading delay when changing position
Optional
sourceOptional
srsExperimental only for Ol yet
Optional
strategyOptional
typeType for geometries painting, for each layer may be only one of: point
, polygon
or line
.
Optional
unselectIf false, the selection will be reset when the user clicks the map.
Optional
unselectDeselects layer feature by second click.
Optional
visibilityShow layer on the map immediately after adding. Such layers are always under others. Only one base layer can be displayed on the map at a time.
Optional
waitWait until the layer data is fully loaded before allowing added to the map.
Optional
withOptional
onOptional
onOptional
onuse VectorAdapterOptions.onClick instead
Optional
onuse VectorAdapterOptions.onSelect instead
Optional
onFired when the mouse leaves the layer.
Optional
onFired when the mouse enters the layer.
Optional
on
String to be shown in the attribution control. It describes the layer data and is often a legal obligation towards copyright holders and tile providers.