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.
 
 

4 lines
525 B

// All material copyright Esri, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.30/esri/copyright.txt for details.
//>>built
define(["exports","./MomentumEstimator"],function(d,e){class f extends e.MomentumEstimator{constructor(a=3,c=.01,b=.95,g=12){super(a,c,b,g)}add(a,c){const b=this.value.lastValue;if(null!=b){for(a-=b;a>Math.PI;)a-=2*Math.PI;for(;a<-Math.PI;)a+=2*Math.PI;a=b+a}super.add(a,c)}}d.RotationMomentumEstimator=f;Object.defineProperty(d,Symbol.toStringTag,{value:"Module"})});