Optional
idOptional
layerOptional
mapOptional
nameOptional
orderOptional
selectedTrue if there are selected features in the layer
Optional
sourceExperimental option, only for MVT. Points to a data source instead of loading data into a layer.
Optional
addOptional
beforeOptional
clearOptional
closeOptional
findFeatureCb: DataLayerFilter<F, L>Optional
filterAbility to filter a layer with a callback function. It is necessary for the adapter to provide access to the layer objects before output to the map. It is not possible to apply such a filter to vector tiles and data on the remote server. So, where possible, use the VectorLayerAdapter.propertiesFilter.
Optional
getOptional
getOptional
getuse getBounds instead
Optional
getGet the filtered objects of the vector layer.
Optional
getAllows to get all vector objects of the layer. Does not work for vector tiles.
Optional
getOptional
options: GetLegendOptionsOptional
getGet the selected objects of the vector layer.
Optional
hideOptional
hideOptional
layer: LOptional
isOptional
onCallback function that will be called when clicking on a layer.
Data that is transmitted when you click on a layer.
Optional
openOptional
findFeatureCb: DataLayerFilter<F, L>Optional
options: PopupOptions<Feature<Geometry, GeoJsonProperties>, any>Optional
propertiesThe way to filter layer objects through serializable expressions.
To clear the filter, pass null
or undefined
as the second parameter.
Filter, conforming to the PropertiesFilter expression specification's.
Optional
options: FilterOptions<P>Options object.
Optional
removeOptional
removeOptional
selectMethod for selecting objects on the map. The selectedPaint
option will be applied to the selected objects.
Optional
findFeatureCb: DataLayerFilter<F, L> | PropertiesFilterOptional
setOptional
setOptional
setOptional
setOptional
showOptional
showOptional
layer: LOptional
unselectDeselect all objects in the vector layer.
Optional
findFeatureCb: DataLayerFilter<F, L> | PropertiesFilterOptional
updateOptional
options: UpdateLayerAdapterOptionsOptional
updateOptional
updateOptional
updateOptional
layerDef: LayerDefinition<F, L>
Adapter for vector data display control.