ym-gis-2d 1.0.14 → 1.0.15

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.
Files changed (68) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.js +1 -1
  4. package/controls/MousePositionControl.js +1 -1
  5. package/controls/SwipeLayerControl.js +1 -1
  6. package/conver/kml/geoJSONToKml.js +1 -1
  7. package/conver/kml/index.js +1 -1
  8. package/conver/kml/kmlToGeoJSON.js +1 -1
  9. package/entity/Feature.js +1 -1
  10. package/entity/GeometryType.js +1 -1
  11. package/feature/FeatureManager.js +1 -1
  12. package/index.js +1 -1
  13. package/interaction/Draw.js +1 -1
  14. package/interaction/InteractionManager.js +1 -1
  15. package/interaction/Select.js +1 -1
  16. package/layers/ArcgisDynamicLayer.js +1 -1
  17. package/layers/ArcgisFeatureLayer.js +1 -1
  18. package/layers/ArcgisTileLayer.js +1 -1
  19. package/layers/ArcgisWMSLayer.js +1 -1
  20. package/layers/ArcgisWMTSLayer.js +1 -1
  21. package/layers/GeoserverVectorTile.js +1 -1
  22. package/layers/GeoserverWFSLayer.js +1 -1
  23. package/layers/GeoserverWMSLayer.js +1 -1
  24. package/layers/GeoserverWMTSLayer.js +1 -1
  25. package/layers/LayerManager.js +1 -1
  26. package/layers/TDTLayer.js +1 -1
  27. package/mapView/Map.js +1 -1
  28. package/mapView/View.js +1 -1
  29. package/package.json +1 -1
  30. package/plot/Plot.js +1 -1
  31. package/plot/geometry/point/Point.js +1 -1
  32. package/plot/geometry/polygon/BasePolygon.js +1 -1
  33. package/plot/geometry/polygon/Circle.js +1 -1
  34. package/plot/geometry/polygon/Polygon.js +1 -1
  35. package/plot/geometry/polygon/RectAngle.js +1 -1
  36. package/plot/geometry/polyline/BaseLine.js +1 -1
  37. package/plot/geometry/polyline/Polyline.js +1 -1
  38. package/style/PointStyleFormat.js +1 -1
  39. package/style/PolygonStyleFormat.js +1 -1
  40. package/style/PolylineStyleFormat.js +1 -1
  41. package/style/StyleManager.js +1 -1
  42. package/style/common.js +1 -1
  43. package/utils/ArrayUtil.js +1 -1
  44. package/utils/AxiosUtil.js +1 -1
  45. package/utils/EsriUtil.js +1 -1
  46. package/utils/GeometryUtil.d.ts.map +1 -1
  47. package/utils/GeometryUtil.js +1 -1
  48. package/utils/GeometryUtil.js.map +1 -1
  49. package/utils/LayerUtil.js +1 -1
  50. package/utils/RegisterProjUtil.js +1 -1
  51. package/utils/ResolutionUtil.js +1 -1
  52. package/utils/StringUtil.js +1 -1
  53. package/utils/StyleUtil.js +1 -1
  54. package/utils/UrlUtil.js +1 -1
  55. package/utils/XmlUtil.js +1 -1
  56. package/utils/format/CQL.js +1 -1
  57. package/utils/format/IsMatchCql.js +1 -1
  58. package/utils/plug/canvas/ImageCache.js +1 -1
  59. package/utils/plug/canvas/PinBuilder.js +1 -1
  60. package/utils/plug/canvas/PinIcon.js +1 -1
  61. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  62. package/utils/tasks/esri/Identify.js +1 -1
  63. package/utils/tasks/esri/Query.js +1 -1
  64. package/utils/tasks/esri/Task.js +1 -1
  65. package/utils/tasks/geoserver/QueryTask.js +1 -1
  66. package/utils/tasks/index.js +1 -1
  67. package/ym-gis-2d.es.js +1 -1
  68. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- const a86_0x267acd=a86_0x29a3;(function(_0x23aea1,_0x2528f9){const _0x52424d=a86_0x29a3,_0x4e938b=_0x23aea1();while(!![]){try{const _0x2e2544=parseInt(_0x52424d(0x19e))/0x1*(parseInt(_0x52424d(0x1a0))/0x2)+parseInt(_0x52424d(0x1ae))/0x3+-parseInt(_0x52424d(0x1a1))/0x4+parseInt(_0x52424d(0x1b5))/0x5*(parseInt(_0x52424d(0x1a2))/0x6)+-parseInt(_0x52424d(0x1a7))/0x7+-parseInt(_0x52424d(0x1ad))/0x8+parseInt(_0x52424d(0x1b0))/0x9*(parseInt(_0x52424d(0x19f))/0xa);if(_0x2e2544===_0x2528f9)break;else _0x4e938b['push'](_0x4e938b['shift']());}catch(_0x3b2850){_0x4e938b['push'](_0x4e938b['shift']());}}}(a86_0x1213,0x51de3));import{and,intersects}from'ol/format/filter';import a86_0x2856b0 from'../../format/CQL';function a86_0x1213(){const _0x4d8046=['4220973yhdjaO','stringify','srsName','features','POST','159135jKnNgz','map','geometryName','_geoserverQuery','where','readFeature','queryParameters','27hUqXns','10CzoyWY','29600udRPwy','1465668PikcEI','72xuWFuF','writeGetFeature','tableName','url','json','4294486XwTcXD','execute','error','geometry','then','catch','4588768gEJaLV','1914963wBtUgg','the_geom'];a86_0x1213=function(){return _0x4d8046;};return a86_0x1213();}function a86_0x29a3(_0xabe888,_0x49da94){const _0x1213d2=a86_0x1213();return a86_0x29a3=function(_0x29a3b1,_0x227a0f){_0x29a3b1=_0x29a3b1-0x19a;let _0xf01489=_0x1213d2[_0x29a3b1];return _0xf01489;},a86_0x29a3(_0xabe888,_0x49da94);}import a86_0x350000 from'ol/format/WFS';import a86_0x16f7ff from'ol/format/GeoJSON';export default class QueryTask{constructor(_0x326707){const _0x3982f9=a86_0x29a3;this[_0x3982f9(0x19d)]={},this[_0x3982f9(0x1a5)]=_0x326707;}async[a86_0x267acd(0x1a8)](_0x23bd26){const _0x2ed53e=a86_0x267acd;this['queryParameters']=_0x23bd26||{};const _0x14aabd=this[_0x2ed53e(0x19d)][_0x2ed53e(0x1b7)]||_0x2ed53e(0x1af);let _0x4c219b=this['queryParameters'][_0x2ed53e(0x19b)],_0x386c4a;_0x4c219b&&(_0x386c4a=new a86_0x2856b0()['read'](_0x4c219b));let _0x54c397=_0x386c4a;if(this[_0x2ed53e(0x19d)]['geometry']){if(!this[_0x2ed53e(0x19d)][_0x2ed53e(0x1b2)])throw new Error('srsName\x20is\x20required');const _0x392a30=intersects(_0x14aabd,this[_0x2ed53e(0x19d)][_0x2ed53e(0x1aa)]);_0x54c397=_0x386c4a?and(_0x386c4a,_0x392a30):_0x392a30;}let _0x3e4dad=new a86_0x350000()[_0x2ed53e(0x1a3)]({'srsName':this[_0x2ed53e(0x19d)]['srsName'],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x2ed53e(0x19d)]['tableName']],'outputFormat':'application/json','geometryName':_0x14aabd,'filter':_0x54c397});const _0x24790e=await fetch(this[_0x2ed53e(0x1a5)],{'method':_0x2ed53e(0x1b4),'body':new XMLSerializer()['serializeToString'](_0x3e4dad)}),_0x5608d9=await _0x24790e[_0x2ed53e(0x1a6)]();let _0x320a03=[];const _0x916b80=new a86_0x16f7ff();return _0x320a03=_0x5608d9['features'][_0x2ed53e(0x1b6)](_0x252f4f=>{const _0xa9f8cf=_0x2ed53e;return _0x916b80[_0xa9f8cf(0x19c)](JSON[_0xa9f8cf(0x1b1)](_0x252f4f));}),_0x320a03;}[a86_0x267acd(0x19a)](){const _0x2c658c=a86_0x267acd,_0xb06275=this[_0x2c658c(0x19d)][_0x2c658c(0x1b7)]||_0x2c658c(0x1af);let _0x526cf0=this['queryParameters'][_0x2c658c(0x19b)],_0xa18b06;_0x526cf0&&(_0xa18b06=new a86_0x2856b0()['read'](_0x526cf0));let _0x198153=_0xa18b06;if(this[_0x2c658c(0x19d)][_0x2c658c(0x1aa)]){const _0x3f6c23=intersects(_0xb06275,this[_0x2c658c(0x19d)][_0x2c658c(0x1aa)]);_0x198153=_0xa18b06?and(_0xa18b06,_0x3f6c23):_0x3f6c23;}let _0x2665f8=new a86_0x350000()[_0x2c658c(0x1a3)]({'srsName':this['queryParameters'][_0x2c658c(0x1b2)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x2c658c(0x19d)][_0x2c658c(0x1a4)]],'outputFormat':'application/json','geometryName':_0xb06275,'filter':_0x198153});return new Promise(_0x1ed2b8=>{const _0x2af600=_0x2c658c;fetch(this[_0x2af600(0x1a5)],{'method':_0x2af600(0x1b4),'body':new XMLSerializer()['serializeToString'](_0x2665f8)})[_0x2af600(0x1ab)](_0x1400dd=>{const _0x13f87d=_0x2af600;return _0x1400dd[_0x13f87d(0x1a6)]();})['then'](_0x52d970=>{const _0x940910=_0x2af600;let _0x20c4e4=[];const _0x41ca50=new a86_0x16f7ff();_0x20c4e4=_0x52d970[_0x940910(0x1b3)][_0x940910(0x1b6)](_0x28a475=>{const _0x3ee19a=_0x940910;return _0x41ca50[_0x3ee19a(0x19c)](JSON[_0x3ee19a(0x1b1)](_0x28a475));}),_0x1ed2b8(_0x20c4e4);})[_0x2af600(0x1ac)](_0x482f82=>{const _0x2c88fa=_0x2af600;_0x1ed2b8([]),console[_0x2c88fa(0x1a9)](_0x482f82);});});}}
