Methods
取消自定义颜色模式
取消高亮
显示隐藏的Feature
取消只显示模式
取消 高亮、闪烁、只显示、只隐藏
取消闪烁
指定自定义颜色的Feature
Name | Type | Description |
---|---|---|
ids |
Array.<String> | |
colorFn |
function | 接受指定Feature的Id,根据Id返回该Feature应该要设置的颜色值 |
获取Feature的Id
Name | Type | Description |
---|---|---|
feature |
Object | Cesium3DTileFeature类型 |
Returns:
获取Tileset对象的layerPath
LayerNode#path
Name | Type | Description |
---|---|---|
tileset |
Cesium3DTileset |
Returns:
根据uri获取数据源
Name | Type | Description |
---|---|---|
uri |
String |
Returns:
高亮 Feature
Name | Type | Description |
---|---|---|
id |
String |
feature的Id,获取Id方法 FeatureManager#getFeatureId |
color |
Color | 颜色可以自定义 |
高亮 Feature
Name | Type | Description |
---|---|---|
id |
String |
feature的Id,获取Id方法 FeatureManager#getFeatureId |
color |
Color | 颜色可以自定义 |
只隐藏指定Feature
Name | Type | Description |
---|---|---|
ids |
Array.<String> |
获取Id方法 FeatureManager#getFeatureId |
只显示指定Feature,其余Feature隐藏
Name | Type | Description |
---|---|---|
ids |
Array.<String> |
获取Id方法 FeatureManager#getFeatureId |
移除指定自定义颜色的Feature
Name | Type | Description |
---|---|---|
ids |
Array.<String> |
设置隐藏色
Name | Type | Description |
---|---|---|
color |
Color |
设置高亮色
Name | Type | Description |
---|---|---|
color |
Color |
闪烁指定Feature
Name | Type | Description |
---|---|---|
id |
String |
获取Id方法 FeatureManager#getFeatureId |
更新指定自定义颜色的Feature
Name | Type | Description |
---|---|---|
ids |
Array.<String> |