- 自從: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。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。