- 自从:ArcGIS 适用于 JavaScript 4.16 的 API
定义最大簇的符号大小(以点(或像素,如果指定)为单位)。如果修改了 clusterRadius,一般应考虑调整
clusterMaxSize
。例如,如果您希望集群图标不重叠,那么
clusterMaxSize
应该大大小于clusterRadius
。默认值:37.5
例子:
// clusterMaxSize should be adjusted // appropriately to conform // to the clusterRadius layer.featureReduction = { type: "cluster", clusterRadius: "50px", clusterMaxSize: "32px" };
基本信息
以下是所在类或对象的基本信息。
AMD:
require(["esri/layers/support/FeatureReductionCluster"], (FeatureReductionCluster) => { /* code goes here */ });
ESM:
import FeatureReductionCluster from "@arcgis/core/layers/support/FeatureReductionCluster";
类:
esri/layers/support/FeatureReductionCluster
继承: FeatureReductionCluster > Accessor
自从:用于 JavaScript 4.14 的 ArcGIS API
用法说明
FeatureReductionCluster.clusterMaxSize
函数(或属性)的定义如下:
相关用法
- JavaScript ArcGIS FeatureReductionCluster.clusterMinSize用法及代码示例
- JavaScript ArcGIS FeatureReductionCluster.clusterRadius用法及代码示例
- JavaScript ArcGIS FeatureReductionCluster.clone用法及代码示例
- JavaScript ArcGIS FeatureReductionCluster.type用法及代码示例
- JavaScript ArcGIS FeatureReductionCluster.popupEnabled用法及代码示例
- JavaScript ArcGIS FeatureReductionCluster.labelingInfo用法及代码示例
- JavaScript ArcGIS FeatureReductionCluster.popupTemplate用法及代码示例
- JavaScript ArcGIS FeatureReductionCluster.labelsVisible用法及代码示例
- JavaScript ArcGIS FeatureReductionCluster用法及代码示例
- JavaScript ArcGIS FeatureReductionSelection用法及代码示例
- JavaScript ArcGIS FeatureReductionSelection.type用法及代码示例
- JavaScript ArcGIS FeatureLayer.queryExtent用法及代码示例
- JavaScript ArcGIS FeatureLayer.when用法及代码示例
- JavaScript FeatureForm.when用法及代码示例
- JavaScript ArcGIS FeatureLayer refresh事件用法及代码示例
- JavaScript ArcGIS FeatureLayer.getFieldDomain用法及代码示例
- JavaScript ArcGIS FeatureLayer.queryFeatureCount用法及代码示例
- JavaScript FeatureForm.getValues用法及代码示例
- JavaScript FeatureForm.visible用法及代码示例
- JavaScript ArcGIS Feature.visible用法及代码示例
- JavaScript ArcGIS FeatureLayer.formTemplate用法及代码示例
- JavaScript ArcGIS Feature用法及代码示例
- JavaScript FeatureForm.classes用法及代码示例
- JavaScript ArcGIS FeatureLayer.relationships用法及代码示例
- JavaScript ArcGIS FeatureLayer.objectIdField用法及代码示例
注:本文由纯净天空筛选整理自arcgis.com大神的英文原创作品 FeatureReductionCluster.clusterMaxSize。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。