-
filters
Collection<BuildingFilter>
autocast
- 自从:ArcGIS 适用于 JavaScript 4.12 的 API
可用于显示或隐藏 SceneView 中特定函数的过滤器集合。当仅应显示图层中数据的子集时,使用过滤器非常有用。要激活 BuildingFilter,请将其添加到此 Collection 并将其 id 分配给 activeFilterId。激活后,只有满足过滤器 filterBlocks 定义的条件的函数才会显示在 SceneView 中。
例子:
// define a floor filter const buildingFilter = new BuildingFilter({ filterBlocks: [{ // an SQL expression that filters using the BldgLevel field filterExpression: "BldgLevel = 3" }] }); // set the filter in the filters array on the layer buildingLayer.filters = [buildingFilter]; // specify which filter is the one that should be applied buildingLayer.activeFilterId = buildingFilter.id;
基本信息
以下是所在类或对象的基本信息。
AMD:
require(["esri/layers/BuildingSceneLayer"], (BuildingSceneLayer) => { /* code goes here */ });
ESM:
import BuildingSceneLayer from "@arcgis/core/layers/BuildingSceneLayer";
类:
esri/layers/BuildingSceneLayer
继承: BuildingSceneLayer > Layer > Accessor
自从:用于 JavaScript 4.10 的 ArcGIS API
用法说明
BuildingSceneLayer.filters
函数(或属性)的定义如下:
相关用法
- JavaScript ArcGIS BuildingSceneLayer.fullExtent用法及代码示例
- JavaScript ArcGIS BuildingSceneLayer.url用法及代码示例
- JavaScript ArcGIS BuildingSceneLayer.minScale用法及代码示例
- JavaScript ArcGIS BuildingSceneLayer.loadAll用法及代码示例
- JavaScript ArcGIS BuildingSceneLayer.maxScale用法及代码示例
- JavaScript ArcGIS BuildingSceneLayer.summaryStatistics用法及代码示例
- JavaScript ArcGIS BuildingSceneLayer.apiKey用法及代码示例
- JavaScript ArcGIS BuildingSceneLayer.on用法及代码示例
- JavaScript ArcGIS BuildingSceneLayer.when用法及代码示例
- JavaScript ArcGIS BuildingSceneLayer.outFields用法及代码示例
- JavaScript ArcGIS BuildingSceneLayer.visible用法及代码示例
- JavaScript ArcGIS BuildingSceneLayer.opacity用法及代码示例
- JavaScript ArcGIS BuildingSceneLayer.layerId用法及代码示例
- JavaScript ArcGIS BuildingSceneLayer.portalItem用法及代码示例
- JavaScript ArcGIS BuildingSceneLayer.allSublayers用法及代码示例
- JavaScript ArcGIS BuildingSceneLayer.version用法及代码示例
- JavaScript ArcGIS BuildingSceneLayer用法及代码示例
- JavaScript ArcGIS BuildingSceneLayerView.sublayerViews用法及代码示例
- JavaScript ArcGIS BuildingSceneLayerView.highlight用法及代码示例
- JavaScript ArcGIS BuildingSceneLayerView.when用法及代码示例
- JavaScript ArcGIS BuildingSceneLayer layerview-create-error事件用法及代码示例
- JavaScript ArcGIS BuildingSceneLayer layerview-create事件用法及代码示例
- JavaScript ArcGIS BuildingSceneLayerView用法及代码示例
- JavaScript ArcGIS BuildingSublayer.modelName用法及代码示例
- JavaScript ArcGIS BuildingSummaryStatistics用法及代码示例
注:本文由纯净天空筛选整理自arcgis.com大神的英文原创作品 BuildingSceneLayer.filters。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。