UNPKG

@doegis/core

Version:

DOE GIS API

3 lines (1 loc) 1.17 kB
import t from"../../../../Color.js";const s={main:new t([255,127,0])};class i{constructor(){this.color=s.main,this.opacity=.5,this.radius=5}}class o{constructor(){this.color=new t([127,127,127]),this.opacity=.5,this.radius=5}}class n{constructor(){this.lineSizeFraction=.8}}class c{constructor(){this.color=s.main,this.opacity=.5,this.linePaddingPx=4,this.focusedLinePaddingPx=6,this.lengthFraction=.5,this.minLengthMeters=.1}}class e{constructor(){this.calloutOffsetPx=18,this.calloutOpacity=.5,this.calloutWidth=2,this.discScale=.3,this.focusMultiplier=2}}class r{constructor(){this.lineSizeFraction=.25}}class a{constructor(){this.marginPx=20,this.minScreenLengthFontSizeFactor=5}}class h{constructor(){this.color=new t([255,127,0,.5])}}class l{constructor(){this.pointManipulators=new i,this.offsetManipulator=new c,this.orientationManipulator=new e,this.markers=new n,this.labels=new a,this.offsetLine=new r,this.constraint=new h,this.constraintThresholdPx=10,this.initialOffsetPx=50,this.orientationSnapThresholdDegrees=5,this.disabledPointIndicator=new o,this.smallScreenLengthLineSizeFactor=2,this.pointerMoveTimeoutMs=2500}}const u=new l;export{u as settings};