VFeatureState
FeatureState
Component.
<v-feature-state
:feature="{
id: string,
source: string,
}"
:state="{ hover: true }"
/>
Load FeatureState
property
property | required | type | description |
---|---|---|---|
feature | true | object | Layer Feature |
feature.id | true | string | Layer source geojson feature id |
feature.source | true | string | layer source id |
feature.sourceLayer | false | string | layer sourceLayer id |
state | true | object | feature state |
for more details you can access to mapbox website, go to