OptionalbaselayerOptionalidOptionalitemOptionallayerOptionalmapOptionalnameOptionalorderOptionalselectedTrue 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.
OptionaladdAdd GeoJson data to layer.
GeoJson object.
OptionalbeforeOptionalclearRemove layer data.
Optionalcb: (feature: F) => booleanDelete 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.
OptionalgetOptionalgetOptionalgetOptionalgetGet the filtered objects of the vector layer.
OptionalgetAllows to get all vector objects of the layer. Does not work for vector tiles.
OptionalgetOptionaloptions: GetLegendOptionsOptionalgetGet 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.
Filter, conforming to the PropertiesFilter expression specification's.
Optionaloptions: FilterOptions<Options object.
OptionalremoveCancel the filter, return all objects to the map.
OptionalremoveOptionalselectMethod for selecting objects on the map. The selectedPaint option will be applied to the selected objects.
OptionalfindFeatureCb: PropertiesFilter | DataLayerFilter<F, L>OptionalsetUpdate layer with new geojson.
GeoJson object.
OptionalsetOptionalsetOptionalsetOptionalshowOptionalshowOptionallayer: LOptionalunselectDeselect all objects in the vector layer.
OptionalfindFeatureCb: PropertiesFilter | DataLayerFilter<F, L>OptionalupdateOptionaloptions: UpdateLayerAdapterOptionsOptionalupdateOptionalupdateOptionalupdateOptionallayerDef: LayerDefinition<F, L>
Adapter for vector data display control.