VFeatureState

FeatureState Component.

<v-feature-state
  :feature="{
    id: string,
    source: string,
  }"
  :state="{ hover: true }"
/>

Load FeatureState

property

propertyrequiredtypedescription
featuretrueobjectLayer Feature
feature.idtruestringLayer source geojson feature id
feature.sourcetruestringlayer source id
feature.sourceLayerfalsestringlayer sourceLayer id
statetrueobjectfeature state

for more details you can access to mapbox website, go toopen in new window

Last Updated:
Contributors: timeroute