VFeatureState

FeatureState 控件。

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

加载 FeatureState

属性

属性必选类型描述
featureobject对应的图层特征
feature.idstring特征 ID
feature.sourcestring图层源
feature.sourceLayerstring图层的 sourceLayer
stateobject状态

想要更多信息请访问 mapbox 官网, 查看open in new window

Last Updated:
Contributors: timeroute