OptionalidOptionallayerOptionalmapOptionalnameOptionalorderOptionalselectedTrue if there are selected features in the layer
OptionalsourceExperimental option, only for MVT. Points to a data source instead of loading data into a layer.
Add GeoJson data to layer.
GeoJson object.
OptionalbeforeRemove layer data.
Optionalcb: (feature: F) => boolean
Delete only those objects that match the filter.
OptionalcloseOptionalfindFeatureCb: DataLayerFilter<F, L>OptionalfilterAbility 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.
OptionalgetOptionalgetOptionalgetuse getBounds instead
OptionalgetGet the filtered objects of the vector layer.
Allows to get all vector objects of the layer. Does not work for vector tiles.
OptionalgetOptionaloptions: GetLegendOptionsGet the selected objects of the vector layer.
OptionalhideOptionalhideOptionallayer: LOptionalisOptionalonCallback function that will be called when clicking on a layer.
Data that is transmitted when you click on a layer.
OptionalopenOptionalfindFeatureCb: DataLayerFilter<F, L>Optionaloptions: PopupOptions<Feature<Geometry, GeoJsonProperties>, any>OptionalpropertiesThe way to filter layer objects through serializable expressions.
To clear the filter, pass null or undefined as the second parameter.
Optionalfilters: Filter, conforming to the PropertiesFilter expression specification's.
Optionaloptions: FilterOptions<Options object.
OptionalremoveCancel the filter, return all objects to the map.
OptionalremoveMethod for selecting objects on the map. The selectedPaint option will be applied to the selected objects.
OptionalfindFeatureCb: PropertiesFilter | DataLayerFilter<F, L>Update layer with new geojson.
GeoJson object.
OptionalsetOptionalsetOptionalsetOptionalshowOptionalshowOptionallayer: LDeselect all objects in the vector layer.
OptionalfindFeatureCb: PropertiesFilter | DataLayerFilter<F, L>OptionalupdateOptionaloptions: UpdateLayerAdapterOptionsOptionalupdateOptionalupdateOptionalupdateOptionallayerDef: LayerDefinition<F, L>
Adapter for vector data stored as GeoJSON.