ym-gis-2d 1.0.36 → 1.0.38

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 (77) 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.d.ts +2 -0
  6. package/controls/SwipeLayerControl.d.ts.map +1 -1
  7. package/controls/SwipeLayerControl.js +1 -1
  8. package/controls/SwipeLayerControl.js.map +1 -1
  9. package/conver/kml/geoJSONToKml.js +1 -1
  10. package/conver/kml/index.js +1 -1
  11. package/conver/kml/kmlToGeoJSON.js +1 -1
  12. package/entity/Feature.js +1 -1
  13. package/entity/GeometryType.js +1 -1
  14. package/entity/measure/AreaMeasureUnits.js +1 -1
  15. package/feature/FeatureManager.js +1 -1
  16. package/index.js +1 -1
  17. package/interaction/AreaMeasure.js +1 -1
  18. package/interaction/Difference.js +1 -1
  19. package/interaction/Draw.js +1 -1
  20. package/interaction/InteractionManager.js +1 -1
  21. package/interaction/Modify.d.ts +3 -3
  22. package/interaction/Modify.d.ts.map +1 -1
  23. package/interaction/Modify.js +1 -1
  24. package/interaction/Modify.js.map +1 -1
  25. package/interaction/Select.js +1 -1
  26. package/interaction/Split.js +1 -1
  27. package/layers/ArcgisDynamicLayer.js +1 -1
  28. package/layers/ArcgisFeatureLayer.js +1 -1
  29. package/layers/ArcgisTileLayer.js +1 -1
  30. package/layers/ArcgisWMSLayer.js +1 -1
  31. package/layers/ArcgisWMTSLayer.js +1 -1
  32. package/layers/GeoserverVectorTile.js +1 -1
  33. package/layers/GeoserverWFSLayer.js +1 -1
  34. package/layers/GeoserverWMSLayer.js +1 -1
  35. package/layers/GeoserverWMTSLayer.js +1 -1
  36. package/layers/LayerManager.js +1 -1
  37. package/layers/TDTLayer.js +1 -1
  38. package/mapView/Map.js +1 -1
  39. package/mapView/View.js +1 -1
  40. package/package.json +1 -1
  41. package/plot/Plot.js +1 -1
  42. package/plot/geometry/point/Point.js +1 -1
  43. package/plot/geometry/polygon/BasePolygon.js +1 -1
  44. package/plot/geometry/polygon/Circle.js +1 -1
  45. package/plot/geometry/polygon/Polygon.js +1 -1
  46. package/plot/geometry/polygon/RectAngle.js +1 -1
  47. package/plot/geometry/polyline/BaseLine.js +1 -1
  48. package/plot/geometry/polyline/Polyline.js +1 -1
  49. package/style/PointStyleFormat.js +1 -1
  50. package/style/PolygonStyleFormat.js +1 -1
  51. package/style/PolylineStyleFormat.js +1 -1
  52. package/style/StyleManager.js +1 -1
  53. package/style/common.js +1 -1
  54. package/utils/ArrayUtil.js +1 -1
  55. package/utils/AxiosUtil.js +1 -1
  56. package/utils/EsriUtil.js +1 -1
  57. package/utils/GeometryUtil.js +1 -1
  58. package/utils/LayerUtil.js +1 -1
  59. package/utils/RegisterProjUtil.js +1 -1
  60. package/utils/ResolutionUtil.js +1 -1
  61. package/utils/StringUtil.js +1 -1
  62. package/utils/StyleUtil.js +1 -1
  63. package/utils/UrlUtil.js +1 -1
  64. package/utils/XmlUtil.js +1 -1
  65. package/utils/format/CQL.js +1 -1
  66. package/utils/format/IsMatchCql.js +1 -1
  67. package/utils/plug/canvas/ImageCache.js +1 -1
  68. package/utils/plug/canvas/PinBuilder.js +1 -1
  69. package/utils/plug/canvas/PinIcon.js +1 -1
  70. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  71. package/utils/tasks/esri/Identify.js +1 -1
  72. package/utils/tasks/esri/Query.js +1 -1
  73. package/utils/tasks/esri/Task.js +1 -1
  74. package/utils/tasks/geoserver/QueryTask.js +1 -1
  75. package/utils/tasks/index.js +1 -1
  76. package/ym-gis-2d.es.js +1 -1
  77. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- const a53_0x3e0e19=a53_0x315b;(function(_0x9688a4,_0x54e8eb){const _0x37283f=a53_0x315b,_0x4a9b49=_0x9688a4();while(!![]){try{const _0x15c825=parseInt(_0x37283f(0x106))/0x1+-parseInt(_0x37283f(0xea))/0x2+-parseInt(_0x37283f(0xe4))/0x3+parseInt(_0x37283f(0x113))/0x4*(-parseInt(_0x37283f(0xfe))/0x5)+parseInt(_0x37283f(0xff))/0x6*(-parseInt(_0x37283f(0x111))/0x7)+-parseInt(_0x37283f(0x109))/0x8+parseInt(_0x37283f(0x107))/0x9;if(_0x15c825===_0x54e8eb)break;else _0x4a9b49['push'](_0x4a9b49['shift']());}catch(_0x2d0b50){_0x4a9b49['push'](_0x4a9b49['shift']());}}}(a53_0x4da4,0x2de2a));import a53_0x57ca0a from'ol/format/EsriJSON';import a53_0x4f6c1d from'ol/source/Vector';import{Vector as a53_0xf77680}from'ol/layer';function a53_0x4da4(){const _0x183cd1=['symbol','331134AblDJR','5673645YZqetB','/query','579864jlCfTg','error','type','1=1','ymax','uniqueValueInfos','renderer','EPSG:','26915CvxTxf','mapIndex','526172tClVdi','log','uniqueValue','initialExtent','&outSR=','url','133956qUOoxA','{\x22xmin\x22:','then','where=','setLayers','layerInfo','511530qEISaw','forEach','drawingInfo','f\x20=\x20json\x20&\x20','setFilter',',\x22spatialReference\x22:{\x22wkid\x22:','field1','find','returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry=','fullExtent','push','xmax','createArcGISFeatureLayer','wkt','xmin','showIndex','addFeatures','&outFields=*',',\x22ymax\x22:','&geometryType=esriGeometryEnvelope&inSR=','5TgzlbW','420EmnurC','ymin','loadFilter','spatialReference','setStyle','value'];a53_0x4da4=function(){return _0x183cd1;};return a53_0x4da4();}import{jsonp}from'../utils/AxiosUtil';import{createXYZ}from'ol/tilegrid';import{tile as a53_0x20b066}from'ol/loadingstrategy';function a53_0x315b(_0x13415e,_0x1ff534){const _0x4da4ee=a53_0x4da4();return a53_0x315b=function(_0x315ba1,_0x4e2689){_0x315ba1=_0x315ba1-0xdf;let _0x2df2e0=_0x4da4ee[_0x315ba1];return _0x2df2e0;},a53_0x315b(_0x13415e,_0x1ff534);}import a53_0x8944f3 from'ol/layer/Group';import{registerProj}from'../utils/RegisterProjUtil';import{transformedEsriStyle}from'../utils/StyleUtil';import a53_0x40f662 from'ol/Collection';import{appendParam,appendPath}from'../utils/UrlUtil';export default class ArcgisFeatureLayer extends a53_0x8944f3{constructor(_0x3bdc27,_0x122e46,_0x5319d9){const _0xda911=a53_0x315b,_0x49eb13=[_0x122e46['initialExtent'][_0xda911(0xf8)],_0x122e46[_0xda911(0xe1)][_0xda911(0x100)],_0x122e46[_0xda911(0xe1)][_0xda911(0xf5)],_0x122e46['initialExtent'][_0xda911(0x10d)]],_0x435359=[_0x122e46[_0xda911(0xf3)][_0xda911(0xf8)],_0x122e46['fullExtent'][_0xda911(0x100)],_0x122e46['fullExtent'][_0xda911(0xf5)],_0x122e46[_0xda911(0xf3)]['ymax']];let _0x22cdbc;_0x122e46['spatialReference']['wkid']?_0x22cdbc=registerProj(_0xda911(0x110)+_0x122e46[_0xda911(0x102)]['wkid'],_0x435359):_0x22cdbc=registerProj(_0x122e46[_0xda911(0x102)][_0xda911(0xf7)],_0x435359);let _0x303035=[];super({'zIndex':_0x3bdc27[_0xda911(0x112)]});for(let _0x3ed805 of _0x5319d9){let _0x325a53=this[_0xda911(0xf6)](_0x3bdc27,_0x3ed805);_0x303035[_0xda911(0xf4)](_0x325a53);}this[_0xda911(0xe8)](new a53_0x40f662(_0x303035)),this['id']=_0x3bdc27['id'],this[_0xda911(0xe1)]=_0x49eb13,this['projection']=_0x22cdbc,this[_0xda911(0xe9)]=_0x3bdc27;}[a53_0x3e0e19(0xf6)](_0x4120db,_0x11a31c){const _0x5ba474=a53_0x3e0e19;var _0x1ea4d2=new a53_0x57ca0a();let _0x4b2182=new a53_0x4f6c1d({'loader':function(_0x1edd7a,_0x28bb7,_0x3c2682){const _0x5a8a64=a53_0x315b;let _0xe24ce=_0x5a8a64(0x10c);_0x4120db['loadFilter']&&(_0xe24ce=typeof _0x4120db[_0x5a8a64(0x101)]==='string'?_0x4120db[_0x5a8a64(0x101)]:JSON['stringify'](_0x4120db[_0x5a8a64(0x101)]));let _0x3fe7ae=_0x3c2682['getCode'](),_0x5aca9a=_0x3fe7ae['split'](':')[0x1];var _0x47cfe4=appendPath(_0x11a31c[_0x5a8a64(0xe3)],_0x5a8a64(0x108));_0x47cfe4=appendParam(_0x47cfe4,_0x5a8a64(0xed)+_0x5a8a64(0xe7)+encodeURIComponent(_0xe24ce)+_0x5a8a64(0xf2)+encodeURIComponent(_0x5a8a64(0xe5)+_0x1edd7a[0x0]+',\x22ymin\x22:'+_0x1edd7a[0x1]+',\x22xmax\x22:'+_0x1edd7a[0x2]+_0x5a8a64(0xfc)+_0x1edd7a[0x3]+_0x5a8a64(0xef)+_0x5aca9a+'}}')+_0x5a8a64(0xfd)+_0x5aca9a+_0x5a8a64(0xfb)+_0x5a8a64(0xe2)+_0x5aca9a),jsonp(_0x47cfe4)[_0x5a8a64(0xe6)](_0x2dd555=>{const _0x7bbdb7=_0x5a8a64;if(_0x2dd555[_0x7bbdb7(0x10a)])console[_0x7bbdb7(0xdf)](_0x2dd555);else{var _0x2af0aa=_0x1ea4d2['readFeatures'](_0x2dd555,{'featureProjection':_0x3c2682});_0x2af0aa['length']>0x0&&(_0x11a31c['drawingInfo']['renderer'][_0x7bbdb7(0x10b)]==_0x7bbdb7(0xe0)&&_0x2af0aa[_0x7bbdb7(0xeb)](function(_0x1801a4){const _0x53e355=_0x7bbdb7;var _0x1890c8=_0x1801a4['get'](_0x11a31c['drawingInfo'][_0x53e355(0x10f)][_0x53e355(0xf0)]);const _0xd99659=_0x11a31c[_0x53e355(0xec)][_0x53e355(0x10f)][_0x53e355(0x10e)][_0x53e355(0xf1)](_0x4a6446=>_0x4a6446[_0x53e355(0x104)]==_0x1890c8);let _0x3c3d1f;_0xd99659?_0x3c3d1f=transformedEsriStyle(_0xd99659[_0x53e355(0x105)]):_0x3c3d1f=transformedEsriStyle(_0x11a31c[_0x53e355(0xec)][_0x53e355(0x10f)]['defaultSymbol']),_0x1801a4[_0x53e355(0x103)](_0x3c3d1f);}),_0x4b2182[_0x7bbdb7(0xfa)](_0x2af0aa));}});},'strategy':a53_0x20b066(createXYZ({'tileSize':0x200}))}),_0x50dc3d=new a53_0xf77680({'source':_0x4b2182,'zIndex':_0x4120db[_0x5ba474(0xf9)]});if(_0x11a31c[_0x5ba474(0xec)][_0x5ba474(0x10f)]['type']=='simple'&&_0x11a31c[_0x5ba474(0xec)]['renderer'][_0x5ba474(0x105)]){let _0x190286=transformedEsriStyle(_0x11a31c[_0x5ba474(0xec)][_0x5ba474(0x10f)][_0x5ba474(0x105)]);_0x50dc3d[_0x5ba474(0x103)](_0x190286);}return _0x50dc3d;}[a53_0x3e0e19(0xee)](_0x360fc9){const _0x300efd=a53_0x3e0e19;this[_0x300efd(0xe9)]['loadFilter']=_0x360fc9;}}