1
+ function a86_0x3184(_0x13961f,_0x7200e){const _0x2191c0=a86_0x2191();return a86_0x3184=function(_0x31848c,_0x536c29){_0x31848c=_0x31848c-0x131;let _0x15f454=_0x2191c0[_0x31848c];return _0x15f454;},a86_0x3184(_0x13961f,_0x7200e);}const a86_0x5ab0b5=a86_0x3184;(function(_0x5ab742,_0x5dd7d0){const _0x607378=a86_0x3184,_0x3b0fd7=_0x5ab742();while(!![]){try{const _0x560d2b=parseInt(_0x607378(0x151))/0x1+-parseInt(_0x607378(0x131))/0x2+parseInt(_0x607378(0x142))/0x3+-parseInt(_0x607378(0x13d))/0x4*(-parseInt(_0x607378(0x14e))/0x5)+parseInt(_0x607378(0x140))/0x6*(-parseInt(_0x607378(0x14c))/0x7)+parseInt(_0x607378(0x141))/0x8+-parseInt(_0x607378(0x13c))/0x9*(parseInt(_0x607378(0x137))/0xa);if(_0x560d2b===_0x5dd7d0)break;else _0x3b0fd7['push'](_0x3b0fd7['shift']());}catch(_0x17f3bb){_0x3b0fd7['push'](_0x3b0fd7['shift']());}}}(a86_0x2191,0x406e3));function a86_0x2191(){const _0x2518d0=['2349152ncYSaS','1516779cuXieK','serializeToString','features','execute','geometry','read','stringify','writeGetFeature','readFeature','where','28zMElyF','queryParameters','34430qUgUhu','_geoserverQuery','json','235907tUFJSs','256896ESnPaL','map','tableName','error','application/json','then','55450nhBodH','srsName','url','catch','the_geom','999uVSqTR','116TntBiH','POST','geometryName','340482FspNhf'];a86_0x2191=function(){return _0x2518d0;};return a86_0x2191();}import{and,intersects}from'ol/format/filter';import a86_0x1a6e26 from'../../format/CQL';import a86_0x28cf51 from'ol/format/WFS';import a86_0x474ecf from'ol/format/GeoJSON';export default class QueryTask{constructor(_0x339081){const _0x479cff=a86_0x3184;this[_0x479cff(0x14d)]={},this[_0x479cff(0x139)]=_0x339081;}async[a86_0x5ab0b5(0x145)](_0x269ef4){const _0x52d1fb=a86_0x5ab0b5;this[_0x52d1fb(0x14d)]=_0x269ef4||{};const _0x149367=this[_0x52d1fb(0x14d)][_0x52d1fb(0x13f)]||_0x52d1fb(0x13b);let _0x4683b7=this[_0x52d1fb(0x14d)]['where'],_0x639bc3;_0x4683b7&&(_0x639bc3=new a86_0x1a6e26()[_0x52d1fb(0x147)](_0x4683b7));let _0x190316=_0x639bc3;if(this[_0x52d1fb(0x14d)][_0x52d1fb(0x146)]){if(!this['queryParameters'][_0x52d1fb(0x138)])throw new Error('srsName\x20is\x20required');const _0x311a29=intersects(_0x149367,this[_0x52d1fb(0x14d)][_0x52d1fb(0x146)]);_0x190316=_0x639bc3?and(_0x639bc3,_0x311a29):_0x311a29;}let _0x174113=new a86_0x28cf51()[_0x52d1fb(0x149)]({'srsName':this['queryParameters'][_0x52d1fb(0x138)],'featureNS':'','featurePrefix':'','featureTypes':[this['queryParameters']['tableName']],'outputFormat':_0x52d1fb(0x135),'geometryName':_0x149367,'filter':_0x190316});const _0x20b793=await fetch(this['url'],{'method':_0x52d1fb(0x13e),'body':new XMLSerializer()[_0x52d1fb(0x143)](_0x174113)}),_0x23302a=await _0x20b793['json']();let _0x5bbf9c=[];const _0x2a9765=new a86_0x474ecf();return _0x5bbf9c=_0x23302a[_0x52d1fb(0x144)][_0x52d1fb(0x132)](_0x1afc60=>{const _0x3e3ec5=_0x52d1fb;return _0x2a9765[_0x3e3ec5(0x14a)](JSON[_0x3e3ec5(0x148)](_0x1afc60));}),_0x5bbf9c;}[a86_0x5ab0b5(0x14f)](){const _0x59dbcf=a86_0x5ab0b5,_0x34b06a=this['queryParameters'][_0x59dbcf(0x13f)]||_0x59dbcf(0x13b);let _0x4cff7a=this[_0x59dbcf(0x14d)][_0x59dbcf(0x14b)],_0x27e1f3;_0x4cff7a&&(_0x27e1f3=new a86_0x1a6e26()[_0x59dbcf(0x147)](_0x4cff7a));let _0x5dae6e=_0x27e1f3;if(this[_0x59dbcf(0x14d)]['geometry']){const _0x5b46b9=intersects(_0x34b06a,this['queryParameters'][_0x59dbcf(0x146)]);_0x5dae6e=_0x27e1f3?and(_0x27e1f3,_0x5b46b9):_0x5b46b9;}let _0x17a64f=new a86_0x28cf51()['writeGetFeature']({'srsName':this[_0x59dbcf(0x14d)][_0x59dbcf(0x138)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x59dbcf(0x14d)][_0x59dbcf(0x133)]],'outputFormat':'application/json','geometryName':_0x34b06a,'filter':_0x5dae6e});return new Promise(_0x1325c1=>{const _0x3909d1=_0x59dbcf;fetch(this['url'],{'method':'POST','body':new XMLSerializer()['serializeToString'](_0x17a64f)})[_0x3909d1(0x136)](_0x25d7e2=>{const _0x5d4ba5=_0x3909d1;return _0x25d7e2[_0x5d4ba5(0x150)]();})['then'](_0x2ab11f=>{const _0x52982d=_0x3909d1;let _0x40b707=[];const _0x5a8074=new a86_0x474ecf();_0x40b707=_0x2ab11f[_0x52982d(0x144)]['map'](_0x4d8659=>{const _0x1ea4ea=_0x52982d;return _0x5a8074[_0x1ea4ea(0x14a)](JSON['stringify'](_0x4d8659));}),_0x1325c1(_0x40b707);})[_0x3909d1(0x13a)](_0x7c376=>{const _0x28b7b5=_0x3909d1;_0x1325c1([]),console[_0x28b7b5(0x134)](_0x7c376);});});}}
@@ -1 +1 @@
1
- function a87_0x12e1(_0x4da24e,_0xfdd203){const _0x400437=a87_0x4004();return a87_0x12e1=function(_0x12e1d6,_0x1d62aa){_0x12e1d6=_0x12e1d6-0x18a;let _0x6956fe=_0x400437[_0x12e1d6];return _0x6956fe;},a87_0x12e1(_0x4da24e,_0xfdd203);}(function(_0x410772,_0x5ec053){const _0x4727d8=a87_0x12e1,_0x2e43bd=_0x410772();while(!![]){try{const _0x57ae2d=parseInt(_0x4727d8(0x198))/0x1+-parseInt(_0x4727d8(0x18f))/0x2*(parseInt(_0x4727d8(0x19b))/0x3)+-parseInt(_0x4727d8(0x18a))/0x4+-parseInt(_0x4727d8(0x196))/0x5+parseInt(_0x4727d8(0x18e))/0x6+parseInt(_0x4727d8(0x18c))/0x7+parseInt(_0x4727d8(0x18d))/0x8;if(_0x57ae2d===_0x5ec053)break;else _0x2e43bd['push'](_0x2e43bd['shift']());}catch(_0x28fbad){_0x2e43bd['push'](_0x2e43bd['shift']());}}}(a87_0x4004,0x60010));import{appendPath}from'../UrlUtil';import a87_0x1a1c03 from'./esri/Query';import a87_0x54dcf5 from'./geoserver/QueryTask';import{getWFSLayerCapabilities}from'../../capabilities';function a87_0x4004(){const _0x4d9dc3=['execute','geoserver-wms','run','fieldType','find','1766440mjYFbZ','arcgis-feature','331166hioDYu','layerFields','intersects','3252aMxntm','3111448csnIVx','arcgis-dynamic','1236375DKPByH','12170592YKcuLj','496770bgEhLZ','1084OwfcXH','name'];a87_0x4004=function(){return _0x4d9dc3;};return a87_0x4004();}export async function selectFeaturesByGeo(_0x1701d5,_0x2890aa,_0x334367,_0x17ceed,_0x3ccfc6,_0x4c475f){const _0xa4b255=a87_0x12e1;if(!_0x334367||!_0x17ceed||!_0x3ccfc6||!_0x3ccfc6)return[];let _0x5da264=[];if(_0x3ccfc6==_0xa4b255(0x18b)||_0x3ccfc6==_0xa4b255(0x197)){const _0x3667a5=appendPath(_0x334367,_0x17ceed),_0x4bc0c5=new a87_0x1a1c03(_0x3667a5,{'outSR':_0x2890aa,'where':_0x4c475f});_0x4bc0c5[_0xa4b255(0x19a)](_0x1701d5,_0x2890aa),_0x5da264=await _0x4bc0c5[_0xa4b255(0x193)]();}else{if(_0x3ccfc6=='geoserver-wfs'||_0x3ccfc6==_0xa4b255(0x192)){const _0x10b681=new a87_0x54dcf5(_0x334367),_0x1940a3=await getWFSLayerCapabilities(_0x334367,_0x17ceed),_0x214a59=_0x1940a3[_0xa4b255(0x199)][_0xa4b255(0x195)](_0x37eb3e=>_0x37eb3e[_0xa4b255(0x194)]==0x6);_0x5da264=await _0x10b681[_0xa4b255(0x191)]({'geometry':_0x1701d5,'tableName':_0x17ceed,'geometryName':_0x214a59?_0x214a59[_0xa4b255(0x190)]:'','srsName':_0x2890aa,'where':_0x4c475f});}}return _0x5da264;}
1
+ (function(_0x2d7393,_0x544863){const _0x2b2ebd=a87_0x3be3,_0x49d57d=_0x2d7393();while(!![]){try{const _0xcbe35a=-parseInt(_0x2b2ebd(0xbb))/0x1*(parseInt(_0x2b2ebd(0xc0))/0x2)+-parseInt(_0x2b2ebd(0xba))/0x3+parseInt(_0x2b2ebd(0xbe))/0x4*(-parseInt(_0x2b2ebd(0xb7))/0x5)+-parseInt(_0x2b2ebd(0xb1))/0x6+parseInt(_0x2b2ebd(0xb4))/0x7+parseInt(_0x2b2ebd(0xc1))/0x8*(-parseInt(_0x2b2ebd(0xaf))/0x9)+parseInt(_0x2b2ebd(0xb2))/0xa;if(_0xcbe35a===_0x544863)break;else _0x49d57d['push'](_0x49d57d['shift']());}catch(_0x14743b){_0x49d57d['push'](_0x49d57d['shift']());}}}(a87_0x24f1,0x5b50b));import{appendPath}from'../UrlUtil';import a87_0x4ad465 from'./esri/Query';function a87_0x3be3(_0x1041aa,_0xbe8bc3){const _0x24f147=a87_0x24f1();return a87_0x3be3=function(_0x3be31c,_0x393bdd){_0x3be31c=_0x3be31c-0xaf;let _0x8b07d5=_0x24f147[_0x3be31c];return _0x8b07d5;},a87_0x3be3(_0x1041aa,_0xbe8bc3);}import a87_0x21ec5f from'./geoserver/QueryTask';function a87_0x24f1(){const _0x5d2f24=['204208jcwRlJ','45oTjYxY','run','1929996AENrVL','26153400RnFPLq','geoserver-wms','26894DIwTFl','arcgis-feature','name','23845IwIOZo','layerFields','fieldType','2006808rlwSvr','32qEZNvE','find','arcgis-dynamic','556wZKxeT','execute','29002JBkPHB'];a87_0x24f1=function(){return _0x5d2f24;};return a87_0x24f1();}import{getWFSLayerCapabilities}from'../../capabilities';export async function selectFeaturesByGeo(_0x16febd,_0x3f0b45,_0x8730ce,_0x1f6981,_0x275221,_0x4203ae){const _0x55d6dc=a87_0x3be3;if(!_0x8730ce||!_0x1f6981||!_0x275221||!_0x275221)return[];let _0x4a9d00=[];if(_0x275221==_0x55d6dc(0xbd)||_0x275221==_0x55d6dc(0xb5)){const _0x1d344a=appendPath(_0x8730ce,_0x1f6981),_0x5e6018=new a87_0x4ad465(_0x1d344a,{'outSR':_0x3f0b45,'where':_0x4203ae});_0x5e6018['intersects'](_0x16febd,_0x3f0b45),_0x4a9d00=await _0x5e6018[_0x55d6dc(0xb0)]();}else{if(_0x275221=='geoserver-wfs'||_0x275221==_0x55d6dc(0xb3)){const _0x5ce74d=new a87_0x21ec5f(_0x8730ce),_0x1bd32f=await getWFSLayerCapabilities(_0x8730ce,_0x1f6981),_0x4dfc84=_0x1bd32f[_0x55d6dc(0xb8)][_0x55d6dc(0xbc)](_0x2685bd=>_0x2685bd[_0x55d6dc(0xb9)]==0x6);_0x4a9d00=await _0x5ce74d[_0x55d6dc(0xbf)]({'geometry':_0x16febd,'tableName':_0x1f6981,'geometryName':_0x4dfc84?_0x4dfc84[_0x55d6dc(0xb6)]:'','srsName':_0x3f0b45,'where':_0x4203ae});}}return _0x4a9d00;}