ym-gis-2d 1.0.30 → 1.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/capabilities/index.js +1 -1
- package/controls/ControlManager.js +1 -1
- package/controls/LegendControl.js +1 -1
- package/controls/MousePositionControl.js +1 -1
- package/controls/SwipeLayerControl.js +1 -1
- package/conver/kml/geoJSONToKml.js +1 -1
- package/conver/kml/index.js +1 -1
- package/conver/kml/kmlToGeoJSON.js +1 -1
- package/entity/Feature.js +1 -1
- package/entity/GeometryType.js +1 -1
- package/entity/measure/AreaMeasureUnits.js +1 -1
- package/entity/style/IStyle.d.ts +6 -0
- package/entity/style/IStyle.d.ts.map +1 -1
- package/feature/FeatureManager.d.ts +2 -0
- package/feature/FeatureManager.d.ts.map +1 -1
- package/feature/FeatureManager.js +1 -1
- package/feature/FeatureManager.js.map +1 -1
- package/index.js +1 -1
- package/interaction/AreaMeasure.js +1 -1
- package/interaction/Draw.js +1 -1
- package/interaction/InteractionManager.js +1 -1
- package/interaction/Select.js +1 -1
- package/layers/ArcgisDynamicLayer.js +1 -1
- package/layers/ArcgisFeatureLayer.js +1 -1
- package/layers/ArcgisTileLayer.js +1 -1
- package/layers/ArcgisWMSLayer.js +1 -1
- package/layers/ArcgisWMTSLayer.js +1 -1
- package/layers/GeoserverVectorTile.js +1 -1
- package/layers/GeoserverWFSLayer.js +1 -1
- package/layers/GeoserverWMSLayer.js +1 -1
- package/layers/GeoserverWMTSLayer.js +1 -1
- package/layers/LayerManager.js +1 -1
- package/layers/TDTLayer.js +1 -1
- package/mapView/Map.js +1 -1
- package/mapView/View.js +1 -1
- package/package.json +1 -1
- package/plot/Plot.js +1 -1
- package/plot/geometry/point/Point.js +1 -1
- package/plot/geometry/polygon/BasePolygon.js +1 -1
- package/plot/geometry/polygon/Circle.js +1 -1
- package/plot/geometry/polygon/Polygon.js +1 -1
- package/plot/geometry/polygon/RectAngle.js +1 -1
- package/plot/geometry/polyline/BaseLine.js +1 -1
- package/plot/geometry/polyline/Polyline.js +1 -1
- package/style/PointStyleFormat.js +1 -1
- package/style/PolygonStyleFormat.js +1 -1
- package/style/PolylineStyleFormat.js +1 -1
- package/style/StyleManager.d.ts.map +1 -1
- package/style/StyleManager.js +1 -1
- package/style/StyleManager.js.map +1 -1
- package/style/common.js +1 -1
- package/utils/ArrayUtil.js +1 -1
- package/utils/AxiosUtil.js +1 -1
- package/utils/EsriUtil.js +1 -1
- package/utils/GeometryUtil.js +1 -1
- package/utils/LayerUtil.js +1 -1
- package/utils/RegisterProjUtil.js +1 -1
- package/utils/ResolutionUtil.js +1 -1
- package/utils/StringUtil.js +1 -1
- package/utils/StyleUtil.js +1 -1
- package/utils/UrlUtil.js +1 -1
- package/utils/XmlUtil.js +1 -1
- package/utils/format/CQL.js +1 -1
- package/utils/format/IsMatchCql.js +1 -1
- package/utils/plug/canvas/ImageCache.js +1 -1
- package/utils/plug/canvas/PinBuilder.js +1 -1
- package/utils/plug/canvas/PinIcon.js +1 -1
- package/utils/plug/canvas/writeTextToCanvas.js +1 -1
- package/utils/tasks/esri/Identify.js +1 -1
- package/utils/tasks/esri/Query.js +1 -1
- package/utils/tasks/esri/Task.js +1 -1
- package/utils/tasks/geoserver/QueryTask.js +1 -1
- package/utils/tasks/index.js +1 -1
- package/ym-gis-2d.es.js +1 -1
- package/ym-gis-2d.umd.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a84_0x10dad4=a84_0x8ff2;(function(_0x18e0f3,_0x4bf8ca){const _0x57ccbc=a84_0x8ff2,_0x49857a=_0x18e0f3();while(!![]){try{const _0x8ba583=-parseInt(_0x57ccbc(0x16c))/0x1+parseInt(_0x57ccbc(0x160))/0x2*(parseInt(_0x57ccbc(0x145))/0x3)+parseInt(_0x57ccbc(0x13c))/0x4*(parseInt(_0x57ccbc(0x141))/0x5)+-parseInt(_0x57ccbc(0x15e))/0x6*(parseInt(_0x57ccbc(0x169))/0x7)+-parseInt(_0x57ccbc(0x16b))/0x8+parseInt(_0x57ccbc(0x14b))/0x9*(parseInt(_0x57ccbc(0x153))/0xa)+-parseInt(_0x57ccbc(0x150))/0xb;if(_0x8ba583===_0x4bf8ca)break;else _0x49857a['push'](_0x49857a['shift']());}catch(_0x278916){_0x49857a['push'](_0x49857a['shift']());}}}(a84_0x97c6,0xa880b));import a84_0x3bf2b5 from'color';import a84_0x44a5f4 from'./writeTextToCanvas';import{Icon}from'ol/style';function a84_0x97c6(){const _0x4ecb7a=['fromText','4665496vIRkRe','IDLE','lineTo','10600120OePxML','round','listenImageChange','fillRect','strokeStyle','globalCompositeOperation','toDataURL','getImage','getImageState','fill','#000000','6dgaTxv','load','202FfUumC','fromMakiIconId','createElement','moveTo','getContext','stringify','restore','color\x20is\x20required','lighten','3112298MlmwPp','fromUrl','5253600yGUMQU','808931AruGIs','size\x20is\x20required','target','width','save','destination-over','drawImage','4exArZp','fillStyle','id\x20is\x20required','ERROR','px\x20sans-serif','6175165mRkSLM','LOADED','scale','stroke','21669LkRtZO','hexa','_cache','height','bezierCurveTo','beginPath','9kYDNeS','closePath','url\x20is\x20required','text\x20is\x20required'];a84_0x97c6=function(){return _0x4ecb7a;};return a84_0x97c6();}import a84_0x23dadb from'ol/ImageState';import{parseImage}from'../../UrlUtil.js';class PinBuilder{constructor(){this['_cache']={};}['fromColor'](_0x50afe7,_0x5b7a50){const _0xc6dd4b=a84_0x8ff2;if(!_0x50afe7)throw new Error(_0xc6dd4b(0x167));if(!_0x5b7a50)throw new Error('size\x20is\x20required');return createPin('','',_0x50afe7,_0x5b7a50,this['_cache']);}[a84_0x10dad4(0x16a)](_0x34d184,_0x3eb957,_0x3f9a38){const _0x5abf77=a84_0x10dad4;if(!_0x34d184)throw new Error(_0x5abf77(0x14d));if(!_0x3eb957)throw new Error(_0x5abf77(0x167));if(!_0x3f9a38)throw new Error(_0x5abf77(0x16d));return createPin(_0x34d184,'',_0x3eb957,_0x3f9a38,this['_cache']);}[a84_0x10dad4(0x161)](_0x4418a8,_0x145995,_0x1263c3){const _0x589148=a84_0x10dad4;if(!_0x4418a8)throw new Error(_0x589148(0x13e));if(!_0x145995)throw new Error(_0x589148(0x167));if(!_0x1263c3)throw new Error(_0x589148(0x16d));return createPin(parseImage(_0x4418a8),'',_0x145995,_0x1263c3,this[_0x589148(0x147)]);}[a84_0x10dad4(0x14f)](_0x10a73d,_0x1e3224,_0x51d1d5){const _0x359579=a84_0x10dad4;if(!_0x10a73d)throw new Error(_0x359579(0x14e));if(!_0x1e3224)throw new Error(_0x359579(0x167));if(!_0x51d1d5)throw new Error('size\x20is\x20required');return createPin('',_0x10a73d,_0x1e3224,_0x51d1d5,this[_0x359579(0x147)]);}}function drawPin(_0x43ea91,_0x48e311,_0xdafd33){const _0x21f69c=a84_0x10dad4;_0x43ea91[_0x21f69c(0x170)](),_0x43ea91[_0x21f69c(0x143)](_0xdafd33/0x18,_0xdafd33/0x18),_0x43ea91['fillStyle']=_0x48e311,_0x43ea91[_0x21f69c(0x157)]=a84_0x3bf2b5(_0x48e311)[_0x21f69c(0x168)](0.6)[_0x21f69c(0x146)](),_0x43ea91['lineWidth']=0.846,_0x43ea91[_0x21f69c(0x14a)](),_0x43ea91[_0x21f69c(0x163)](6.72,0.422),_0x43ea91[_0x21f69c(0x152)](17.28,0.422),_0x43ea91[_0x21f69c(0x149)](18.553,0.422,19.577,1.758,19.577,3.415),_0x43ea91[_0x21f69c(0x152)](19.577,10.973),_0x43ea91[_0x21f69c(0x149)](19.577,12.63,18.553,13.966,17.282,13.966),_0x43ea91['lineTo'](14.386,14.008),_0x43ea91[_0x21f69c(0x152)](11.826,23.578),_0x43ea91['lineTo'](9.614,14.008),_0x43ea91[_0x21f69c(0x152)](6.719,13.965),_0x43ea91['bezierCurveTo'](5.446,13.983,4.422,12.629,4.422,10.972),_0x43ea91[_0x21f69c(0x152)](4.422,3.416),_0x43ea91[_0x21f69c(0x149)](4.423,1.76,5.447,0.423,6.718,0.423),_0x43ea91[_0x21f69c(0x14c)](),_0x43ea91[_0x21f69c(0x15c)](),_0x43ea91[_0x21f69c(0x144)](),_0x43ea91[_0x21f69c(0x166)]();}function drawIcon(_0x426515,_0x12d41c,_0x2dde48){const _0x31abf3=a84_0x10dad4,_0x1ce527=_0x2dde48/2.5;let _0x287040=_0x1ce527,_0x416476=_0x1ce527;if(_0x12d41c[_0x31abf3(0x16f)]>_0x12d41c['height'])_0x416476=_0x1ce527*(_0x12d41c['height']/_0x12d41c[_0x31abf3(0x16f)]);else _0x12d41c['width']<_0x12d41c[_0x31abf3(0x148)]&&(_0x287040=_0x1ce527*(_0x12d41c['width']/_0x12d41c[_0x31abf3(0x148)]));const _0x5d430e=Math[_0x31abf3(0x154)]((_0x2dde48-_0x287040)/0x2),_0x491858=Math[_0x31abf3(0x154)](0x7/0x18*_0x2dde48-_0x416476/0x2);_0x426515[_0x31abf3(0x158)]='destination-out',_0x426515[_0x31abf3(0x13b)](_0x12d41c,_0x5d430e-0x1,_0x491858,_0x287040,_0x416476),_0x426515[_0x31abf3(0x13b)](_0x12d41c,_0x5d430e,_0x491858-0x1,_0x287040,_0x416476),_0x426515[_0x31abf3(0x13b)](_0x12d41c,_0x5d430e+0x1,_0x491858,_0x287040,_0x416476),_0x426515[_0x31abf3(0x13b)](_0x12d41c,_0x5d430e,_0x491858+0x1,_0x287040,_0x416476),_0x426515['globalCompositeOperation']=_0x31abf3(0x13a),_0x426515['fillStyle']=_0x31abf3(0x15d),_0x426515[_0x31abf3(0x156)](_0x5d430e-0x1,_0x491858-0x1,_0x287040+0x2,_0x416476+0x2),_0x426515['globalCompositeOperation']='destination-out',_0x426515[_0x31abf3(0x13b)](_0x12d41c,_0x5d430e,_0x491858,_0x287040,_0x416476),_0x426515[_0x31abf3(0x158)]='destination-over',_0x426515[_0x31abf3(0x13d)]='#FFFFFF',_0x426515[_0x31abf3(0x156)](_0x5d430e-0x1,_0x491858-0x2,_0x287040+0x2,_0x416476+0x2);}const stringifyScratch=new Array(0x4);function createPin(_0x2865cc,_0x1b1cef,_0x47cbc2,_0x187d5c,_0x38db11){const _0x2e4dd4=a84_0x10dad4;stringifyScratch[0x0]=_0x2865cc,stringifyScratch[0x1]=_0x1b1cef,stringifyScratch[0x2]=_0x47cbc2,stringifyScratch[0x3]=_0x187d5c;const _0x41bc44=JSON[_0x2e4dd4(0x165)](stringifyScratch),_0x55abca=_0x38db11[_0x41bc44];if(_0x55abca)return _0x55abca;const _0x104064=document[_0x2e4dd4(0x162)]('canvas');_0x104064[_0x2e4dd4(0x16f)]=_0x187d5c,_0x104064[_0x2e4dd4(0x148)]=_0x187d5c;const _0x303f72=_0x104064[_0x2e4dd4(0x164)]('2d');drawPin(_0x303f72,_0x47cbc2,_0x187d5c);if(_0x2865cc)return new Promise(_0x522edc=>{const _0x2529bb=_0x2e4dd4;let _0x45a93a=new Icon({'src':_0x2865cc}),_0x321996=_0x45a93a[_0x2529bb(0x15b)]();_0x321996===a84_0x23dadb[_0x2529bb(0x142)]||_0x321996===a84_0x23dadb[_0x2529bb(0x13f)]?(drawIcon(_0x303f72,_0x45a93a[_0x2529bb(0x15a)](0x60),_0x187d5c),_0x38db11[_0x41bc44]=_0x104064[_0x2529bb(0x159)](),_0x522edc(_0x104064[_0x2529bb(0x159)]())):(_0x321996===a84_0x23dadb[_0x2529bb(0x151)]&&_0x45a93a[_0x2529bb(0x15f)](),_0x45a93a[_0x2529bb(0x155)](_0x1d7c48=>{const _0x1d6712=_0x2529bb;_0x321996=_0x1d7c48[_0x1d6712(0x16e)]['getImageState'](),(_0x321996===a84_0x23dadb[_0x1d6712(0x142)]||_0x321996===a84_0x23dadb[_0x1d6712(0x13f)])&&(drawIcon(_0x303f72,_0x45a93a[_0x1d6712(0x15a)](0x60),_0x187d5c),_0x38db11[_0x41bc44]=_0x104064[_0x1d6712(0x159)](),_0x522edc(_0x104064[_0x1d6712(0x159)]()));}));});else{if(_0x1b1cef){const _0x2bf77f=a84_0x44a5f4(_0x1b1cef,{'font':'bold\x20'+_0x187d5c+_0x2e4dd4(0x140)});drawIcon(_0x303f72,_0x2bf77f,_0x187d5c);}}return _0x38db11[_0x41bc44]=_0x104064[_0x2e4dd4(0x159)](),_0x104064[_0x2e4dd4(0x159)]();}function a84_0x8ff2(_0x371e81,_0x418719){const _0x97c696=a84_0x97c6();return a84_0x8ff2=function(_0x8ff2c8,_0xc4dbbc){_0x8ff2c8=_0x8ff2c8-0x13a;let _0x22ff33=_0x97c696[_0x8ff2c8];return _0x22ff33;},a84_0x8ff2(_0x371e81,_0x418719);}export default PinBuilder;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a85_0x20cc5e=a85_0xa80f;(function(_0x317508,_0x184e7f){const _0x218734=a85_0xa80f,_0x26bd22=_0x317508();while(!![]){try{const _0x4b8959=parseInt(_0x218734(0x185))/0x1*(parseInt(_0x218734(0x176))/0x2)+-parseInt(_0x218734(0x18b))/0x3*(parseInt(_0x218734(0x180))/0x4)+-parseInt(_0x218734(0x196))/0x5*(parseInt(_0x218734(0x181))/0x6)+-parseInt(_0x218734(0x17a))/0x7*(-parseInt(_0x218734(0x18a))/0x8)+-parseInt(_0x218734(0x186))/0x9+parseInt(_0x218734(0x17b))/0xa+parseInt(_0x218734(0x179))/0xb;if(_0x4b8959===_0x184e7f)break;else _0x26bd22['push'](_0x26bd22['shift']());}catch(_0x430c15){_0x26bd22['push'](_0x26bd22['shift']());}}}(a85_0x5126,0xd01a5));import a85_0x1ee103 from'./PinBuilder';import{Icon}from'ol/style';import a85_0x248756 from'ol/ImageState';import a85_0x4301f5 from'ol/events/Event';import{shared as a85_0x1d3388}from'./ImageCache';function a85_0xa80f(_0x3c12ac,_0x3a72ee){const _0x51260f=a85_0x5126();return a85_0xa80f=function(_0xa80fac,_0x5a38f8){_0xa80fac=_0xa80fac-0x175;let _0x577978=_0x51260f[_0xa80fac];return _0x577978;},a85_0xa80f(_0x3c12ac,_0x3a72ee);}export default class PinIcon{constructor(_0x122c43){const _0x1181ee=a85_0xa80f;this['options']=_0x122c43||{},this[_0x1181ee(0x18f)]=a85_0x248756[_0x1181ee(0x175)],this[_0x1181ee(0x188)]=a85_0x1d3388[_0x1181ee(0x197)](this[_0x1181ee(0x178)]),this['_icon']&&(this[_0x1181ee(0x18f)]=a85_0x248756['LOADED']);}[a85_0x20cc5e(0x183)](){const _0xbbc965=a85_0x20cc5e;try{let _0x2f2631,_0x148dd0=new a85_0x1ee103();if(this[_0xbbc965(0x178)][_0xbbc965(0x194)])_0x2f2631=_0x148dd0[_0xbbc965(0x17d)](this[_0xbbc965(0x178)]['markerLabel'],this[_0xbbc965(0x178)][_0xbbc965(0x17f)],this[_0xbbc965(0x178)]['markerSize']||0x30);else this[_0xbbc965(0x178)][_0xbbc965(0x17c)]&&(_0x2f2631=_0x148dd0['fromUrl'](this[_0xbbc965(0x178)]['image'],this[_0xbbc965(0x178)][_0xbbc965(0x17f)],this[_0xbbc965(0x178)]['markerSize']||0x30));Promise[_0xbbc965(0x18e)](_0x2f2631)[_0xbbc965(0x182)](_0x4067aa=>{this['loadIcon'](_0x4067aa);})[_0xbbc965(0x189)](_0x152a2b=>{const _0x5dc2df=_0xbbc965;console['warn'](_0x152a2b),this[_0x5dc2df(0x18f)]=a85_0x248756[_0x5dc2df(0x192)],this[_0x5dc2df(0x191)](_0x5dc2df(0x18d));});}catch(_0x460654){console[_0xbbc965(0x17e)](_0x460654),this['_imageState']=a85_0x248756[_0xbbc965(0x192)],this[_0xbbc965(0x191)]('error');}}[a85_0x20cc5e(0x187)](_0x1600e8){const _0x1d3050=a85_0x20cc5e;this[_0x1d3050(0x188)]=new Icon({'src':_0x1600e8}),a85_0x1d3388['set'](this[_0x1d3050(0x178)],this[_0x1d3050(0x188)]);let _0x24e704=this[_0x1d3050(0x188)]['getImageState']();_0x24e704===a85_0x248756['LOADED']||_0x24e704===a85_0x248756[_0x1d3050(0x192)]?(this[_0x1d3050(0x18f)]=this['_icon']['getImageState'](),this[_0x1d3050(0x191)](_0x1d3050(0x183))):(_0x24e704===a85_0x248756['IDLE']&&this[_0x1d3050(0x188)][_0x1d3050(0x183)](),this[_0x1d3050(0x188)][_0x1d3050(0x18c)](_0x3c525a=>{const _0x1e6561=_0x1d3050;_0x24e704=_0x3c525a['target'][_0x1e6561(0x177)](),(_0x24e704===a85_0x248756[_0x1e6561(0x190)]||_0x24e704===a85_0x248756[_0x1e6561(0x192)])&&(this[_0x1e6561(0x18f)]=this[_0x1e6561(0x188)][_0x1e6561(0x177)](),this['dispatchEvent'](_0x1e6561(0x183)));}));}[a85_0x20cc5e(0x177)](){const _0x3a288d=a85_0x20cc5e;return this[_0x3a288d(0x18f)];}[a85_0x20cc5e(0x195)](){var _0x1b6335;return(_0x1b6335=this['_icon'])===null||_0x1b6335===void 0x0?void 0x0:_0x1b6335['getImage']();}['listenImageChange'](_0x17fabd){this['_listener']=_0x17fabd;}['dispatchEvent'](_0x22cf51){const _0x4f04e3=a85_0x20cc5e;if(this['_listener']){let _0x3339e3=new a85_0x4301f5(_0x22cf51);_0x3339e3[_0x4f04e3(0x193)]=this,this[_0x4f04e3(0x184)](_0x3339e3);}}}function a85_0x5126(){const _0x28f3c0=['IDLE','126OYMdQM','getImageState','options','12080101MjfoNf','94871dWlZpd','5715880sERbLt','image','fromText','warn','markerColor','12ssjyBt','6894xMQsYX','then','load','_listener','1571HgafKw','13312377YuktVl','loadIcon','_icon','catch','488FcbtNw','181215wwqmxQ','listenImageChange','error','resolve','_imageState','LOADED','dispatchEvent','ERROR','target','markerLabel','getImage','360oJXcNT','get'];a85_0x5126=function(){return _0x28f3c0;};return a85_0x5126();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x28df10,_0x58eb8a){const _0xd46d97=a86_0x4c75,_0x996640=_0x28df10();while(!![]){try{const _0x2a5545=parseInt(_0xd46d97(0xbc))/0x1+parseInt(_0xd46d97(0xce))/0x2+parseInt(_0xd46d97(0xcd))/0x3*(parseInt(_0xd46d97(0xdb))/0x4)+-parseInt(_0xd46d97(0xd3))/0x5*(-parseInt(_0xd46d97(0xdf))/0x6)+parseInt(_0xd46d97(0xcb))/0x7+-parseInt(_0xd46d97(0xc4))/0x8+parseInt(_0xd46d97(0xcf))/0x9*(-parseInt(_0xd46d97(0xc8))/0xa);if(_0x2a5545===_0x58eb8a)break;else _0x996640['push'](_0x996640['shift']());}catch(_0x2e4510){_0x996640['push'](_0x996640['shift']());}}}(a86_0x18c4,0x99986));function measureText(_0x14ab3d,_0x4c920c,_0x2bcd1f,_0x476397,_0x10f7cd){const _0x32e925=a86_0x4c75,_0x2ec236=_0x14ab3d[_0x32e925(0xb3)](_0x4c920c),_0x11f0db=!/\S/[_0x32e925(0xdc)](_0x4c920c);if(!_0x11f0db&&document['defaultView']){const _0x289f8c=document['defaultView'][_0x32e925(0xe1)](_0x14ab3d['canvas'])['getPropertyValue'](_0x32e925(0xe5))[_0x32e925(0xe7)]('px',''),_0x241796=document['createElement'](_0x32e925(0xb1)),_0x47ab51=0x64,_0x3674c1=_0x2ec236[_0x32e925(0xd6)]+_0x47ab51|0x0,_0x27d01c=0x3*(_0x289f8c-0x0),_0x5b1e8c=_0x27d01c/0x2;_0x241796['width']=_0x3674c1,_0x241796[_0x32e925(0xd0)]=_0x27d01c;const _0x5272d4=_0x241796['getContext']('2d');if(!_0x5272d4)return{};_0x5272d4['font']=_0x2bcd1f,_0x5272d4[_0x32e925(0xb5)]=_0x32e925(0xd1),_0x5272d4[_0x32e925(0xde)](0x0,0x0,_0x241796['width']+0x1,_0x241796[_0x32e925(0xd0)]+0x1);_0x476397&&(_0x5272d4[_0x32e925(0xcc)]=_0x32e925(0xd2),_0x5272d4[_0x32e925(0xe2)]=_0x14ab3d[_0x32e925(0xe2)],_0x5272d4[_0x32e925(0xe0)](_0x4c920c,_0x47ab51/0x2,_0x5b1e8c));_0x10f7cd&&(_0x5272d4[_0x32e925(0xb5)]='black',_0x5272d4['fillText'](_0x4c920c,_0x47ab51/0x2,_0x5b1e8c));const _0x45d14c=_0x5272d4[_0x32e925(0xb2)](0x0,0x0,_0x3674c1,_0x27d01c)['data'],_0x4cdd5c=_0x45d14c[_0x32e925(0xc6)],_0x26a440=_0x3674c1*0x4;let _0xc0a85d,_0x50e38f,_0x1dfbfc=0x0,_0xc1ca97=0x0;for(_0xc0a85d=0x0;_0xc0a85d<_0x4cdd5c;++_0xc0a85d){if(_0x45d14c[_0xc0a85d]!==0xff){_0x1dfbfc=_0xc0a85d/_0x26a440|0x0;break;}}for(_0xc0a85d=_0x4cdd5c-0x1;_0xc0a85d>=0x0;--_0xc0a85d){if(_0x45d14c[_0xc0a85d]!==0xff){_0xc1ca97=_0xc0a85d/_0x26a440|0x0;break;}}let _0x256d4d=-0x1;for(_0xc0a85d=0x0;_0xc0a85d<_0x3674c1&&_0x256d4d===-0x1;++_0xc0a85d){for(_0x50e38f=0x0;_0x50e38f<_0x27d01c;++_0x50e38f){const _0x475590=_0xc0a85d*0x4+_0x50e38f*_0x26a440;if(_0x45d14c[_0x475590]!==0xff||_0x45d14c[_0x475590+0x1]!==0xff||_0x45d14c[_0x475590+0x2]!==0xff||_0x45d14c[_0x475590+0x3]!==0xff){_0x256d4d=_0xc0a85d;break;}}}return{'width':_0x2ec236[_0x32e925(0xd6)],'height':_0xc1ca97-_0x1dfbfc,'ascent':_0x5b1e8c-_0x1dfbfc,'descent':_0xc1ca97-_0x5b1e8c,'minx':_0x256d4d-_0x47ab51/0x2};}return{'width':_0x2ec236['width'],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}function a86_0x4c75(_0xaea9e6,_0x2755b6){const _0x18c4b8=a86_0x18c4();return a86_0x4c75=function(_0x4c756f,_0x55ee8b){_0x4c756f=_0x4c756f-0xb1;let _0x106abf=_0x18c4b8[_0x4c756f];return _0x106abf;},a86_0x4c75(_0xaea9e6,_0x2755b6);}let imageSmoothingEnabledName='';function writeTextToCanvas(_0x2ecaff,_0x56e795){const _0x45da76=a86_0x4c75;if(!_0x2ecaff)throw new Error(_0x45da76(0xd8));if(_0x2ecaff==='')return undefined;_0x56e795=defaultValue(_0x56e795,{});const _0xf8eba8=defaultValue(_0x56e795['font'],_0x45da76(0xba)),_0xb855a9=defaultValue(_0x56e795[_0x45da76(0xc9)],![]),_0x4cba47=defaultValue(_0x56e795['fill'],!![]),_0x59cebb=defaultValue(_0x56e795[_0x45da76(0xe6)],0x1),_0x549f9f=defaultValue(_0x56e795[_0x45da76(0xe3)],'#00000000'),_0x3e0cbd=defaultValue(_0x56e795[_0x45da76(0xda)],0x0),_0x2a2377=_0x3e0cbd*0x2,_0x439d6a=document[_0x45da76(0xb9)](_0x45da76(0xb1));_0x439d6a[_0x45da76(0xd6)]=0x1,_0x439d6a[_0x45da76(0xd0)]=0x1,_0x439d6a[_0x45da76(0xc1)]['font']=_0xf8eba8;const _0x1aabfc=_0x439d6a[_0x45da76(0xca)]('2d');if(!imageSmoothingEnabledName&&_0x1aabfc){if(_0x1aabfc[_0x45da76(0xbb)])imageSmoothingEnabledName=_0x45da76(0xbb);else{if(_0x1aabfc[_0x45da76(0xd4)])imageSmoothingEnabledName=_0x45da76(0xd4);else{if(_0x1aabfc['webkitImageSmoothingEnabled'])imageSmoothingEnabledName=_0x45da76(0xbe);else _0x1aabfc['msImageSmoothingEnabled']&&(imageSmoothingEnabledName=_0x45da76(0xb4));}}}_0x1aabfc[_0x45da76(0xb7)]=_0xf8eba8,_0x1aabfc[_0x45da76(0xb8)]=_0x45da76(0xbf),_0x1aabfc[_0x45da76(0xe2)]=_0x59cebb,_0x1aabfc[imageSmoothingEnabledName]=![],_0x439d6a[_0x45da76(0xc1)][_0x45da76(0xc7)]='hidden',document[_0x45da76(0xc3)][_0x45da76(0xd5)](_0x439d6a);const _0x4a71c3=measureText(_0x1aabfc,_0x2ecaff,_0xf8eba8,_0xb855a9,_0x4cba47);if(!_0x4a71c3)return;_0x439d6a[_0x45da76(0xb6)]=_0x4a71c3,document[_0x45da76(0xc3)]['removeChild'](_0x439d6a),_0x439d6a[_0x45da76(0xc1)][_0x45da76(0xc7)]='';const _0x1b0c95=-(_0x4a71c3['minx']?_0x4a71c3[_0x45da76(0xd9)]:0x0),_0x20fd32=Math[_0x45da76(0xc5)](_0x4a71c3[_0x45da76(0xd6)])+_0x1b0c95+_0x2a2377,_0x10b0b4=(_0x4a71c3[_0x45da76(0xd0)]?_0x4a71c3[_0x45da76(0xd0)]:0x0)+_0x2a2377,_0x574e95=_0x10b0b4-(_0x4a71c3[_0x45da76(0xc0)]?_0x4a71c3[_0x45da76(0xc0)]:0x0)+_0x3e0cbd,_0x14e1cb=_0x10b0b4-_0x574e95+_0x2a2377;return _0x439d6a[_0x45da76(0xd6)]=_0x20fd32,_0x439d6a['height']=_0x10b0b4,_0x1aabfc[_0x45da76(0xb7)]=_0xf8eba8,_0x1aabfc['lineJoin']=_0x45da76(0xbf),_0x1aabfc[_0x45da76(0xe2)]=_0x59cebb,_0x1aabfc[imageSmoothingEnabledName]=![],_0x549f9f!==_0x45da76(0xc2)&&(_0x1aabfc[_0x45da76(0xb5)]=_0x549f9f,_0x1aabfc['fillRect'](0x0,0x0,_0x439d6a[_0x45da76(0xd6)],_0x439d6a[_0x45da76(0xd0)])),_0xb855a9&&(_0x1aabfc[_0x45da76(0xcc)]=defaultValue(_0x56e795[_0x45da76(0xd7)],'#000000'),_0x1aabfc['strokeText'](_0x2ecaff,_0x1b0c95+_0x3e0cbd,_0x14e1cb)),_0x4cba47&&(_0x1aabfc['fillStyle']=defaultValue(_0x56e795[_0x45da76(0xe4)],_0x45da76(0xdd)),_0x1aabfc[_0x45da76(0xbd)](_0x2ecaff,_0x1b0c95+_0x3e0cbd,_0x14e1cb)),_0x439d6a;}function defaultValue(_0x2760b0,_0x537cf1){if(_0x2760b0!==undefined&&_0x2760b0!==null)return _0x2760b0;return _0x537cf1;}function a86_0x18c4(){const _0x52c6f9=['#00000000','body','9317280cyEqAP','ceil','length','visibility','10ErZMmW','stroke','getContext','448203DmahXz','strokeStyle','177NrUZZX','2141850rSeclm','17706888afMNxr','height','white','black','249550IrHtHj','mozImageSmoothingEnabled','appendChild','width','strokeColor','text\x20is\x20required.','minx','padding','71032nAJhsC','test','#FFFFFF','fillRect','132tUkqiX','strokeText','getComputedStyle','lineWidth','backgroundColor','fillColor','font-size','strokeWidth','replace','canvas','getImageData','measureText','msImageSmoothingEnabled','fillStyle','dimensions','font','lineJoin','createElement','10px\x20sans-serif','imageSmoothingEnabled','480522euiTfA','fillText','webkitImageSmoothingEnabled','round','ascent','style'];a86_0x18c4=function(){return _0x52c6f9;};return a86_0x18c4();}export default writeTextToCanvas;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a91_0x5951c9=a91_0x1b5f;(function(_0x4113ec,_0x47b4f7){const _0x104799=a91_0x1b5f,_0x9990a1=_0x4113ec();while(!![]){try{const _0xb169d3=parseInt(_0x104799(0x1af))/0x1+-parseInt(_0x104799(0x1c4))/0x2+-parseInt(_0x104799(0x1b0))/0x3*(parseInt(_0x104799(0x1bb))/0x4)+-parseInt(_0x104799(0x1b1))/0x5+-parseInt(_0x104799(0x1c8))/0x6*(-parseInt(_0x104799(0x1bf))/0x7)+parseInt(_0x104799(0x1c6))/0x8*(-parseInt(_0x104799(0x1be))/0x9)+parseInt(_0x104799(0x1b2))/0xa;if(_0xb169d3===_0x47b4f7)break;else _0x9990a1['push'](_0x9990a1['shift']());}catch(_0x4a1d65){_0x9990a1['push'](_0x9990a1['shift']());}}}(a91_0x203b,0x5f9e3));import a91_0xd8a49c from'ol/format/EsriJSON';import a91_0x45349b from'ol/format/GeoJSON';function a91_0x203b(){const _0x10e087=['writeGeometryObject','resolution','returnZ','valueOf','409208bYMUOv','mapExtent','_setGeometryParams','18SGHVSa','17304WJdYWD','request','layers','getView','url','416468rrhmwj','layerDefs','19288PYwvjr','returnGeometry','606PxXLHy','getCenter','getSize','getType','geometryType','tolerance','all','getResolution','identify','getProjection','getCode','params','between','196183AUPIwy','21hJMWTF','1206220cgfWJc','11162100xpLIzf','time','returnM','calculateExtent','run'];a91_0x203b=function(){return _0x10e087;};return a91_0x203b();}import{getPointResolution}from'ol/proj';import a91_0x15b0cb from'./Task';import{appendPath}from'../../UrlUtil';function a91_0x1b5f(_0x207230,_0x44fead){const _0x203bd9=a91_0x203b();return a91_0x1b5f=function(_0x1b5f51,_0x90f58){_0x1b5f51=_0x1b5f51-0x1a9;let _0x3e9d5b=_0x203bd9[_0x1b5f51];return _0x3e9d5b;},a91_0x1b5f(_0x207230,_0x44fead);}import{getEsriSpatialReference}from'../../EsriUtil';export default class Identify extends a91_0x15b0cb{constructor(_0x5b9a57,_0x3dc839,_0x5fab9c){const _0x3afbad=a91_0x1b5f;super(_0x5b9a57,_0x3dc839,_0x5fab9c),this['path']=_0x3afbad(0x1aa),this[_0x3afbad(0x1ad)]={'layers':_0x3afbad(0x1ce),'tolerance':0x0,'returnGeometry':!![]},this[_0x3afbad(0x1cd)]=0x3,this[_0x3afbad(0x1b8)]=0x0,this[_0x3afbad(0x1c3)]=appendPath(this['url'],this['path']),_0x3dc839&&((_0x3dc839['returnGeometry']===!![]||_0x3dc839[_0x3afbad(0x1c7)]===![])&&(this[_0x3afbad(0x1ad)][_0x3afbad(0x1c7)]=_0x3dc839[_0x3afbad(0x1c7)]),_0x3dc839['layers']&&(this[_0x3afbad(0x1ad)][_0x3afbad(0x1c1)]=_0x3dc839['layers']),_0x3dc839[_0x3afbad(0x1c5)]&&(this[_0x3afbad(0x1ad)][_0x3afbad(0x1c5)]=_0x3dc839[_0x3afbad(0x1c5)]),(_0x3dc839[_0x3afbad(0x1b9)]===!![]||_0x3dc839[_0x3afbad(0x1b9)]===![])&&(this[_0x3afbad(0x1ad)][_0x3afbad(0x1b9)]=_0x3dc839[_0x3afbad(0x1b9)]),(_0x3dc839[_0x3afbad(0x1b4)]===!![]||_0x3dc839[_0x3afbad(0x1b4)]===![])&&(this[_0x3afbad(0x1ad)][_0x3afbad(0x1b4)]=_0x3dc839['returnM']));}['at'](_0x11a369,_0x236ec4){const _0x238832=a91_0x1b5f;let _0x1142a1,_0x3689c2;const _0x54ce8f=new a91_0x45349b();_0x1142a1=_0x11a369,_0x3689c2=getEsriSpatialReference(_0x236ec4[_0x238832(0x1c2)]()['getProjection']()[_0x238832(0x1ac)]());const _0x25b60b=_0x236ec4[_0x238832(0x1ca)]();_0x25b60b&&(this[_0x238832(0x1ad)]['imageDisplay']=[_0x25b60b[0x0],_0x25b60b[0x1],0x60]);this[_0x238832(0x1ad)]['sr']=_0x3689c2;const _0x5f3ca3=_0x236ec4[_0x238832(0x1c2)]()[_0x238832(0x1b5)](_0x236ec4['getSize']());this[_0x238832(0x1ad)][_0x238832(0x1bc)]={'xmin':_0x5f3ca3[0x0],'ymin':_0x5f3ca3[0x1],'xmax':_0x5f3ca3[0x2],'ymax':_0x5f3ca3[0x3],'spatialReference':_0x3689c2};const _0x5a6651=_0x236ec4[_0x238832(0x1c2)]()[_0x238832(0x1a9)](),_0x52ef1c=_0x236ec4[_0x238832(0x1c2)]()[_0x238832(0x1c9)]();return _0x5a6651&&_0x52ef1c&&(this['resolution']=getPointResolution(_0x236ec4['getView']()[_0x238832(0x1ab)](),_0x5a6651,_0x52ef1c)),this[_0x238832(0x1bd)](_0x1142a1,_0x236ec4[_0x238832(0x1c2)]()[_0x238832(0x1ab)]()[_0x238832(0x1ac)]()),this;}[a91_0x5951c9(0x1ae)](_0x65c844,_0x336612){const _0x48912f=a91_0x5951c9;return this[_0x48912f(0x1ad)][_0x48912f(0x1b3)]=[_0x65c844[_0x48912f(0x1ba)](),_0x336612[_0x48912f(0x1ba)]()],this;}[a91_0x5951c9(0x1b6)](){const _0xde35de=a91_0x5951c9;this[_0xde35de(0x1c0)]();}[a91_0x5951c9(0x1bd)](_0x4ad22f,_0x4fdb04){const _0x28a265=a91_0x5951c9;var _0x4dd9af=new a91_0xd8a49c();const _0x57fa18=_0x4dd9af[_0x28a265(0x1b7)](_0x4ad22f);this['params']['inSR']=getEsriSpatialReference(_0x4fdb04),this['params']['geometry']=_0x57fa18,this[_0x28a265(0x1ad)][_0x28a265(0x1cc)]=this['geojsonTypeToArcGIS'](_0x4ad22f[_0x28a265(0x1cb)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a92_0x50b6(_0x5b5b00,_0xdbd519){const _0x274ab2=a92_0x274a();return a92_0x50b6=function(_0x50b60a,_0x5e7bc5){_0x50b60a=_0x50b60a-0x12e;let _0x456ca6=_0x274ab2[_0x50b60a];return _0x456ca6;},a92_0x50b6(_0x5b5b00,_0xdbd519);}function a92_0x274a(){const _0x2ba78b=['orderByFields','overlaps','distinct','units','catch','request','returnIdsOnly','push','where','features','928071feLsNX','ids','abs','warn','6QpQSax','writeGeometryObject','72025TvHnPg','apply','query','params','status','_cleanParams','returnCountOnly','url','_trapSQLerrors','_setGeometryParams','esriSpatialRelCrosses','esriSpatialRelContains','esriSRUnit_Meter','valueOf','125767MnMYKh','crosses','1=1','touches','indexIntersects','within','geometryType','intersects','returnGeometry','returnZ','13941144KkFYqi','getTime','count','forEach','inSR','geometry','esriSpatialRelIndexIntersects','contains','returnDistinctValues','returnM','maxAllowableOffset','getType','esriSpatialRelEnvelopeIntersects','orderBy','outSR','7096680TdYerr','distance','400','/query','between','2634793HQazKs','1337140TAzAOB','getExtent','spatialRel','esriSpatialRelIntersects','time','nearby','readFeature','4MFXQIu','data','esriSpatialRelTouches','layer'];a92_0x274a=function(){return _0x2ba78b;};return a92_0x274a();}const a92_0xa2ac1c=a92_0x50b6;(function(_0x42c972,_0x274790){const _0x1d1782=a92_0x50b6,_0x372e44=_0x42c972();while(!![]){try{const _0x2116fc=-parseInt(_0x1d1782(0x140))/0x1*(-parseInt(_0x1d1782(0x166))/0x2)+parseInt(_0x1d1782(0x174))/0x3+parseInt(_0x1d1782(0x15f))/0x4+parseInt(_0x1d1782(0x132))/0x5+parseInt(_0x1d1782(0x130))/0x6*(parseInt(_0x1d1782(0x15e))/0x7)+parseInt(_0x1d1782(0x159))/0x8+-parseInt(_0x1d1782(0x14a))/0x9;if(_0x2116fc===_0x274790)break;else _0x372e44['push'](_0x372e44['shift']());}catch(_0xaa82ef){_0x372e44['push'](_0x372e44['shift']());}}}(a92_0x274a,0x985b1));import a92_0x3c5a4c from'ol/format/EsriJSON';import a92_0x191857 from'./Task';import{getEsriSpatialReference}from'../../EsriUtil';import{appendPath}from'../../UrlUtil';export default class Query extends a92_0x191857{constructor(_0x5331de,_0x352ea0,_0x73df40){const _0x480ed1=a92_0x50b6;super(_0x5331de,_0x352ea0,_0x73df40),this['path']=_0x480ed1(0x134),this[_0x480ed1(0x135)]={'returnGeometry':!![],'where':_0x480ed1(0x142),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()[_0x480ed1(0x14b)]()},this[_0x480ed1(0x139)]=appendPath(this['url'],this['path']),_0x352ea0&&((_0x352ea0[_0x480ed1(0x148)]===!![]||_0x352ea0[_0x480ed1(0x148)]===![])&&(this[_0x480ed1(0x135)]['returnGeometry']=_0x352ea0[_0x480ed1(0x148)]),_0x352ea0[_0x480ed1(0x172)]&&(this['params'][_0x480ed1(0x172)]=_0x352ea0['where']),_0x352ea0[_0x480ed1(0x158)]&&(this[_0x480ed1(0x135)][_0x480ed1(0x158)]=getEsriSpatialReference(_0x352ea0[_0x480ed1(0x158)])),(_0x352ea0[_0x480ed1(0x149)]===!![]||_0x352ea0['returnZ']===![])&&(this[_0x480ed1(0x135)][_0x480ed1(0x149)]=_0x352ea0['returnZ']),(_0x352ea0[_0x480ed1(0x153)]===!![]||_0x352ea0[_0x480ed1(0x153)]===![])&&(this[_0x480ed1(0x135)]['returnM']=_0x352ea0[_0x480ed1(0x153)]));}[a92_0xa2ac1c(0x145)](_0x371f98,_0x1d120a){const _0x568e94=a92_0xa2ac1c;return this['_setGeometryParams'](_0x371f98,_0x1d120a),this[_0x568e94(0x135)][_0x568e94(0x161)]=_0x568e94(0x13d),this;}[a92_0xa2ac1c(0x147)](_0x5156ce,_0x3e38aa){const _0x2c6271=a92_0xa2ac1c;return this[_0x2c6271(0x13b)](_0x5156ce,_0x3e38aa),this['params'][_0x2c6271(0x161)]='esriSpatialRelIntersects',this;}[a92_0xa2ac1c(0x151)](_0x1e3d6f,_0x18166e){const _0x3d66dc=a92_0xa2ac1c;return this[_0x3d66dc(0x13b)](_0x1e3d6f,_0x18166e),this[_0x3d66dc(0x135)]['spatialRel']='esriSpatialRelWithin',this;}[a92_0xa2ac1c(0x141)](_0x312ff4,_0x4c2d18){const _0x115b0e=a92_0xa2ac1c;return this[_0x115b0e(0x13b)](_0x312ff4,_0x4c2d18),this[_0x115b0e(0x135)][_0x115b0e(0x161)]=_0x115b0e(0x13c),this;}[a92_0xa2ac1c(0x143)](_0x58905f,_0x1aad48){const _0x5ce277=a92_0xa2ac1c;return this[_0x5ce277(0x13b)](_0x58905f,_0x1aad48),this[_0x5ce277(0x135)][_0x5ce277(0x161)]=_0x5ce277(0x168),this;}[a92_0xa2ac1c(0x16b)](_0x22597b,_0x1c88ae){const _0x2a06fb=a92_0xa2ac1c;return this['_setGeometryParams'](_0x22597b,_0x1c88ae),this[_0x2a06fb(0x135)]['spatialRel']='esriSpatialRelOverlaps',this;}['bboxIntersects'](_0x322ca8,_0x3c0525){const _0x6046dd=a92_0xa2ac1c;return this[_0x6046dd(0x13b)](_0x322ca8,_0x3c0525),this['params'][_0x6046dd(0x161)]=_0x6046dd(0x156),this;}[a92_0xa2ac1c(0x144)](_0x3297da,_0x51097f){const _0x36c3f4=a92_0xa2ac1c;return this[_0x36c3f4(0x13b)](_0x3297da,_0x51097f),this['params'][_0x36c3f4(0x161)]=_0x36c3f4(0x150),this;}[a92_0xa2ac1c(0x164)](_0x270d5d,_0xcc3029,_0x23d58e){const _0x52771e=a92_0xa2ac1c;return this['_setGeometryParams'](_0x270d5d,_0xcc3029),this[_0x52771e(0x135)][_0x52771e(0x161)]=_0x52771e(0x162),this['params'][_0x52771e(0x16d)]=_0x52771e(0x13e),this[_0x52771e(0x135)][_0x52771e(0x15a)]=_0x23d58e,this;}[a92_0xa2ac1c(0x172)](_0xc48096){const _0x7fc625=a92_0xa2ac1c;return this[_0x7fc625(0x135)][_0x7fc625(0x172)]=_0xc48096,this;}[a92_0xa2ac1c(0x15d)](_0x41f642,_0x431d3b){const _0x2186ee=a92_0xa2ac1c;return this[_0x2186ee(0x135)][_0x2186ee(0x163)]=[_0x41f642['valueOf'](),_0x431d3b[_0x2186ee(0x13f)]()],this;}['simplify'](_0x463c32,_0x21f7e0){const _0x588764=a92_0xa2ac1c,_0x35ebab=_0x463c32[_0x588764(0x160)]();var _0x4c44c1=Math[_0x588764(0x12e)](_0x35ebab[0x2]-_0x35ebab[0x0]);const _0x42c112=_0x463c32['getSize']();if(_0x42c112)return this['params'][_0x588764(0x154)]=_0x4c44c1/_0x42c112[0x1]*_0x21f7e0,this;}[a92_0xa2ac1c(0x157)](_0x14111b,_0x380236){const _0x2c8485=a92_0xa2ac1c;return _0x380236=_0x380236||'ASC',this[_0x2c8485(0x135)][_0x2c8485(0x16a)]=this[_0x2c8485(0x135)][_0x2c8485(0x16a)]?this[_0x2c8485(0x135)]['orderByFields']+',':'',this[_0x2c8485(0x135)][_0x2c8485(0x16a)]+=[_0x14111b,_0x380236]['join']('\x20'),this;}async['run'](){const _0x21ee33=a92_0xa2ac1c;this[_0x21ee33(0x137)]();const _0x1ae42c=await this[_0x21ee33(0x16f)]()[_0x21ee33(0x16e)](_0xc408d4=>{throw new Error(_0xc408d4);});if(_0x1ae42c[_0x21ee33(0x136)]!==0xc8)throw new Error('No\x20features\x20found');if(_0x1ae42c[_0x21ee33(0x167)]&&_0x1ae42c[_0x21ee33(0x167)][_0x21ee33(0x173)]&&_0x1ae42c[_0x21ee33(0x167)][_0x21ee33(0x173)]['length']>0x0){var _0x5d878b=new a92_0x3c5a4c();let _0x403e22=[];return _0x1ae42c[_0x21ee33(0x167)]['features'][_0x21ee33(0x14d)](_0x2728fb=>{const _0x4829d8=_0x21ee33,_0x14d30d=_0x5d878b[_0x4829d8(0x165)](_0x2728fb);_0x403e22[_0x4829d8(0x171)](_0x14d30d);}),_0x403e22;}return[];}[a92_0xa2ac1c(0x14c)](){const _0x4e7776=a92_0xa2ac1c;this[_0x4e7776(0x137)](),this[_0x4e7776(0x135)]['returnCountOnly']=!![],this[_0x4e7776(0x16f)]();}[a92_0xa2ac1c(0x175)](){const _0x59528c=a92_0xa2ac1c;this[_0x59528c(0x137)](),this[_0x59528c(0x135)][_0x59528c(0x170)]=!![],this[_0x59528c(0x16f)]();}[a92_0xa2ac1c(0x16c)](){const _0xa8ae5a=a92_0xa2ac1c;return this[_0xa8ae5a(0x135)][_0xa8ae5a(0x148)]=![],this[_0xa8ae5a(0x135)][_0xa8ae5a(0x152)]=!![],this;}[a92_0xa2ac1c(0x169)](_0x53e785){const _0x45cf3b=a92_0xa2ac1c;return this['path']=_0x53e785+_0x45cf3b(0x15c),this;}[a92_0xa2ac1c(0x13a)](_0x391dea){const _0x2fe2da=a92_0xa2ac1c;_0x391dea&&(_0x391dea['code']===_0x2fe2da(0x15b)&&console[_0x2fe2da(0x12f)][_0x2fe2da(0x133)]('one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes'));}['_cleanParams'](){const _0x223561=a92_0xa2ac1c;delete this[_0x223561(0x135)]['returnIdsOnly'],delete this[_0x223561(0x135)]['returnExtentOnly'],delete this[_0x223561(0x135)][_0x223561(0x138)];}[a92_0xa2ac1c(0x13b)](_0x26f45a,_0x4873a9){const _0x11b4b6=a92_0xa2ac1c;var _0x340131=new a92_0x3c5a4c();const _0x470d35=_0x340131[_0x11b4b6(0x131)](_0x26f45a);this[_0x11b4b6(0x135)][_0x11b4b6(0x14e)]=getEsriSpatialReference(_0x4873a9),this[_0x11b4b6(0x135)][_0x11b4b6(0x14f)]=_0x470d35,this[_0x11b4b6(0x135)][_0x11b4b6(0x146)]=this['geojsonTypeToArcGIS'](_0x26f45a[_0x11b4b6(0x155)]());}}
|
package/utils/tasks/esri/Task.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a93_0x4e3e(_0x2f5ea5,_0x428db7){var _0x1b19e3=a93_0x1b19();return a93_0x4e3e=function(_0x4e3ea5,_0x2f33f8){_0x4e3ea5=_0x4e3ea5-0x119;var _0x2556c6=_0x1b19e3[_0x4e3ea5];return _0x2556c6;},a93_0x4e3e(_0x2f5ea5,_0x428db7);}var a93_0x41aa2a=a93_0x4e3e;(function(_0x5da8e6,_0x2aecbe){var _0x283f1f=a93_0x4e3e,_0x38873a=_0x5da8e6();while(!![]){try{var _0x3294fd=-parseInt(_0x283f1f(0x12a))/0x1*(-parseInt(_0x283f1f(0x122))/0x2)+parseInt(_0x283f1f(0x135))/0x3*(-parseInt(_0x283f1f(0x11d))/0x4)+parseInt(_0x283f1f(0x129))/0x5*(parseInt(_0x283f1f(0x126))/0x6)+-parseInt(_0x283f1f(0x120))/0x7*(-parseInt(_0x283f1f(0x140))/0x8)+parseInt(_0x283f1f(0x134))/0x9*(parseInt(_0x283f1f(0x144))/0xa)+-parseInt(_0x283f1f(0x132))/0xb+parseInt(_0x283f1f(0x119))/0xc*(parseInt(_0x283f1f(0x12f))/0xd);if(_0x3294fd===_0x2aecbe)break;else _0x38873a['push'](_0x38873a['shift']());}catch(_0x5c288d){_0x38873a['push'](_0x38873a['shift']());}}}(a93_0x1b19,0x92fbd));function a93_0x1b19(){var _0x24c832=['request','get','24385ZbXrqC','652909ogSKgY','url','MultiLineString','indexOf','MultiPolygon','493454DYzQDW','valueOf','test','8405298YEiCYx','isArcgisOnline','629838VINsct','157461Fpnhli','Point','esriGeometryPoint','method','geojsonTypeToArcGIS','[object\x20Array]','esriGeometryMultipoint','esriGeometryPolygon','[object\x20Object]','LineString','join','15296DUMOYC','MultiPoint','esriGeometryPolyline','post','70SRuODI','48CaMyAQ','toString','prototype','format','28QwpzCv','JSONP','params','875xHMMVp','call','2gnlEgi','GET','returnUnformattedValues','stringify','246KoOVHP'];a93_0x1b19=function(){return _0x24c832;};return a93_0x1b19();}import a93_0x1e1fe2 from'../../AxiosUtil';import{jsonp,stringify}from'../../AxiosUtil';export default class Task{constructor(_0x2e74e5,_0x28598e,_0x21f412){var _0x5be495=a93_0x4e3e;this['url']=_0x2e74e5,this[_0x5be495(0x11f)]=_0x28598e||{},this[_0x5be495(0x138)]=!_0x21f412?'GET':_0x21f412;}[a93_0x41aa2a(0x139)](_0x574668){var _0x15648b=a93_0x41aa2a,_0x127e59;switch(_0x574668){case _0x15648b(0x136):_0x127e59=_0x15648b(0x137);break;case _0x15648b(0x141):_0x127e59=_0x15648b(0x13b);break;case _0x15648b(0x13e):_0x127e59=_0x15648b(0x142);break;case _0x15648b(0x12c):_0x127e59='esriGeometryPolyline';break;case'Polygon':_0x127e59=_0x15648b(0x13c);break;case _0x15648b(0x12e):_0x127e59=_0x15648b(0x13c);break;}return _0x127e59;}[a93_0x41aa2a(0x133)](_0x1256de){var _0x3fa2c6=a93_0x41aa2a;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x3fa2c6(0x131)](_0x1256de);}['serialize'](_0x3b433b){var _0x13fc41=a93_0x41aa2a,_0x2498fd='';_0x3b433b['f']=_0x3b433b['f']||'json';for(var _0x391a85 in _0x3b433b){if(Object['prototype']['hasOwnProperty'][_0x13fc41(0x121)](_0x3b433b,_0x391a85)){var _0x5f3ef1=_0x3b433b[_0x391a85],_0x26bf7e=Object[_0x13fc41(0x11b)]['toString'][_0x13fc41(0x121)](_0x5f3ef1),_0x536c7d;_0x2498fd['length']&&(_0x2498fd+='&');if(_0x26bf7e===_0x13fc41(0x13a))_0x536c7d=Object[_0x13fc41(0x11b)][_0x13fc41(0x11a)][_0x13fc41(0x121)](_0x5f3ef1[0x0])===_0x13fc41(0x13d)?JSON[_0x13fc41(0x125)](_0x5f3ef1):_0x5f3ef1[_0x13fc41(0x13f)](',');else{if(_0x26bf7e===_0x13fc41(0x13d))_0x536c7d=JSON[_0x13fc41(0x125)](_0x5f3ef1);else _0x26bf7e==='[object\x20Date]'?_0x536c7d=_0x5f3ef1[_0x13fc41(0x130)]():_0x536c7d=_0x5f3ef1;}_0x2498fd+=encodeURIComponent(_0x391a85)+'='+encodeURIComponent(_0x536c7d);}}return _0x2498fd;}[a93_0x41aa2a(0x11c)](_0x21214c){var _0x5c59c5=a93_0x41aa2a;return this[_0x5c59c5(0x11f)][_0x5c59c5(0x124)]=!_0x21214c,this;}async[a93_0x41aa2a(0x127)](){var _0x49bc14=a93_0x41aa2a,_0x3d35ad=this['serialize'](this['params']);const _0x4d3470=this[_0x49bc14(0x12b)][_0x49bc14(0x12d)]('?')>-0x1?this[_0x49bc14(0x12b)]+'&'+_0x3d35ad:this['url']+'?'+_0x3d35ad;if(this[_0x49bc14(0x138)]===_0x49bc14(0x123))return a93_0x1e1fe2[_0x49bc14(0x128)](_0x4d3470);else{if(this[_0x49bc14(0x138)]===_0x49bc14(0x11e))return jsonp(_0x4d3470);else{const _0x4b07aa=stringify(this[_0x49bc14(0x11f)]);return a93_0x1e1fe2[_0x49bc14(0x143)](this['url'],_0x4b07aa);}}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a95_0x5f5e43=a95_0x4761;(function(_0x200e79,_0x2d2a5a){const _0x4ecc68=a95_0x4761,_0x4524c2=_0x200e79();while(!![]){try{const _0x285a8c=-parseInt(_0x4ecc68(0x15c))/0x1+-parseInt(_0x4ecc68(0x160))/0x2+-parseInt(_0x4ecc68(0x153))/0x3+parseInt(_0x4ecc68(0x15f))/0x4*(-parseInt(_0x4ecc68(0x152))/0x5)+parseInt(_0x4ecc68(0x149))/0x6*(-parseInt(_0x4ecc68(0x13a))/0x7)+parseInt(_0x4ecc68(0x13e))/0x8+-parseInt(_0x4ecc68(0x147))/0x9*(-parseInt(_0x4ecc68(0x144))/0xa);if(_0x285a8c===_0x2d2a5a)break;else _0x4524c2['push'](_0x4524c2['shift']());}catch(_0x4623f5){_0x4524c2['push'](_0x4524c2['shift']());}}}(a95_0x8828,0x887dc));import{and,intersects}from'ol/format/filter';import a95_0x328765 from'../../format/CQL';function a95_0x8828(){const _0x481382=['101224qsWtJL','301066WYDbdM','EPSG:4326','70xNmJps','stringify','resolution','geoserver','5421800Nelvtp','queryParameters','application/json','srsName','POST','getFeatureInfoUrl','290zHKauX','readFeature','error','1018872licdVg','features','669954DzZODB','srsName\x20is\x20required','executeRaster','the_geom','1.1.1','map','_geoserverQuery','geometry','catch','30EpPmSK','3286473NKpzYj','serializeToString','geometryName','json','writeGetFeature','then','url','where','geometry\x20is\x20required','887239wXHyme','read','tableName'];a95_0x8828=function(){return _0x481382;};return a95_0x8828();}import a95_0x2dab97 from'ol/format/WFS';import a95_0x24c283 from'ol/format/GeoJSON';function a95_0x4761(_0x572810,_0x3722cf){const _0x882845=a95_0x8828();return a95_0x4761=function(_0x476150,_0x4d4b8f){_0x476150=_0x476150-0x13a;let _0x1f774d=_0x882845[_0x476150];return _0x1f774d;},a95_0x4761(_0x572810,_0x3722cf);}import a95_0x174c47 from'ol/source/TileWMS';import{getGeometryCenter}from'../../GeometryUtil';export default class QueryTask{constructor(_0x5782d4){const _0x12dd30=a95_0x4761;this['queryParameters']={},this[_0x12dd30(0x159)]=_0x5782d4;}async[a95_0x5f5e43(0x14b)](_0x2c384c){const _0x4a4126=a95_0x5f5e43,_0x352cb7=new a95_0x174c47({'url':this[_0x4a4126(0x159)],'params':{'LAYERS':_0x2c384c[_0x4a4126(0x15e)],'TILED':!![],'VERSION':_0x4a4126(0x14d)},'serverType':_0x4a4126(0x13d),'crossOrigin':'anonymous'}),_0x16a7d2=_0x2c384c[_0x4a4126(0x13c)]||0.001,_0xb69682=_0x2c384c['geometry'];if(!_0xb69682)throw new Error(_0x4a4126(0x15b));let _0x3fef1c=getGeometryCenter(_0xb69682);if(!_0x3fef1c)throw new Error('geometry\x20is\x20invalid');const _0x33a3c5=_0x352cb7[_0x4a4126(0x143)](_0x3fef1c['getCoordinates'](),_0x16a7d2,_0x4a4126(0x161),{'INFO_FORMAT':_0x4a4126(0x140)}),_0x2df56a=await fetch(_0x33a3c5,{'method':_0x4a4126(0x142)}),_0x2f8caa=await _0x2df56a[_0x4a4126(0x156)]();let _0x3171cc=[];const _0x16f7ca=new a95_0x24c283();return _0x3171cc=_0x2f8caa[_0x4a4126(0x148)][_0x4a4126(0x14e)](_0x5b999d=>{const _0x39cba0=_0x4a4126;return _0x16f7ca[_0x39cba0(0x145)](JSON[_0x39cba0(0x13b)](_0x5b999d));}),_0x3171cc;}async['execute'](_0x52d423){const _0x52dba5=a95_0x5f5e43;this['queryParameters']=_0x52d423||{};const _0x20acfd=this['queryParameters'][_0x52dba5(0x155)]||'the_geom';let _0x467bed=this[_0x52dba5(0x13f)][_0x52dba5(0x15a)],_0x35c4a1;_0x467bed&&(_0x35c4a1=new a95_0x328765()[_0x52dba5(0x15d)](_0x467bed));let _0x4125d5=_0x35c4a1;if(this[_0x52dba5(0x13f)][_0x52dba5(0x150)]){if(!this[_0x52dba5(0x13f)][_0x52dba5(0x141)])throw new Error(_0x52dba5(0x14a));const _0x5686fd=intersects(_0x20acfd,this[_0x52dba5(0x13f)]['geometry']);_0x4125d5=_0x35c4a1?and(_0x35c4a1,_0x5686fd):_0x5686fd;}let _0x263f01=new a95_0x2dab97()[_0x52dba5(0x157)]({'srsName':this['queryParameters']['srsName'],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x52dba5(0x13f)]['tableName']],'outputFormat':_0x52dba5(0x140),'geometryName':_0x20acfd,'filter':_0x4125d5});const _0x17a38a=await fetch(this[_0x52dba5(0x159)],{'method':_0x52dba5(0x142),'body':new XMLSerializer()[_0x52dba5(0x154)](_0x263f01)}),_0x3875ee=await _0x17a38a[_0x52dba5(0x156)]();let _0xb70236=[];const _0x30c675=new a95_0x24c283();return _0xb70236=_0x3875ee[_0x52dba5(0x148)][_0x52dba5(0x14e)](_0x424b4b=>{const _0x2e6a8b=_0x52dba5;return _0x30c675['readFeature'](JSON[_0x2e6a8b(0x13b)](_0x424b4b));}),_0xb70236;}[a95_0x5f5e43(0x14f)](){const _0x30d046=a95_0x5f5e43,_0x57a988=this[_0x30d046(0x13f)][_0x30d046(0x155)]||_0x30d046(0x14c);let _0x2d3fd4=this[_0x30d046(0x13f)][_0x30d046(0x15a)],_0x4b86cb;_0x2d3fd4&&(_0x4b86cb=new a95_0x328765()[_0x30d046(0x15d)](_0x2d3fd4));let _0x4c9610=_0x4b86cb;if(this[_0x30d046(0x13f)]['geometry']){const _0x59bdd8=intersects(_0x57a988,this[_0x30d046(0x13f)][_0x30d046(0x150)]);_0x4c9610=_0x4b86cb?and(_0x4b86cb,_0x59bdd8):_0x59bdd8;}let _0x510de0=new a95_0x2dab97()[_0x30d046(0x157)]({'srsName':this[_0x30d046(0x13f)][_0x30d046(0x141)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x30d046(0x13f)]['tableName']],'outputFormat':'application/json','geometryName':_0x57a988,'filter':_0x4c9610});return new Promise(_0x56d0e6=>{const _0x1b38b9=_0x30d046;fetch(this[_0x1b38b9(0x159)],{'method':'POST','body':new XMLSerializer()[_0x1b38b9(0x154)](_0x510de0)})[_0x1b38b9(0x158)](_0x306230=>{const _0x286ea4=_0x1b38b9;return _0x306230[_0x286ea4(0x156)]();})[_0x1b38b9(0x158)](_0x11c499=>{const _0x463fba=_0x1b38b9;let _0x55f41a=[];const _0x1edb08=new a95_0x24c283();_0x55f41a=_0x11c499[_0x463fba(0x148)][_0x463fba(0x14e)](_0x14ed24=>{return _0x1edb08['readFeature'](JSON['stringify'](_0x14ed24));}),_0x56d0e6(_0x55f41a);})[_0x1b38b9(0x151)](_0x13de81=>{const _0x120338=_0x1b38b9;_0x56d0e6([]),console[_0x120338(0x146)](_0x13de81);});});}}
|
package/utils/tasks/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a96_0x21ff(){const _0xde3900=['1922112sDJBvb','execute','fieldType','36ptnnFj','10830941KDhnAx','12509WgwIkZ','executeRaster','name','25216dxHcSd','342GAKxNq','geoserver-wmts','replace','2970ZsECiT','213599kvGLBk','arcgis-feature','intersects','arcgis-dynamic','wms','layerFields','154895ttEQdN','168dPRUsC','gwc/service/wmts','10410KNzuri','104wByNNZ','find'];a96_0x21ff=function(){return _0xde3900;};return a96_0x21ff();}(function(_0xddf454,_0x350b5b){const _0x517238=a96_0x9972,_0x3781ba=_0xddf454();while(!![]){try{const _0x5afb6d=-parseInt(_0x517238(0x1af))/0x1+parseInt(_0x517238(0x1aa))/0x2*(-parseInt(_0x517238(0x1b6))/0x3)+parseInt(_0x517238(0x1b9))/0x4*(-parseInt(_0x517238(0x1b5))/0x5)+-parseInt(_0x517238(0x1ab))/0x6*(parseInt(_0x517238(0x1a7))/0x7)+-parseInt(_0x517238(0x1bb))/0x8+-parseInt(_0x517238(0x1ae))/0x9*(parseInt(_0x517238(0x1b8))/0xa)+parseInt(_0x517238(0x1a6))/0xb*(parseInt(_0x517238(0x1a5))/0xc);if(_0x5afb6d===_0x350b5b)break;else _0x3781ba['push'](_0x3781ba['shift']());}catch(_0xcb88e0){_0x3781ba['push'](_0x3781ba['shift']());}}}(a96_0x21ff,0x849a3));import{appendPath}from'../UrlUtil';import a96_0x2877a8 from'./esri/Query';import a96_0xa36cff from'./geoserver/QueryTask';import{getWFSLayerCapabilities}from'../../capabilities';function a96_0x9972(_0x585d89,_0x3e9f0c){const _0x21ffc2=a96_0x21ff();return a96_0x9972=function(_0x9972c2,_0x5d1aca){_0x9972c2=_0x9972c2-0x1a4;let _0x5c2ed5=_0x21ffc2[_0x9972c2];return _0x5c2ed5;},a96_0x9972(_0x585d89,_0x3e9f0c);}export async function selectFeaturesByGeo(_0x3e5b7b,_0x31ae8a,_0x29b9da,_0x56f0ec,_0x514604,_0x1265a2,_0x5f5f66){const _0x31bca9=a96_0x9972;if(!_0x29b9da||!_0x56f0ec||!_0x514604||!_0x514604)return[];let _0x37e59f=[];try{if(_0x514604==_0x31bca9(0x1b2)||_0x514604==_0x31bca9(0x1b0)){const _0x501fef=appendPath(_0x29b9da,_0x56f0ec),_0xc794c4=new a96_0x2877a8(_0x501fef,{'outSR':_0x31ae8a,'where':_0x1265a2});_0xc794c4[_0x31bca9(0x1b1)](_0x3e5b7b,_0x31ae8a),_0x37e59f=await _0xc794c4['run']();}else{if(_0x514604=='geoserver-wfs'||_0x514604=='geoserver-wms'){const _0x274570=new a96_0xa36cff(_0x29b9da),_0x56718f=await getWFSLayerCapabilities(_0x29b9da,_0x56f0ec);if(_0x56718f&&_0x56718f[_0x31bca9(0x1b4)]){const _0x191f61=_0x56718f['layerFields'][_0x31bca9(0x1ba)](_0x1ee71d=>_0x1ee71d[_0x31bca9(0x1a4)]==0x6);_0x37e59f=await _0x274570['execute']({'geometry':_0x3e5b7b,'tableName':_0x56f0ec,'geometryName':_0x191f61?_0x191f61[_0x31bca9(0x1a9)]:'','srsName':_0x31ae8a,'where':_0x1265a2});}else _0x37e59f=await _0x274570[_0x31bca9(0x1a8)]({'geometry':_0x3e5b7b,'tableName':_0x56f0ec,'geometryName':'','srsName':_0x31ae8a,'where':_0x1265a2,'resolution':_0x5f5f66});}else{if(_0x514604==_0x31bca9(0x1ac)){_0x29b9da=_0x29b9da[_0x31bca9(0x1ad)](_0x31bca9(0x1b7),_0x31bca9(0x1b3));const _0xfac925=new a96_0xa36cff(_0x29b9da),_0x4f45c2=await getWFSLayerCapabilities(_0x29b9da,_0x56f0ec);if(_0x4f45c2&&_0x4f45c2['layerFields']){let _0x1146af=_0x4f45c2['layerFields'][_0x31bca9(0x1ba)](_0x1f3060=>_0x1f3060[_0x31bca9(0x1a4)]==0x6);_0x37e59f=await _0xfac925[_0x31bca9(0x1bc)]({'geometry':_0x3e5b7b,'tableName':_0x56f0ec,'geometryName':_0x1146af?_0x1146af[_0x31bca9(0x1a9)]:'','srsName':_0x31ae8a,'where':_0x1265a2});}else _0x37e59f=await _0xfac925[_0x31bca9(0x1a8)]({'geometry':_0x3e5b7b,'tableName':_0x56f0ec,'geometryName':'','srsName':_0x31ae8a,'where':_0x1265a2,'resolution':_0x5f5f66});}}}}catch(_0x19cf47){}return _0x37e59f;}
|