1
+ function a53_0x2adf(){const _0x233429=['setStyle','xmax','getCode','1=1','defaultSymbol','initialExtent',',\x22ymin\x22:','582066yRFwpd','xmin','split','mapIndex','url','1AvAsrh','f\x20=\x20json\x20&\x20','3197630rlcfWw','ymax','116GtIGSr','9uPOKno','fullExtent','drawingInfo','spatialReference','338434STutTK','2623344GgNwYN','setLayers',',\x22ymax\x22:','forEach','wkt','layerInfo','/query','projection','uniqueValueInfos','createArcGISFeatureLayer','field1',',\x22spatialReference\x22:{\x22wkid\x22:',',\x22xmax\x22:','ymin','length','loadFilter','where=','value','wkid','stringify','error','uniqueValue','type','172698KAAwaF','993790pfGPVo','returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry=','find','symbol','&geometryType=esriGeometryEnvelope&inSR=','setFilter','then','37235QHKRqG','renderer'];a53_0x2adf=function(){return _0x233429;};return a53_0x2adf();}const a53_0x2eb8a5=a53_0x34b1;function a53_0x34b1(_0x1715d4,_0x388b2e){const _0x2adf83=a53_0x2adf();return a53_0x34b1=function(_0x34b116,_0x5c5d5d){_0x34b116=_0x34b116-0x96;let _0x305415=_0x2adf83[_0x34b116];return _0x305415;},a53_0x34b1(_0x1715d4,_0x388b2e);}(function(_0x1d4a17,_0x1b28e4){const _0x5acb53=a53_0x34b1,_0x5b0226=_0x1d4a17();while(!![]){try{const _0x111af9=-parseInt(_0x5acb53(0xa4))/0x1*(-parseInt(_0x5acb53(0xad))/0x2)+parseInt(_0x5acb53(0xc5))/0x3+parseInt(_0x5acb53(0xa8))/0x4*(parseInt(_0x5acb53(0x96))/0x5)+-parseInt(_0x5acb53(0x9f))/0x6+-parseInt(_0x5acb53(0xc6))/0x7+parseInt(_0x5acb53(0xae))/0x8+-parseInt(_0x5acb53(0xa9))/0x9*(parseInt(_0x5acb53(0xa6))/0xa);if(_0x111af9===_0x1b28e4)break;else _0x5b0226['push'](_0x5b0226['shift']());}catch(_0x32efc1){_0x5b0226['push'](_0x5b0226['shift']());}}}(a53_0x2adf,0x33bd0));import a53_0xed95e7 from'ol/format/EsriJSON';import a53_0x3d2c60 from'ol/source/Vector';import{Vector as a53_0x129c2f}from'ol/layer';import{jsonp}from'../utils/AxiosUtil';import{createXYZ}from'ol/tilegrid';import{tile as a53_0x1ed0bc}from'ol/loadingstrategy';import a53_0x57e777 from'ol/layer/Group';import{registerProj}from'../utils/RegisterProjUtil';import{transformedEsriStyle}from'../utils/StyleUtil';import a53_0x407ab7 from'ol/Collection';import{appendParam,appendPath}from'../utils/UrlUtil';export default class ArcgisFeatureLayer extends a53_0x57e777{constructor(_0x43ded9,_0x4def2b,_0xd8d8e4){const _0x3fb2ef=a53_0x34b1,_0x5ebc9f=[_0x4def2b[_0x3fb2ef(0x9d)]['xmin'],_0x4def2b['initialExtent'][_0x3fb2ef(0xbb)],_0x4def2b[_0x3fb2ef(0x9d)][_0x3fb2ef(0x99)],_0x4def2b['initialExtent'][_0x3fb2ef(0xa7)]],_0x203f67=[_0x4def2b[_0x3fb2ef(0xaa)][_0x3fb2ef(0xa0)],_0x4def2b['fullExtent'][_0x3fb2ef(0xbb)],_0x4def2b[_0x3fb2ef(0xaa)]['xmax'],_0x4def2b[_0x3fb2ef(0xaa)]['ymax']];let _0x3e63ed;_0x4def2b[_0x3fb2ef(0xac)][_0x3fb2ef(0xc0)]?_0x3e63ed=registerProj('EPSG:'+_0x4def2b[_0x3fb2ef(0xac)]['wkid'],_0x203f67):_0x3e63ed=registerProj(_0x4def2b['spatialReference'][_0x3fb2ef(0xb2)],_0x203f67);let _0x3d6086=[];super({'zIndex':_0x43ded9[_0x3fb2ef(0xa2)]});for(let _0x5841e3 of _0xd8d8e4){let _0x22f73a=this[_0x3fb2ef(0xb7)](_0x43ded9,_0x5841e3);_0x3d6086['push'](_0x22f73a);}this[_0x3fb2ef(0xaf)](new a53_0x407ab7(_0x3d6086)),this['id']=_0x43ded9['id'],this[_0x3fb2ef(0x9d)]=_0x5ebc9f,this[_0x3fb2ef(0xb5)]=_0x3e63ed,this['layerInfo']=_0x43ded9;}['createArcGISFeatureLayer'](_0xdf0104,_0x593304){const _0x596eb7=a53_0x34b1;var _0x510f6e=new a53_0xed95e7();let _0xc545dc=new a53_0x3d2c60({'loader':function(_0x3b63e2,_0x5bc104,_0x3e5942){const _0x3aad69=a53_0x34b1;let _0x1de93e=_0x3aad69(0x9b);_0xdf0104['loadFilter']&&(_0x1de93e=typeof _0xdf0104['loadFilter']==='string'?_0xdf0104[_0x3aad69(0xbd)]:JSON[_0x3aad69(0xc1)](_0xdf0104['loadFilter']));let _0x4f99ae=_0x3e5942[_0x3aad69(0x9a)](),_0x19b38a=_0x4f99ae[_0x3aad69(0xa1)](':')[0x1];var _0x39bb10=appendPath(_0x593304[_0x3aad69(0xa3)],_0x3aad69(0xb4));_0x39bb10=appendParam(_0x39bb10,_0x3aad69(0xa5)+_0x3aad69(0xbe)+encodeURIComponent(_0x1de93e)+_0x3aad69(0xc7)+encodeURIComponent('{\x22xmin\x22:'+_0x3b63e2[0x0]+_0x3aad69(0x9e)+_0x3b63e2[0x1]+_0x3aad69(0xba)+_0x3b63e2[0x2]+_0x3aad69(0xb0)+_0x3b63e2[0x3]+_0x3aad69(0xb9)+_0x19b38a+'}}')+_0x3aad69(0xca)+_0x19b38a+'&outFields=*'+'&outSR='+_0x19b38a),jsonp(_0x39bb10)[_0x3aad69(0xcc)](_0x3068ec=>{const _0x412c4b=_0x3aad69;if(_0x3068ec[_0x412c4b(0xc2)])console['log'](_0x3068ec);else{var _0x58508b=_0x510f6e['readFeatures'](_0x3068ec,{'featureProjection':_0x3e5942});_0x58508b[_0x412c4b(0xbc)]>0x0&&(_0x593304[_0x412c4b(0xab)][_0x412c4b(0x97)][_0x412c4b(0xc4)]==_0x412c4b(0xc3)&&_0x58508b[_0x412c4b(0xb1)](function(_0x2e1ed0){const _0x56d8cd=_0x412c4b;var _0x8edfed=_0x2e1ed0['get'](_0x593304[_0x56d8cd(0xab)][_0x56d8cd(0x97)][_0x56d8cd(0xb8)]);const _0x37fbd8=_0x593304[_0x56d8cd(0xab)][_0x56d8cd(0x97)][_0x56d8cd(0xb6)][_0x56d8cd(0xc8)](_0x1962bb=>_0x1962bb[_0x56d8cd(0xbf)]==_0x8edfed);let _0x3634c8;_0x37fbd8?_0x3634c8=transformedEsriStyle(_0x37fbd8[_0x56d8cd(0xc9)]):_0x3634c8=transformedEsriStyle(_0x593304[_0x56d8cd(0xab)][_0x56d8cd(0x97)][_0x56d8cd(0x9c)]),_0x2e1ed0[_0x56d8cd(0x98)](_0x3634c8);}),_0xc545dc['addFeatures'](_0x58508b));}});},'strategy':a53_0x1ed0bc(createXYZ({'tileSize':0x200}))}),_0x22fb68=new a53_0x129c2f({'source':_0xc545dc,'zIndex':_0xdf0104['showIndex']});if(_0x593304['drawingInfo'][_0x596eb7(0x97)][_0x596eb7(0xc4)]=='simple'&&_0x593304[_0x596eb7(0xab)][_0x596eb7(0x97)]['symbol']){let _0x42762a=transformedEsriStyle(_0x593304[_0x596eb7(0xab)][_0x596eb7(0x97)][_0x596eb7(0xc9)]);_0x22fb68[_0x596eb7(0x98)](_0x42762a);}return _0x22fb68;}[a53_0x2eb8a5(0xcb)](_0x32dcdb){const _0x1793eb=a53_0x2eb8a5;this[_0x1793eb(0xb3)][_0x1793eb(0xbd)]=_0x32dcdb;}}
@@ -1 +1 @@
1
- (function(_0x574f19,_0x1df8f2){const _0x1b7e70=a54_0x53e9,_0x45a32b=_0x574f19();while(!![]){try{const _0x25fa93=parseInt(_0x1b7e70(0x10b))/0x1+-parseInt(_0x1b7e70(0x10a))/0x2+parseInt(_0x1b7e70(0xf8))/0x3+parseInt(_0x1b7e70(0x108))/0x4*(parseInt(_0x1b7e70(0xf7))/0x5)+parseInt(_0x1b7e70(0xfa))/0x6*(-parseInt(_0x1b7e70(0x102))/0x7)+-parseInt(_0x1b7e70(0x116))/0x8*(parseInt(_0x1b7e70(0x115))/0x9)+-parseInt(_0x1b7e70(0x107))/0xa*(-parseInt(_0x1b7e70(0xfd))/0xb);if(_0x25fa93===_0x1df8f2)break;else _0x45a32b['push'](_0x45a32b['shift']());}catch(_0x2bc0f7){_0x45a32b['push'](_0x45a32b['shift']());}}}(a54_0x1713,0x75698));import a54_0x1ebd77 from'ol/layer/Tile';import a54_0x1f3bf0 from'ol/source/XYZ';import a54_0x1e8ca0 from'ol/tilegrid/TileGrid';import{registerProj}from'../utils/RegisterProjUtil';function a54_0x53e9(_0x478337,_0x1bebd5){const _0x17134d=a54_0x1713();return a54_0x53e9=function(_0x53e999,_0x22fcb9){_0x53e999=_0x53e999-0xf5;let _0x41c0ac=_0x17134d[_0x53e999];return _0x41c0ac;},a54_0x53e9(_0x478337,_0x1bebd5);}function a54_0x1713(){const _0x182c1f=['cols','359604XousYd','8lQsIoR','lods','anonymous','535ttecZm','1553400LHpFcD','resolution','6nBEmGU','tileInfo','ymax','11HaHcPn','/tile/{z}/{y}/{x}','projection','EPSG:','layerInfo','6649244pwSCDL','ymin','rows','xmax','wkid','12985210COYRjb','9132svqNLH','origin','1848354cRZOyT','334343oHHPPt','initialExtent','spatialReference','url','fullExtent','wkt','opacity','xmin','mapIndex'];a54_0x1713=function(){return _0x182c1f;};return a54_0x1713();}import{appendPath}from'../utils/UrlUtil';export default class ArcgisTileLayer extends a54_0x1ebd77{constructor(_0x210fb4,_0x5034b5){const _0x4d13a4=a54_0x53e9,_0x219174=_0x210fb4[_0x4d13a4(0x10e)]?_0x210fb4[_0x4d13a4(0x10e)]:'',_0x36f7a3=appendPath(_0x219174,_0x4d13a4(0xfe)),_0x2eb9cb=[_0x5034b5['initialExtent'][_0x4d13a4(0x112)],_0x5034b5[_0x4d13a4(0x10c)][_0x4d13a4(0x103)],_0x5034b5[_0x4d13a4(0x10c)][_0x4d13a4(0x105)],_0x5034b5[_0x4d13a4(0x10c)]['ymax']],_0x180d45=[_0x5034b5[_0x4d13a4(0x10f)][_0x4d13a4(0x112)],_0x5034b5[_0x4d13a4(0x10f)][_0x4d13a4(0x103)],_0x5034b5['fullExtent'][_0x4d13a4(0x105)],_0x5034b5['fullExtent'][_0x4d13a4(0xfc)]];let _0x18bf46;_0x5034b5['spatialReference'][_0x4d13a4(0x106)]?_0x18bf46=registerProj(_0x4d13a4(0x100)+_0x5034b5[_0x4d13a4(0x10d)]['wkid'],_0x180d45):_0x18bf46=registerProj(_0x5034b5[_0x4d13a4(0x10d)][_0x4d13a4(0x110)],_0x180d45);let _0xbb6ab4=[];for(let _0x11692a=0x0,_0x341305=_0x5034b5[_0x4d13a4(0xfb)][_0x4d13a4(0xf5)]['length'];_0x11692a<_0x341305;_0x11692a++){_0xbb6ab4['push'](_0x5034b5[_0x4d13a4(0xfb)][_0x4d13a4(0xf5)][_0x11692a][_0x4d13a4(0xf9)]);}super({'opacity':_0x210fb4[_0x4d13a4(0x111)],'zIndex':_0x210fb4[_0x4d13a4(0x113)],'maxResolution':_0xbb6ab4[0x0]*0x2,'source':new a54_0x1f3bf0({'url':_0x36f7a3,'projection':_0x18bf46,'crossOrigin':_0x4d13a4(0xf6),'tileGrid':new a54_0x1e8ca0({'extent':_0x180d45,'origin':[_0x5034b5[_0x4d13a4(0xfb)][_0x4d13a4(0x109)]['x'],_0x5034b5[_0x4d13a4(0xfb)][_0x4d13a4(0x109)]['y']],'resolutions':_0xbb6ab4,'tileSize':[_0x5034b5['tileInfo'][_0x4d13a4(0x104)],_0x5034b5['tileInfo'][_0x4d13a4(0x114)]]})})}),this['id']=_0x210fb4['id'],this[_0x4d13a4(0x10c)]=_0x2eb9cb,this[_0x4d13a4(0xff)]=_0x18bf46,this[_0x4d13a4(0x101)]=_0x210fb4;}}
1
+ function a54_0x1ce2(_0xf2955e,_0x45ff28){const _0x31020e=a54_0x3102();return a54_0x1ce2=function(_0x1ce260,_0x325027){_0x1ce260=_0x1ce260-0x1c5;let _0x30bf79=_0x31020e[_0x1ce260];return _0x30bf79;},a54_0x1ce2(_0xf2955e,_0x45ff28);}function a54_0x3102(){const _0x5e879f=['ymin','ymax','layerInfo','14oopxdg','cols','initialExtent','37026BTrIWf','32992TvYAHo','490672euchCq','1730VuImqk','mapIndex','wkid','908320yUBAig','push','117JDgZkg','tileInfo','fullExtent','projection','spatialReference','/tile/{z}/{y}/{x}','rows','xmin','3pnmzvG','xmax','resolution','lods','origin','51227xLHvXW','url','opacity','1316270SQpKwC','1452288XqfzEr','length'];a54_0x3102=function(){return _0x5e879f;};return a54_0x3102();}(function(_0x242cd7,_0x96ee3f){const _0x11abb1=a54_0x1ce2,_0xaa89e0=_0x242cd7();while(!![]){try{const _0x15fdaa=parseInt(_0x11abb1(0x1ce))/0x1*(-parseInt(_0x11abb1(0x1cb))/0x2)+-parseInt(_0x11abb1(0x1de))/0x3*(-parseInt(_0x11abb1(0x1d4))/0x4)+-parseInt(_0x11abb1(0x1c5))/0x5+-parseInt(_0x11abb1(0x1c6))/0x6+-parseInt(_0x11abb1(0x1d0))/0x7+parseInt(_0x11abb1(0x1cf))/0x8*(-parseInt(_0x11abb1(0x1d6))/0x9)+-parseInt(_0x11abb1(0x1d1))/0xa*(-parseInt(_0x11abb1(0x1e3))/0xb);if(_0x15fdaa===_0x96ee3f)break;else _0xaa89e0['push'](_0xaa89e0['shift']());}catch(_0x4bc902){_0xaa89e0['push'](_0xaa89e0['shift']());}}}(a54_0x3102,0x234a5));import a54_0x102690 from'ol/layer/Tile';import a54_0x89cbac from'ol/source/XYZ';import a54_0x4c3477 from'ol/tilegrid/TileGrid';import{registerProj}from'../utils/RegisterProjUtil';import{appendPath}from'../utils/UrlUtil';export default class ArcgisTileLayer extends a54_0x102690{constructor(_0x267a69,_0x1c5c10){const _0x1a0e62=a54_0x1ce2,_0x25f1f3=_0x267a69[_0x1a0e62(0x1e4)]?_0x267a69[_0x1a0e62(0x1e4)]:'',_0x2dc16c=appendPath(_0x25f1f3,_0x1a0e62(0x1db)),_0x293ea7=[_0x1c5c10['initialExtent']['xmin'],_0x1c5c10[_0x1a0e62(0x1cd)][_0x1a0e62(0x1c8)],_0x1c5c10[_0x1a0e62(0x1cd)][_0x1a0e62(0x1df)],_0x1c5c10['initialExtent'][_0x1a0e62(0x1c9)]],_0x33f0c3=[_0x1c5c10[_0x1a0e62(0x1d8)][_0x1a0e62(0x1dd)],_0x1c5c10[_0x1a0e62(0x1d8)][_0x1a0e62(0x1c8)],_0x1c5c10[_0x1a0e62(0x1d8)]['xmax'],_0x1c5c10[_0x1a0e62(0x1d8)]['ymax']];let _0x2a315a;_0x1c5c10[_0x1a0e62(0x1da)][_0x1a0e62(0x1d3)]?_0x2a315a=registerProj('EPSG:'+_0x1c5c10[_0x1a0e62(0x1da)][_0x1a0e62(0x1d3)],_0x33f0c3):_0x2a315a=registerProj(_0x1c5c10[_0x1a0e62(0x1da)]['wkt'],_0x33f0c3);let _0xf24feb=[];for(let _0x5b260d=0x0,_0xd1cdf3=_0x1c5c10[_0x1a0e62(0x1d7)]['lods'][_0x1a0e62(0x1c7)];_0x5b260d<_0xd1cdf3;_0x5b260d++){_0xf24feb[_0x1a0e62(0x1d5)](_0x1c5c10['tileInfo'][_0x1a0e62(0x1e1)][_0x5b260d][_0x1a0e62(0x1e0)]);}super({'opacity':_0x267a69[_0x1a0e62(0x1e5)],'zIndex':_0x267a69[_0x1a0e62(0x1d2)],'maxResolution':_0xf24feb[0x0]*0x2,'source':new a54_0x89cbac({'url':_0x2dc16c,'projection':_0x2a315a,'crossOrigin':'anonymous','tileGrid':new a54_0x4c3477({'extent':_0x33f0c3,'origin':[_0x1c5c10[_0x1a0e62(0x1d7)][_0x1a0e62(0x1e2)]['x'],_0x1c5c10[_0x1a0e62(0x1d7)][_0x1a0e62(0x1e2)]['y']],'resolutions':_0xf24feb,'tileSize':[_0x1c5c10[_0x1a0e62(0x1d7)][_0x1a0e62(0x1dc)],_0x1c5c10[_0x1a0e62(0x1d7)][_0x1a0e62(0x1cc)]]})})}),this['id']=_0x267a69['id'],this[_0x1a0e62(0x1cd)]=_0x293ea7,this[_0x1a0e62(0x1d9)]=_0x2a315a,this[_0x1a0e62(0x1ca)]=_0x267a69;}}
@@ -1 +1 @@
1
- const a55_0x4d6e85=a55_0x5d2e;(function(_0x4f28e6,_0x54353e){const _0x360c07=a55_0x5d2e,_0x409141=_0x4f28e6();while(!![]){try{const _0x5a0a85=-parseInt(_0x360c07(0x89))/0x1*(-parseInt(_0x360c07(0x9a))/0x2)+-parseInt(_0x360c07(0x8b))/0x3+-parseInt(_0x360c07(0x8e))/0x4*(-parseInt(_0x360c07(0x95))/0x5)+-parseInt(_0x360c07(0x94))/0x6*(-parseInt(_0x360c07(0x98))/0x7)+-parseInt(_0x360c07(0x91))/0x8+-parseInt(_0x360c07(0x8c))/0x9+-parseInt(_0x360c07(0x86))/0xa;if(_0x5a0a85===_0x54353e)break;else _0x409141['push'](_0x409141['shift']());}catch(_0x24fc4b){_0x409141['push'](_0x409141['shift']());}}}(a55_0x2711,0x5dbf2));import{ImageWMS as a55_0x356bad}from'ol/source';import{Image as a55_0x27dc49}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';function a55_0x5d2e(_0x3fec54,_0x9c7c65){const _0x271137=a55_0x2711();return a55_0x5d2e=function(_0x5d2e53,_0x3adb57){_0x5d2e53=_0x5d2e53-0x86;let _0x5cb22f=_0x271137[_0x5d2e53];return _0x5cb22f;},a55_0x5d2e(_0x3fec54,_0x9c7c65);}export default class ArcgisWMSLayer extends a55_0x27dc49{constructor(_0x3c0bff,_0x4628ce){const _0x42d7d9=a55_0x5d2e;var _0x404b7;let _0x2d6c40=registerProj(_0x42d7d9(0x8a)+_0x4628ce['wkid'],undefined),_0x51ecf0={'LAYERS':(_0x404b7=_0x3c0bff[_0x42d7d9(0x9c)])===null||_0x404b7===void 0x0?void 0x0:_0x404b7['join'](','),'VERSION':'1.1.0'};_0x3c0bff[_0x42d7d9(0x93)]&&(_0x51ecf0[_0x42d7d9(0x88)]=_0x3c0bff[_0x42d7d9(0x93)]),super({'opacity':_0x3c0bff[_0x42d7d9(0x87)],'zIndex':_0x3c0bff[_0x42d7d9(0x9d)],'source':new a55_0x356bad({'crossOrigin':'anonymous','url':_0x3c0bff[_0x42d7d9(0x96)],'params':_0x51ecf0})}),this['id']=_0x3c0bff['id'],this[_0x42d7d9(0x90)]=_0x4628ce[_0x42d7d9(0x99)],this[_0x42d7d9(0x92)]=_0x2d6c40,this[_0x42d7d9(0x8d)]=_0x3c0bff;}[a55_0x4d6e85(0x9b)](){}[a55_0x4d6e85(0x97)](_0x48c26e){const _0x10b736=a55_0x4d6e85;var _0x4d5c01;(_0x4d5c01=this[_0x10b736(0x8f)]())===null||_0x4d5c01===void 0x0?void 0x0:_0x4d5c01['updateParams']({'CQL_FILTER':_0x48c26e});}}function a55_0x2711(){const _0x3c8ef3=['21MVZZDR','initExtent','446WuBsrU','refresh','sublayers','mapIndex','3228840TpjlGK','opacity','CQL_FILTER','605oyIRnF','EPSG:','280692TaQaoc','4783437pKWXFe','layerInfo','2988784BlzOgc','getSource','initialExtent','1637552LNiGbO','projection','loadFilter','1309020VBjFNc','5patAoT','url','setFilter'];a55_0x2711=function(){return _0x3c8ef3;};return a55_0x2711();}
1
+ function a55_0x5b7c(_0x2bc315,_0x512c26){const _0x4f4600=a55_0x4f46();return a55_0x5b7c=function(_0x5b7c28,_0x3089c5){_0x5b7c28=_0x5b7c28-0x8c;let _0x2473ab=_0x4f4600[_0x5b7c28];return _0x2473ab;},a55_0x5b7c(_0x2bc315,_0x512c26);}const a55_0x29d1b2=a55_0x5b7c;function a55_0x4f46(){const _0x77b82f=['1747970RJPzso','opacity','setFilter','3211096cUweoJ','join','sublayers','1.1.0','mapIndex','getSource','layerInfo','anonymous','2012388KkAHvS','updateParams','EPSG:','loadFilter','764110sqxwzA','url','2133708bdICBt','3ySBrDT','wkid','1044000iGjopM','554002lpGFur'];a55_0x4f46=function(){return _0x77b82f;};return a55_0x4f46();}(function(_0x5b250f,_0x4c433d){const _0x32d004=a55_0x5b7c,_0x1fddf2=_0x5b250f();while(!![]){try{const _0x429e8d=parseInt(_0x32d004(0x8d))/0x1+-parseInt(_0x32d004(0x9d))/0x2+parseInt(_0x32d004(0xa0))/0x3*(-parseInt(_0x32d004(0x9f))/0x4)+parseInt(_0x32d004(0x8c))/0x5+parseInt(_0x32d004(0x99))/0x6+-parseInt(_0x32d004(0x8e))/0x7+parseInt(_0x32d004(0x91))/0x8;if(_0x429e8d===_0x4c433d)break;else _0x1fddf2['push'](_0x1fddf2['shift']());}catch(_0x4445fb){_0x1fddf2['push'](_0x1fddf2['shift']());}}}(a55_0x4f46,0x51a3b));import{ImageWMS as a55_0x72acd3}from'ol/source';import{Image as a55_0x19c45b}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisWMSLayer extends a55_0x19c45b{constructor(_0x249b5b,_0x26976c){const _0x26b691=a55_0x5b7c;var _0x2bdad2;let _0x463f00=registerProj(_0x26b691(0x9b)+_0x26976c[_0x26b691(0xa1)],undefined),_0x3a68ba={'LAYERS':(_0x2bdad2=_0x249b5b[_0x26b691(0x93)])===null||_0x2bdad2===void 0x0?void 0x0:_0x2bdad2[_0x26b691(0x92)](','),'VERSION':_0x26b691(0x94)};_0x249b5b[_0x26b691(0x9c)]&&(_0x3a68ba['CQL_FILTER']=_0x249b5b[_0x26b691(0x9c)]),super({'opacity':_0x249b5b[_0x26b691(0x8f)],'zIndex':_0x249b5b[_0x26b691(0x95)],'source':new a55_0x72acd3({'crossOrigin':_0x26b691(0x98),'url':_0x249b5b[_0x26b691(0x9e)],'params':_0x3a68ba})}),this['id']=_0x249b5b['id'],this['initialExtent']=_0x26976c['initExtent'],this['projection']=_0x463f00,this[_0x26b691(0x97)]=_0x249b5b;}['refresh'](){}[a55_0x29d1b2(0x90)](_0x214bd2){const _0x20d92b=a55_0x29d1b2;var _0x24c83;(_0x24c83=this[_0x20d92b(0x96)]())===null||_0x24c83===void 0x0?void 0x0:_0x24c83[_0x20d92b(0x9a)]({'CQL_FILTER':_0x214bd2});}}
@@ -1 +1 @@
1
- (function(_0x2c1e6c,_0x2e85c2){const _0xd0db80=a56_0x5852,_0x358729=_0x2c1e6c();while(!![]){try{const _0x2592c5=parseInt(_0xd0db80(0xed))/0x1*(parseInt(_0xd0db80(0xe8))/0x2)+-parseInt(_0xd0db80(0xf5))/0x3+-parseInt(_0xd0db80(0xe3))/0x4+parseInt(_0xd0db80(0xea))/0x5*(parseInt(_0xd0db80(0xe2))/0x6)+-parseInt(_0xd0db80(0x102))/0x7+parseInt(_0xd0db80(0xf4))/0x8+parseInt(_0xd0db80(0xee))/0x9;if(_0x2592c5===_0x2e85c2)break;else _0x358729['push'](_0x358729['shift']());}catch(_0x559b48){_0x358729['push'](_0x358729['shift']());}}}(a56_0x35c6,0xdacb0));import a56_0x561f11 from'ol/layer/Tile';import a56_0x389600,{optionsFromCapabilities}from'ol/source/WMTS.js';import a56_0x177d6b from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';function a56_0x5852(_0x2ba7f9,_0x419138){const _0x35c62f=a56_0x35c6();return a56_0x5852=function(_0x585267,_0x15a24c){_0x585267=_0x585267-0xe2;let _0x10ada6=_0x35c62f[_0x585267];return _0x10ada6;},a56_0x5852(_0x2ba7f9,_0x419138);}import{addArgument,getUrlParams}from'../utils/UrlUtil';function a56_0x35c6(){const _0x59f8c7=['url','tileMatrixSet','getMatrixIds','wkid','name','length','urls','image/png','src','4191782lIcyHf','initialExtent','format','?http','boundingBoxExtent','tileGrid','373206qDClnP','241028avhHEs','layer','layerInfo','sourceXml','opacity','16044YTeFbR','EPSG:','5sYjyFF','sublayers','projection','183pNZOOV','6108183VZcEcu','replace','requestEncoding','mapIndex','value','getImage','3085608oKVddt','3118068SAoDxP','style','indexOf','token'];a56_0x35c6=function(){return _0x59f8c7;};return a56_0x35c6();}export default class ArcgisWMTSLayer extends a56_0x561f11{constructor(_0x3c25a8,_0x287ed4){const _0x555121=a56_0x5852;var _0xd176f7;let _0x15c937='';_0x3c25a8[_0x555121(0xeb)]&&_0x3c25a8[_0x555121(0xeb)][_0x555121(0xfe)]>0x0&&(_0x15c937=_0x3c25a8[_0x555121(0xeb)]['join'](','));const _0x13f450=_0x555121(0xe9)+_0x287ed4[_0x555121(0xfc)];let _0x1e0408=registerProj(_0x13f450);const _0x547d0f=optionsFromCapabilities(_0x287ed4[_0x555121(0xe6)],{'layer':(_0xd176f7=_0x3c25a8[_0x555121(0xeb)])===null||_0xd176f7===void 0x0?void 0x0:_0xd176f7[0x0],'matrixSet':_0x287ed4[_0x555121(0xfa)],'format':_0x555121(0x100)});let _0x4ad22a=_0x547d0f[_0x555121(0x107)]['origins_'][0x0];_0x4ad22a[0x0]===0x5a&&_0x4ad22a[0x1]===-0xb4&&(_0x4ad22a=[_0x4ad22a[0x1],_0x4ad22a[0x0]]),super({'opacity':_0x3c25a8[_0x555121(0xe7)],'zIndex':_0x3c25a8[_0x555121(0xf1)],'source':new a56_0x389600({'urls':_0x547d0f[_0x555121(0xff)],'requestEncoding':_0x547d0f[_0x555121(0xf0)],'layer':_0x547d0f[_0x555121(0xe4)],'tileLoadFunction':function(_0x445809,_0x57fc64){const _0x6ebfda=_0x555121,_0x130836=_0x3c25a8[_0x6ebfda(0xf9)]?_0x3c25a8['url']:'';let _0x22365f=getUrlParams(_0x130836);if((_0x22365f===null||_0x22365f===void 0x0?void 0x0:_0x22365f['length'])>0x0)for(let _0x26d12b of _0x22365f){_0x57fc64=addArgument(_0x57fc64,_0x26d12b[_0x6ebfda(0xfd)],_0x26d12b[_0x6ebfda(0xf2)]);}let _0x5727cd=_0x57fc64[_0x6ebfda(0xf7)](_0x6ebfda(0x105));_0x5727cd!==-0x1?_0x57fc64[_0x6ebfda(0xf7)](_0x6ebfda(0xf8))===-0x1&&_0x57fc64['indexOf']('tk')===-0x1?_0x445809[_0x6ebfda(0xf3)]()[_0x6ebfda(0x101)]=_0x57fc64[_0x6ebfda(0xef)]('&','?'):_0x445809[_0x6ebfda(0xf3)]()[_0x6ebfda(0x101)]=_0x57fc64:_0x445809[_0x6ebfda(0xf3)]()[_0x6ebfda(0x101)]=_0x57fc64;},'matrixSet':_0x547d0f['matrixSet'],'format':_0x547d0f[_0x555121(0x104)],'projection':_0x547d0f[_0x555121(0xec)],'tileGrid':new a56_0x177d6b({'origin':_0x4ad22a,'resolutions':_0x547d0f[_0x555121(0x107)]['getResolutions'](),'matrixIds':_0x547d0f[_0x555121(0x107)][_0x555121(0xfb)](),'extent':_0x287ed4[_0x555121(0x106)]}),'style':_0x287ed4[_0x555121(0xf6)],'wrapX':!![]})}),this['id']=_0x3c25a8['id'],this[_0x555121(0x103)]=_0x287ed4[_0x555121(0x106)],this[_0x555121(0xec)]=_0x1e0408,this[_0x555121(0xe5)]=_0x3c25a8;}}
1
+ (function(_0x29fece,_0x1974bc){const _0x5abda6=a56_0x2345,_0x3bacc0=_0x29fece();while(!![]){try{const _0x23c514=parseInt(_0x5abda6(0xb1))/0x1*(-parseInt(_0x5abda6(0x98))/0x2)+parseInt(_0x5abda6(0x99))/0x3+parseInt(_0x5abda6(0xa3))/0x4+-parseInt(_0x5abda6(0xa7))/0x5*(-parseInt(_0x5abda6(0x9a))/0x6)+-parseInt(_0x5abda6(0xa6))/0x7+parseInt(_0x5abda6(0x93))/0x8*(-parseInt(_0x5abda6(0xa5))/0x9)+parseInt(_0x5abda6(0xb5))/0xa;if(_0x23c514===_0x1974bc)break;else _0x3bacc0['push'](_0x3bacc0['shift']());}catch(_0x4bc209){_0x3bacc0['push'](_0x3bacc0['shift']());}}}(a56_0xbd8f,0xae85d));import a56_0x166c4c from'ol/layer/Tile';function a56_0xbd8f(){const _0x20f8f6=['396378CdkAEV','4285542QJXIjw','62478zjmAJF','layer','sublayers','indexOf','wkid','name','EPSG:','matrixSet','length','530624TObMcw','getResolutions','261THcQQt','3088176pygGob','120DZPVUh','opacity','tileGrid','mapIndex','url','join','boundingBoxExtent','projection','?http','origins_','5meFBxa','style','src','getImage','14592780IhoimD','initialExtent','309904zgcHlR','urls','layerInfo','tileMatrixSet','requestEncoding'];a56_0xbd8f=function(){return _0x20f8f6;};return a56_0xbd8f();}import a56_0x36ff53,{optionsFromCapabilities}from'ol/source/WMTS.js';import a56_0x34da04 from'ol/tilegrid/WMTS';function a56_0x2345(_0x1d7862,_0x4af29d){const _0xbd8f21=a56_0xbd8f();return a56_0x2345=function(_0x23459d,_0x2f8db0){_0x23459d=_0x23459d-0x93;let _0x22c846=_0xbd8f21[_0x23459d];return _0x22c846;},a56_0x2345(_0x1d7862,_0x4af29d);}import{registerProj}from'../utils/RegisterProjUtil';import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a56_0x166c4c{constructor(_0x2325cb,_0x5c5267){const _0x329cec=a56_0x2345;var _0x247cf8;let _0x501b7b='';_0x2325cb[_0x329cec(0x9c)]&&_0x2325cb[_0x329cec(0x9c)][_0x329cec(0xa2)]>0x0&&(_0x501b7b=_0x2325cb[_0x329cec(0x9c)][_0x329cec(0xac)](','));const _0x1e1cc6=_0x329cec(0xa0)+_0x5c5267[_0x329cec(0x9e)];let _0x3109ad=registerProj(_0x1e1cc6);const _0x5e6027=optionsFromCapabilities(_0x5c5267['sourceXml'],{'layer':(_0x247cf8=_0x2325cb[_0x329cec(0x9c)])===null||_0x247cf8===void 0x0?void 0x0:_0x247cf8[0x0],'matrixSet':_0x5c5267[_0x329cec(0x96)],'format':'image/png'});let _0x4cc44a=_0x5e6027['tileGrid'][_0x329cec(0xb0)][0x0];_0x4cc44a[0x0]===0x5a&&_0x4cc44a[0x1]===-0xb4&&(_0x4cc44a=[_0x4cc44a[0x1],_0x4cc44a[0x0]]),super({'opacity':_0x2325cb[_0x329cec(0xa8)],'zIndex':_0x2325cb[_0x329cec(0xaa)],'source':new a56_0x36ff53({'urls':_0x5e6027[_0x329cec(0x94)],'requestEncoding':_0x5e6027[_0x329cec(0x97)],'layer':_0x5e6027[_0x329cec(0x9b)],'tileLoadFunction':function(_0x5ba73f,_0x1836d9){const _0x1de8fb=_0x329cec,_0x5a2818=_0x2325cb[_0x1de8fb(0xab)]?_0x2325cb[_0x1de8fb(0xab)]:'';let _0xf943a6=getUrlParams(_0x5a2818);if((_0xf943a6===null||_0xf943a6===void 0x0?void 0x0:_0xf943a6[_0x1de8fb(0xa2)])>0x0)for(let _0x46cb3c of _0xf943a6){_0x1836d9=addArgument(_0x1836d9,_0x46cb3c[_0x1de8fb(0x9f)],_0x46cb3c['value']);}let _0x5bc116=_0x1836d9[_0x1de8fb(0x9d)](_0x1de8fb(0xaf));_0x5bc116!==-0x1?_0x1836d9['indexOf']('token')===-0x1&&_0x1836d9[_0x1de8fb(0x9d)]('tk')===-0x1?_0x5ba73f[_0x1de8fb(0xb4)]()[_0x1de8fb(0xb3)]=_0x1836d9['replace']('&','?'):_0x5ba73f[_0x1de8fb(0xb4)]()[_0x1de8fb(0xb3)]=_0x1836d9:_0x5ba73f[_0x1de8fb(0xb4)]()[_0x1de8fb(0xb3)]=_0x1836d9;},'matrixSet':_0x5e6027[_0x329cec(0xa1)],'format':_0x5e6027['format'],'projection':_0x5e6027['projection'],'tileGrid':new a56_0x34da04({'origin':_0x4cc44a,'resolutions':_0x5e6027[_0x329cec(0xa9)][_0x329cec(0xa4)](),'matrixIds':_0x5e6027[_0x329cec(0xa9)]['getMatrixIds'](),'extent':_0x5c5267[_0x329cec(0xad)]}),'style':_0x5c5267[_0x329cec(0xb2)],'wrapX':!![]})}),this['id']=_0x2325cb['id'],this[_0x329cec(0xb6)]=_0x5c5267[_0x329cec(0xad)],this[_0x329cec(0xae)]=_0x3109ad,this[_0x329cec(0x95)]=_0x2325cb;}}
@@ -1 +1 @@
1
- function a57_0x4b9d(){const _0x4f72fd=['256790RNbdzc','WMTS','tileSizes_','getMatrixIds','tileGrid',':{z}','36CiSyeK','10820552yymxod','toString','2262932uBNOHr','url','3209XWpWLH','sublayers','1.0.0','1176486zmdGRU','length','wkid','sourceXml','459267xWZkjB','GetTile','4239998IEuBgz','projection','30iFvehF','getResolutions','tileMatrixSet','{y}','mapIndex','405XiUeHn','boundingBoxExtent','EPSG:','opacity','application/vnd.mapbox-vector-tile'];a57_0x4b9d=function(){return _0x4f72fd;};return a57_0x4b9d();}(function(_0x4d0e47,_0x321925){const _0x291663=a57_0x5810,_0x2c4264=_0x4d0e47();while(!![]){try{const _0x2bb4a2=parseInt(_0x291663(0x146))/0x1+parseInt(_0x291663(0x144))/0x2+-parseInt(_0x291663(0x12d))/0x3*(-parseInt(_0x291663(0x141))/0x4)+parseInt(_0x291663(0x131))/0x5*(-parseInt(_0x291663(0x149))/0x6)+-parseInt(_0x291663(0x12f))/0x7+parseInt(_0x291663(0x142))/0x8+parseInt(_0x291663(0x136))/0x9*(-parseInt(_0x291663(0x13b))/0xa);if(_0x2bb4a2===_0x321925)break;else _0x2c4264['push'](_0x2c4264['shift']());}catch(_0x79d762){_0x2c4264['push'](_0x2c4264['shift']());}}}(a57_0x4b9d,0xe263a));import a57_0xa3d41c from'ol/layer/VectorTile';import a57_0xf8c9db from'ol/source/VectorTile';import a57_0x3493b5 from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a57_0x12e727 from'ol/tilegrid/WMTS';function a57_0x5810(_0x5dbee2,_0x4168d9){const _0x4b9d49=a57_0x4b9d();return a57_0x5810=function(_0x5810ca,_0x3ce08f){_0x5810ca=_0x5810ca-0x12b;let _0x23e510=_0x4b9d49[_0x5810ca];return _0x23e510;},a57_0x5810(_0x5dbee2,_0x4168d9);}import{optionsFromCapabilities}from'ol/source/WMTS';import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a57_0xa3d41c{constructor(_0x1db8a6,_0x1ee904){const _0x1b59a6=a57_0x5810;var _0x29da4c;let _0x5b0bbf=registerProj(_0x1b59a6(0x138)+_0x1ee904['wkid']);const _0x4e92f3=optionsFromCapabilities(_0x1ee904[_0x1b59a6(0x12c)],{'layer':(_0x29da4c=_0x1db8a6[_0x1b59a6(0x147)])===null||_0x29da4c===void 0x0?void 0x0:_0x29da4c[0x0],'matrixSet':_0x1ee904[_0x1b59a6(0x133)],'format':'image/png'});let _0x45314f=_0x1db8a6['sublayers']&&_0x1db8a6['sublayers'][_0x1b59a6(0x14a)]>0x0?_0x1db8a6[_0x1b59a6(0x147)][0x0]:'';const _0x37b63c={'REQUEST':_0x1b59a6(0x12e),'SERVICE':_0x1b59a6(0x13c),'VERSION':_0x1b59a6(0x148),'LAYER':_0x45314f,'STYLE':_0x1ee904['style']['toString'](),'TILEMATRIX':_0x1ee904['tileMatrixSet']+_0x1b59a6(0x140),'TILEMATRIXSET':_0x1ee904[_0x1b59a6(0x133)][_0x1b59a6(0x143)](),'FORMAT':_0x1b59a6(0x13a),'TILECOL':'{x}','TILEROW':_0x1b59a6(0x134)};let _0x14092c=_0x1db8a6[_0x1b59a6(0x145)]?_0x1db8a6[_0x1b59a6(0x145)]:'';for(const _0x3017a6 in _0x37b63c){_0x14092c=addArgument(_0x14092c,_0x3017a6,_0x37b63c[_0x3017a6]);}super({'opacity':_0x1db8a6[_0x1b59a6(0x139)],'zIndex':_0x1db8a6[_0x1b59a6(0x135)],'declutter':!![],'source':new a57_0xf8c9db({'projection':'EPSG:'+_0x1ee904[_0x1b59a6(0x12b)],'format':new a57_0x3493b5(),'wrapX':!![],'extent':_0x1ee904[_0x1b59a6(0x137)],'tileGrid':new a57_0x12e727({'tileSize':_0x4e92f3[_0x1b59a6(0x13f)][_0x1b59a6(0x13d)][0x0],'origin':_0x4e92f3[_0x1b59a6(0x13f)]['origins_'][0x0],'resolutions':_0x4e92f3[_0x1b59a6(0x13f)][_0x1b59a6(0x132)](),'matrixIds':_0x4e92f3[_0x1b59a6(0x13f)][_0x1b59a6(0x13e)]()}),'url':_0x14092c})}),this['id']=_0x1db8a6['id'],this['initialExtent']=_0x1ee904['boundingBoxExtent'],this[_0x1b59a6(0x130)]=_0x5b0bbf,this['layerInfo']=_0x1db8a6;}}
1
+ (function(_0xba9e75,_0x50ab1e){const _0x5c662b=a57_0x59b4,_0x50eda6=_0xba9e75();while(!![]){try{const _0x5cdbd5=-parseInt(_0x5c662b(0x1f5))/0x1*(parseInt(_0x5c662b(0x1e4))/0x2)+parseInt(_0x5c662b(0x1e8))/0x3+parseInt(_0x5c662b(0x1e1))/0x4+parseInt(_0x5c662b(0x1ef))/0x5*(-parseInt(_0x5c662b(0x1ed))/0x6)+-parseInt(_0x5c662b(0x1ec))/0x7*(-parseInt(_0x5c662b(0x1fb))/0x8)+-parseInt(_0x5c662b(0x1f6))/0x9+-parseInt(_0x5c662b(0x1e0))/0xa*(-parseInt(_0x5c662b(0x1f3))/0xb);if(_0x5cdbd5===_0x50ab1e)break;else _0x50eda6['push'](_0x50eda6['shift']());}catch(_0x334441){_0x50eda6['push'](_0x50eda6['shift']());}}}(a57_0x5ac7,0xe5b45));function a57_0x59b4(_0x149782,_0x26d62d){const _0x5ac7b9=a57_0x5ac7();return a57_0x59b4=function(_0x59b4e9,_0x188599){_0x59b4e9=_0x59b4e9-0x1dc;let _0x3fb370=_0x5ac7b9[_0x59b4e9];return _0x3fb370;},a57_0x59b4(_0x149782,_0x26d62d);}import a57_0x4b0585 from'ol/layer/VectorTile';function a57_0x5ac7(){const _0x97e186=['sourceXml','WMTS','getResolutions','408NfbrIw','sublayers','tileSizes_','url','initialExtent','tileMatrixSet','{x}','origins_',':{z}','280OPmplU','1668440KgKmau','GetTile','layerInfo','2702gHwfJM','1.0.0','{y}','wkid','2207385oFRKeG','mapIndex','boundingBoxExtent','getMatrixIds','110852FIzfcx','162AyJakz','toString','139500OmspWd','EPSG:','tileGrid','image/png','465487dxedLb','length','147peBNRL','11273859vLPKAh','style'];a57_0x5ac7=function(){return _0x97e186;};return a57_0x5ac7();}import a57_0x431006 from'ol/source/VectorTile';import a57_0x48e5fa from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a57_0x4ff1ec from'ol/tilegrid/WMTS';import{optionsFromCapabilities}from'ol/source/WMTS';import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a57_0x4b0585{constructor(_0x4933a5,_0x20ec34){const _0x47eb39=a57_0x59b4;var _0x2d2074;let _0xfe16a9=registerProj('EPSG:'+_0x20ec34['wkid']);const _0x11aff8=optionsFromCapabilities(_0x20ec34[_0x47eb39(0x1f8)],{'layer':(_0x2d2074=_0x4933a5[_0x47eb39(0x1fc)])===null||_0x2d2074===void 0x0?void 0x0:_0x2d2074[0x0],'matrixSet':_0x20ec34[_0x47eb39(0x1dc)],'format':_0x47eb39(0x1f2)});let _0x19b529=_0x4933a5[_0x47eb39(0x1fc)]&&_0x4933a5[_0x47eb39(0x1fc)][_0x47eb39(0x1f4)]>0x0?_0x4933a5[_0x47eb39(0x1fc)][0x0]:'';const _0x3cc691={'REQUEST':_0x47eb39(0x1e2),'SERVICE':_0x47eb39(0x1f9),'VERSION':_0x47eb39(0x1e5),'LAYER':_0x19b529,'STYLE':_0x20ec34[_0x47eb39(0x1f7)]['toString'](),'TILEMATRIX':_0x20ec34[_0x47eb39(0x1dc)]+_0x47eb39(0x1df),'TILEMATRIXSET':_0x20ec34[_0x47eb39(0x1dc)][_0x47eb39(0x1ee)](),'FORMAT':'application/vnd.mapbox-vector-tile','TILECOL':_0x47eb39(0x1dd),'TILEROW':_0x47eb39(0x1e6)};let _0x3610a1=_0x4933a5[_0x47eb39(0x1fe)]?_0x4933a5[_0x47eb39(0x1fe)]:'';for(const _0x3619e1 in _0x3cc691){_0x3610a1=addArgument(_0x3610a1,_0x3619e1,_0x3cc691[_0x3619e1]);}super({'opacity':_0x4933a5['opacity'],'zIndex':_0x4933a5[_0x47eb39(0x1e9)],'declutter':!![],'source':new a57_0x431006({'projection':_0x47eb39(0x1f0)+_0x20ec34[_0x47eb39(0x1e7)],'format':new a57_0x48e5fa(),'wrapX':!![],'extent':_0x20ec34[_0x47eb39(0x1ea)],'tileGrid':new a57_0x4ff1ec({'tileSize':_0x11aff8[_0x47eb39(0x1f1)][_0x47eb39(0x1fd)][0x0],'origin':_0x11aff8[_0x47eb39(0x1f1)][_0x47eb39(0x1de)][0x0],'resolutions':_0x11aff8[_0x47eb39(0x1f1)][_0x47eb39(0x1fa)](),'matrixIds':_0x11aff8[_0x47eb39(0x1f1)][_0x47eb39(0x1eb)]()}),'url':_0x3610a1})}),this['id']=_0x4933a5['id'],this[_0x47eb39(0x1ff)]=_0x20ec34[_0x47eb39(0x1ea)],this['projection']=_0xfe16a9,this[_0x47eb39(0x1e3)]=_0x4933a5;}}
@@ -1 +1 @@
1
- const a58_0x1b0b61=a58_0x5091;(function(_0x215e5e,_0x4cadca){const _0x4dc66a=a58_0x5091,_0x27b5fe=_0x215e5e();while(!![]){try{const _0x4a9eb9=parseInt(_0x4dc66a(0x142))/0x1+parseInt(_0x4dc66a(0x157))/0x2+parseInt(_0x4dc66a(0x153))/0x3*(-parseInt(_0x4dc66a(0x164))/0x4)+-parseInt(_0x4dc66a(0x174))/0x5+-parseInt(_0x4dc66a(0x167))/0x6*(parseInt(_0x4dc66a(0x154))/0x7)+parseInt(_0x4dc66a(0x165))/0x8*(parseInt(_0x4dc66a(0x15c))/0x9)+parseInt(_0x4dc66a(0x16f))/0xa;if(_0x4a9eb9===_0x4cadca)break;else _0x27b5fe['push'](_0x27b5fe['shift']());}catch(_0x5b8d67){_0x27b5fe['push'](_0x27b5fe['shift']());}}}(a58_0x5cef,0x18b33));import a58_0x380119 from'ol/source/Vector';import a58_0x4d97fe from'ol/format/GeoJSON';import{Vector as a58_0x12a793}from'ol/layer';import a58_0x56056e from'ol/format/WFS';import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a58_0x875c84 from'../utils/format/CQL';function a58_0x5091(_0x183a8a,_0x2a3c32){const _0x5cefcd=a58_0x5cef();return a58_0x5091=function(_0x5091be,_0x4d4026){_0x5091be=_0x5091be-0x142;let _0x4b315e=_0x5cefcd[_0x5091be];return _0x4b315e;},a58_0x5091(_0x183a8a,_0x2a3c32);}import*as a58_0x389d25 from'ol/format/filter';function a58_0x5cef(){const _0x399712=['apply','94834DvgnkE','length','initExtent','and','filter','8091UrpFru','layerFields','catch','lessThan','readFeatures','mapIndex','not','then','76WxDoAK','288QcVUVc','addFeatures','30Wqitbm','equalTo','writeGetFeature','find','json','sublayers','loadFilter','application/json','2847440FSfkAo','type字段不存在','initialExtent','serializeToString','string','699045PknJzY','42693yPQqbm','param字段不存在','POST','projection','between','warn','removeLoadedExtent','url','name','!==','type','param','parseFilter','getSource','push','toLowerCase','layerInfo','1161oTfHoE','222439wTQtez','wkid'];a58_0x5cef=function(){return _0x399712;};return a58_0x5cef();}export default class GeoserverWFSLayer extends a58_0x12a793{constructor(_0x163179,_0x45f48d){const _0x232157=a58_0x5091;let _0x2327be=registerProj('EPSG:'+_0x45f48d[_0x232157(0x155)]);const _0x2acb8f=_0x45f48d[_0x232157(0x15d)][_0x232157(0x16a)](_0x12f28b=>_0x12f28b['fieldType']==0x6);super({'zIndex':_0x163179[_0x232157(0x161)],'source':new a58_0x380119({'format':new a58_0x4d97fe(),'loader':(_0xdc76be,_0x4f964b,_0x528291,_0x1afb61,_0x29fa0a)=>{const _0x5514e1=_0x232157;let _0x79e777=_0x163179[_0x5514e1(0x16d)],_0x5e315a={'srsName':_0x528291['getCode'](),'featureTypes':_0x163179[_0x5514e1(0x16c)],'bbox':_0xdc76be,'geometryName':_0x2acb8f?_0x2acb8f[_0x5514e1(0x14a)]:'','outputFormat':_0x5514e1(0x16e)};_0x79e777&&(typeof _0x79e777===_0x5514e1(0x173)?_0x5e315a['filter']=new a58_0x875c84()['read'](_0x79e777):_0x5e315a[_0x5514e1(0x15b)]=this['parseFilter'](_0x79e777));var _0x58f719=new a58_0x56056e()[_0x5514e1(0x169)](_0x5e315a);let _0x4d5d6a=_0x163179[_0x5514e1(0x149)]?_0x163179[_0x5514e1(0x149)]:'';fetch(_0x4d5d6a,{'method':_0x5514e1(0x144),'body':new XMLSerializer()[_0x5514e1(0x172)](_0x58f719)})[_0x5514e1(0x163)](_0x1e8330=>{const _0x13f399=_0x5514e1;return _0x1e8330[_0x13f399(0x16b)]();})[_0x5514e1(0x163)](_0x45134a=>{const _0x2e4363=_0x5514e1,_0x12f319=new a58_0x4d97fe()[_0x2e4363(0x160)](_0x45134a);let _0x5dd926=this[_0x2e4363(0x14f)]();_0x5dd926&&_0x5dd926[_0x2e4363(0x166)](_0x12f319);if(_0x1afb61)_0x1afb61(_0x12f319);})[_0x5514e1(0x15e)](()=>{const _0x82674=_0x5514e1;let _0x35d80b=this[_0x82674(0x14f)]();_0x35d80b&&_0x35d80b[_0x82674(0x148)](_0xdc76be);if(_0x29fa0a)_0x29fa0a();});},'strategy':bbox})}),this['id']=_0x163179['id'],this[_0x232157(0x171)]=_0x45f48d[_0x232157(0x159)],this[_0x232157(0x145)]=_0x2327be,this[_0x232157(0x152)]=_0x163179;}[a58_0x1b0b61(0x14e)](_0x53abf7){const _0x5d5c0f=a58_0x1b0b61;if(!_0x53abf7[_0x5d5c0f(0x14c)]){console[_0x5d5c0f(0x147)](_0x5d5c0f(0x170));return;}if(!_0x53abf7[_0x5d5c0f(0x14d)]){console['warn'](_0x5d5c0f(0x143));return;}let _0x18b61d=[];switch(_0x53abf7[_0x5d5c0f(0x14c)][_0x5d5c0f(0x151)]()){case _0x5d5c0f(0x15a):for(let _0x1b2a48=0x0;_0x1b2a48<_0x53abf7[_0x5d5c0f(0x14d)][_0x5d5c0f(0x158)];_0x1b2a48++){let _0x2c9b11=this['parseFilter'](_0x53abf7[_0x5d5c0f(0x14d)][_0x1b2a48]);_0x18b61d[_0x5d5c0f(0x150)](_0x2c9b11);}return a58_0x389d25[_0x5d5c0f(0x15a)][_0x5d5c0f(0x156)](null,_0x18b61d);case'or':for(let _0x57ba85=0x0;_0x57ba85<_0x53abf7[_0x5d5c0f(0x14d)]['length'];_0x57ba85++){let _0x587bdb=this['parseFilter'](_0x53abf7[_0x5d5c0f(0x14d)][_0x57ba85]);_0x18b61d[_0x5d5c0f(0x150)](_0x587bdb);}return a58_0x389d25['or'][_0x5d5c0f(0x156)](null,_0x18b61d);case _0x5d5c0f(0x162):for(let _0x43f2e8=0x0;_0x43f2e8<_0x53abf7[_0x5d5c0f(0x14d)][_0x5d5c0f(0x158)];_0x43f2e8++){let _0x54a5ba=this[_0x5d5c0f(0x14e)](_0x53abf7[_0x5d5c0f(0x14d)][_0x43f2e8]);_0x18b61d[_0x5d5c0f(0x150)](_0x54a5ba);}return a58_0x389d25[_0x5d5c0f(0x162)]['apply'](null,_0x18b61d);case'=':return a58_0x389d25[_0x5d5c0f(0x168)](_0x53abf7[_0x5d5c0f(0x14d)][0x0],_0x53abf7[_0x5d5c0f(0x14d)][0x1]);case _0x5d5c0f(0x14b):return a58_0x389d25['notEqualTo'](_0x53abf7['param'][0x0],_0x53abf7[_0x5d5c0f(0x14d)][0x1]);case'>':return a58_0x389d25['greaterThan'](_0x53abf7[_0x5d5c0f(0x14d)][0x0],_0x53abf7[_0x5d5c0f(0x14d)][0x1]);case'<':return a58_0x389d25[_0x5d5c0f(0x15f)](_0x53abf7[_0x5d5c0f(0x14d)][0x0],_0x53abf7['param'][0x1]);case'>=':return a58_0x389d25['greaterThanOrEqualTo'](_0x53abf7[_0x5d5c0f(0x14d)][0x0],_0x53abf7[_0x5d5c0f(0x14d)][0x1]);case'<=':return a58_0x389d25['lessThanOrEqualTo'](_0x53abf7[_0x5d5c0f(0x14d)][0x0],_0x53abf7[_0x5d5c0f(0x14d)][0x1]);case'between':return a58_0x389d25[_0x5d5c0f(0x146)](_0x53abf7[_0x5d5c0f(0x14d)][0x0],_0x53abf7['param'][0x1],_0x53abf7['param'][0x2]);}}}
1
+ function a58_0xd1c2(_0x156af1,_0x373a5b){const _0x338305=a58_0x3383();return a58_0xd1c2=function(_0xd1c2f3,_0x2ec4d9){_0xd1c2f3=_0xd1c2f3-0x1c0;let _0x377210=_0x338305[_0xd1c2f3];return _0x377210;},a58_0xd1c2(_0x156af1,_0x373a5b);}const a58_0x2c3125=a58_0xd1c2;function a58_0x3383(){const _0x9e886f=['loadFilter','then','apply','5080361atqnkN','toLowerCase','param','serializeToString','filter','param字段不存在','warn','addFeatures','and','greaterThanOrEqualTo','lessThan','string','greaterThan','60NBqcMb','117208KSKlWl','initialExtent','json','not','168620dPQCkV','261HuvyzO','notEqualTo','!==','equalTo','2062755UWyCpj','read','find','1629087sGkLdZ','getCode','type','258611IWevgx','67018qDjURp','catch','2UepzOi','getSource','push','parseFilter','length','layerFields','mapIndex','lessThanOrEqualTo','type字段不存在','POST','sublayers','readFeatures','between','10vdhwtn','application/json','fieldType'];a58_0x3383=function(){return _0x9e886f;};return a58_0x3383();}(function(_0x1dc845,_0x370c5f){const _0x358d9d=a58_0xd1c2,_0x55ca98=_0x1dc845();while(!![]){try{const _0x5536c0=-parseInt(_0x358d9d(0x1db))/0x1*(-parseInt(_0x358d9d(0x1de))/0x2)+parseInt(_0x358d9d(0x1d8))/0x3+parseInt(_0x358d9d(0x1d0))/0x4+-parseInt(_0x358d9d(0x1d5))/0x5+parseInt(_0x358d9d(0x1cb))/0x6*(-parseInt(_0x358d9d(0x1dc))/0x7)+-parseInt(_0x358d9d(0x1cc))/0x8*(-parseInt(_0x358d9d(0x1d1))/0x9)+parseInt(_0x358d9d(0x1eb))/0xa*(-parseInt(_0x358d9d(0x1f1))/0xb);if(_0x5536c0===_0x370c5f)break;else _0x55ca98['push'](_0x55ca98['shift']());}catch(_0x321143){_0x55ca98['push'](_0x55ca98['shift']());}}}(a58_0x3383,0x48e24));import a58_0x2db2e4 from'ol/source/Vector';import a58_0x2ed394 from'ol/format/GeoJSON';import{Vector as a58_0x5b1ed9}from'ol/layer';import a58_0x1c69c8 from'ol/format/WFS';import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a58_0x18f065 from'../utils/format/CQL';import*as a58_0x54a023 from'ol/format/filter';export default class GeoserverWFSLayer extends a58_0x5b1ed9{constructor(_0x39acc0,_0x107f17){const _0x1ca6bf=a58_0xd1c2;let _0x153ece=registerProj('EPSG:'+_0x107f17['wkid']);const _0x3dbe46=_0x107f17[_0x1ca6bf(0x1e3)][_0x1ca6bf(0x1d7)](_0x164117=>_0x164117[_0x1ca6bf(0x1ed)]==0x6);super({'zIndex':_0x39acc0[_0x1ca6bf(0x1e4)],'source':new a58_0x2db2e4({'format':new a58_0x2ed394(),'loader':(_0x19f9d2,_0x4d9a09,_0x5034b0,_0x2c31d9,_0x242f47)=>{const _0x55b1b1=_0x1ca6bf;let _0x494ec6=_0x39acc0[_0x55b1b1(0x1ee)],_0xc8f7a1={'srsName':_0x5034b0[_0x55b1b1(0x1d9)](),'featureTypes':_0x39acc0[_0x55b1b1(0x1e8)],'bbox':_0x19f9d2,'geometryName':_0x3dbe46?_0x3dbe46['name']:'','outputFormat':_0x55b1b1(0x1ec)};_0x494ec6&&(typeof _0x494ec6===_0x55b1b1(0x1c9)?_0xc8f7a1[_0x55b1b1(0x1c2)]=new a58_0x18f065()[_0x55b1b1(0x1d6)](_0x494ec6):_0xc8f7a1[_0x55b1b1(0x1c2)]=this[_0x55b1b1(0x1e1)](_0x494ec6));var _0x3be6bb=new a58_0x1c69c8()['writeGetFeature'](_0xc8f7a1);let _0x17faf2=_0x39acc0['url']?_0x39acc0['url']:'';fetch(_0x17faf2,{'method':_0x55b1b1(0x1e7),'body':new XMLSerializer()[_0x55b1b1(0x1c1)](_0x3be6bb)})['then'](_0x4714ab=>{const _0x3f8dbe=_0x55b1b1;return _0x4714ab[_0x3f8dbe(0x1ce)]();})[_0x55b1b1(0x1ef)](_0x55a164=>{const _0x259e46=_0x55b1b1,_0x1f9e28=new a58_0x2ed394()[_0x259e46(0x1e9)](_0x55a164);let _0x21a80e=this[_0x259e46(0x1df)]();_0x21a80e&&_0x21a80e[_0x259e46(0x1c5)](_0x1f9e28);if(_0x2c31d9)_0x2c31d9(_0x1f9e28);})[_0x55b1b1(0x1dd)](()=>{const _0x5af313=_0x55b1b1;let _0x32e657=this[_0x5af313(0x1df)]();_0x32e657&&_0x32e657['removeLoadedExtent'](_0x19f9d2);if(_0x242f47)_0x242f47();});},'strategy':bbox})}),this['id']=_0x39acc0['id'],this[_0x1ca6bf(0x1cd)]=_0x107f17['initExtent'],this['projection']=_0x153ece,this['layerInfo']=_0x39acc0;}[a58_0x2c3125(0x1e1)](_0x128a63){const _0x5ee61=a58_0x2c3125;if(!_0x128a63[_0x5ee61(0x1da)]){console['warn'](_0x5ee61(0x1e6));return;}if(!_0x128a63['param']){console[_0x5ee61(0x1c4)](_0x5ee61(0x1c3));return;}let _0x59928a=[];switch(_0x128a63[_0x5ee61(0x1da)][_0x5ee61(0x1f2)]()){case _0x5ee61(0x1c6):for(let _0x1cd496=0x0;_0x1cd496<_0x128a63['param']['length'];_0x1cd496++){let _0x5d9e1d=this['parseFilter'](_0x128a63[_0x5ee61(0x1c0)][_0x1cd496]);_0x59928a[_0x5ee61(0x1e0)](_0x5d9e1d);}return a58_0x54a023[_0x5ee61(0x1c6)]['apply'](null,_0x59928a);case'or':for(let _0x2b57d0=0x0;_0x2b57d0<_0x128a63[_0x5ee61(0x1c0)][_0x5ee61(0x1e2)];_0x2b57d0++){let _0x4ddbf6=this['parseFilter'](_0x128a63[_0x5ee61(0x1c0)][_0x2b57d0]);_0x59928a[_0x5ee61(0x1e0)](_0x4ddbf6);}return a58_0x54a023['or'][_0x5ee61(0x1f0)](null,_0x59928a);case _0x5ee61(0x1cf):for(let _0x34a7dd=0x0;_0x34a7dd<_0x128a63[_0x5ee61(0x1c0)][_0x5ee61(0x1e2)];_0x34a7dd++){let _0x4b52a0=this[_0x5ee61(0x1e1)](_0x128a63[_0x5ee61(0x1c0)][_0x34a7dd]);_0x59928a[_0x5ee61(0x1e0)](_0x4b52a0);}return a58_0x54a023[_0x5ee61(0x1cf)][_0x5ee61(0x1f0)](null,_0x59928a);case'=':return a58_0x54a023[_0x5ee61(0x1d4)](_0x128a63['param'][0x0],_0x128a63['param'][0x1]);case _0x5ee61(0x1d3):return a58_0x54a023[_0x5ee61(0x1d2)](_0x128a63['param'][0x0],_0x128a63[_0x5ee61(0x1c0)][0x1]);case'>':return a58_0x54a023[_0x5ee61(0x1ca)](_0x128a63[_0x5ee61(0x1c0)][0x0],_0x128a63[_0x5ee61(0x1c0)][0x1]);case'<':return a58_0x54a023[_0x5ee61(0x1c8)](_0x128a63[_0x5ee61(0x1c0)][0x0],_0x128a63[_0x5ee61(0x1c0)][0x1]);case'>=':return a58_0x54a023[_0x5ee61(0x1c7)](_0x128a63['param'][0x0],_0x128a63[_0x5ee61(0x1c0)][0x1]);case'<=':return a58_0x54a023[_0x5ee61(0x1e5)](_0x128a63[_0x5ee61(0x1c0)][0x0],_0x128a63[_0x5ee61(0x1c0)][0x1]);case _0x5ee61(0x1ea):return a58_0x54a023['between'](_0x128a63[_0x5ee61(0x1c0)][0x0],_0x128a63[_0x5ee61(0x1c0)][0x1],_0x128a63[_0x5ee61(0x1c0)][0x2]);}}}
@@ -1 +1 @@
1
- function a59_0x44bc(){const _0x40e93b=['4588803CiVzHl','10dUJWqn','1rPyObW','385021levNmg','CQL_FILTER','projection','687870UBUTnY','sublayers','144OzreiM','anonymous','loadFilter','join','12tNExPI','url','55353XGJeQo','15BvnGpF','layerInfo','setFilter','16CKIoLn','14217437baWjTO','5814149QKGQuy','910398mgAwGh','updateParams','refresh','EPSG:','initExtent','wkid','mapIndex'];a59_0x44bc=function(){return _0x40e93b;};return a59_0x44bc();}const a59_0x13ea54=a59_0x24e6;(function(_0x244b5a,_0x546ce1){const _0xa1c1ab=a59_0x24e6,_0x4be6bb=_0x244b5a();while(!![]){try{const _0x50688a=-parseInt(_0xa1c1ab(0xfc))/0x1*(-parseInt(_0xa1c1ab(0x10f))/0x2)+parseInt(_0xa1c1ab(0x108))/0x3*(parseInt(_0xa1c1ab(0x102))/0x4)+-parseInt(_0xa1c1ab(0x109))/0x5*(-parseInt(_0xa1c1ab(0x100))/0x6)+-parseInt(_0xa1c1ab(0xfd))/0x7*(-parseInt(_0xa1c1ab(0x10c))/0x8)+-parseInt(_0xa1c1ab(0xfa))/0x9+parseInt(_0xa1c1ab(0xfb))/0xa*(parseInt(_0xa1c1ab(0x10e))/0xb)+-parseInt(_0xa1c1ab(0x106))/0xc*(parseInt(_0xa1c1ab(0x10d))/0xd);if(_0x50688a===_0x546ce1)break;else _0x4be6bb['push'](_0x4be6bb['shift']());}catch(_0x3a76a0){_0x4be6bb['push'](_0x4be6bb['shift']());}}}(a59_0x44bc,0x79af3));import{ImageWMS as a59_0x49991b}from'ol/source';function a59_0x24e6(_0x52dabe,_0xa906e5){const _0x44bc77=a59_0x44bc();return a59_0x24e6=function(_0x24e60b,_0x19f36d){_0x24e60b=_0x24e60b-0xf4;let _0x3145a7=_0x44bc77[_0x24e60b];return _0x3145a7;},a59_0x24e6(_0x52dabe,_0xa906e5);}import{Image as a59_0x2e238e}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a59_0x2e238e{constructor(_0x62b2f4,_0x109bcf){const _0x2eb916=a59_0x24e6;var _0x5bb50d;let _0x476e63=registerProj(_0x2eb916(0xf6)+_0x109bcf[_0x2eb916(0xf8)]),_0x5a55ee={'LAYERS':(_0x5bb50d=_0x62b2f4[_0x2eb916(0x101)])===null||_0x5bb50d===void 0x0?void 0x0:_0x5bb50d[_0x2eb916(0x105)](','),'VERSION':'1.1.0'};_0x62b2f4['loadFilter']&&(_0x5a55ee[_0x2eb916(0xfe)]=_0x62b2f4[_0x2eb916(0x104)]),super({'opacity':_0x62b2f4['opacity'],'zIndex':_0x62b2f4[_0x2eb916(0xf9)],'source':new a59_0x49991b({'crossOrigin':_0x2eb916(0x103),'url':_0x62b2f4[_0x2eb916(0x107)],'params':_0x5a55ee})}),this['id']=_0x62b2f4['id'],this['initialExtent']=_0x109bcf[_0x2eb916(0xf7)],this[_0x2eb916(0xff)]=_0x476e63,this[_0x2eb916(0x10a)]=_0x62b2f4;}[a59_0x13ea54(0xf5)](){}[a59_0x13ea54(0x10b)](_0x589ce4){const _0x371fd9=a59_0x13ea54;var _0x251f25;(_0x251f25=this['getSource']())===null||_0x251f25===void 0x0?void 0x0:_0x251f25[_0x371fd9(0xf4)]({'CQL_FILTER':_0x589ce4});}}
1
+ const a59_0x59329c=a59_0x4b9c;function a59_0x30c1(){const _0x2175f8=['initExtent','anonymous','getSource','loadFilter','sublayers','89112vnzrbC','1.1.0','4710imGeWf','layerInfo','refresh','165DPQJjg','initialExtent','18834rcKGSe','41TrkZOK','mapIndex','120RbfRwp','CQL_FILTER','917950OowmAY','opacity','projection','8523ebGrmT','8wQNFxo','29666zkcjIi','58006dLckrv','77soCNmt','1100667sfQyFh','join'];a59_0x30c1=function(){return _0x2175f8;};return a59_0x30c1();}(function(_0x25bb07,_0x522390){const _0x49a2ed=a59_0x4b9c,_0x4369d0=_0x25bb07();while(!![]){try{const _0x128bed=-parseInt(_0x49a2ed(0x12b))/0x1*(parseInt(_0x49a2ed(0x134))/0x2)+parseInt(_0x49a2ed(0x137))/0x3*(parseInt(_0x49a2ed(0x133))/0x4)+parseInt(_0x49a2ed(0x128))/0x5*(parseInt(_0x49a2ed(0x12a))/0x6)+-parseInt(_0x49a2ed(0x136))/0x7*(parseInt(_0x49a2ed(0x123))/0x8)+parseInt(_0x49a2ed(0x132))/0x9*(-parseInt(_0x49a2ed(0x125))/0xa)+parseInt(_0x49a2ed(0x12f))/0xb*(parseInt(_0x49a2ed(0x12d))/0xc)+-parseInt(_0x49a2ed(0x135))/0xd;if(_0x128bed===_0x522390)break;else _0x4369d0['push'](_0x4369d0['shift']());}catch(_0x3b7678){_0x4369d0['push'](_0x4369d0['shift']());}}}(a59_0x30c1,0x77cbc));function a59_0x4b9c(_0x1b040b,_0x41f8cd){const _0x30c118=a59_0x30c1();return a59_0x4b9c=function(_0x4b9c1d,_0x3376a5){_0x4b9c1d=_0x4b9c1d-0x122;let _0x2b597f=_0x30c118[_0x4b9c1d];return _0x2b597f;},a59_0x4b9c(_0x1b040b,_0x41f8cd);}import{ImageWMS as a59_0x431cd9}from'ol/source';import{Image as a59_0x39c397}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a59_0x39c397{constructor(_0x20a6eb,_0x2b14f4){const _0x3ee8c5=a59_0x4b9c;var _0x3808e0;let _0x52fadc=registerProj('EPSG:'+_0x2b14f4['wkid']),_0x1dbc20={'LAYERS':(_0x3808e0=_0x20a6eb[_0x3ee8c5(0x122)])===null||_0x3808e0===void 0x0?void 0x0:_0x3808e0[_0x3ee8c5(0x138)](','),'VERSION':_0x3ee8c5(0x124)};_0x20a6eb['loadFilter']&&(_0x1dbc20[_0x3ee8c5(0x12e)]=_0x20a6eb[_0x3ee8c5(0x13c)]),super({'opacity':_0x20a6eb[_0x3ee8c5(0x130)],'zIndex':_0x20a6eb[_0x3ee8c5(0x12c)],'source':new a59_0x431cd9({'crossOrigin':_0x3ee8c5(0x13a),'url':_0x20a6eb['url'],'params':_0x1dbc20})}),this['id']=_0x20a6eb['id'],this[_0x3ee8c5(0x129)]=_0x2b14f4[_0x3ee8c5(0x139)],this[_0x3ee8c5(0x131)]=_0x52fadc,this[_0x3ee8c5(0x126)]=_0x20a6eb;}[a59_0x59329c(0x127)](){}['setFilter'](_0x22a984){const _0x2d3fc0=a59_0x59329c;var _0x51ca58;(_0x51ca58=this[_0x2d3fc0(0x13b)]())===null||_0x51ca58===void 0x0?void 0x0:_0x51ca58['updateParams']({'CQL_FILTER':_0x22a984});}}
@@ -1 +1 @@
1
- function a60_0xca5c(_0x5e8dfd,_0x16aa7d){const _0x481fe8=a60_0x481f();return a60_0xca5c=function(_0xca5ce6,_0x57847f){_0xca5ce6=_0xca5ce6-0x1a6;let _0x390430=_0x481fe8[_0xca5ce6];return _0x390430;},a60_0xca5c(_0x5e8dfd,_0x16aa7d);}(function(_0x476b1d,_0x30de46){const _0x36db9a=a60_0xca5c,_0x1de8a6=_0x476b1d();while(!![]){try{const _0x45610d=parseInt(_0x36db9a(0x1a9))/0x1*(-parseInt(_0x36db9a(0x1af))/0x2)+-parseInt(_0x36db9a(0x1b1))/0x3*(parseInt(_0x36db9a(0x1b6))/0x4)+-parseInt(_0x36db9a(0x1ac))/0x5*(parseInt(_0x36db9a(0x1b4))/0x6)+parseInt(_0x36db9a(0x1b7))/0x7+parseInt(_0x36db9a(0x1ad))/0x8*(parseInt(_0x36db9a(0x1a8))/0x9)+parseInt(_0x36db9a(0x1ba))/0xa+-parseInt(_0x36db9a(0x1b5))/0xb;if(_0x45610d===_0x30de46)break;else _0x1de8a6['push'](_0x1de8a6['shift']());}catch(_0x43ab2c){_0x1de8a6['push'](_0x1de8a6['shift']());}}}(a60_0x481f,0x9424f));import a60_0x13b99a from'ol/layer/Tile';import a60_0xc9714c,{optionsFromCapabilities}from'ol/source/WMTS.js';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMTSLayer extends a60_0x13b99a{constructor(_0x3eafb8,_0x1aed00){const _0x41a8cb=a60_0xca5c;var _0x3b8921;const _0x144782=_0x41a8cb(0x1ab)+_0x1aed00[_0x41a8cb(0x1ae)];let _0x23d435=registerProj(_0x144782);if(!_0x23d435)throw new Error(_0x41a8cb(0x1a7));const _0x2e68d4=optionsFromCapabilities(_0x1aed00[_0x41a8cb(0x1b2)],{'layer':(_0x3b8921=_0x3eafb8[_0x41a8cb(0x1aa)])===null||_0x3b8921===void 0x0?void 0x0:_0x3b8921[0x0],'matrixSet':_0x1aed00[_0x41a8cb(0x1bb)],'format':_0x41a8cb(0x1b3)});if(!_0x2e68d4)throw new Error(_0x41a8cb(0x1b0));super({'opacity':_0x3eafb8[_0x41a8cb(0x1bc)],'zIndex':_0x3eafb8[_0x41a8cb(0x1b9)],'source':new a60_0xc9714c(_0x2e68d4)}),this['id']=_0x3eafb8['id'],this['initialExtent']=_0x1aed00[_0x41a8cb(0x1a6)],this['projection']=_0x23d435,this[_0x41a8cb(0x1b8)]=_0x3eafb8;}}function a60_0x481f(){const _0x2909a9=['sourceXml','image/png','6gEQxmR','9558032nVhBTe','7624vNPyFq','2544451uEvODI','layerInfo','mapIndex','11743260ApDYyL','tileMatrixSet','opacity','boundingBoxExtent','未找到投影信息','765oPLqNL','409999GCGkGk','sublayers','EPSG:','1028140NngqYg','102504MCVChX','wkid','2buFuiZ','解析元数据失败','843LjoFQf'];a60_0x481f=function(){return _0x2909a9;};return a60_0x481f();}
1
+ (function(_0xc3bf2d,_0x817930){const _0x104350=a60_0x3466,_0x5f1f80=_0xc3bf2d();while(!![]){try{const _0x10d09f=parseInt(_0x104350(0x15a))/0x1*(-parseInt(_0x104350(0x167))/0x2)+parseInt(_0x104350(0x15c))/0x3+parseInt(_0x104350(0x164))/0x4+parseInt(_0x104350(0x161))/0x5+-parseInt(_0x104350(0x15f))/0x6+parseInt(_0x104350(0x159))/0x7*(parseInt(_0x104350(0x169))/0x8)+-parseInt(_0x104350(0x162))/0x9*(parseInt(_0x104350(0x15e))/0xa);if(_0x10d09f===_0x817930)break;else _0x5f1f80['push'](_0x5f1f80['shift']());}catch(_0x24ba8e){_0x5f1f80['push'](_0x5f1f80['shift']());}}}(a60_0x5691,0x78432));function a60_0x3466(_0xaf05e8,_0x295530){const _0x56911c=a60_0x5691();return a60_0x3466=function(_0x3466fd,_0x5d165b){_0x3466fd=_0x3466fd-0x156;let _0x14eb50=_0x56911c[_0x3466fd];return _0x14eb50;},a60_0x3466(_0xaf05e8,_0x295530);}import a60_0x576d3d from'ol/layer/Tile';import a60_0xe29409,{optionsFromCapabilities}from'ol/source/WMTS.js';import{registerProj}from'../utils/RegisterProjUtil';function a60_0x5691(){const _0xa1b3b8=['EPSG:','initialExtent','779964LokBHw','opacity','48kXZpIH','sublayers','未找到投影信息','mapIndex','wkid','layerInfo','1130171MMMfMe','2ayYWLM','sourceXml','380208AYiHCr','解析元数据失败','4348640sxzpMn','3264696rixYCe','image/png','3619245AkWMhv','9diqkUs','boundingBoxExtent','1728940PMPxqV'];a60_0x5691=function(){return _0xa1b3b8;};return a60_0x5691();}export default class GeoserverWMTSLayer extends a60_0x576d3d{constructor(_0x186487,_0x7aa219){const _0x209061=a60_0x3466;var _0x2c2f3e;const _0x39e010=_0x209061(0x165)+_0x7aa219[_0x209061(0x157)];let _0x36466d=registerProj(_0x39e010);if(!_0x36466d)throw new Error(_0x209061(0x16b));const _0x2aa6b2=optionsFromCapabilities(_0x7aa219[_0x209061(0x15b)],{'layer':(_0x2c2f3e=_0x186487[_0x209061(0x16a)])===null||_0x2c2f3e===void 0x0?void 0x0:_0x2c2f3e[0x0],'matrixSet':_0x7aa219['tileMatrixSet'],'format':_0x209061(0x160)});if(!_0x2aa6b2)throw new Error(_0x209061(0x15d));super({'opacity':_0x186487[_0x209061(0x168)],'zIndex':_0x186487[_0x209061(0x156)],'source':new a60_0xe29409(_0x2aa6b2)}),this['id']=_0x186487['id'],this[_0x209061(0x166)]=_0x7aa219[_0x209061(0x163)],this['projection']=_0x36466d,this[_0x209061(0x158)]=_0x186487;}}
@@ -1 +1 @@
1
- function a62_0x4fad(_0x23d0bb,_0x5d2386){const _0x2f38ed=a62_0x2f38();return a62_0x4fad=function(_0x4fad7f,_0x4fd60c){_0x4fad7f=_0x4fad7f-0x177;let _0x47ea08=_0x2f38ed[_0x4fad7f];return _0x47ea08;},a62_0x4fad(_0x23d0bb,_0x5d2386);}const a62_0x119a8c=a62_0x4fad;(function(_0x251c9a,_0x510026){const _0x1d5c7=a62_0x4fad,_0x3fdb86=_0x251c9a();while(!![]){try{const _0x5ba905=parseInt(_0x1d5c7(0x18a))/0x1+-parseInt(_0x1d5c7(0x187))/0x2*(parseInt(_0x1d5c7(0x17e))/0x3)+-parseInt(_0x1d5c7(0x186))/0x4*(parseInt(_0x1d5c7(0x184))/0x5)+-parseInt(_0x1d5c7(0x17a))/0x6+parseInt(_0x1d5c7(0x182))/0x7*(parseInt(_0x1d5c7(0x189))/0x8)+parseInt(_0x1d5c7(0x185))/0x9+-parseInt(_0x1d5c7(0x17c))/0xa*(-parseInt(_0x1d5c7(0x179))/0xb);if(_0x5ba905===_0x510026)break;else _0x3fdb86['push'](_0x3fdb86['shift']());}catch(_0x401f37){_0x3fdb86['push'](_0x3fdb86['shift']());}}}(a62_0x2f38,0x656c1));import a62_0x1797da from'./ArcgisDynamicLayer';import a62_0x1cdcb3 from'./ArcgisFeatureLayer';import a62_0x258abe from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a62_0x87b04e from'./ArcgisTileLayer';import a62_0x37c6d8 from'./GeoserverWMSLayer';import a62_0x59bf84 from'./GeoserverWMTSLayer';import a62_0x55febf from'./ArcgisWMSLayer';import a62_0x1a1516 from'./ArcgisWMTSLayer';function a62_0x2f38(){const _0x313eb6=['getArcgisFeatureLayer','url','sublayers','329kisRrP','getTDTLayer','5qxixPM','485307ANaDIZ','1694764KMTXLf','14FNsbfi','push','46360alARPg','551436ggeigS','getGeoserverWMTSLayer','getArcgisWMTSLayer','88DiHfnk','397290gQGUnV','getGeoserverWmsLayer','1035430HBvXLC','getDynamicLayer','343173kIABhM'];a62_0x2f38=function(){return _0x313eb6;};return a62_0x2f38();}import a62_0x46a212 from'./GeoserverWFSLayer';import a62_0x154ee1 from'./GeoserverVectorTile';export default class LayerManagement{static async[a62_0x119a8c(0x17d)](_0x575be7){const _0x4a01c0=await getDynamicLayerInfo(_0x575be7['url']?_0x575be7['url']:'');let _0x3ae07f=new a62_0x1797da(_0x575be7,_0x4a01c0);return _0x3ae07f;}static async['getArcgisTileLayer'](_0x2b69a1){const _0x42877a=a62_0x119a8c,_0x7ca2c8=await getDynamicLayerInfo(_0x2b69a1[_0x42877a(0x180)]?_0x2b69a1[_0x42877a(0x180)]:'');let _0xa8d5ef=new a62_0x87b04e(_0x2b69a1,_0x7ca2c8);return _0xa8d5ef;}static async[a62_0x119a8c(0x17f)](_0x50fa45){const _0x2e782b=a62_0x119a8c,_0x30a23=await getDynamicLayerInfo(_0x50fa45[_0x2e782b(0x180)]?_0x50fa45['url']:'');let _0x559bb3=[];if(_0x50fa45[_0x2e782b(0x181)])for(let _0x567476=0x0;_0x567476<_0x50fa45[_0x2e782b(0x181)]['length'];_0x567476++){const _0x37ba70=_0x50fa45[_0x2e782b(0x181)][_0x567476];_0x559bb3[_0x2e782b(0x188)](await getFeatureLayerInfo(_0x50fa45[_0x2e782b(0x180)]?_0x50fa45[_0x2e782b(0x180)]:'',_0x37ba70));}let _0x536c51=new a62_0x1cdcb3(_0x50fa45,_0x30a23,_0x559bb3);return _0x536c51;}static async['getArcgisWmsLayer'](_0x36dff4){const _0x2c424f=a62_0x119a8c;var _0x5e827d;const _0x1881db=(_0x5e827d=_0x36dff4[_0x2c424f(0x181)])===null||_0x5e827d===void 0x0?void 0x0:_0x5e827d[0x0],_0x10a964=await getWMSLayerCapabilities(_0x36dff4[_0x2c424f(0x180)]?_0x36dff4[_0x2c424f(0x180)]:'',_0x1881db==null?'':_0x1881db);let _0x506487=new a62_0x55febf(_0x36dff4,_0x10a964);return _0x506487;}static async[a62_0x119a8c(0x178)](_0x16c4bf){const _0x366a1c=a62_0x119a8c;var _0x5f17e5;const _0x3a3f2d=(_0x5f17e5=_0x16c4bf[_0x366a1c(0x181)])===null||_0x5f17e5===void 0x0?void 0x0:_0x5f17e5[0x0],_0x13379c=await getWMTSLayerCapabilities(_0x16c4bf[_0x366a1c(0x180)]?_0x16c4bf[_0x366a1c(0x180)]:'',_0x3a3f2d==null?'':_0x3a3f2d);let _0x3aa11a=new a62_0x1a1516(_0x16c4bf,_0x13379c);return _0x3aa11a;}static async[a62_0x119a8c(0x17b)](_0x3e8793){const _0x27fc19=a62_0x119a8c;var _0x1a96f8;const _0x52cee5=(_0x1a96f8=_0x3e8793[_0x27fc19(0x181)])===null||_0x1a96f8===void 0x0?void 0x0:_0x1a96f8[0x0],_0x5685cc=await getWMSLayerCapabilities(_0x3e8793['url']?_0x3e8793[_0x27fc19(0x180)]:'',_0x52cee5==null?'':_0x52cee5);let _0x31a468=new a62_0x37c6d8(_0x3e8793,_0x5685cc);return _0x31a468;}static async[a62_0x119a8c(0x177)](_0x3202f1){const _0x295577=a62_0x119a8c;var _0x363dcc;const _0x51fb6f=(_0x363dcc=_0x3202f1[_0x295577(0x181)])===null||_0x363dcc===void 0x0?void 0x0:_0x363dcc[0x0],_0x2fd469=await getWMTSLayerCapabilities(_0x3202f1['url']?_0x3202f1['url']:'',_0x51fb6f==null?'':_0x51fb6f);let _0x342a14=new a62_0x59bf84(_0x3202f1,_0x2fd469);return _0x342a14;}static async['getGeoserverWFSLayer'](_0x5ae5ec){const _0x388574=a62_0x119a8c;var _0x5be27a;const _0x43b927=(_0x5be27a=_0x5ae5ec[_0x388574(0x181)])===null||_0x5be27a===void 0x0?void 0x0:_0x5be27a[0x0],_0x3a7a91=await getWFSLayerCapabilities(_0x5ae5ec['url']?_0x5ae5ec[_0x388574(0x180)]:'',_0x43b927==null?'':_0x43b927);let _0x3ae128=new a62_0x46a212(_0x5ae5ec,_0x3a7a91);return _0x3ae128;}static async['getGeoserverVectorTileLayer'](_0x66f45d){const _0x5973fe=a62_0x119a8c;var _0x34a757;const _0x19be41=(_0x34a757=_0x66f45d[_0x5973fe(0x181)])===null||_0x34a757===void 0x0?void 0x0:_0x34a757[0x0],_0x244b18=await getWMTSLayerCapabilities(_0x66f45d[_0x5973fe(0x180)]?_0x66f45d[_0x5973fe(0x180)]:'',_0x19be41==null?'':_0x19be41);let _0x24f876=new a62_0x154ee1(_0x66f45d,_0x244b18);return _0x24f876;}static async[a62_0x119a8c(0x183)](_0x3164b0){const _0x184f5d=a62_0x119a8c;var _0x4460fb;const _0x11e7c5=(_0x4460fb=_0x3164b0[_0x184f5d(0x181)])===null||_0x4460fb===void 0x0?void 0x0:_0x4460fb[0x0],_0x3e284b=await getWMTSLayerCapabilities(_0x3164b0[_0x184f5d(0x180)]?_0x3164b0[_0x184f5d(0x180)]:'',_0x11e7c5==null?'':_0x11e7c5);let _0x5961e8=new a62_0x258abe(_0x3164b0,_0x3e284b);return _0x5961e8;}}
1
+ const a62_0x356dd7=a62_0x48e2;function a62_0x48e2(_0x464d2d,_0x4703dd){const _0xda88b1=a62_0xda88();return a62_0x48e2=function(_0x48e260,_0x3fd44d){_0x48e260=_0x48e260-0x1a6;let _0x4e041a=_0xda88b1[_0x48e260];return _0x4e041a;},a62_0x48e2(_0x464d2d,_0x4703dd);}(function(_0x898d88,_0x44525a){const _0x4c3e8e=a62_0x48e2,_0x1513c4=_0x898d88();while(!![]){try{const _0x570796=-parseInt(_0x4c3e8e(0x1af))/0x1+-parseInt(_0x4c3e8e(0x1a8))/0x2+-parseInt(_0x4c3e8e(0x1ac))/0x3*(parseInt(_0x4c3e8e(0x1b0))/0x4)+parseInt(_0x4c3e8e(0x1aa))/0x5+parseInt(_0x4c3e8e(0x1b4))/0x6+-parseInt(_0x4c3e8e(0x1a7))/0x7+parseInt(_0x4c3e8e(0x1b6))/0x8;if(_0x570796===_0x44525a)break;else _0x1513c4['push'](_0x1513c4['shift']());}catch(_0x4c1009){_0x1513c4['push'](_0x1513c4['shift']());}}}(a62_0xda88,0xc0176));function a62_0xda88(){const _0x1158f5=['1116241TpKmJL','2433558HhfDtY','sublayers','7590135sMwBMI','getGeoserverVectorTileLayer','3jKpwes','length','getGeoserverWmsLayer','361942XijaGd','1278428uLtagC','push','getTDTLayer','getDynamicLayer','2398404AorTUT','url','7414688dnKpVe','getArcgisTileLayer','getArcgisWMTSLayer','getArcgisWmsLayer'];a62_0xda88=function(){return _0x1158f5;};return a62_0xda88();}import a62_0x53d365 from'./ArcgisDynamicLayer';import a62_0x32abbf from'./ArcgisFeatureLayer';import a62_0x5db8a4 from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a62_0x2f7132 from'./ArcgisTileLayer';import a62_0xdc315 from'./GeoserverWMSLayer';import a62_0x1bc3bf from'./GeoserverWMTSLayer';import a62_0x4f66ba from'./ArcgisWMSLayer';import a62_0x5e2ae1 from'./ArcgisWMTSLayer';import a62_0x1ae875 from'./GeoserverWFSLayer';import a62_0x402788 from'./GeoserverVectorTile';export default class LayerManagement{static async[a62_0x356dd7(0x1b3)](_0x37a74f){const _0x967fd8=a62_0x356dd7,_0x354df8=await getDynamicLayerInfo(_0x37a74f['url']?_0x37a74f[_0x967fd8(0x1b5)]:'');let _0x2b0bbc=new a62_0x53d365(_0x37a74f,_0x354df8);return _0x2b0bbc;}static async[a62_0x356dd7(0x1b7)](_0x376347){const _0x17c76a=a62_0x356dd7,_0x39e357=await getDynamicLayerInfo(_0x376347[_0x17c76a(0x1b5)]?_0x376347['url']:'');let _0x5e53d5=new a62_0x2f7132(_0x376347,_0x39e357);return _0x5e53d5;}static async['getArcgisFeatureLayer'](_0x17989a){const _0x58ee7e=a62_0x356dd7,_0x3e2c0d=await getDynamicLayerInfo(_0x17989a['url']?_0x17989a[_0x58ee7e(0x1b5)]:'');let _0xe852c6=[];if(_0x17989a['sublayers'])for(let _0x140197=0x0;_0x140197<_0x17989a[_0x58ee7e(0x1a9)][_0x58ee7e(0x1ad)];_0x140197++){const _0x298f3a=_0x17989a[_0x58ee7e(0x1a9)][_0x140197];_0xe852c6[_0x58ee7e(0x1b1)](await getFeatureLayerInfo(_0x17989a['url']?_0x17989a[_0x58ee7e(0x1b5)]:'',_0x298f3a));}let _0x509a56=new a62_0x32abbf(_0x17989a,_0x3e2c0d,_0xe852c6);return _0x509a56;}static async[a62_0x356dd7(0x1a6)](_0x5e9067){const _0x83980c=a62_0x356dd7;var _0x4103a5;const _0x264bee=(_0x4103a5=_0x5e9067[_0x83980c(0x1a9)])===null||_0x4103a5===void 0x0?void 0x0:_0x4103a5[0x0],_0x1aa2c2=await getWMSLayerCapabilities(_0x5e9067[_0x83980c(0x1b5)]?_0x5e9067[_0x83980c(0x1b5)]:'',_0x264bee==null?'':_0x264bee);let _0x1ddd84=new a62_0x4f66ba(_0x5e9067,_0x1aa2c2);return _0x1ddd84;}static async[a62_0x356dd7(0x1b8)](_0x4df267){const _0xc4bbaf=a62_0x356dd7;var _0x5260f0;const _0x4c1b4d=(_0x5260f0=_0x4df267[_0xc4bbaf(0x1a9)])===null||_0x5260f0===void 0x0?void 0x0:_0x5260f0[0x0],_0x588643=await getWMTSLayerCapabilities(_0x4df267['url']?_0x4df267[_0xc4bbaf(0x1b5)]:'',_0x4c1b4d==null?'':_0x4c1b4d);let _0x4ddf37=new a62_0x5e2ae1(_0x4df267,_0x588643);return _0x4ddf37;}static async[a62_0x356dd7(0x1ae)](_0x3f341f){const _0x40c2d1=a62_0x356dd7;var _0x168ece;const _0xb73ba7=(_0x168ece=_0x3f341f[_0x40c2d1(0x1a9)])===null||_0x168ece===void 0x0?void 0x0:_0x168ece[0x0],_0x391c2d=await getWMSLayerCapabilities(_0x3f341f['url']?_0x3f341f[_0x40c2d1(0x1b5)]:'',_0xb73ba7==null?'':_0xb73ba7);let _0x4ac494=new a62_0xdc315(_0x3f341f,_0x391c2d);return _0x4ac494;}static async['getGeoserverWMTSLayer'](_0x12f2ee){const _0x49409b=a62_0x356dd7;var _0x49b5a8;const _0x5f49b1=(_0x49b5a8=_0x12f2ee['sublayers'])===null||_0x49b5a8===void 0x0?void 0x0:_0x49b5a8[0x0],_0x3755f2=await getWMTSLayerCapabilities(_0x12f2ee[_0x49409b(0x1b5)]?_0x12f2ee['url']:'',_0x5f49b1==null?'':_0x5f49b1);let _0x30402e=new a62_0x1bc3bf(_0x12f2ee,_0x3755f2);return _0x30402e;}static async['getGeoserverWFSLayer'](_0x714434){const _0xfebba4=a62_0x356dd7;var _0x4ce59e;const _0x9bfad6=(_0x4ce59e=_0x714434[_0xfebba4(0x1a9)])===null||_0x4ce59e===void 0x0?void 0x0:_0x4ce59e[0x0],_0x459009=await getWFSLayerCapabilities(_0x714434[_0xfebba4(0x1b5)]?_0x714434[_0xfebba4(0x1b5)]:'',_0x9bfad6==null?'':_0x9bfad6);let _0x2e09be=new a62_0x1ae875(_0x714434,_0x459009);return _0x2e09be;}static async[a62_0x356dd7(0x1ab)](_0x3b199c){const _0x1df6bb=a62_0x356dd7;var _0x425e1a;const _0x4ab05d=(_0x425e1a=_0x3b199c['sublayers'])===null||_0x425e1a===void 0x0?void 0x0:_0x425e1a[0x0],_0x48271d=await getWMTSLayerCapabilities(_0x3b199c[_0x1df6bb(0x1b5)]?_0x3b199c[_0x1df6bb(0x1b5)]:'',_0x4ab05d==null?'':_0x4ab05d);let _0x1913e6=new a62_0x402788(_0x3b199c,_0x48271d);return _0x1913e6;}static async[a62_0x356dd7(0x1b2)](_0x5aa536){const _0x546e3d=a62_0x356dd7;var _0x39329b;const _0x14c47b=(_0x39329b=_0x5aa536['sublayers'])===null||_0x39329b===void 0x0?void 0x0:_0x39329b[0x0],_0x30f2c0=await getWMTSLayerCapabilities(_0x5aa536[_0x546e3d(0x1b5)]?_0x5aa536['url']:'',_0x14c47b==null?'':_0x14c47b);let _0x2201f5=new a62_0x5db8a4(_0x5aa536,_0x30f2c0);return _0x2201f5;}}
@@ -1 +1 @@
1
- function a63_0x1605(_0x44ad09,_0xda3010){const _0x3eb63a=a63_0x3eb6();return a63_0x1605=function(_0x1605fb,_0x50fbe1){_0x1605fb=_0x1605fb-0xfe;let _0xb37855=_0x3eb63a[_0x1605fb];return _0xb37855;},a63_0x1605(_0x44ad09,_0xda3010);}function a63_0x3eb6(){const _0x1b80df=['37158UMUtVX','256102lLAXKH','join','70vVbNQo','5IFaPAM','initialExtent','projection','39025QDVQtt','pow','8soUpbr','EPSG:4490','1407798VgrprA','boundingBoxExtent','7RffeCw','236748XgVMBx','style','709818qSnotS','url','216wdbrgK','length','format','sublayers','2268696XWuZCW','KVP'];a63_0x3eb6=function(){return _0x1b80df;};return a63_0x3eb6();}(function(_0x4c5aa0,_0x1a89d8){const _0x48d4f3=a63_0x1605,_0x38c42a=_0x4c5aa0();while(!![]){try{const _0x436aec=-parseInt(_0x48d4f3(0x10d))/0x1*(-parseInt(_0x48d4f3(0x109))/0x2)+-parseInt(_0x48d4f3(0x101))/0x3*(-parseInt(_0x48d4f3(0x112))/0x4)+-parseInt(_0x48d4f3(0x110))/0x5*(parseInt(_0x48d4f3(0x103))/0x6)+parseInt(_0x48d4f3(0xfe))/0x7*(parseInt(_0x48d4f3(0x107))/0x8)+-parseInt(_0x48d4f3(0x114))/0x9+-parseInt(_0x48d4f3(0x10c))/0xa*(parseInt(_0x48d4f3(0x10a))/0xb)+parseInt(_0x48d4f3(0xff))/0xc;if(_0x436aec===_0x1a89d8)break;else _0x38c42a['push'](_0x38c42a['shift']());}catch(_0x23c71f){_0x38c42a['push'](_0x38c42a['shift']());}}}(a63_0x3eb6,0x41af7));import a63_0xa31070 from'ol/layer/Tile';import{WMTS as a63_0x5de529}from'ol/source';import a63_0x5894f6 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a63_0xa31070{constructor(_0x84e63f,_0xb082f1){const _0x3510d7=a63_0x1605;let _0x26219a='';_0x84e63f[_0x3510d7(0x106)]&&_0x84e63f[_0x3510d7(0x106)][_0x3510d7(0x104)]>0x0&&(_0x26219a=_0x84e63f[_0x3510d7(0x106)][_0x3510d7(0x10b)](','));const _0x221b81=_0x3510d7(0x113);let _0x30bc85=registerProj(_0x221b81);const _0x1af146=[],_0x1288df=[];for(let _0x14f418=0x1;_0x14f418<0x13;_0x14f418++){_0x1af146[_0x14f418]=getWidth(_0xb082f1['boundingBoxExtent'])/(0x100*Math[_0x3510d7(0x111)](0x2,_0x14f418)),_0x1288df[_0x14f418]=_0x14f418+'';}super({'opacity':_0x84e63f['opacity'],'zIndex':_0x84e63f['mapIndex'],'source':new a63_0x5de529({'style':_0xb082f1[_0x3510d7(0x100)],'url':_0x84e63f[_0x3510d7(0x102)],'tileGrid':new a63_0x5894f6({'origin':getTopLeft(_0xb082f1[_0x3510d7(0x115)]),'resolutions':_0x1af146,'matrixIds':_0x1288df}),'layer':_0x26219a,'matrixSet':_0xb082f1['tileMatrixSet'],'version':'1.0.0','format':_0xb082f1[_0x3510d7(0x105)][0x0],'projection':_0x221b81,'requestEncoding':_0x3510d7(0x108)})}),this['id']=_0x84e63f['id'],this[_0x3510d7(0x10e)]=_0xb082f1[_0x3510d7(0x115)],this[_0x3510d7(0x10f)]=_0x30bc85,this['layerInfo']=_0x84e63f;}}
1
+ function a63_0x36d3(){const _0x1207df=['9417pDBxsZ','opacity','699528mlURuS','658zwBqlm','32tCYXja','804Pdjufd','1127997ByeaMY','projection','16235450VcNHNB','format','31915FTzSJm','1265084FuVCoB','8796410xksrRl','style','join','tileMatrixSet','layerInfo','mapIndex','EPSG:4490','length','KVP','sublayers'];a63_0x36d3=function(){return _0x1207df;};return a63_0x36d3();}(function(_0x2ab75f,_0x2aeae6){const _0x2a8107=a63_0x4b28,_0x1ed940=_0x2ab75f();while(!![]){try{const _0x4b3e6e=-parseInt(_0x2a8107(0xa3))/0x1+parseInt(_0x2a8107(0xa4))/0x2*(parseInt(_0x2a8107(0xa1))/0x3)+parseInt(_0x2a8107(0x96))/0x4+-parseInt(_0x2a8107(0x95))/0x5*(parseInt(_0x2a8107(0xa6))/0x6)+-parseInt(_0x2a8107(0x97))/0x7+-parseInt(_0x2a8107(0xa5))/0x8*(-parseInt(_0x2a8107(0xa7))/0x9)+parseInt(_0x2a8107(0x93))/0xa;if(_0x4b3e6e===_0x2aeae6)break;else _0x1ed940['push'](_0x1ed940['shift']());}catch(_0x232d45){_0x1ed940['push'](_0x1ed940['shift']());}}}(a63_0x36d3,0xa1b7f));import a63_0x26569d from'ol/layer/Tile';import{WMTS as a63_0x2e0c8f}from'ol/source';function a63_0x4b28(_0x4f5c01,_0x7e5130){const _0x36d34d=a63_0x36d3();return a63_0x4b28=function(_0x4b28fb,_0x4ba82d){_0x4b28fb=_0x4b28fb-0x93;let _0x55585c=_0x36d34d[_0x4b28fb];return _0x55585c;},a63_0x4b28(_0x4f5c01,_0x7e5130);}import a63_0x1b99c0 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a63_0x26569d{constructor(_0x25046d,_0x51edab){const _0x350fda=a63_0x4b28;let _0x16c7ba='';_0x25046d['sublayers']&&_0x25046d[_0x350fda(0xa0)][_0x350fda(0x9e)]>0x0&&(_0x16c7ba=_0x25046d[_0x350fda(0xa0)][_0x350fda(0x99)](','));const _0x101833=_0x350fda(0x9d);let _0x13a849=registerProj(_0x101833);const _0x47057f=[],_0x4f6d73=[];for(let _0x22a966=0x1;_0x22a966<0x13;_0x22a966++){_0x47057f[_0x22a966]=getWidth(_0x51edab['boundingBoxExtent'])/(0x100*Math['pow'](0x2,_0x22a966)),_0x4f6d73[_0x22a966]=_0x22a966+'';}super({'opacity':_0x25046d[_0x350fda(0xa2)],'zIndex':_0x25046d[_0x350fda(0x9c)],'source':new a63_0x2e0c8f({'style':_0x51edab[_0x350fda(0x98)],'url':_0x25046d['url'],'tileGrid':new a63_0x1b99c0({'origin':getTopLeft(_0x51edab['boundingBoxExtent']),'resolutions':_0x47057f,'matrixIds':_0x4f6d73}),'layer':_0x16c7ba,'matrixSet':_0x51edab[_0x350fda(0x9a)],'version':'1.0.0','format':_0x51edab[_0x350fda(0x94)][0x0],'projection':_0x101833,'requestEncoding':_0x350fda(0x9f)})}),this['id']=_0x25046d['id'],this['initialExtent']=_0x51edab['boundingBoxExtent'],this[_0x350fda(0xa8)]=_0x13a849,this[_0x350fda(0x9b)]=_0x25046d;}}
package/mapView/Map.js CHANGED
@@ -1 +1 @@
1
- const a64_0x4b5e53=a64_0x1683;function a64_0x1683(_0x5ef5b6,_0x3e01cd){const _0x8fde55=a64_0x8fde();return a64_0x1683=function(_0x168344,_0x4e293e){_0x168344=_0x168344-0x1c3;let _0xdb5268=_0x8fde55[_0x168344];return _0xdb5268;},a64_0x1683(_0x5ef5b6,_0x3e01cd);}function a64_0x8fde(){const _0x4144b0=['setGeometry','minScale','locationWKTs','MultiPolygon','Point','57795MOcdSo','fromType','527BNrHYx','minResolution','fitLayer','pointTempLayer','constrainResolution','50EJqFdo','maxResolution','geoserver-vector-tile','rgba(255,\x200,\x200,\x201)','minZoom','19528NhXwpl','getLineTempLayer','getArcgisTileLayer','oncontextmenu','maxScale','getPolygonTempLayer','getLayersByIds','setMinResolution','setProperties','addWKTs','import','removeLayerById','geoserver-wmts','filter','getDynamicLayer','addFeature','insertAt','arcgis-wmts','getZIndex','locationWKT','transform','getArray','push','getGeoserverWmsLayer','layerInfo','getArcgisWmsLayer','geoserver-wfs','getProjection','add','getSize','addMapLayer','tag','getCode','Polygon','getView','setStyle','layerTag','getMinZoom','tdt-c','setMaxResolution','getType','18LGGvVJ','refresh','6611KPuQFw','getTempLayerById','1596Fodnwp','geoserver-wms','flashGeometrys','polygonTempLayer','getMetersPerUnit','fit','9FyxmNM','changetype','projection','lineTempLayer','length','_options','remove','center','874564QBFUEo','MultiPoint','getLayers','removeLayer','getArcgisFeatureLayer','getCoordinates','layerIds','includes','getGeoserverVectorTileLayer','getTDTLayer','addLayer','getTempLayerByGeoType','layerType','changelayer','getResolution','341260wkhCFC','getGeoserverWFSLayer','setProjection','locationGeometrys','controlManager','arcgis-feature','extent','dispatchEvent','getExtent','getLayerById','rgba(255,\x200,\x200,\x200.2)','getElementById','3HwxCWV','590408NjOFzf','setCenter','all','getTarget','sortTemLayer','getGeoserverWMTSLayer','LineString','calculateExtent','getArcgisWMTSLayer','getPointTempLayer','getSource','GeometryCollection','maxZoom','zoom','locationGeometry'];a64_0x8fde=function(){return _0x4144b0;};return a64_0x8fde();}(function(_0x1827b9,_0x4938e3){const _0x405144=a64_0x1683,_0x2e71da=_0x1827b9();while(!![]){try{const _0x198ed9=parseInt(_0x405144(0x1ef))/0x1*(parseInt(_0x405144(0x1f4))/0x2)+parseInt(_0x405144(0x1d8))/0x3*(parseInt(_0x405144(0x234))/0x4)+-parseInt(_0x405144(0x1ed))/0x5*(-parseInt(_0x405144(0x222))/0x6)+-parseInt(_0x405144(0x1d9))/0x7+parseInt(_0x405144(0x1f9))/0x8*(parseInt(_0x405144(0x22c))/0x9)+parseInt(_0x405144(0x1cc))/0xa+parseInt(_0x405144(0x224))/0xb*(-parseInt(_0x405144(0x226))/0xc);if(_0x198ed9===_0x4938e3)break;else _0x2e71da['push'](_0x2e71da['shift']());}catch(_0x11f86b){_0x2e71da['push'](_0x2e71da['shift']());}}}(a64_0x8fde,0x21e1f));import'ol/ol.css';import'../assets/main.css';import a64_0x2fb1ec from'ol/Map';import a64_0x3b1916 from'ol/events/Event';import{defaults as a64_0x407050}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a64_0x34c941 from'../layers/LayerManager';import a64_0x58573b from'ol/layer/Vector';import a64_0x24627d from'ol/source/Vector';import a64_0x202019 from'../controls/ControlManager';import a64_0xfa8e74 from'../entity/Feature';import a64_0x2c7c51 from'../interaction/InteractionManager';import a64_0x38676a from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a64_0x5e1c38 from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a64_0x3b1916{constructor(_0x47afee,_0x1406bd,_0x532ed5){const _0x3a9db3=a64_0x1683;super(_0x47afee),this[_0x3a9db3(0x1c3)]=_0x1406bd,this[_0x3a9db3(0x22d)]=_0x532ed5;}}export default class OLMap extends a64_0x2fb1ec{constructor(_0x454e81,_0x1ee0e5,_0x1de232){const _0x15b78e=a64_0x1683;_0x1ee0e5=_0x1ee0e5?_0x1ee0e5:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x3a11c7=_0x1ee0e5['projection']?'EPSG:'+_0x1ee0e5[_0x15b78e(0x22e)]:'EPSG:4490';_0x1ee0e5[_0x15b78e(0x1e6)]=_0x1ee0e5['zoom']?_0x1ee0e5[_0x15b78e(0x1e6)]:0xa,_0x1ee0e5[_0x15b78e(0x1f8)]=_0x1ee0e5[_0x15b78e(0x1f8)]?_0x1ee0e5['minZoom']:0x0,_0x1ee0e5[_0x15b78e(0x1e5)]=_0x1ee0e5[_0x15b78e(0x1e5)]?_0x1ee0e5[_0x15b78e(0x1e5)]:0x1c,_0x1ee0e5[_0x15b78e(0x1f3)]=_0x1ee0e5[_0x15b78e(0x1f3)]?_0x1ee0e5['constrainResolution']:![],_0x1ee0e5['center']=_0x1ee0e5[_0x15b78e(0x233)]?_0x1ee0e5[_0x15b78e(0x233)]:[117.22718,31.820386],registerProj(_0x3a11c7);const _0x2629b7={'target':_0x454e81,'view':_0x1de232?_0x1de232:new a64_0x38676a({'center':_0x1ee0e5[_0x15b78e(0x233)],'zoom':_0x1ee0e5['zoom'],'projection':_0x3a11c7,'minZoom':_0x1ee0e5[_0x15b78e(0x1f8)],'maxZoom':_0x1ee0e5['maxZoom'],'minResolution':_0x1ee0e5[_0x15b78e(0x1f0)],'maxResolution':_0x1ee0e5[_0x15b78e(0x1f5)],'constrainResolution':_0x1ee0e5[_0x15b78e(0x1f3)]}),'controls':a64_0x407050({'zoom':![]})};super(_0x2629b7);_0x1ee0e5['extent']&&this[_0x15b78e(0x21b)]()['fit'](_0x1ee0e5[_0x15b78e(0x1d2)]);const _0xccdc68=this[_0x15b78e(0x1dc)]();if(_0xccdc68 instanceof HTMLElement)_0xccdc68[_0x15b78e(0x1fc)]=function(_0x56db07){return![];};else{const _0x363b99=document[_0x15b78e(0x1d7)](_0xccdc68);_0x363b99&&(_0x363b99[_0x15b78e(0x1fc)]=function(_0x3616de){return![];});}this['interactionManager']=new a64_0x2c7c51(this),this[_0x15b78e(0x1d0)]=new a64_0x202019(this),this[_0x15b78e(0x231)]=_0x1ee0e5;}[a64_0x4b5e53(0x21b)](){const _0x44eb83=a64_0x4b5e53;return super[_0x44eb83(0x21b)]();}[a64_0x4b5e53(0x223)](){const _0x4182e4=a64_0x4b5e53;let _0x13b955=this[_0x4182e4(0x21b)]()[_0x4182e4(0x1cb)]();_0x13b955&&this['getView']()['setResolution'](_0x13b955-1e-11);}[a64_0x4b5e53(0x1f1)](_0x4cd200){const _0x553f56=a64_0x4b5e53;var _0x321f0a;this[_0x553f56(0x21b)]()[_0x553f56(0x22b)](transformExtent(_0x4cd200['initialExtent'],(_0x321f0a=_0x4cd200[_0x553f56(0x22e)])===null||_0x321f0a===void 0x0?void 0x0:_0x321f0a['getCode'](),this['getView']()['getProjection']()['getCode']()));}['fitLayerById'](_0xb4570){let _0x2b7b2a=this['getLayerById'](_0xb4570);_0x2b7b2a&&this['fitLayer'](_0x2b7b2a);}async[a64_0x4b5e53(0x217)](_0x44d7cf){const _0x1e0e71=a64_0x4b5e53;let _0x563f44;switch(_0x44d7cf['layerType']){case _0x1e0e71(0x1d1):_0x563f44=await a64_0x34c941[_0x1e0e71(0x238)](_0x44d7cf);break;case'arcgis-dynamic':_0x563f44=await a64_0x34c941[_0x1e0e71(0x207)](_0x44d7cf);break;case'arcgis-tile':_0x563f44=await a64_0x34c941[_0x1e0e71(0x1fb)](_0x44d7cf);break;case'arcgis-wms':_0x563f44=await a64_0x34c941[_0x1e0e71(0x212)](_0x44d7cf);break;case _0x1e0e71(0x20a):_0x563f44=await a64_0x34c941[_0x1e0e71(0x1e1)](_0x44d7cf);break;case _0x1e0e71(0x227):_0x563f44=await a64_0x34c941[_0x1e0e71(0x210)](_0x44d7cf);break;case _0x1e0e71(0x213):_0x563f44=await a64_0x34c941[_0x1e0e71(0x1cd)](_0x44d7cf);break;case _0x1e0e71(0x205):_0x563f44=await a64_0x34c941[_0x1e0e71(0x1de)](_0x44d7cf);break;case _0x1e0e71(0x1f6):_0x563f44=await a64_0x34c941[_0x1e0e71(0x1c5)](_0x44d7cf);break;case _0x1e0e71(0x21f):_0x563f44=await a64_0x34c941[_0x1e0e71(0x1c6)](_0x44d7cf);break;default:throw new Error('暂不支持【'+_0x44d7cf[_0x1e0e71(0x1c9)]+'】服务类型');}return this[_0x1e0e71(0x1c7)](_0x563f44),this[_0x1e0e71(0x1d3)](new ChangeLayerEvent(_0x1e0e71(0x1ca),[_0x44d7cf['id']],_0x1e0e71(0x215))),_0x563f44;}async['addMapLayers'](_0x41c1a6){const _0x24af8b=a64_0x4b5e53;let _0x26ef55=[];const _0x5af312=[];for(let _0x5ad1da=0x0;_0x5ad1da<_0x41c1a6[_0x24af8b(0x230)];_0x5ad1da++){const _0x55126f=_0x41c1a6[_0x5ad1da];_0x5af312[_0x24af8b(0x20f)](_0x55126f['id']),_0x26ef55[_0x24af8b(0x20f)](this['addMapLayer'](_0x55126f));}const _0x3aed5c=await Promise[_0x24af8b(0x1db)](_0x26ef55);return this[_0x24af8b(0x1d3)](new ChangeLayerEvent(_0x24af8b(0x1ca),_0x5af312,_0x24af8b(0x215))),_0x3aed5c;}[a64_0x4b5e53(0x1c7)](_0x42f0c4,_0x538e00=![]){const _0x54c209=a64_0x4b5e53,_0x44592b=_0x42f0c4,_0x11e2cd=this[_0x54c209(0x1d5)](_0x44592b['id']);if(_0x11e2cd==null){const _0x49f861=_0x44592b['layerInfo']==undefined||_0x44592b[_0x54c209(0x211)][_0x54c209(0x1e9)]==undefined||_0x44592b['layerInfo'][_0x54c209(0x1e9)]<0x0?undefined:calculateResolution(_0x44592b['layerInfo'][_0x54c209(0x1e9)],this[_0x54c209(0x21b)]()['getProjection']()[_0x54c209(0x22a)]()||0x0);_0x42f0c4[_0x54c209(0x200)](_0x49f861);const _0x145df5=_0x44592b['layerInfo']==undefined||_0x44592b[_0x54c209(0x211)]['maxScale']==undefined||_0x44592b['layerInfo'][_0x54c209(0x1fd)]<0x0?undefined:calculateResolution(_0x44592b[_0x54c209(0x211)][_0x54c209(0x1fd)],this['getView']()['getProjection']()[_0x54c209(0x22a)]()||0x0);_0x42f0c4[_0x54c209(0x220)](_0x145df5);const _0x4ff31f=this[_0x54c209(0x236)]()[_0x54c209(0x20e)]()[_0x54c209(0x230)];if(!this['_options'][_0x54c209(0x22e)]&&_0x4ff31f==0x0&&_0x44592b['projection']&&_0x44592b[_0x54c209(0x22e)]['getCode']()!=this[_0x54c209(0x21b)]()[_0x54c209(0x214)]()['getCode']()){}let _0x13dc00=_0x42f0c4[_0x54c209(0x20b)]();_0x13dc00!=undefined&&_0x13dc00>_0x4ff31f&&(_0x13dc00=_0x4ff31f),this['getLayers']()[_0x54c209(0x209)](_0x13dc00==undefined?_0x4ff31f:_0x13dc00,_0x42f0c4),_0x538e00&&this[_0x54c209(0x1f1)](_0x44592b);}}[a64_0x4b5e53(0x204)](_0x5c22f7){const _0x93fb1=a64_0x4b5e53,_0x4e966d=this['getLayerById'](_0x5c22f7);_0x4e966d&&(this[_0x93fb1(0x237)](_0x4e966d),this['dispatchEvent'](new ChangeLayerEvent(_0x93fb1(0x1ca),[_0x5c22f7],_0x93fb1(0x232))));}[a64_0x4b5e53(0x1d5)](_0x802eba){const _0xade6d8=a64_0x4b5e53;let _0x4a885e,_0x30a4bc=this['getLayers']()[_0xade6d8(0x20e)]();for(let _0x2da9d6=0x0;_0x2da9d6<_0x30a4bc['length'];_0x2da9d6++){let _0x3b58b2=_0x30a4bc[_0x2da9d6]['id'];if(_0x802eba==_0x3b58b2){_0x4a885e=_0x30a4bc[_0x2da9d6];break;}}return _0x4a885e;}['getLayerByLayerTag'](_0x1e85de){const _0x100877=a64_0x4b5e53;let _0x5a6acb,_0x1aea0d=this[_0x100877(0x236)]()[_0x100877(0x20e)]();for(let _0x4ce345=0x0;_0x4ce345<_0x1aea0d[_0x100877(0x230)];_0x4ce345++){const _0x5ee92a=_0x1aea0d[_0x4ce345][_0x100877(0x211)];if(!_0x5ee92a)continue;let _0x4f8c26=_0x5ee92a[_0x100877(0x21d)];if(_0x4f8c26==_0x1e85de){_0x5a6acb=_0x1aea0d[_0x4ce345];break;}}return _0x5a6acb;}[a64_0x4b5e53(0x1ff)](_0x279220){const _0x36e412=a64_0x4b5e53;let _0x241620=this[_0x36e412(0x236)]()[_0x36e412(0x20e)]();return _0x241620[_0x36e412(0x206)](_0x43ec74=>_0x279220[_0x36e412(0x1c4)](_0x43ec74['id']));}['getTempLayerById'](_0x5807ef){const _0x3fd38c=a64_0x4b5e53;let _0xd88f3c,_0x55391a=this['getLayers']()['getArray']();for(let _0x41b0bf=0x0;_0x41b0bf<_0x55391a[_0x3fd38c(0x230)];_0x41b0bf++){const _0x1fce47=_0x55391a[_0x41b0bf];if(_0x1fce47['id']===_0x5807ef){_0xd88f3c=_0x1fce47;break;}}if(!_0xd88f3c){_0xd88f3c=new a64_0x58573b({'zIndex':0x270f,'source':new a64_0x24627d()}),_0xd88f3c['id']=_0x5807ef;const _0x359d09=this['getLayers']()['getLength']();switch(_0x5807ef){case _0x3fd38c(0x22f):this['getLayers']()[_0x3fd38c(0x209)](_0x359d09-0x1>-0x1?_0x359d09-0x1:0x0,_0xd88f3c);break;case'polygonTempLayer':this[_0x3fd38c(0x236)]()[_0x3fd38c(0x209)](_0x359d09-0x2>-0x1?_0x359d09-0x2:0x0,_0xd88f3c);break;case _0x3fd38c(0x1f2):this[_0x3fd38c(0x236)]()[_0x3fd38c(0x209)](_0x359d09,_0xd88f3c);break;default:break;}}return _0xd88f3c;}[a64_0x4b5e53(0x1e2)](){return this['getTempLayerById']('pointTempLayer');}[a64_0x4b5e53(0x1fa)](){const _0xe15f4=a64_0x4b5e53;return this[_0xe15f4(0x225)](_0xe15f4(0x22f));}[a64_0x4b5e53(0x1fe)](){const _0x10fad7=a64_0x4b5e53;return this[_0x10fad7(0x225)](_0x10fad7(0x229));}['getTempLayerByGeoType'](_0x2d8b3b){const _0x25c2ff=a64_0x4b5e53;let _0x311192=this[_0x25c2ff(0x1e2)]();switch(_0x2d8b3b){case _0x25c2ff(0x1ec):case _0x25c2ff(0x235):_0x311192=this[_0x25c2ff(0x1e2)]();case _0x25c2ff(0x1df):case'MultiLineString':_0x311192=this[_0x25c2ff(0x1fa)]();case'Polygon':case _0x25c2ff(0x1eb):_0x311192=this[_0x25c2ff(0x1fe)]();}return _0x311192;}['resetViewProjection'](_0x788ddf){const _0xe86bdb=a64_0x4b5e53;let _0x5303ab=this[_0xe86bdb(0x21b)]()[_0xe86bdb(0x21e)](),_0x97818c=this[_0xe86bdb(0x21b)]()['getMaxZoom']();registerProj(_0x788ddf),this[_0xe86bdb(0x21b)]()[_0xe86bdb(0x1ce)](_0x788ddf);}[a64_0x4b5e53(0x1dd)](){const _0x3c1705=a64_0x4b5e53;let _0x1e34e4=[];_0x1e34e4['push'](this[_0x3c1705(0x1e2)]()),_0x1e34e4[_0x3c1705(0x20f)](this[_0x3c1705(0x1fa)]()),_0x1e34e4[_0x3c1705(0x20f)](this[_0x3c1705(0x1fe)]());const _0x4ffe02=this[_0x3c1705(0x236)]()[_0x3c1705(0x20e)]()[_0x3c1705(0x230)];for(let _0x231446=0x0;_0x231446<_0x1e34e4['length'];_0x231446++){const _0x543840=_0x1e34e4[_0x231446];this[_0x3c1705(0x236)]()[_0x3c1705(0x209)](_0x4ffe02-_0x231446-0x1,_0x543840);}}[a64_0x4b5e53(0x1d4)](){const _0x102073=a64_0x4b5e53;return this['getView']()[_0x102073(0x1e0)](this[_0x102073(0x216)]());}['addWKT'](_0x54405a,_0x122d4e,_0x41366d,_0x4f7dec=!![],_0x434857,_0x833797={'color':a64_0x4b5e53(0x1d6),'opacity':0.2,'outlineColor':'rgba(255,\x200,\x200,\x201)','outlineWidth':0x2}){const _0x5ab764=a64_0x4b5e53;var _0x82e079;const _0x8c81ed=fromWKT(_0x54405a,_0x122d4e,this['getView']()[_0x5ab764(0x214)]()[_0x5ab764(0x219)]());if(!_0x8c81ed)return;const _0x59d104=this[_0x5ab764(0x1c8)](_0x8c81ed[_0x5ab764(0x221)]()),_0x3d59cc=getStyle(_0x833797),_0x3750ac=new a64_0xfa8e74();return _0x3750ac[_0x5ab764(0x1e8)](_0x8c81ed),_0x3750ac[_0x5ab764(0x21c)](_0x3d59cc),_0x434857?_0x3750ac['setProperties'](_0x434857):_0x3750ac[_0x5ab764(0x201)]({}),_0x3750ac[_0x5ab764(0x218)]=_0x41366d,(_0x82e079=_0x59d104[_0x5ab764(0x1e3)]())===null||_0x82e079===void 0x0?void 0x0:_0x82e079[_0x5ab764(0x208)](_0x3750ac),_0x4f7dec&&this[_0x5ab764(0x1e7)](_0x8c81ed,undefined,1.2,![]),_0x3750ac;}[a64_0x4b5e53(0x202)](_0x2dad69,_0x792e79,_0x4f3936,_0x5459bc=!![],_0x29089f={'color':a64_0x4b5e53(0x1d6),'opacity':0.2,'outlineColor':a64_0x4b5e53(0x1f7),'outlineWidth':0x2},_0x173ef3){const _0x49ce4d=a64_0x4b5e53;var _0x46cf3c;const _0x230cbb=fromWKTs(_0x2dad69,_0x792e79,this[_0x49ce4d(0x21b)]()['getProjection']()[_0x49ce4d(0x219)]());if(!_0x230cbb||_0x230cbb[_0x49ce4d(0x230)]==0x0)return;const _0x1abb8c=this[_0x49ce4d(0x1c8)](_0x230cbb[0x0]['getType']()),_0x47def0=getStyle(_0x29089f);let _0x4502b6=[];for(const _0x378178 of _0x230cbb){const _0x11b4d4=new a64_0xfa8e74();_0x11b4d4[_0x49ce4d(0x1e8)](_0x378178),_0x11b4d4['setStyle'](_0x47def0),_0x173ef3?_0x11b4d4[_0x49ce4d(0x201)](_0x173ef3):_0x11b4d4[_0x49ce4d(0x201)]({}),_0x11b4d4[_0x49ce4d(0x1ee)]=_0x49ce4d(0x203),_0x11b4d4['isSelected']=!![],_0x11b4d4[_0x49ce4d(0x218)]=_0x4f3936,_0x4502b6[_0x49ce4d(0x20f)](_0x11b4d4);}return(_0x46cf3c=_0x1abb8c[_0x49ce4d(0x1e3)]())===null||_0x46cf3c===void 0x0?void 0x0:_0x46cf3c['addFeatures'](_0x4502b6),_0x5459bc&&this[_0x49ce4d(0x1cf)](_0x230cbb,undefined,1.2,![]),_0x4502b6;}[a64_0x4b5e53(0x20c)](_0x1bc0be,_0x59d729,_0x1ee1c8=1.2,_0x5e4398=!![]){const _0x3700d9=a64_0x4b5e53;if(!_0x1bc0be)return;let _0x55ca08=fromWKT(_0x1bc0be,_0x59d729,this[_0x3700d9(0x21b)]()[_0x3700d9(0x214)]()[_0x3700d9(0x219)]());if(!_0x55ca08)return;this[_0x3700d9(0x1e7)](_0x55ca08,_0x59d729,_0x1ee1c8,_0x5e4398);}[a64_0x4b5e53(0x1ea)](_0x135528,_0x3b9a39,_0x9ed135=1.2,_0x1c81a8=!![]){const _0x2479d9=a64_0x4b5e53;if(!_0x135528||_0x135528[_0x2479d9(0x230)]===0x0)return;const _0x5846c2=[];for(let _0x9256dd=0x0;_0x9256dd<_0x135528['length'];_0x9256dd++){let _0x869fcf=_0x135528[_0x9256dd],_0x5ba39b=fromWKT(_0x869fcf,_0x3b9a39,this[_0x2479d9(0x21b)]()[_0x2479d9(0x214)]()[_0x2479d9(0x219)]());if(!_0x5ba39b)continue;_0x5846c2[_0x2479d9(0x20f)](_0x5ba39b);}this[_0x2479d9(0x1cf)](_0x5846c2,_0x3b9a39,_0x9ed135,_0x1c81a8);}[a64_0x4b5e53(0x1e7)](_0xb5583d,_0x2e164c,_0x458d30=1.2,_0x50030d=!![]){const _0x4cecbf=a64_0x4b5e53;if(!_0xb5583d)return;let _0x188268=_0xb5583d;_0x2e164c&&(_0x188268=_0xb5583d[_0x4cecbf(0x20d)](_0x2e164c,this[_0x4cecbf(0x21b)]()[_0x4cecbf(0x214)]()));switch(_0x188268[_0x4cecbf(0x221)]()){case _0x4cecbf(0x1ec):this[_0x4cecbf(0x21b)]()[_0x4cecbf(0x1da)](_0x188268[_0x4cecbf(0x239)]());break;case _0x4cecbf(0x21a):case _0x4cecbf(0x235):case'MultiLineString':case _0x4cecbf(0x1eb):case _0x4cecbf(0x1e4):this[_0x4cecbf(0x21b)]()[_0x4cecbf(0x22b)](expandExtent(_0x188268[_0x4cecbf(0x1d4)](),_0x458d30));break;}if(_0x50030d){const _0x493cf7=new a64_0x5e1c38(this);_0x493cf7[_0x4cecbf(0x228)]([_0x188268],0x3);}}[a64_0x4b5e53(0x1cf)](_0x2dd34e,_0x402532,_0x3d4d29=1.2,_0x591ca2=!![]){const _0x1b9231=a64_0x4b5e53;if(!_0x2dd34e||_0x2dd34e[_0x1b9231(0x230)]===0x0)return;let _0x2ef257=null;for(const _0xbd7a4d of _0x2dd34e){_0x2ef257?_0x2ef257=union(_0x2ef257,_0xbd7a4d):_0x2ef257=_0xbd7a4d;}_0x2ef257&&this['locationGeometry'](_0x2ef257,_0x402532,_0x3d4d29,![]);if(_0x591ca2){const _0x4da799=new a64_0x5e1c38(this);_0x4da799[_0x1b9231(0x228)](_0x2dd34e,0x3);}}}
1
+ const a64_0x872a32=a64_0x413e;(function(_0x16025d,_0x8f036c){const _0x16afdb=a64_0x413e,_0x4d23fe=_0x16025d();while(!![]){try{const _0x2fe6a8=parseInt(_0x16afdb(0x20f))/0x1+-parseInt(_0x16afdb(0x1da))/0x2*(parseInt(_0x16afdb(0x1ee))/0x3)+-parseInt(_0x16afdb(0x1bb))/0x4+-parseInt(_0x16afdb(0x1e8))/0x5+-parseInt(_0x16afdb(0x1d9))/0x6*(-parseInt(_0x16afdb(0x214))/0x7)+parseInt(_0x16afdb(0x1d2))/0x8+parseInt(_0x16afdb(0x21f))/0x9;if(_0x2fe6a8===_0x8f036c)break;else _0x4d23fe['push'](_0x4d23fe['shift']());}catch(_0x1307e2){_0x4d23fe['push'](_0x4d23fe['shift']());}}}(a64_0x4389,0x346c2));import'ol/ol.css';function a64_0x4389(){const _0x40053c=['setProperties','sortTemLayer','tdt-c','371365LaXodg','getSize','arcgis-dynamic','fitLayerById','addWKT','暂不支持【','435wZaFER','LineString','flashGeometrys','fitLayer','addMapLayers','Polygon','center','import','refresh','MultiPoint','add','locationWKTs','layerInfo','geoserver-vector-tile','getProjection','zoom','getArray','fromType','layerIds','geoserver-wmts','setGeometry','getZIndex','getType','getLineTempLayer','arcgis-wmts','rgba(255,\x200,\x200,\x201)','maxZoom','dispatchEvent','filter','addFeature','minResolution','projection','getCode','231571dKRdNF','pointTempLayer','Point','getView','changetype','7TMdPME','lineTempLayer','EPSG:','maxScale','getArcgisWmsLayer','layerType','minZoom','addWKTs','tag','MultiLineString','getExtent','2656656sWGtSn','includes','getPointTempLayer','getResolution','oncontextmenu','insertAt','layerTag','MultiPolygon','getMaxZoom','interactionManager','】服务类型','getGeoserverWmsLayer','getElementById','531712AsoKqF','getTempLayerById','locationGeometrys','arcgis-feature','setMaxResolution','initialExtent','controlManager','setStyle','_options','getGeoserverVectorTileLayer','removeLayer','rgba(255,\x200,\x200,\x200.2)','getArcgisFeatureLayer','locationGeometry','getTempLayerByGeoType','length','minScale','locationWKT','changelayer','getLayerById','all','setMinResolution','addMapLayer','316672fvcrXa','constrainResolution','getSource','getLength','getTDTLayer','extent','getLayers','971814GbVpvX','4226WOblqf','push','transform','addLayer','remove','setResolution','getCoordinates','getPolygonTempLayer','fit','getArcgisWMTSLayer','arcgis-tile'];a64_0x4389=function(){return _0x40053c;};return a64_0x4389();}import'../assets/main.css';import a64_0x4cb56c from'ol/Map';import a64_0x9cdb53 from'ol/events/Event';import{defaults as a64_0x637e67}from'ol/control';function a64_0x413e(_0x3906c7,_0x4a3293){const _0x43896b=a64_0x4389();return a64_0x413e=function(_0x413ed7,_0x138270){_0x413ed7=_0x413ed7-0x1af;let _0x4587d6=_0x43896b[_0x413ed7];return _0x4587d6;},a64_0x413e(_0x3906c7,_0x4a3293);}import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a64_0x48c9d0 from'../layers/LayerManager';import a64_0x514183 from'ol/layer/Vector';import a64_0x34edac from'ol/source/Vector';import a64_0x4d8fca from'../controls/ControlManager';import a64_0x1b1905 from'../entity/Feature';import a64_0x64f16b from'../interaction/InteractionManager';import a64_0x10d466 from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a64_0x308eab from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a64_0x9cdb53{constructor(_0x1b1dae,_0x3e5c38,_0x162edd){const _0x3164ec=a64_0x413e;super(_0x1b1dae),this[_0x3164ec(0x200)]=_0x3e5c38,this[_0x3164ec(0x213)]=_0x162edd;}}export default class OLMap extends a64_0x4cb56c{constructor(_0x2282bd,_0x1016f0,_0x9c1f49){const _0x3d78b0=a64_0x413e;_0x1016f0=_0x1016f0?_0x1016f0:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x761262=_0x1016f0[_0x3d78b0(0x20d)]?_0x3d78b0(0x216)+_0x1016f0[_0x3d78b0(0x20d)]:'EPSG:4490';_0x1016f0[_0x3d78b0(0x1fd)]=_0x1016f0[_0x3d78b0(0x1fd)]?_0x1016f0['zoom']:0xa,_0x1016f0[_0x3d78b0(0x21a)]=_0x1016f0[_0x3d78b0(0x21a)]?_0x1016f0[_0x3d78b0(0x21a)]:0x0,_0x1016f0[_0x3d78b0(0x208)]=_0x1016f0[_0x3d78b0(0x208)]?_0x1016f0[_0x3d78b0(0x208)]:0x1c,_0x1016f0['constrainResolution']=_0x1016f0[_0x3d78b0(0x1d3)]?_0x1016f0[_0x3d78b0(0x1d3)]:![],_0x1016f0[_0x3d78b0(0x1f4)]=_0x1016f0['center']?_0x1016f0[_0x3d78b0(0x1f4)]:[117.22718,31.820386],registerProj(_0x761262);const _0x162378={'target':_0x2282bd,'view':_0x9c1f49?_0x9c1f49:new a64_0x10d466({'center':_0x1016f0[_0x3d78b0(0x1f4)],'zoom':_0x1016f0[_0x3d78b0(0x1fd)],'projection':_0x761262,'minZoom':_0x1016f0[_0x3d78b0(0x21a)],'maxZoom':_0x1016f0['maxZoom'],'minResolution':_0x1016f0[_0x3d78b0(0x20c)],'maxResolution':_0x1016f0['maxResolution'],'constrainResolution':_0x1016f0['constrainResolution']}),'controls':a64_0x637e67({'zoom':![]})};super(_0x162378);_0x1016f0[_0x3d78b0(0x1d7)]&&this[_0x3d78b0(0x212)]()[_0x3d78b0(0x1e2)](_0x1016f0['extent']);const _0xab139e=this['getTarget']();if(_0xab139e instanceof HTMLElement)_0xab139e[_0x3d78b0(0x1b2)]=function(_0x5ef46d){return![];};else{const _0x1428c8=document[_0x3d78b0(0x1ba)](_0xab139e);_0x1428c8&&(_0x1428c8[_0x3d78b0(0x1b2)]=function(_0x4a036f){return![];});}this[_0x3d78b0(0x1b7)]=new a64_0x64f16b(this),this[_0x3d78b0(0x1c1)]=new a64_0x4d8fca(this),this['_options']=_0x1016f0;}[a64_0x872a32(0x212)](){const _0xa8ac5=a64_0x872a32;return super[_0xa8ac5(0x212)]();}[a64_0x872a32(0x1f6)](){const _0x3b33ee=a64_0x872a32;let _0x18d81f=this['getView']()[_0x3b33ee(0x1b1)]();_0x18d81f&&this[_0x3b33ee(0x212)]()[_0x3b33ee(0x1df)](_0x18d81f-1e-11);}[a64_0x872a32(0x1f1)](_0x4823ed){const _0x4922a1=a64_0x872a32;var _0x51014d;this[_0x4922a1(0x212)]()[_0x4922a1(0x1e2)](transformExtent(_0x4823ed[_0x4922a1(0x1c0)],(_0x51014d=_0x4823ed['projection'])===null||_0x51014d===void 0x0?void 0x0:_0x51014d[_0x4922a1(0x20e)](),this['getView']()[_0x4922a1(0x1fc)]()[_0x4922a1(0x20e)]()));}[a64_0x872a32(0x1eb)](_0x3b116b){const _0x18fbc7=a64_0x872a32;let _0x95d628=this['getLayerById'](_0x3b116b);_0x95d628&&this[_0x18fbc7(0x1f1)](_0x95d628);}async[a64_0x872a32(0x1d1)](_0x467f8d){const _0x3d9b51=a64_0x872a32;let _0x18a9c0;switch(_0x467f8d[_0x3d9b51(0x219)]){case _0x3d9b51(0x1be):_0x18a9c0=await a64_0x48c9d0[_0x3d9b51(0x1c7)](_0x467f8d);break;case _0x3d9b51(0x1ea):_0x18a9c0=await a64_0x48c9d0['getDynamicLayer'](_0x467f8d);break;case _0x3d9b51(0x1e4):_0x18a9c0=await a64_0x48c9d0['getArcgisTileLayer'](_0x467f8d);break;case'arcgis-wms':_0x18a9c0=await a64_0x48c9d0[_0x3d9b51(0x218)](_0x467f8d);break;case _0x3d9b51(0x206):_0x18a9c0=await a64_0x48c9d0[_0x3d9b51(0x1e3)](_0x467f8d);break;case'geoserver-wms':_0x18a9c0=await a64_0x48c9d0[_0x3d9b51(0x1b9)](_0x467f8d);break;case'geoserver-wfs':_0x18a9c0=await a64_0x48c9d0['getGeoserverWFSLayer'](_0x467f8d);break;case _0x3d9b51(0x201):_0x18a9c0=await a64_0x48c9d0['getGeoserverWMTSLayer'](_0x467f8d);break;case _0x3d9b51(0x1fb):_0x18a9c0=await a64_0x48c9d0[_0x3d9b51(0x1c4)](_0x467f8d);break;case _0x3d9b51(0x1e7):_0x18a9c0=await a64_0x48c9d0[_0x3d9b51(0x1d6)](_0x467f8d);break;default:throw new Error(_0x3d9b51(0x1ed)+_0x467f8d[_0x3d9b51(0x219)]+_0x3d9b51(0x1b8));}return this['addLayer'](_0x18a9c0),this[_0x3d9b51(0x209)](new ChangeLayerEvent(_0x3d9b51(0x1cd),[_0x467f8d['id']],_0x3d9b51(0x1f8))),_0x18a9c0;}async[a64_0x872a32(0x1f2)](_0x5f06f2){const _0x2c3362=a64_0x872a32;let _0x39b12b=[];const _0x269e5b=[];for(let _0x3d8ec5=0x0;_0x3d8ec5<_0x5f06f2[_0x2c3362(0x1ca)];_0x3d8ec5++){const _0x2d178e=_0x5f06f2[_0x3d8ec5];_0x269e5b[_0x2c3362(0x1db)](_0x2d178e['id']),_0x39b12b[_0x2c3362(0x1db)](this['addMapLayer'](_0x2d178e));}const _0x1f47f1=await Promise[_0x2c3362(0x1cf)](_0x39b12b);return this['dispatchEvent'](new ChangeLayerEvent('changelayer',_0x269e5b,'add')),_0x1f47f1;}[a64_0x872a32(0x1dd)](_0x9ddcc9,_0x2433c6=![]){const _0x486262=a64_0x872a32,_0x3304d6=_0x9ddcc9,_0x44c2d7=this[_0x486262(0x1ce)](_0x3304d6['id']);if(_0x44c2d7==null){const _0x46bf40=_0x3304d6[_0x486262(0x1fa)]==undefined||_0x3304d6[_0x486262(0x1fa)][_0x486262(0x1cb)]==undefined||_0x3304d6[_0x486262(0x1fa)][_0x486262(0x1cb)]<0x0?undefined:calculateResolution(_0x3304d6[_0x486262(0x1fa)][_0x486262(0x1cb)],this['getView']()[_0x486262(0x1fc)]()['getMetersPerUnit']()||0x0);_0x9ddcc9[_0x486262(0x1d0)](_0x46bf40);const _0x3fa47c=_0x3304d6[_0x486262(0x1fa)]==undefined||_0x3304d6[_0x486262(0x1fa)]['maxScale']==undefined||_0x3304d6[_0x486262(0x1fa)][_0x486262(0x217)]<0x0?undefined:calculateResolution(_0x3304d6['layerInfo'][_0x486262(0x217)],this['getView']()[_0x486262(0x1fc)]()['getMetersPerUnit']()||0x0);_0x9ddcc9[_0x486262(0x1bf)](_0x3fa47c);const _0x27b678=this[_0x486262(0x1d8)]()['getArray']()[_0x486262(0x1ca)];if(!this[_0x486262(0x1c3)][_0x486262(0x20d)]&&_0x27b678==0x0&&_0x3304d6['projection']&&_0x3304d6[_0x486262(0x20d)][_0x486262(0x20e)]()!=this[_0x486262(0x212)]()[_0x486262(0x1fc)]()[_0x486262(0x20e)]()){}let _0x293c00=_0x9ddcc9[_0x486262(0x203)]();_0x293c00!=undefined&&_0x293c00>_0x27b678&&(_0x293c00=_0x27b678),this[_0x486262(0x1d8)]()['insertAt'](_0x293c00==undefined?_0x27b678:_0x293c00,_0x9ddcc9),_0x2433c6&&this[_0x486262(0x1f1)](_0x3304d6);}}['removeLayerById'](_0x15f5ce){const _0x3f52a7=a64_0x872a32,_0x59896d=this[_0x3f52a7(0x1ce)](_0x15f5ce);_0x59896d&&(this[_0x3f52a7(0x1c5)](_0x59896d),this[_0x3f52a7(0x209)](new ChangeLayerEvent(_0x3f52a7(0x1cd),[_0x15f5ce],_0x3f52a7(0x1de))));}[a64_0x872a32(0x1ce)](_0x229f7e){const _0x2b18b9=a64_0x872a32;let _0x3a3690,_0x392536=this['getLayers']()[_0x2b18b9(0x1fe)]();for(let _0x140eac=0x0;_0x140eac<_0x392536[_0x2b18b9(0x1ca)];_0x140eac++){let _0x3b3234=_0x392536[_0x140eac]['id'];if(_0x229f7e==_0x3b3234){_0x3a3690=_0x392536[_0x140eac];break;}}return _0x3a3690;}['getLayerByLayerTag'](_0x28f324){const _0x31117e=a64_0x872a32;let _0x351f43,_0x21cdde=this[_0x31117e(0x1d8)]()[_0x31117e(0x1fe)]();for(let _0x31105c=0x0;_0x31105c<_0x21cdde[_0x31117e(0x1ca)];_0x31105c++){const _0x5a90fd=_0x21cdde[_0x31105c][_0x31117e(0x1fa)];if(!_0x5a90fd)continue;let _0x4b5ff9=_0x5a90fd[_0x31117e(0x1b4)];if(_0x4b5ff9==_0x28f324){_0x351f43=_0x21cdde[_0x31105c];break;}}return _0x351f43;}['getLayersByIds'](_0x3bbcad){const _0x3c43b5=a64_0x872a32;let _0x68ec81=this[_0x3c43b5(0x1d8)]()['getArray']();return _0x68ec81[_0x3c43b5(0x20a)](_0x1e7754=>_0x3bbcad[_0x3c43b5(0x1af)](_0x1e7754['id']));}[a64_0x872a32(0x1bc)](_0x73a0c1){const _0x51f231=a64_0x872a32;let _0x18d02a,_0x27d2db=this[_0x51f231(0x1d8)]()[_0x51f231(0x1fe)]();for(let _0x41a7c4=0x0;_0x41a7c4<_0x27d2db[_0x51f231(0x1ca)];_0x41a7c4++){const _0x2375df=_0x27d2db[_0x41a7c4];if(_0x2375df['id']===_0x73a0c1){_0x18d02a=_0x2375df;break;}}if(!_0x18d02a){_0x18d02a=new a64_0x514183({'zIndex':0x270f,'source':new a64_0x34edac()}),_0x18d02a['id']=_0x73a0c1;const _0x59f3fe=this['getLayers']()[_0x51f231(0x1d5)]();switch(_0x73a0c1){case _0x51f231(0x215):this[_0x51f231(0x1d8)]()['insertAt'](_0x59f3fe-0x1>-0x1?_0x59f3fe-0x1:0x0,_0x18d02a);break;case'polygonTempLayer':this[_0x51f231(0x1d8)]()[_0x51f231(0x1b3)](_0x59f3fe-0x2>-0x1?_0x59f3fe-0x2:0x0,_0x18d02a);break;case'pointTempLayer':this[_0x51f231(0x1d8)]()[_0x51f231(0x1b3)](_0x59f3fe,_0x18d02a);break;default:break;}}return _0x18d02a;}[a64_0x872a32(0x1b0)](){const _0x15f30a=a64_0x872a32;return this['getTempLayerById'](_0x15f30a(0x210));}[a64_0x872a32(0x205)](){const _0x43e722=a64_0x872a32;return this[_0x43e722(0x1bc)](_0x43e722(0x215));}['getPolygonTempLayer'](){const _0x2573c0=a64_0x872a32;return this[_0x2573c0(0x1bc)]('polygonTempLayer');}['getTempLayerByGeoType'](_0xca674){const _0x117bad=a64_0x872a32;let _0x296cfa=this[_0x117bad(0x1b0)]();switch(_0xca674){case _0x117bad(0x211):case _0x117bad(0x1f7):_0x296cfa=this[_0x117bad(0x1b0)]();case _0x117bad(0x1ef):case _0x117bad(0x21d):_0x296cfa=this[_0x117bad(0x205)]();case _0x117bad(0x1f3):case _0x117bad(0x1b5):_0x296cfa=this[_0x117bad(0x1e1)]();}return _0x296cfa;}['resetViewProjection'](_0x13dc9d){const _0x232041=a64_0x872a32;let _0x515bc4=this[_0x232041(0x212)]()['getMinZoom'](),_0x1c1e26=this[_0x232041(0x212)]()[_0x232041(0x1b6)]();registerProj(_0x13dc9d),this[_0x232041(0x212)]()['setProjection'](_0x13dc9d);}[a64_0x872a32(0x1e6)](){const _0x4f5394=a64_0x872a32;let _0x10c726=[];_0x10c726['push'](this[_0x4f5394(0x1b0)]()),_0x10c726['push'](this[_0x4f5394(0x205)]()),_0x10c726[_0x4f5394(0x1db)](this['getPolygonTempLayer']());const _0x1c0710=this[_0x4f5394(0x1d8)]()[_0x4f5394(0x1fe)]()[_0x4f5394(0x1ca)];for(let _0x1360cc=0x0;_0x1360cc<_0x10c726['length'];_0x1360cc++){const _0x111b59=_0x10c726[_0x1360cc];this[_0x4f5394(0x1d8)]()[_0x4f5394(0x1b3)](_0x1c0710-_0x1360cc-0x1,_0x111b59);}}[a64_0x872a32(0x21e)](){const _0x19e26d=a64_0x872a32;return this[_0x19e26d(0x212)]()['calculateExtent'](this[_0x19e26d(0x1e9)]());}[a64_0x872a32(0x1ec)](_0x2b5e21,_0x247d97,_0x2e9f2d,_0x360676=!![],_0x390cc1,_0x1246d0={'color':a64_0x872a32(0x1c6),'opacity':0.2,'outlineColor':'rgba(255,\x200,\x200,\x201)','outlineWidth':0x2}){const _0x5d7891=a64_0x872a32;var _0x36cf19;const _0x2262f7=fromWKT(_0x2b5e21,_0x247d97,this[_0x5d7891(0x212)]()['getProjection']()[_0x5d7891(0x20e)]());if(!_0x2262f7)return;const _0x442695=this[_0x5d7891(0x1c9)](_0x2262f7[_0x5d7891(0x204)]()),_0x412881=getStyle(_0x1246d0),_0x1fa8c4=new a64_0x1b1905();return _0x1fa8c4[_0x5d7891(0x202)](_0x2262f7),_0x1fa8c4[_0x5d7891(0x1c2)](_0x412881),_0x390cc1?_0x1fa8c4['setProperties'](_0x390cc1):_0x1fa8c4[_0x5d7891(0x1e5)]({}),_0x1fa8c4[_0x5d7891(0x21c)]=_0x2e9f2d,(_0x36cf19=_0x442695[_0x5d7891(0x1d4)]())===null||_0x36cf19===void 0x0?void 0x0:_0x36cf19[_0x5d7891(0x20b)](_0x1fa8c4),_0x360676&&this['locationGeometry'](_0x2262f7,undefined,1.2,![]),_0x1fa8c4;}[a64_0x872a32(0x21b)](_0xc05551,_0x720ab5,_0x7afb4b,_0x109c6f=!![],_0x1e13c2={'color':a64_0x872a32(0x1c6),'opacity':0.2,'outlineColor':a64_0x872a32(0x207),'outlineWidth':0x2},_0x3ec062){const _0x1ba276=a64_0x872a32;var _0x56fa6b;const _0x2f57c9=fromWKTs(_0xc05551,_0x720ab5,this['getView']()['getProjection']()['getCode']());if(!_0x2f57c9||_0x2f57c9['length']==0x0)return;const _0x205aff=this[_0x1ba276(0x1c9)](_0x2f57c9[0x0]['getType']()),_0x114535=getStyle(_0x1e13c2);let _0x12d73d=[];for(const _0x1828cd of _0x2f57c9){const _0x2f73a5=new a64_0x1b1905();_0x2f73a5['setGeometry'](_0x1828cd),_0x2f73a5[_0x1ba276(0x1c2)](_0x114535),_0x3ec062?_0x2f73a5[_0x1ba276(0x1e5)](_0x3ec062):_0x2f73a5[_0x1ba276(0x1e5)]({}),_0x2f73a5[_0x1ba276(0x1ff)]=_0x1ba276(0x1f5),_0x2f73a5['isSelected']=!![],_0x2f73a5['tag']=_0x7afb4b,_0x12d73d['push'](_0x2f73a5);}return(_0x56fa6b=_0x205aff[_0x1ba276(0x1d4)]())===null||_0x56fa6b===void 0x0?void 0x0:_0x56fa6b['addFeatures'](_0x12d73d),_0x109c6f&&this[_0x1ba276(0x1bd)](_0x2f57c9,undefined,1.2,![]),_0x12d73d;}[a64_0x872a32(0x1cc)](_0x585680,_0x222952,_0x57a25f=1.2,_0x416aa7=!![]){const _0x43ed59=a64_0x872a32;if(!_0x585680)return;let _0x401f9c=fromWKT(_0x585680,_0x222952,this[_0x43ed59(0x212)]()[_0x43ed59(0x1fc)]()[_0x43ed59(0x20e)]());if(!_0x401f9c)return;this[_0x43ed59(0x1c8)](_0x401f9c,_0x222952,_0x57a25f,_0x416aa7);}[a64_0x872a32(0x1f9)](_0x43d2b4,_0x105ac6,_0x10d381=1.2,_0x133b1d=!![]){const _0x4665b4=a64_0x872a32;if(!_0x43d2b4||_0x43d2b4[_0x4665b4(0x1ca)]===0x0)return;const _0x3555e0=[];for(let _0x4c42dc=0x0;_0x4c42dc<_0x43d2b4[_0x4665b4(0x1ca)];_0x4c42dc++){let _0x5f33e1=_0x43d2b4[_0x4c42dc],_0xa29300=fromWKT(_0x5f33e1,_0x105ac6,this['getView']()[_0x4665b4(0x1fc)]()[_0x4665b4(0x20e)]());if(!_0xa29300)continue;_0x3555e0[_0x4665b4(0x1db)](_0xa29300);}this[_0x4665b4(0x1bd)](_0x3555e0,_0x105ac6,_0x10d381,_0x133b1d);}[a64_0x872a32(0x1c8)](_0x4778a8,_0x50a36b,_0x36d962=1.2,_0x3c330e=!![]){const _0x348f0d=a64_0x872a32;if(!_0x4778a8)return;let _0x52a34b=_0x4778a8;_0x50a36b&&(_0x52a34b=_0x4778a8[_0x348f0d(0x1dc)](_0x50a36b,this[_0x348f0d(0x212)]()['getProjection']()));switch(_0x52a34b['getType']()){case'Point':this[_0x348f0d(0x212)]()['setCenter'](_0x52a34b[_0x348f0d(0x1e0)]());break;case _0x348f0d(0x1f3):case _0x348f0d(0x1f7):case _0x348f0d(0x21d):case _0x348f0d(0x1b5):case'GeometryCollection':this['getView']()[_0x348f0d(0x1e2)](expandExtent(_0x52a34b[_0x348f0d(0x21e)](),_0x36d962));break;}if(_0x3c330e){const _0xd5d179=new a64_0x308eab(this);_0xd5d179[_0x348f0d(0x1f0)]([_0x52a34b],0x3);}}[a64_0x872a32(0x1bd)](_0x387439,_0x3b8e4a,_0x1b19ca=1.2,_0x482941=!![]){const _0x96b766=a64_0x872a32;if(!_0x387439||_0x387439['length']===0x0)return;let _0x453292=null;for(const _0x443bf9 of _0x387439){_0x453292?_0x453292=union(_0x453292,_0x443bf9):_0x453292=_0x443bf9;}_0x453292&&this['locationGeometry'](_0x453292,_0x3b8e4a,_0x1b19ca,![]);if(_0x482941){const _0x33b690=new a64_0x308eab(this);_0x33b690[_0x96b766(0x1f0)](_0x387439,0x3);}}}
package/mapView/View.js CHANGED
@@ -1 +1 @@
1
- (function(_0xe616dc,_0x2cfa3c){var _0x495490=a65_0x166a,_0xb69e9=_0xe616dc();while(!![]){try{var _0x2c2c9a=-parseInt(_0x495490(0x8a))/0x1+-parseInt(_0x495490(0x80))/0x2+-parseInt(_0x495490(0x83))/0x3*(parseInt(_0x495490(0x7d))/0x4)+parseInt(_0x495490(0x89))/0x5*(-parseInt(_0x495490(0x7e))/0x6)+parseInt(_0x495490(0x7f))/0x7*(-parseInt(_0x495490(0x81))/0x8)+-parseInt(_0x495490(0x84))/0x9*(-parseInt(_0x495490(0x87))/0xa)+-parseInt(_0x495490(0x88))/0xb*(-parseInt(_0x495490(0x86))/0xc);if(_0x2c2c9a===_0x2cfa3c)break;else _0xb69e9['push'](_0xb69e9['shift']());}catch(_0x4a6827){_0xb69e9['push'](_0xb69e9['shift']());}}}(a65_0x5d4e,0x3d057));function a65_0x5d4e(){var _0x1af3df=['83772aVLPaW','3370nVUrFh','1199KLOHdL','1875BHqjno','13476hxZgob','460ESgsbg','48RURdZX','1219785YShPyo','232868mBgmjF','16vRRqlI','projection_','4701JffqnJ','4023wXuuyO','setProperties'];a65_0x5d4e=function(){return _0x1af3df;};return a65_0x5d4e();}import a65_0x4e86bf from'ol/View';function a65_0x166a(_0xffaaaf,_0x128aaf){var _0x5d4e04=a65_0x5d4e();return a65_0x166a=function(_0x166ad3,_0x3825fc){_0x166ad3=_0x166ad3-0x7d;var _0x193bab=_0x5d4e04[_0x166ad3];return _0x193bab;},a65_0x166a(_0xffaaaf,_0x128aaf);}import{get}from'ol/proj';export default class OLView extends a65_0x4e86bf{constructor(_0x38994a){super(_0x38994a);}['setProjection'](_0x1fb839){var _0xa80532=a65_0x166a;this[_0xa80532(0x82)]=get(_0x1fb839),this[_0xa80532(0x85)]({'projection_':get(_0x1fb839)});}}
1
+ function a65_0x4a2c(_0x5e67e9,_0x4f4737){var _0x26a187=a65_0x26a1();return a65_0x4a2c=function(_0x4a2c7b,_0x4e674c){_0x4a2c7b=_0x4a2c7b-0xce;var _0x1946cf=_0x26a187[_0x4a2c7b];return _0x1946cf;},a65_0x4a2c(_0x5e67e9,_0x4f4737);}var a65_0x1a676b=a65_0x4a2c;(function(_0x472e5c,_0x55e646){var _0x29d0e0=a65_0x4a2c,_0x4713cc=_0x472e5c();while(!![]){try{var _0x5b34f6=parseInt(_0x29d0e0(0xd3))/0x1+-parseInt(_0x29d0e0(0xda))/0x2+parseInt(_0x29d0e0(0xd9))/0x3+-parseInt(_0x29d0e0(0xd7))/0x4+-parseInt(_0x29d0e0(0xd6))/0x5*(-parseInt(_0x29d0e0(0xd5))/0x6)+parseInt(_0x29d0e0(0xd1))/0x7*(-parseInt(_0x29d0e0(0xd8))/0x8)+parseInt(_0x29d0e0(0xcf))/0x9*(-parseInt(_0x29d0e0(0xd2))/0xa);if(_0x5b34f6===_0x55e646)break;else _0x4713cc['push'](_0x4713cc['shift']());}catch(_0x34acc3){_0x4713cc['push'](_0x4713cc['shift']());}}}(a65_0x26a1,0x963b8));import a65_0x440174 from'ol/View';function a65_0x26a1(){var _0x2fa00a=['1990814gKUixw','setProjection','711opGTiY','projection_','777OLpIue','28430PsPzQR','717963Phiyyk','setProperties','1177884BpGKZx','15BnbYVO','962544JAnNtw','25576ioMFaU','3371862sYAfAx'];a65_0x26a1=function(){return _0x2fa00a;};return a65_0x26a1();}import{get}from'ol/proj';export default class OLView extends a65_0x440174{constructor(_0x369866){super(_0x369866);}[a65_0x1a676b(0xce)](_0x4da93d){var _0x13929a=a65_0x1a676b;this[_0x13929a(0xd0)]=get(_0x4da93d),this[_0x13929a(0xd4)]({'projection_':get(_0x4da93d)});}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ym-gis-2d",
3
- "version": "1.0.36",
3
+ "version": "1.0.38",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "index.ts",
package/plot/Plot.js CHANGED
@@ -1 +1 @@
1
- (function(_0x1ddbd2,_0x209e78){const _0xa47f98=a73_0x2621,_0x519b28=_0x1ddbd2();while(!![]){try{const _0x2100bb=-parseInt(_0xa47f98(0x1de))/0x1*(-parseInt(_0xa47f98(0x1d9))/0x2)+-parseInt(_0xa47f98(0x1e1))/0x3+parseInt(_0xa47f98(0x1da))/0x4+-parseInt(_0xa47f98(0x1ec))/0x5+-parseInt(_0xa47f98(0x1ea))/0x6+-parseInt(_0xa47f98(0x1eb))/0x7+parseInt(_0xa47f98(0x1e8))/0x8;if(_0x2100bb===_0x209e78)break;else _0x519b28['push'](_0x519b28['shift']());}catch(_0x4b9e70){_0x519b28['push'](_0x519b28['shift']());}}}(a73_0x3840,0x5b1cf));import a73_0x15fc37 from'../entity/GeometryType';import a73_0x2cce6f from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';function a73_0x3840(){const _0x314254=['218503AGYcRA','Point','Ellipse','540594HVzviQ','Polygon','text','Circle','toLowerCase','Curve','ArrowPincerlike','11743232qbCvTr','Ellipsoid','3300822vpSvYI','4457866rwKkSl','409295VFCZaw','MAX_VALUE','Rectangle','pointermove','SurfaceClosed','Arrow','2XuWzWu','543296MNTgAd','AssemblySite','assign','PolyLine'];a73_0x3840=function(){return _0x314254;};return a73_0x3840();}import{getPolygonStyle}from'../style/PolygonStyleFormat';import a73_0x2fcf38 from'./geometry/polygon/RectAngle';function a73_0x2621(_0x59bdd7,_0x37f8f6){const _0x3840c5=a73_0x3840();return a73_0x2621=function(_0x262114,_0x400a1f){_0x262114=_0x262114-0x1d8;let _0x17834e=_0x3840c5[_0x262114];return _0x17834e;},a73_0x2621(_0x59bdd7,_0x37f8f6);}import a73_0x2148c0 from'./geometry/polyline/Polyline';import a73_0x87c2f7 from'./geometry/point/Point';import a73_0x31f758 from'./geometry/polygon/Circle';const defaultStyle={'color':[0x40,0xaf,0xc1],'fill':!![],'opacity':0.6,'outline':!![],'outlineColor':[0x40,0xaf,0xc1],'outlineOpacity':0.6,'outlineWidth':0x2};export function createPlot(_0x5ef727,_0x3bd8bf){const _0x1db6a2=a73_0x2621;_0x5ef727=_0x5ef727[_0x1db6a2(0x1e5)]();switch(_0x5ef727){case a73_0x15fc37[_0x1db6a2(0x1df)]:case _0x1db6a2(0x1ef):return new a73_0x87c2f7(_0x3bd8bf);case a73_0x15fc37[_0x1db6a2(0x1dd)]:return new a73_0x2148c0(_0x3bd8bf);case a73_0x15fc37['Circle']:return new a73_0x31f758(_0x3bd8bf);case a73_0x15fc37[_0x1db6a2(0x1ee)]:return new a73_0x2fcf38(_0x3bd8bf);case a73_0x15fc37['Polygon']:return new a73_0x2cce6f(_0x3bd8bf);}}export function getPlotCount(_0x2ac5d4){const _0x5d9504=a73_0x2621;_0x2ac5d4=_0x2ac5d4[_0x5d9504(0x1e5)]();let _0x41bc16={'fixPoint':0x0,'minPoint':0x0};switch(_0x2ac5d4){case a73_0x15fc37[_0x5d9504(0x1df)]:_0x41bc16={'fixPoint':0x1,'minPoint':0x0};break;case a73_0x15fc37[_0x5d9504(0x1dd)]:_0x41bc16={'fixPoint':Number[_0x5d9504(0x1ed)],'minPoint':0x1};break;case a73_0x15fc37[_0x5d9504(0x1e2)]:_0x41bc16={'fixPoint':Number[_0x5d9504(0x1ed)],'minPoint':0x2};break;case a73_0x15fc37[_0x5d9504(0x1ee)]:_0x41bc16={'fixPoint':0x2,'minPoint':0x1};break;case a73_0x15fc37['Circle']:_0x41bc16={'fixPoint':0x2,'minPoint':0x1};break;case a73_0x15fc37[_0x5d9504(0x1e6)]:_0x41bc16={'fixPoint':Number[_0x5d9504(0x1ed)],'minPoint':0x1};break;case a73_0x15fc37[_0x5d9504(0x1e0)]:case a73_0x15fc37['Ellipsoid']:_0x41bc16={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x41bc16;}export function getStyle(_0x5f3e16,_0x45a1a9,_0x53c0e0){const _0x9b100d=a73_0x2621;_0x5f3e16=_0x5f3e16[_0x9b100d(0x1e5)](),_0x45a1a9=Object[_0x9b100d(0x1dc)](Object['assign']({},defaultStyle),_0x45a1a9);switch(_0x5f3e16){case a73_0x15fc37['Point']:return function(_0x4d5496,_0x2d2485){return getPointSingleStyle(_0x5f3e16,_0x45a1a9,_0x2d2485,_0x53c0e0);};case a73_0x15fc37['PolyLine']:case a73_0x15fc37[_0x9b100d(0x1e6)]:return function(_0x1298ed,_0x21057b){return getPolylineStyle(_0x45a1a9,'',_0x21057b,_0x53c0e0);};case a73_0x15fc37[_0x9b100d(0x1e4)]:case a73_0x15fc37[_0x9b100d(0x1ee)]:case a73_0x15fc37['Ellipse']:case a73_0x15fc37[_0x9b100d(0x1e9)]:case a73_0x15fc37[_0x9b100d(0x1f0)]:case a73_0x15fc37[_0x9b100d(0x1e2)]:case a73_0x15fc37['ArrowAttack']:case a73_0x15fc37[_0x9b100d(0x1e7)]:case a73_0x15fc37[_0x9b100d(0x1d8)]:case a73_0x15fc37[_0x9b100d(0x1db)]:return function(_0x63c91f,_0x15dd15){const _0x30477a=_0x9b100d;return getPolygonStyle(_0x45a1a9,_0x45a1a9[_0x30477a(0x1e3)],_0x15dd15,_0x53c0e0);};}}
1
+ (function(_0x1c2ee4,_0x1cd475){const _0x4753cf=a73_0x59b8,_0x101b26=_0x1c2ee4();while(!![]){try{const _0x15e6f0=-parseInt(_0x4753cf(0x108))/0x1*(-parseInt(_0x4753cf(0x119))/0x2)+parseInt(_0x4753cf(0x112))/0x3+parseInt(_0x4753cf(0x105))/0x4+parseInt(_0x4753cf(0x103))/0x5*(parseInt(_0x4753cf(0x117))/0x6)+-parseInt(_0x4753cf(0x10c))/0x7*(parseInt(_0x4753cf(0x109))/0x8)+-parseInt(_0x4753cf(0x110))/0x9*(parseInt(_0x4753cf(0x10e))/0xa)+parseInt(_0x4753cf(0xfe))/0xb;if(_0x15e6f0===_0x1cd475)break;else _0x101b26['push'](_0x101b26['shift']());}catch(_0x2ada89){_0x101b26['push'](_0x101b26['shift']());}}}(a73_0x54fa,0x6d587));import a73_0x20a2b3 from'../entity/GeometryType';import a73_0xa82165 from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';function a73_0x59b8(_0x543f3b,_0x3de8c4){const _0x54fabf=a73_0x54fa();return a73_0x59b8=function(_0x59b861,_0x3cdf96){_0x59b861=_0x59b861-0xfe;let _0x3d3b10=_0x54fabf[_0x59b861];return _0x3d3b10;},a73_0x59b8(_0x543f3b,_0x3de8c4);}import{getPolygonStyle}from'../style/PolygonStyleFormat';function a73_0x54fa(){const _0x28e19d=['AssemblySite','5njOrYA','Polygon','2041968ICJbgV','assign','Curve','1SoTjvL','5064oweLzK','Point','MAX_VALUE','9681RWPPcI','text','8011180ynLDDE','Arrow','9tmXklR','ArrowAttack','2363142hjOcVD','ArrowPincerlike','Circle','Ellipse','Rectangle','116196poGVTS','PolyLine','401770ISfoiN','6665769oXhslI','toLowerCase','pointermove','SurfaceClosed'];a73_0x54fa=function(){return _0x28e19d;};return a73_0x54fa();}import a73_0x56d22b from'./geometry/polygon/RectAngle';import a73_0x34ef9a from'./geometry/polyline/Polyline';import a73_0x281245 from'./geometry/point/Point';import a73_0x896b58 from'./geometry/polygon/Circle';const defaultStyle={'color':[0x40,0xaf,0xc1],'fill':!![],'opacity':0.6,'outline':!![],'outlineColor':[0x40,0xaf,0xc1],'outlineOpacity':0.6,'outlineWidth':0x2};export function createPlot(_0x1051fb,_0x221e67){const _0xe3c8e7=a73_0x59b8;_0x1051fb=_0x1051fb['toLowerCase']();switch(_0x1051fb){case a73_0x20a2b3[_0xe3c8e7(0x10a)]:case _0xe3c8e7(0x100):return new a73_0x281245(_0x221e67);case a73_0x20a2b3[_0xe3c8e7(0x118)]:return new a73_0x34ef9a(_0x221e67);case a73_0x20a2b3[_0xe3c8e7(0x114)]:return new a73_0x896b58(_0x221e67);case a73_0x20a2b3[_0xe3c8e7(0x116)]:return new a73_0x56d22b(_0x221e67);case a73_0x20a2b3['Polygon']:return new a73_0xa82165(_0x221e67);}}export function getPlotCount(_0x4a29a8){const _0x5b717e=a73_0x59b8;_0x4a29a8=_0x4a29a8[_0x5b717e(0xff)]();let _0x1659b0={'fixPoint':0x0,'minPoint':0x0};switch(_0x4a29a8){case a73_0x20a2b3['Point']:_0x1659b0={'fixPoint':0x1,'minPoint':0x0};break;case a73_0x20a2b3[_0x5b717e(0x118)]:_0x1659b0={'fixPoint':Number[_0x5b717e(0x10b)],'minPoint':0x1};break;case a73_0x20a2b3[_0x5b717e(0x104)]:_0x1659b0={'fixPoint':Number[_0x5b717e(0x10b)],'minPoint':0x2};break;case a73_0x20a2b3[_0x5b717e(0x116)]:_0x1659b0={'fixPoint':0x2,'minPoint':0x1};break;case a73_0x20a2b3['Circle']:_0x1659b0={'fixPoint':0x2,'minPoint':0x1};break;case a73_0x20a2b3[_0x5b717e(0x107)]:_0x1659b0={'fixPoint':Number['MAX_VALUE'],'minPoint':0x1};break;case a73_0x20a2b3['Ellipse']:case a73_0x20a2b3['Ellipsoid']:_0x1659b0={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x1659b0;}export function getStyle(_0x5a8f73,_0x233ac6,_0x4e7432){const _0x34407c=a73_0x59b8;_0x5a8f73=_0x5a8f73['toLowerCase'](),_0x233ac6=Object[_0x34407c(0x106)](Object[_0x34407c(0x106)]({},defaultStyle),_0x233ac6);switch(_0x5a8f73){case a73_0x20a2b3[_0x34407c(0x10a)]:return function(_0x1e157f,_0x193356){return getPointSingleStyle(_0x5a8f73,_0x233ac6,_0x193356,_0x4e7432);};case a73_0x20a2b3[_0x34407c(0x118)]:case a73_0x20a2b3['Curve']:return function(_0x5345aa,_0x7cfd9b){return getPolylineStyle(_0x233ac6,'',_0x7cfd9b,_0x4e7432);};case a73_0x20a2b3[_0x34407c(0x114)]:case a73_0x20a2b3[_0x34407c(0x116)]:case a73_0x20a2b3[_0x34407c(0x115)]:case a73_0x20a2b3['Ellipsoid']:case a73_0x20a2b3[_0x34407c(0x101)]:case a73_0x20a2b3[_0x34407c(0x104)]:case a73_0x20a2b3[_0x34407c(0x111)]:case a73_0x20a2b3[_0x34407c(0x113)]:case a73_0x20a2b3[_0x34407c(0x10f)]:case a73_0x20a2b3[_0x34407c(0x102)]:return function(_0x240404,_0x42edd6){const _0x4cf678=_0x34407c;return getPolygonStyle(_0x233ac6,_0x233ac6[_0x4cf678(0x10d)],_0x42edd6,_0x4e7432);};}}
@@ -1 +1 @@
1
- function a66_0x4ff4(){var _0x5defc0=['points','getPlotType','12330WFfegY','setPoints','1120476vTfuwN','setStyle','setMap','stringify','701192rlYoVe','length','generate','finishDrawing','getMap','109380HsrHOT','parse','537436eAlRHb','updateLastPoint','14EoYEMd','4021360mLIyVX','传入的不是地图对象!','getPoints','updatePoint','isPlot','Point','setCoordinates','map','1791810KxuRGd','9yMDrMS','type','1DSmllK'];a66_0x4ff4=function(){return _0x5defc0;};return a66_0x4ff4();}var a66_0x144783=a66_0x527d;function a66_0x527d(_0xefca6f,_0xc345e4){var _0x4ff41c=a66_0x4ff4();return a66_0x527d=function(_0x527ddb,_0x254026){_0x527ddb=_0x527ddb-0xc1;var _0x56c85f=_0x4ff41c[_0x527ddb];return _0x56c85f;},a66_0x527d(_0xefca6f,_0xc345e4);}(function(_0x415dbc,_0x572a82){var _0x19e2c9=a66_0x527d,_0x90e290=_0x415dbc();while(!![]){try{var _0x24fb47=-parseInt(_0x19e2c9(0xc8))/0x1*(-parseInt(_0x19e2c9(0xd8))/0x2)+-parseInt(_0x19e2c9(0xc6))/0x3*(-parseInt(_0x19e2c9(0xd6))/0x4)+-parseInt(_0x19e2c9(0xcb))/0x5+-parseInt(_0x19e2c9(0xcd))/0x6+-parseInt(_0x19e2c9(0xda))/0x7*(parseInt(_0x19e2c9(0xd1))/0x8)+-parseInt(_0x19e2c9(0xc5))/0x9+parseInt(_0x19e2c9(0xdb))/0xa;if(_0x24fb47===_0x572a82)break;else _0x90e290['push'](_0x90e290['shift']());}catch(_0x104484){_0x90e290['push'](_0x90e290['shift']());}}}(a66_0x4ff4,0x2e369));import{Map}from'ol';import{Point as a66_0x3055c0}from'ol/geom';class Point extends a66_0x3055c0{constructor(_0x2a8ab0){var _0x54905b=a66_0x527d;super([]),this[_0x54905b(0xc7)]=_0x54905b(0xc2),this[_0x54905b(0xc9)]=_0x2a8ab0,this[_0x54905b(0xcc)](_0x2a8ab0);}[a66_0x144783(0xca)](){var _0x20ecb3=a66_0x144783;return this[_0x20ecb3(0xc7)];}[a66_0x144783(0xd3)](){var _0xb35a0e=a66_0x144783;this[_0xb35a0e(0xc3)](this[_0xb35a0e(0xc9)][0x0]);}[a66_0x144783(0xcf)](_0x3afdbd){var _0x475663=a66_0x144783;if(_0x3afdbd&&_0x3afdbd instanceof Map)this[_0x475663(0xc4)]=_0x3afdbd;else throw new Error(_0x475663(0xdc));}[a66_0x144783(0xd5)](){var _0x52c7c0=a66_0x144783;return this[_0x52c7c0(0xc4)];}[a66_0x144783(0xc1)](){return!![];}[a66_0x144783(0xcc)](_0x2d389e){var _0x194b2a=a66_0x144783;_0x2d389e&&_0x2d389e['length']>=0x1&&(this[_0x194b2a(0xc9)]=_0x2d389e,this[_0x194b2a(0xd3)]());}[a66_0x144783(0xdd)](){return this['points'];}[a66_0x144783(0xde)](_0x583df9,_0x501436){var _0x2a838d=a66_0x144783;_0x501436>=0x0&&_0x501436<this[_0x2a838d(0xc9)][_0x2a838d(0xd2)]&&(this[_0x2a838d(0xc9)][_0x501436]=_0x583df9,this[_0x2a838d(0xd3)]());}[a66_0x144783(0xd9)](_0x10fb49){var _0x5ec154=a66_0x144783;this[_0x5ec154(0xde)](_0x10fb49,this[_0x5ec154(0xc9)][_0x5ec154(0xd2)]-0x1);}[a66_0x144783(0xd4)](){}[a66_0x144783(0xce)](_0x4feec5){var _0x576e1a=a66_0x144783;this['style']=JSON[_0x576e1a(0xd7)](JSON[_0x576e1a(0xd0)](_0x4feec5));}}export default Point;
1
+ var a66_0x59cddb=a66_0x3099;function a66_0x1478(){var _0x16caee=['length','231BanJTO','map','setCoordinates','isPlot','parse','1771hOZwtA','updatePoint','finishDrawing','13976NPLurk','points','getPoints','Point','getPlotType','setMap','setStyle','setPoints','259RsdwXy','stringify','style','generate','1769694PGnUon','45270kxDxMm','854757eEjezZ','274360mZRmZq','10CtKiNQ','3466620dtksUi','type','updateLastPoint','4060zyAlsV'];a66_0x1478=function(){return _0x16caee;};return a66_0x1478();}function a66_0x3099(_0x112ad5,_0x3dad7b){var _0x1478fd=a66_0x1478();return a66_0x3099=function(_0x309994,_0x228600){_0x309994=_0x309994-0x8c;var _0x27c25b=_0x1478fd[_0x309994];return _0x27c25b;},a66_0x3099(_0x112ad5,_0x3dad7b);}(function(_0x1a0d46,_0x282bc9){var _0x5f0ba7=a66_0x3099,_0x3ed57a=_0x1a0d46();while(!![]){try{var _0x52d5e0=parseInt(_0x5f0ba7(0x91))/0x1*(parseInt(_0x5f0ba7(0x9d))/0x2)+parseInt(_0x5f0ba7(0x97))/0x3+-parseInt(_0x5f0ba7(0x98))/0x4+parseInt(_0x5f0ba7(0x99))/0x5*(-parseInt(_0x5f0ba7(0x95))/0x6)+-parseInt(_0x5f0ba7(0xa4))/0x7*(-parseInt(_0x5f0ba7(0xa7))/0x8)+-parseInt(_0x5f0ba7(0x9a))/0x9+-parseInt(_0x5f0ba7(0x96))/0xa*(-parseInt(_0x5f0ba7(0x9f))/0xb);if(_0x52d5e0===_0x282bc9)break;else _0x3ed57a['push'](_0x3ed57a['shift']());}catch(_0x44cf2d){_0x3ed57a['push'](_0x3ed57a['shift']());}}}(a66_0x1478,0x4a3cf));import{Map}from'ol';import{Point as a66_0x178e35}from'ol/geom';class Point extends a66_0x178e35{constructor(_0x34b4fd){var _0x362456=a66_0x3099;super([]),this[_0x362456(0x9b)]=_0x362456(0x8c),this['points']=_0x34b4fd,this[_0x362456(0x90)](_0x34b4fd);}[a66_0x59cddb(0x8d)](){return this['type'];}[a66_0x59cddb(0x94)](){var _0x3d7271=a66_0x59cddb;this[_0x3d7271(0xa1)](this[_0x3d7271(0xa8)][0x0]);}[a66_0x59cddb(0x8e)](_0x1c3937){var _0x55513e=a66_0x59cddb;if(_0x1c3937&&_0x1c3937 instanceof Map)this[_0x55513e(0xa0)]=_0x1c3937;else throw new Error('传入的不是地图对象!');}['getMap'](){return this['map'];}[a66_0x59cddb(0xa2)](){return!![];}[a66_0x59cddb(0x90)](_0x54ed90){var _0x3e7005=a66_0x59cddb;_0x54ed90&&_0x54ed90[_0x3e7005(0x9e)]>=0x1&&(this['points']=_0x54ed90,this[_0x3e7005(0x94)]());}[a66_0x59cddb(0xa9)](){var _0x54ee7c=a66_0x59cddb;return this[_0x54ee7c(0xa8)];}['updatePoint'](_0x4954cb,_0x30d70f){var _0x559957=a66_0x59cddb;_0x30d70f>=0x0&&_0x30d70f<this['points'][_0x559957(0x9e)]&&(this[_0x559957(0xa8)][_0x30d70f]=_0x4954cb,this[_0x559957(0x94)]());}[a66_0x59cddb(0x9c)](_0x220f27){var _0x46d47c=a66_0x59cddb;this[_0x46d47c(0xa5)](_0x220f27,this[_0x46d47c(0xa8)][_0x46d47c(0x9e)]-0x1);}[a66_0x59cddb(0xa6)](){}[a66_0x59cddb(0x8f)](_0x482c82){var _0x59dd95=a66_0x59cddb;this[_0x59dd95(0x93)]=JSON[_0x59dd95(0xa3)](JSON[_0x59dd95(0x92)](_0x482c82));}}export default Point;
@@ -1 +1 @@
1
- var a67_0x2f53d5=a67_0x41a3;(function(_0x58b45c,_0x24d504){var _0x251cbc=a67_0x41a3,_0x5057cb=_0x58b45c();while(!![]){try{var _0x3324e0=-parseInt(_0x251cbc(0xe5))/0x1*(-parseInt(_0x251cbc(0xe7))/0x2)+parseInt(_0x251cbc(0xef))/0x3+parseInt(_0x251cbc(0xec))/0x4+parseInt(_0x251cbc(0xf6))/0x5+parseInt(_0x251cbc(0xee))/0x6+parseInt(_0x251cbc(0xe3))/0x7+parseInt(_0x251cbc(0xf3))/0x8*(-parseInt(_0x251cbc(0xed))/0x9);if(_0x3324e0===_0x24d504)break;else _0x5057cb['push'](_0x5057cb['shift']());}catch(_0x3426ef){_0x5057cb['push'](_0x5057cb['shift']());}}}(a67_0xa35f,0x99cf1));import{Polygon}from'ol/geom';import a67_0x5bb0fd from'ol/format/GeoJSON';import a67_0x42c808 from'../../../mapView/Map';function a67_0x41a3(_0x4d20ec,_0x4febf4){var _0xa35f9b=a67_0xa35f();return a67_0x41a3=function(_0x41a3d2,_0x41ebeb){_0x41a3d2=_0x41a3d2-0xe3;var _0x2093e4=_0xa35f9b[_0x41a3d2];return _0x2093e4;},a67_0x41a3(_0x4d20ec,_0x4febf4);}function a67_0xa35f(){var _0x201a83=['3411042zKzRIN','256122lskDKH','getPointCount','map','isPlot','26065192dpixYi','getType','stringify','4826030lzhnZR','getMap','writeGeometryObject','传入的不是地图对象!','167160mUCpcb','type','1036281ICJbsv','points','2GmXqcI','generate','setPoints','length','parse','4835608wahnIW','9ghfNtf'];a67_0xa35f=function(){return _0x201a83;};return a67_0xa35f();}class BasePolygon extends Polygon{constructor(){var _0x11e866=a67_0x41a3;super([]),this[_0x11e866(0xe6)]=[];}[a67_0x2f53d5(0xf4)](){var _0x21f6d3=a67_0x2f53d5;return this[_0x21f6d3(0xe4)]?this[_0x21f6d3(0xe4)]:super[_0x21f6d3(0xf4)]();}['getGeoJson'](){var _0x491f52=a67_0x2f53d5;return new a67_0x5bb0fd()[_0x491f52(0xf8)](this);}['setStyle'](_0x26f552){var _0x3ad5ff=a67_0x2f53d5;_0x26f552&&(this['style']=JSON[_0x3ad5ff(0xeb)](JSON[_0x3ad5ff(0xf5)](_0x26f552)));}['setMap'](_0x1b8255){var _0x2455c9=a67_0x2f53d5;if(_0x1b8255&&_0x1b8255 instanceof a67_0x42c808)this[_0x2455c9(0xf1)]=_0x1b8255;else throw new Error(_0x2455c9(0xf9));}[a67_0x2f53d5(0xf7)](){var _0x12e393=a67_0x2f53d5;return this[_0x12e393(0xf1)];}[a67_0x2f53d5(0xf2)](){return!![];}[a67_0x2f53d5(0xe9)](_0x4ff7f2){var _0x1cdd96=a67_0x2f53d5;this[_0x1cdd96(0xe6)]=!_0x4ff7f2?[]:_0x4ff7f2,this[_0x1cdd96(0xe6)][_0x1cdd96(0xea)]>=0x1&&this[_0x1cdd96(0xe8)]();}['generate'](){}['getPoints'](){var _0x4acf5e=a67_0x2f53d5;return this[_0x4acf5e(0xe6)]['slice'](0x0);}[a67_0x2f53d5(0xf0)](){var _0x729f5a=a67_0x2f53d5;return this[_0x729f5a(0xe6)]['length'];}['finishDrawing'](){}}export default BasePolygon;
1
+ var a67_0x405ecb=a67_0x2478;function a67_0xecbf(){var _0x4f056d=['setMap','7997SaGjLD','finishDrawing','setStyle','map','传入的不是地图对象!','type','8903925LrdZvN','829948DwjFWH','parse','getGeoJson','writeGeometryObject','677NYvUtQ','33430sEDvud','length','setPoints','stringify','4492772mknPgv','88RyMBof','getPoints','generate','getType','5buVTTN','255312GeNUEg','3242nPOmHA','points','slice','2455734LlQHBN'];a67_0xecbf=function(){return _0x4f056d;};return a67_0xecbf();}(function(_0x19e77e,_0x129b50){var _0x770bba=a67_0x2478,_0x41c924=_0x19e77e();while(!![]){try{var _0xef5afc=-parseInt(_0x770bba(0x1cb))/0x1*(parseInt(_0x770bba(0x1bb))/0x2)+parseInt(_0x770bba(0x1be))/0x3+-parseInt(_0x770bba(0x1b4))/0x4*(-parseInt(_0x770bba(0x1b9))/0x5)+-parseInt(_0x770bba(0x1ba))/0x6+parseInt(_0x770bba(0x1c7))/0x7*(parseInt(_0x770bba(0x1b5))/0x8)+parseInt(_0x770bba(0x1c6))/0x9+-parseInt(_0x770bba(0x1cc))/0xa*(parseInt(_0x770bba(0x1c0))/0xb);if(_0xef5afc===_0x129b50)break;else _0x41c924['push'](_0x41c924['shift']());}catch(_0xbc79a9){_0x41c924['push'](_0x41c924['shift']());}}}(a67_0xecbf,0xa258a));import{Polygon}from'ol/geom';import a67_0x11c6d8 from'ol/format/GeoJSON';function a67_0x2478(_0x1f7bd4,_0x44e243){var _0xecbf78=a67_0xecbf();return a67_0x2478=function(_0x2478c8,_0x266d80){_0x2478c8=_0x2478c8-0x1b2;var _0x104a2c=_0xecbf78[_0x2478c8];return _0x104a2c;},a67_0x2478(_0x1f7bd4,_0x44e243);}import a67_0x22f117 from'../../../mapView/Map';class BasePolygon extends Polygon{constructor(){var _0x397c40=a67_0x2478;super([]),this[_0x397c40(0x1bc)]=[];}[a67_0x405ecb(0x1b8)](){var _0x5e4355=a67_0x405ecb;return this[_0x5e4355(0x1c5)]?this[_0x5e4355(0x1c5)]:super[_0x5e4355(0x1b8)]();}[a67_0x405ecb(0x1c9)](){var _0x1826d8=a67_0x405ecb;return new a67_0x11c6d8()[_0x1826d8(0x1ca)](this);}[a67_0x405ecb(0x1c2)](_0x2ea5af){var _0xda4701=a67_0x405ecb;_0x2ea5af&&(this['style']=JSON[_0xda4701(0x1c8)](JSON[_0xda4701(0x1b3)](_0x2ea5af)));}[a67_0x405ecb(0x1bf)](_0x35a233){var _0x3547bf=a67_0x405ecb;if(_0x35a233&&_0x35a233 instanceof a67_0x22f117)this[_0x3547bf(0x1c3)]=_0x35a233;else throw new Error(_0x3547bf(0x1c4));}['getMap'](){var _0x238cb2=a67_0x405ecb;return this[_0x238cb2(0x1c3)];}['isPlot'](){return!![];}[a67_0x405ecb(0x1b2)](_0x34ce75){var _0x203a2e=a67_0x405ecb;this[_0x203a2e(0x1bc)]=!_0x34ce75?[]:_0x34ce75,this[_0x203a2e(0x1bc)][_0x203a2e(0x1cd)]>=0x1&&this[_0x203a2e(0x1b7)]();}[a67_0x405ecb(0x1b7)](){}[a67_0x405ecb(0x1b6)](){var _0x3ea213=a67_0x405ecb;return this['points'][_0x3ea213(0x1bd)](0x0);}['getPointCount'](){var _0x34f018=a67_0x405ecb;return this[_0x34f018(0x1bc)]['length'];}[a67_0x405ecb(0x1c1)](){}}export default BasePolygon;
@@ -1 +1 @@
1
- const a68_0x3e1901=a68_0x24a0;(function(_0x12c845,_0x20ebb5){const _0x1bcba8=a68_0x24a0,_0x3fad89=_0x12c845();while(!![]){try{const _0xfdde90=-parseInt(_0x1bcba8(0x82))/0x1*(parseInt(_0x1bcba8(0x81))/0x2)+-parseInt(_0x1bcba8(0x85))/0x3*(parseInt(_0x1bcba8(0x83))/0x4)+parseInt(_0x1bcba8(0x7b))/0x5*(parseInt(_0x1bcba8(0x88))/0x6)+parseInt(_0x1bcba8(0x76))/0x7+-parseInt(_0x1bcba8(0x74))/0x8*(parseInt(_0x1bcba8(0x77))/0x9)+parseInt(_0x1bcba8(0x79))/0xa+-parseInt(_0x1bcba8(0x7a))/0xb;if(_0xfdde90===_0x20ebb5)break;else _0x3fad89['push'](_0x3fad89['shift']());}catch(_0x2ec08b){_0x3fad89['push'](_0x3fad89['shift']());}}}(a68_0x18ca,0x5915f));function a68_0x18ca(){const _0x338066=['toRadians','updateLastPoint','192TpAkWX','1171SMHEYi','31700XzntTz','type','114WGIFYX','setCenter','points','5682FkhSoz','setPoints','65064cZHOCA','generate','4210185piIsTY','144YnuOXE','length','5057670RiiYhQ','5216310dfYBeX','1455HNSkCt','updatePoint','sqrt','getGeoJson'];a68_0x18ca=function(){return _0x338066;};return a68_0x18ca();}import{Circle as a68_0xd1901a}from'ol/geom';import a68_0x23a3d9 from'ol/format/GeoJSON';import{offset}from'ol/sphere';import{squaredDistance as a68_0x31b511}from'ol/coordinate';import{fromCircle}from'ol/geom/Polygon';import{compareArray}from'../../../utils/ArrayUtil';class Circle extends a68_0xd1901a{constructor(_0x1b742f){const _0x5354e7=a68_0x24a0;super([]),this[_0x5354e7(0x87)]=_0x1b742f,this[_0x5354e7(0x84)]='Circle',_0x1b742f&&_0x1b742f['length']>0x0&&this['setPoints'](_0x1b742f);}[a68_0x3e1901(0x89)](_0x391311){const _0x3f45df=a68_0x3e1901;var _0x1166e3;((_0x1166e3=this['points'])===null||_0x1166e3===void 0x0?void 0x0:_0x1166e3[_0x3f45df(0x78)])>0x0&&(_0x391311===null||_0x391311===void 0x0?void 0x0:_0x391311[_0x3f45df(0x78)])>0x0&&!compareArray(this[_0x3f45df(0x87)][0x0],_0x391311[0x0])?this[_0x3f45df(0x86)](_0x391311[0x0]):(this['points']=!_0x391311?[]:_0x391311,this['points']['length']>=0x1&&(this[_0x3f45df(0x75)]&&this[_0x3f45df(0x75)]()));}[a68_0x3e1901(0x75)](){const _0x402271=a68_0x3e1901;let _0x11032e=this[_0x402271(0x87)][_0x402271(0x78)];if(_0x11032e<0x2)return![];else{const _0x4969ae=this[_0x402271(0x87)][0x0],_0x2a3303=a68_0x31b511(_0x4969ae,this[_0x402271(0x87)][0x1]);this['setCenterAndRadius'](_0x4969ae,Math[_0x402271(0x7d)](_0x2a3303));}}[a68_0x3e1901(0x86)](_0xaa4012){const _0x1a6d75=a68_0x3e1901;this[_0x1a6d75(0x86)](_0xaa4012),this[_0x1a6d75(0x87)]=[_0xaa4012,offset(_0xaa4012,this['getRadius'](),this[_0x1a6d75(0x7f)](0x5a))],this[_0x1a6d75(0x75)]();}['toRadians'](_0x5ef0a0){return _0x5ef0a0*Math['PI']/0xb4;}[a68_0x3e1901(0x7e)](){return new a68_0x23a3d9()['writeGeometryObject'](fromCircle(this));}[a68_0x3e1901(0x7c)](_0x351598,_0xfb8dd0){const _0x3a92fb=a68_0x3e1901;_0xfb8dd0>=0x0&&_0xfb8dd0<this[_0x3a92fb(0x87)]['length']&&(this[_0x3a92fb(0x87)][_0xfb8dd0]=_0x351598,this[_0x3a92fb(0x75)]());}[a68_0x3e1901(0x80)](_0xf47705){const _0xa1c991=a68_0x3e1901;this[_0xa1c991(0x7c)](_0xf47705,this[_0xa1c991(0x87)][_0xa1c991(0x78)]-0x1);}}function a68_0x24a0(_0x10f3ed,_0xc1833f){const _0x18ca61=a68_0x18ca();return a68_0x24a0=function(_0x24a01c,_0x43dc81){_0x24a01c=_0x24a01c-0x74;let _0x48026b=_0x18ca61[_0x24a01c];return _0x48026b;},a68_0x24a0(_0x10f3ed,_0xc1833f);}export default Circle;
1
+ function a68_0x4046(_0x3226fa,_0x1d1e51){const _0x4202fa=a68_0x4202();return a68_0x4046=function(_0x4046bf,_0x10f44f){_0x4046bf=_0x4046bf-0x6d;let _0x1d0d2c=_0x4202fa[_0x4046bf];return _0x1d0d2c;},a68_0x4046(_0x3226fa,_0x1d1e51);}const a68_0x4b99af=a68_0x4046;(function(_0x5465d4,_0x5b5003){const _0x14eb6c=a68_0x4046,_0x22fdba=_0x5465d4();while(!![]){try{const _0x41809b=-parseInt(_0x14eb6c(0x7a))/0x1*(parseInt(_0x14eb6c(0x6f))/0x2)+parseInt(_0x14eb6c(0x7b))/0x3+parseInt(_0x14eb6c(0x77))/0x4*(parseInt(_0x14eb6c(0x74))/0x5)+parseInt(_0x14eb6c(0x6d))/0x6+parseInt(_0x14eb6c(0x7d))/0x7+parseInt(_0x14eb6c(0x73))/0x8*(-parseInt(_0x14eb6c(0x75))/0x9)+-parseInt(_0x14eb6c(0x78))/0xa;if(_0x41809b===_0x5b5003)break;else _0x22fdba['push'](_0x22fdba['shift']());}catch(_0x3fc1b7){_0x22fdba['push'](_0x22fdba['shift']());}}}(a68_0x4202,0xd2ecb));import{Circle as a68_0x506e04}from'ol/geom';import a68_0x392e0c from'ol/format/GeoJSON';import{offset}from'ol/sphere';import{squaredDistance as a68_0x5a1d18}from'ol/coordinate';import{fromCircle}from'ol/geom/Polygon';import{compareArray}from'../../../utils/ArrayUtil';function a68_0x4202(){const _0x30aaec=['updatePoint','setPoints','6814818JRVPpN','Circle','2138914OohhwH','setCenterAndRadius','writeGeometryObject','generate','9588488UuTWyZ','17455NAQiZv','9RwLqBT','toRadians','1356EQjLYm','5440800CqQjGt','points','1BnSLXc','2685108hobHAf','setCenter','3232299QFDAzJ','length','updateLastPoint'];a68_0x4202=function(){return _0x30aaec;};return a68_0x4202();}class Circle extends a68_0x506e04{constructor(_0x66e35f){const _0x1f9ab6=a68_0x4046;super([]),this[_0x1f9ab6(0x79)]=_0x66e35f,this['type']=_0x1f9ab6(0x6e),_0x66e35f&&_0x66e35f[_0x1f9ab6(0x7e)]>0x0&&this[_0x1f9ab6(0x81)](_0x66e35f);}[a68_0x4b99af(0x81)](_0x5d6f60){const _0x2969cb=a68_0x4b99af;var _0x332d82;((_0x332d82=this['points'])===null||_0x332d82===void 0x0?void 0x0:_0x332d82['length'])>0x0&&(_0x5d6f60===null||_0x5d6f60===void 0x0?void 0x0:_0x5d6f60[_0x2969cb(0x7e)])>0x0&&!compareArray(this[_0x2969cb(0x79)][0x0],_0x5d6f60[0x0])?this[_0x2969cb(0x7c)](_0x5d6f60[0x0]):(this[_0x2969cb(0x79)]=!_0x5d6f60?[]:_0x5d6f60,this[_0x2969cb(0x79)][_0x2969cb(0x7e)]>=0x1&&(this['generate']&&this['generate']()));}[a68_0x4b99af(0x72)](){const _0x18ac5f=a68_0x4b99af;let _0xfd1b01=this[_0x18ac5f(0x79)]['length'];if(_0xfd1b01<0x2)return![];else{const _0x10ab4d=this[_0x18ac5f(0x79)][0x0],_0x274659=a68_0x5a1d18(_0x10ab4d,this[_0x18ac5f(0x79)][0x1]);this[_0x18ac5f(0x70)](_0x10ab4d,Math['sqrt'](_0x274659));}}[a68_0x4b99af(0x7c)](_0x4f14e7){const _0x357a9a=a68_0x4b99af;this['setCenter'](_0x4f14e7),this['points']=[_0x4f14e7,offset(_0x4f14e7,this['getRadius'](),this[_0x357a9a(0x76)](0x5a))],this[_0x357a9a(0x72)]();}[a68_0x4b99af(0x76)](_0x38d3e6){return _0x38d3e6*Math['PI']/0xb4;}['getGeoJson'](){const _0x44eec6=a68_0x4b99af;return new a68_0x392e0c()[_0x44eec6(0x71)](fromCircle(this));}[a68_0x4b99af(0x80)](_0xa809df,_0x5665f1){const _0x1c6888=a68_0x4b99af;_0x5665f1>=0x0&&_0x5665f1<this['points'][_0x1c6888(0x7e)]&&(this[_0x1c6888(0x79)][_0x5665f1]=_0xa809df,this['generate']());}[a68_0x4b99af(0x7f)](_0x79ccf6){const _0x3d3a68=a68_0x4b99af;this['updatePoint'](_0x79ccf6,this[_0x3d3a68(0x79)][_0x3d3a68(0x7e)]-0x1);}}export default Circle;