You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
3.2 KiB
9 lines
3.2 KiB
// All material copyright Esri, All Rights Reserved, unless otherwise specified. |
|
// See https://js.arcgis.com/4.30/esri/copyright.txt for details. |
|
//>>built |
|
define("../../chunks/tslib.es6 ../../PopupTemplate ../../renderers/ClassBreaksRenderer ../../renderers/DictionaryRenderer ../../renderers/DotDensityRenderer ../../renderers/HeatmapRenderer ../../renderers/PieChartRenderer ../../renderers/Renderer ../../renderers/SimpleRenderer ../../renderers/UniqueValueRenderer ../../renderers/support/jsonUtils ../../renderers/support/types ../../core/lang ../../core/object ../../core/screenUtils ../../core/accessorSupport/decorators/property ../../core/has ../../core/Logger ../../core/accessorSupport/decorators/enumeration ../../core/accessorSupport/decorators/reader ../../core/accessorSupport/decorators/subclass ../../core/accessorSupport/decorators/writer ./AggregateField ./commonProperties ./featureLayerUtils ./FeatureReduction ./LabelClass".split(" "), |
|
function(b,p,a,B,C,D,E,F,G,H,q,r,e,t,l,d,I,J,m,u,v,w,x,n,y,z,A){var h;a=h=class extends z.FeatureReduction{constructor(c){super(c);this.type="binning";this.binType="geohash";this.labelingInfo=this.fixedBinLevel=null;this.labelsVisible=!0;this.maxScale=0;this.popupEnabled=!0;this.popupTemplate=null;this.size=l.toPt("12px");this.fields=[];this.renderer=null}writeFields(c,f,g){c=c.filter(k=>"avg_angle"!==k.statisticType).map(k=>k.toJSON());t.setDeepValue(g,c,f)}readRenderer(c,f,g){return(c=f.drawingInfo?.renderer)? |
|
q.read(c,f,g)??void 0:y.createDefaultRenderer(f,g)}clone(){return new h({fields:e.clone(this.fields),fixedBinLevel:this.fixedBinLevel,labelingInfo:e.clone(this.labelingInfo),labelsVisible:this.labelsVisible,maxScale:this.maxScale,popupEnabled:this.popupEnabled,popupTemplate:e.clone(this.popupTemplate),renderer:e.clone(this.renderer),binType:e.clone(this.binType),size:this.size})}};b.__decorate([m.enumeration({binning:"binning"})],a.prototype,"type",void 0);b.__decorate([m.enumeration({geohash:"geohash", |
|
square:"square"}),d.property({type:["geohash","square"]})],a.prototype,"binType",void 0);b.__decorate([d.property({type:Number,json:{write:!0}})],a.prototype,"fixedBinLevel",void 0);b.__decorate([d.property({type:[A],json:{read:{source:"drawingInfo.labelingInfo"},write:{target:"drawingInfo.labelingInfo"}}})],a.prototype,"labelingInfo",void 0);b.__decorate([d.property(n.labelsVisible)],a.prototype,"labelsVisible",void 0);b.__decorate([d.property({type:Number,json:{default:0,name:"visibilityInfo.maxScale"}})], |
|
a.prototype,"maxScale",void 0);b.__decorate([d.property(n.popupEnabled)],a.prototype,"popupEnabled",void 0);b.__decorate([d.property({type:p,json:{name:"popupInfo",write:!0}})],a.prototype,"popupTemplate",void 0);b.__decorate([d.property({type:Number,cast:c=>"auto"===c?c:l.toPt(c)})],a.prototype,"size",void 0);b.__decorate([d.property({type:[x],json:{write:!0}})],a.prototype,"fields",void 0);b.__decorate([w.writer("fields")],a.prototype,"writeFields",null);b.__decorate([d.property({types:r.rendererTypes, |
|
json:{write:{target:"drawingInfo.renderer"}}})],a.prototype,"renderer",void 0);b.__decorate([u.reader("renderer",["drawingInfo.renderer"])],a.prototype,"readRenderer",null);return a=h=b.__decorate([v.subclass("esri.layers.support.FeatureReductionBinning")],a)}); |