FeatureSelect

要素选中

new YS.FeatureSelect()

要素选中类,静态类

Methods

staticYS.FeatureSelect.add(ys, feature)

添加要素选中状态
Name Type Description
ys Object YouScene对象
feature Line | Polygon | Label | Icon 要显示选中状态的要素对象

staticYS.FeatureSelect.clean()

清除

staticYS.FeatureSelect.destroy()

销毁

staticYS.FeatureSelect.hide(feature)

隐藏要素选中状态
Name Type Description
feature Line | Polygon | Label | Icon 要隐藏选中状态的要素对象

staticYS.FeatureSelect.remove(feature)

删除要素选中状态
Name Type Description
feature Line | Polygon | Label | Icon 要删除选中状态的要素对象

staticYS.FeatureSelect.show(feature)

显示要素选中状态
Name Type Description
feature Line | Polygon | Label | Icon 要显示选中状态的要素对象

staticYS.FeatureSelect.update(feature)

更新要素选中状态
Name Type Description
feature Line | Polygon | Label | Icon 要更新选中状态的要素对象