Custom Gis Application with Arcgis Javascript API with modern layouting
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.
 
 

7 lines
1.8 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 ../../../intl ../../../core/accessorSupport/decorators/property ../../../core/has ../../../core/Logger ../../../core/RandomLCG ../../../core/accessorSupport/decorators/subclass ../SmartMappingSliderViewModel ../../../intl/locale ../../../intl/messages".split(" "),function(c,b,d,m,n,p,g,h,k,l){b=class extends h{constructor(a){super(a);this.hasTimeData=!1;this.labelFormatFunction=(e,f)=>"min"===f?this.messages.bottomLabel:"max"===f?this.messages.topLabel:e.toString();
this.max=1;this.messages=null;this.min=0;this.zoomingEnabled=!1}initialize(){const a=async()=>this.messages=await l.fetchMessageBundle("esri/widgets/smartMapping/HeatmapSlider/t9n/HeatmapSlider");a();this.addHandles(k.onLocaleChange(a))}get state(){const {messages:a,max:e,min:f}=this;return a&&null!=e&&null!=f?"ready":"disabled"}get values(){const {stops:a}=this;return!a?.length||2>a.length?[]:[a[0].ratio,a[a.length-1].ratio]}getStopInfo(){const {stops:a}=this;return a?.length?a.map(e=>({color:e.color,
offset:1-e.ratio})):[]}};c.__decorate([d.property({readOnly:!0})],b.prototype,"hasTimeData",void 0);c.__decorate([d.property({readOnly:!0})],b.prototype,"labelFormatFunction",void 0);c.__decorate([d.property({readOnly:!0})],b.prototype,"max",void 0);c.__decorate([d.property()],b.prototype,"messages",void 0);c.__decorate([d.property({readOnly:!0})],b.prototype,"min",void 0);c.__decorate([d.property({readOnly:!0})],b.prototype,"state",null);c.__decorate([d.property({readOnly:!0})],b.prototype,"values",
null);c.__decorate([d.property({readOnly:!0})],b.prototype,"zoomingEnabled",void 0);return b=c.__decorate([g.subclass("esri.widgets.smartMapping.HeatmapSlider.HeatmapSliderViewModel")],b)});