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.7 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 ../geometry ../core/Accessor ../core/Clonable ../core/Cyclical ../core/maybe ../core/accessorSupport/decorators/property ../core/accessorSupport/decorators/cast ../core/RandomLCG ../core/has ../core/accessorSupport/decorators/subclass ../core/accessorSupport/ensureType ../geometry/Point".split(" "),function(c,a,e,f,g,h,d,k,p,q,l,m,n){a=class extends f.ClonableMixin(e){constructor(b){super(b);this.observer=null;this.farDistance=1E3;this.heading=0;this.tilt=90;this.verticalFieldOfView=
this.horizontalFieldOfView=45}isValid(){return null!=this.observer&&0<this.farDistance}equals(b){return h.equalsMaybe(this.observer,b.observer)&&this.farDistance===b.farDistance&&this.heading===b.heading&&this.tilt===b.tilt&&this.horizontalFieldOfView===b.horizontalFieldOfView&&this.verticalFieldOfView===b.verticalFieldOfView}};c.__decorate([d.property({type:n})],a.prototype,"observer",void 0);c.__decorate([d.property({type:Number,nonNullable:!0,range:{min:0}})],a.prototype,"farDistance",void 0);
c.__decorate([d.property({type:Number,nonNullable:!0}),k.cast(b=>g.cyclicalDegrees.normalize(m.ensureNumber(b)))],a.prototype,"heading",void 0);c.__decorate([d.property({type:Number,nonNullable:!0,range:{min:0,max:180}})],a.prototype,"tilt",void 0);c.__decorate([d.property({type:Number,nonNullable:!0,range:{min:0,max:360}})],a.prototype,"horizontalFieldOfView",void 0);c.__decorate([d.property({type:Number,nonNullable:!0,range:{min:0,max:180}})],a.prototype,"verticalFieldOfView",void 0);c.__decorate([d.property()],
a.prototype,"isValid",null);return a=c.__decorate([l.subclass("esri.analysis.Viewshed")],a)});