VFeatureState

FeatureState 控件。

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

加载 FeatureState

属性

属性必选类型描述
feature是object对应的图层特征
feature.id是string特征 ID
feature.source是string图层源
feature.sourceLayer否string图层的 sourceLayer
state是object状态

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

Last Updated:
Contributors: timeroute