ym-gis-2d 1.0.34 → 1.0.36

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 (75) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.js +1 -1
  4. package/controls/MousePositionControl.js +1 -1
  5. package/controls/SwipeLayerControl.js +1 -1
  6. package/conver/kml/geoJSONToKml.js +1 -1
  7. package/conver/kml/index.js +1 -1
  8. package/conver/kml/kmlToGeoJSON.js +1 -1
  9. package/entity/Feature.js +1 -1
  10. package/entity/GeometryType.js +1 -1
  11. package/entity/measure/AreaMeasureUnits.js +1 -1
  12. package/feature/FeatureManager.js +1 -1
  13. package/feature/FeatureManager.js.map +1 -1
  14. package/index.js +1 -1
  15. package/interaction/AreaMeasure.js +1 -1
  16. package/interaction/Difference.js +1 -1
  17. package/interaction/Draw.js +1 -1
  18. package/interaction/InteractionManager.js +1 -1
  19. package/interaction/Modify.d.ts +15 -0
  20. package/interaction/Modify.d.ts.map +1 -0
  21. package/interaction/Modify.js +1 -0
  22. package/interaction/Modify.js.map +1 -0
  23. package/interaction/Select.js +1 -1
  24. package/interaction/Split.js +1 -1
  25. package/layers/ArcgisDynamicLayer.js +1 -1
  26. package/layers/ArcgisFeatureLayer.js +1 -1
  27. package/layers/ArcgisTileLayer.js +1 -1
  28. package/layers/ArcgisWMSLayer.js +1 -1
  29. package/layers/ArcgisWMTSLayer.js +1 -1
  30. package/layers/GeoserverVectorTile.js +1 -1
  31. package/layers/GeoserverWFSLayer.js +1 -1
  32. package/layers/GeoserverWMSLayer.js +1 -1
  33. package/layers/GeoserverWMTSLayer.js +1 -1
  34. package/layers/LayerManager.js +1 -1
  35. package/layers/TDTLayer.js +1 -1
  36. package/mapView/Map.js +1 -1
  37. package/mapView/View.js +1 -1
  38. package/package.json +1 -1
  39. package/plot/Plot.js +1 -1
  40. package/plot/geometry/point/Point.js +1 -1
  41. package/plot/geometry/polygon/BasePolygon.js +1 -1
  42. package/plot/geometry/polygon/Circle.js +1 -1
  43. package/plot/geometry/polygon/Polygon.js +1 -1
  44. package/plot/geometry/polygon/RectAngle.js +1 -1
  45. package/plot/geometry/polyline/BaseLine.js +1 -1
  46. package/plot/geometry/polyline/Polyline.js +1 -1
  47. package/style/PointStyleFormat.js +1 -1
  48. package/style/PolygonStyleFormat.js +1 -1
  49. package/style/PolylineStyleFormat.js +1 -1
  50. package/style/StyleManager.js +1 -1
  51. package/style/common.js +1 -1
  52. package/utils/ArrayUtil.js +1 -1
  53. package/utils/AxiosUtil.js +1 -1
  54. package/utils/EsriUtil.js +1 -1
  55. package/utils/GeometryUtil.js +1 -1
  56. package/utils/LayerUtil.js +1 -1
  57. package/utils/RegisterProjUtil.js +1 -1
  58. package/utils/ResolutionUtil.js +1 -1
  59. package/utils/StringUtil.js +1 -1
  60. package/utils/StyleUtil.js +1 -1
  61. package/utils/UrlUtil.js +1 -1
  62. package/utils/XmlUtil.js +1 -1
  63. package/utils/format/CQL.js +1 -1
  64. package/utils/format/IsMatchCql.js +1 -1
  65. package/utils/plug/canvas/ImageCache.js +1 -1
  66. package/utils/plug/canvas/PinBuilder.js +1 -1
  67. package/utils/plug/canvas/PinIcon.js +1 -1
  68. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  69. package/utils/tasks/esri/Identify.js +1 -1
  70. package/utils/tasks/esri/Query.js +1 -1
  71. package/utils/tasks/esri/Task.js +1 -1
  72. package/utils/tasks/geoserver/QueryTask.js +1 -1
  73. package/utils/tasks/index.js +1 -1
  74. package/ym-gis-2d.es.js +1 -1
  75. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- const a52_0x3db580=a52_0x2b4c;(function(_0x19abd9,_0x1f6ecd){const _0x18df1f=a52_0x2b4c,_0xe889fb=_0x19abd9();while(!![]){try{const _0x428214=parseInt(_0x18df1f(0xdb))/0x1*(-parseInt(_0x18df1f(0xf6))/0x2)+parseInt(_0x18df1f(0xe1))/0x3+-parseInt(_0x18df1f(0x104))/0x4+-parseInt(_0x18df1f(0xe6))/0x5*(parseInt(_0x18df1f(0x100))/0x6)+-parseInt(_0x18df1f(0x10b))/0x7+-parseInt(_0x18df1f(0xf0))/0x8+-parseInt(_0x18df1f(0xe2))/0x9*(-parseInt(_0x18df1f(0xf4))/0xa);if(_0x428214===_0x1f6ecd)break;else _0xe889fb['push'](_0xe889fb['shift']());}catch(_0x392e46){_0xe889fb['push'](_0xe889fb['shift']());}}}(a52_0x3a85,0xd97c5));import a52_0x4a11cc from'ol/format/EsriJSON';import a52_0x59af88 from'ol/source/Vector';import{Vector as a52_0xa29884}from'ol/layer';import{jsonp}from'../utils/AxiosUtil';import{createXYZ}from'ol/tilegrid';import{tile as a52_0x8ff5a0}from'ol/loadingstrategy';function a52_0x3a85(){const _0x4eb24b=['mapIndex','symbol','764820vTXtJe','1=1','field1','xmax','setLayers','wkt','ymin','12092934KjwOgI','loadFilter','defaultSymbol','type','string',',\x22spatialReference\x22:{\x22wkid\x22:','1230195SjxLkk','find','readFeatures','getCode','uniqueValue','wkid','2405598kFHukM','25704009gVBRhp','setFilter','simple','&outSR=','4668760JqhHZK','setStyle','log','xmin',',\x22ymax\x22:','&outFields=*','ymax','initialExtent','value','f\x20=\x20json\x20&\x20','12322664gbGaYd','error','renderer','layerInfo','20AvfwAO','get','2RjMHvq','split','stringify','&geometryType=esriGeometryEnvelope&inSR=','drawingInfo','uniqueValueInfos','createArcGISFeatureLayer','showIndex','/query','spatialReference','6wlWIlG','fullExtent'];a52_0x3a85=function(){return _0x4eb24b;};return a52_0x3a85();}function a52_0x2b4c(_0x2b9a9a,_0x300fb8){const _0x3a85c8=a52_0x3a85();return a52_0x2b4c=function(_0x2b4c01,_0x2fff6f){_0x2b4c01=_0x2b4c01-0xd9;let _0x4cd431=_0x3a85c8[_0x2b4c01];return _0x4cd431;},a52_0x2b4c(_0x2b9a9a,_0x300fb8);}import a52_0x2a4510 from'ol/layer/Group';import{registerProj}from'../utils/RegisterProjUtil';import{transformedEsriStyle}from'../utils/StyleUtil';import a52_0x2c5706 from'ol/Collection';import{appendParam,appendPath}from'../utils/UrlUtil';export default class ArcgisFeatureLayer extends a52_0x2a4510{constructor(_0x2f23a6,_0x34acd7,_0x4008b5){const _0x2ee6e2=a52_0x2b4c,_0x5c8434=[_0x34acd7[_0x2ee6e2(0xed)][_0x2ee6e2(0xe9)],_0x34acd7[_0x2ee6e2(0xed)][_0x2ee6e2(0x10a)],_0x34acd7['initialExtent'][_0x2ee6e2(0x107)],_0x34acd7[_0x2ee6e2(0xed)][_0x2ee6e2(0xec)]],_0x4e71e9=[_0x34acd7[_0x2ee6e2(0x101)][_0x2ee6e2(0xe9)],_0x34acd7['fullExtent']['ymin'],_0x34acd7[_0x2ee6e2(0x101)][_0x2ee6e2(0x107)],_0x34acd7['fullExtent'][_0x2ee6e2(0xec)]];let _0xf6a95;_0x34acd7[_0x2ee6e2(0xff)][_0x2ee6e2(0xe0)]?_0xf6a95=registerProj('EPSG:'+_0x34acd7[_0x2ee6e2(0xff)]['wkid'],_0x4e71e9):_0xf6a95=registerProj(_0x34acd7['spatialReference'][_0x2ee6e2(0x109)],_0x4e71e9);let _0x2d2c71=[];super({'zIndex':_0x2f23a6[_0x2ee6e2(0x102)]});for(let _0x237241 of _0x4008b5){let _0x5a65da=this[_0x2ee6e2(0xfc)](_0x2f23a6,_0x237241);_0x2d2c71['push'](_0x5a65da);}this[_0x2ee6e2(0x108)](new a52_0x2c5706(_0x2d2c71)),this['id']=_0x2f23a6['id'],this[_0x2ee6e2(0xed)]=_0x5c8434,this['projection']=_0xf6a95,this['layerInfo']=_0x2f23a6;}['createArcGISFeatureLayer'](_0x1c7102,_0x1b74bd){const _0x34603c=a52_0x2b4c;var _0x5e37dd=new a52_0x4a11cc();let _0x3fc874=new a52_0x59af88({'loader':function(_0x153b5a,_0x1ff64b,_0x3f2ef9){const _0x4d7a27=a52_0x2b4c;let _0x369144=_0x4d7a27(0x105);_0x1c7102[_0x4d7a27(0x10c)]&&(_0x369144=typeof _0x1c7102['loadFilter']===_0x4d7a27(0xd9)?_0x1c7102[_0x4d7a27(0x10c)]:JSON[_0x4d7a27(0xf8)](_0x1c7102[_0x4d7a27(0x10c)]));let _0x528b18=_0x3f2ef9[_0x4d7a27(0xde)](),_0xf2bbb8=_0x528b18[_0x4d7a27(0xf7)](':')[0x1];var _0xfa1417=appendPath(_0x1b74bd['url'],_0x4d7a27(0xfe));_0xfa1417=appendParam(_0xfa1417,_0x4d7a27(0xef)+'where='+encodeURIComponent(_0x369144)+'returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry='+encodeURIComponent('{\x22xmin\x22:'+_0x153b5a[0x0]+',\x22ymin\x22:'+_0x153b5a[0x1]+',\x22xmax\x22:'+_0x153b5a[0x2]+_0x4d7a27(0xea)+_0x153b5a[0x3]+_0x4d7a27(0xda)+_0xf2bbb8+'}}')+_0x4d7a27(0xf9)+_0xf2bbb8+_0x4d7a27(0xeb)+_0x4d7a27(0xe5)+_0xf2bbb8),jsonp(_0xfa1417)['then'](_0xb0a926=>{const _0x413240=_0x4d7a27;if(_0xb0a926[_0x413240(0xf1)])console[_0x413240(0xe8)](_0xb0a926);else{var _0xfa299c=_0x5e37dd[_0x413240(0xdd)](_0xb0a926,{'featureProjection':_0x3f2ef9});_0xfa299c['length']>0x0&&(_0x1b74bd[_0x413240(0xfa)]['renderer'][_0x413240(0x10e)]==_0x413240(0xdf)&&_0xfa299c['forEach'](function(_0x138465){const _0x3c4ac8=_0x413240;var _0x7414ba=_0x138465[_0x3c4ac8(0xf5)](_0x1b74bd['drawingInfo'][_0x3c4ac8(0xf2)][_0x3c4ac8(0x106)]);const _0x575d44=_0x1b74bd[_0x3c4ac8(0xfa)][_0x3c4ac8(0xf2)][_0x3c4ac8(0xfb)][_0x3c4ac8(0xdc)](_0x5e607b=>_0x5e607b[_0x3c4ac8(0xee)]==_0x7414ba);let _0x53e7e8;_0x575d44?_0x53e7e8=transformedEsriStyle(_0x575d44[_0x3c4ac8(0x103)]):_0x53e7e8=transformedEsriStyle(_0x1b74bd[_0x3c4ac8(0xfa)]['renderer'][_0x3c4ac8(0x10d)]),_0x138465[_0x3c4ac8(0xe7)](_0x53e7e8);}),_0x3fc874['addFeatures'](_0xfa299c));}});},'strategy':a52_0x8ff5a0(createXYZ({'tileSize':0x200}))}),_0x4df386=new a52_0xa29884({'source':_0x3fc874,'zIndex':_0x1c7102[_0x34603c(0xfd)]});if(_0x1b74bd[_0x34603c(0xfa)][_0x34603c(0xf2)][_0x34603c(0x10e)]==_0x34603c(0xe4)&&_0x1b74bd['drawingInfo'][_0x34603c(0xf2)][_0x34603c(0x103)]){let _0x3192c4=transformedEsriStyle(_0x1b74bd['drawingInfo'][_0x34603c(0xf2)][_0x34603c(0x103)]);_0x4df386[_0x34603c(0xe7)](_0x3192c4);}return _0x4df386;}[a52_0x3db580(0xe3)](_0x289928){const _0x2f6efd=a52_0x3db580;this[_0x2f6efd(0xf3)]['loadFilter']=_0x289928;}}
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 +1 @@
1
- function a53_0x23eb(_0x55bf83,_0x370e46){const _0x4db53e=a53_0x4db5();return a53_0x23eb=function(_0x23eb87,_0x3857ed){_0x23eb87=_0x23eb87-0x71;let _0xc188aa=_0x4db53e[_0x23eb87];return _0xc188aa;},a53_0x23eb(_0x55bf83,_0x370e46);}function a53_0x4db5(){const _0xe05894=['length','225EakAWc','rows','342InBcml','opacity','xmin','origin','cols','resolution','initialExtent','anonymous','EPSG:','/tile/{z}/{y}/{x}','lods','wkid','92216tUuUjL','38900DCnMvG','5244918TKrdqW','822601vLsYef','xmax','tileInfo','ymax','push','projection','fullExtent','url','1651512kxBrvZ','spatialReference','1017870YdtVQb','wkt','3016293LRJsYO'];a53_0x4db5=function(){return _0xe05894;};return a53_0x4db5();}(function(_0x24f2c5,_0x2d53af){const _0x55f2a2=a53_0x23eb,_0x1d8f05=_0x24f2c5();while(!![]){try{const _0x56b43f=-parseInt(_0x55f2a2(0x79))/0x1+parseInt(_0x55f2a2(0x81))/0x2+parseInt(_0x55f2a2(0x87))/0x3*(parseInt(_0x55f2a2(0x77))/0x4)+-parseInt(_0x55f2a2(0x83))/0x5+-parseInt(_0x55f2a2(0x78))/0x6+parseInt(_0x55f2a2(0x85))/0x7+parseInt(_0x55f2a2(0x76))/0x8*(parseInt(_0x55f2a2(0x89))/0x9);if(_0x56b43f===_0x2d53af)break;else _0x1d8f05['push'](_0x1d8f05['shift']());}catch(_0x3d4fb9){_0x1d8f05['push'](_0x1d8f05['shift']());}}}(a53_0x4db5,0x7fdd0));import a53_0x27447c from'ol/layer/Tile';import a53_0x12c12c from'ol/source/XYZ';import a53_0x201af0 from'ol/tilegrid/TileGrid';import{registerProj}from'../utils/RegisterProjUtil';import{appendPath}from'../utils/UrlUtil';export default class ArcgisTileLayer extends a53_0x27447c{constructor(_0x5b6dc5,_0x162b3f){const _0x3b64de=a53_0x23eb,_0x28a8af=_0x5b6dc5['url']?_0x5b6dc5[_0x3b64de(0x80)]:'',_0x483e8f=appendPath(_0x28a8af,_0x3b64de(0x73)),_0x5776ab=[_0x162b3f[_0x3b64de(0x8f)][_0x3b64de(0x8b)],_0x162b3f['initialExtent']['ymin'],_0x162b3f['initialExtent'][_0x3b64de(0x7a)],_0x162b3f[_0x3b64de(0x8f)]['ymax']],_0x3ed008=[_0x162b3f[_0x3b64de(0x7f)][_0x3b64de(0x8b)],_0x162b3f[_0x3b64de(0x7f)]['ymin'],_0x162b3f[_0x3b64de(0x7f)][_0x3b64de(0x7a)],_0x162b3f['fullExtent'][_0x3b64de(0x7c)]];let _0x5324dc;_0x162b3f['spatialReference'][_0x3b64de(0x75)]?_0x5324dc=registerProj(_0x3b64de(0x72)+_0x162b3f[_0x3b64de(0x82)][_0x3b64de(0x75)],_0x3ed008):_0x5324dc=registerProj(_0x162b3f[_0x3b64de(0x82)][_0x3b64de(0x84)],_0x3ed008);let _0x268581=[];for(let _0x5616d5=0x0,_0x2cf7ae=_0x162b3f[_0x3b64de(0x7b)][_0x3b64de(0x74)][_0x3b64de(0x86)];_0x5616d5<_0x2cf7ae;_0x5616d5++){_0x268581[_0x3b64de(0x7d)](_0x162b3f[_0x3b64de(0x7b)][_0x3b64de(0x74)][_0x5616d5][_0x3b64de(0x8e)]);}super({'opacity':_0x5b6dc5[_0x3b64de(0x8a)],'zIndex':_0x5b6dc5['mapIndex'],'maxResolution':_0x268581[0x0]*0x2,'source':new a53_0x12c12c({'url':_0x483e8f,'projection':_0x5324dc,'crossOrigin':_0x3b64de(0x71),'tileGrid':new a53_0x201af0({'extent':_0x3ed008,'origin':[_0x162b3f[_0x3b64de(0x7b)]['origin']['x'],_0x162b3f[_0x3b64de(0x7b)][_0x3b64de(0x8c)]['y']],'resolutions':_0x268581,'tileSize':[_0x162b3f[_0x3b64de(0x7b)][_0x3b64de(0x88)],_0x162b3f[_0x3b64de(0x7b)][_0x3b64de(0x8d)]]})})}),this['id']=_0x5b6dc5['id'],this[_0x3b64de(0x8f)]=_0x5776ab,this[_0x3b64de(0x7e)]=_0x5324dc,this['layerInfo']=_0x5b6dc5;}}
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 +1 @@
1
- const a54_0x256600=a54_0x1189;(function(_0x41d276,_0x248882){const _0x3d762f=a54_0x1189,_0xb152df=_0x41d276();while(!![]){try{const _0x338673=parseInt(_0x3d762f(0xfc))/0x1+-parseInt(_0x3d762f(0xe4))/0x2*(parseInt(_0x3d762f(0xe9))/0x3)+parseInt(_0x3d762f(0xf8))/0x4+-parseInt(_0x3d762f(0xf7))/0x5*(-parseInt(_0x3d762f(0xf5))/0x6)+-parseInt(_0x3d762f(0xea))/0x7+parseInt(_0x3d762f(0xf4))/0x8*(parseInt(_0x3d762f(0xfa))/0x9)+-parseInt(_0x3d762f(0xee))/0xa;if(_0x338673===_0x248882)break;else _0xb152df['push'](_0xb152df['shift']());}catch(_0x44963d){_0xb152df['push'](_0xb152df['shift']());}}}(a54_0x121c,0xd387f));function a54_0x1189(_0x53cbc3,_0x1a5a7a){const _0x121c00=a54_0x121c();return a54_0x1189=function(_0x118947,_0x15ce20){_0x118947=_0x118947-0xe4;let _0x53cca2=_0x121c00[_0x118947];return _0x53cca2;},a54_0x1189(_0x53cbc3,_0x1a5a7a);}import{ImageWMS as a54_0x24410c}from'ol/source';import{Image as a54_0x4189e1}from'ol/layer';function a54_0x121c(){const _0x136323=['initialExtent','3726248cyFojk','268644UAkoEP','EPSG:','170KKUzXO','5471740AguuMd','anonymous','9pqbSZS','mapIndex','594249QoCWJE','2dwpZwP','CQL_FILTER','initExtent','projection','layerInfo','234081fYrMMa','9823989ZXWPLM','loadFilter','setFilter','join','16023960EjWGPC','1.1.0','getSource','sublayers','updateParams'];a54_0x121c=function(){return _0x136323;};return a54_0x121c();}import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisWMSLayer extends a54_0x4189e1{constructor(_0x32b6a1,_0x21a6a7){const _0x1eedf4=a54_0x1189;var _0xeb0cfc;let _0x54d443=registerProj(_0x1eedf4(0xf6)+_0x21a6a7['wkid'],undefined),_0x167008={'LAYERS':(_0xeb0cfc=_0x32b6a1[_0x1eedf4(0xf1)])===null||_0xeb0cfc===void 0x0?void 0x0:_0xeb0cfc[_0x1eedf4(0xed)](','),'VERSION':_0x1eedf4(0xef)};_0x32b6a1[_0x1eedf4(0xeb)]&&(_0x167008[_0x1eedf4(0xe5)]=_0x32b6a1['loadFilter']),super({'opacity':_0x32b6a1['opacity'],'zIndex':_0x32b6a1[_0x1eedf4(0xfb)],'source':new a54_0x24410c({'crossOrigin':_0x1eedf4(0xf9),'url':_0x32b6a1['url'],'params':_0x167008})}),this['id']=_0x32b6a1['id'],this[_0x1eedf4(0xf3)]=_0x21a6a7[_0x1eedf4(0xe6)],this[_0x1eedf4(0xe7)]=_0x54d443,this[_0x1eedf4(0xe8)]=_0x32b6a1;}['refresh'](){}[a54_0x256600(0xec)](_0x4d369c){const _0x40357c=a54_0x256600;var _0x34657d;(_0x34657d=this[_0x40357c(0xf0)]())===null||_0x34657d===void 0x0?void 0x0:_0x34657d[_0x40357c(0xf2)]({'CQL_FILTER':_0x4d369c});}}
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 +1 @@
1
- (function(_0x397840,_0xa448fd){const _0x429d96=a55_0x5ff4,_0x32fd4b=_0x397840();while(!![]){try{const _0x4c18da=-parseInt(_0x429d96(0x187))/0x1*(parseInt(_0x429d96(0x193))/0x2)+parseInt(_0x429d96(0x19f))/0x3*(parseInt(_0x429d96(0x182))/0x4)+parseInt(_0x429d96(0x197))/0x5*(parseInt(_0x429d96(0x184))/0x6)+-parseInt(_0x429d96(0x192))/0x7+parseInt(_0x429d96(0x1a2))/0x8*(-parseInt(_0x429d96(0x195))/0x9)+parseInt(_0x429d96(0x19c))/0xa*(parseInt(_0x429d96(0x190))/0xb)+parseInt(_0x429d96(0x191))/0xc;if(_0x4c18da===_0xa448fd)break;else _0x32fd4b['push'](_0x32fd4b['shift']());}catch(_0x26deef){_0x32fd4b['push'](_0x32fd4b['shift']());}}}(a55_0x3bc0,0xdc562));function a55_0x3bc0(){const _0x399a3e=['projection','6746uGQmVz','tileGrid','src','style','getMatrixIds','sourceXml','origins_','replace','sublayers','11tCTIXG','12808596gxFZeo','6343736QROpjg','334fXCrXr','indexOf','513rDvhYT','length','5ehnBzg','join','opacity','format','requestEncoding','12091930EcPAwf','token','url','15078kCChri','image/png','?http','251584oQxfKi','mapIndex','layer','boundingBoxExtent','value','initialExtent','524FWpZYp','getImage','10757292dhGasa','EPSG:'];a55_0x3bc0=function(){return _0x399a3e;};return a55_0x3bc0();}import a55_0x44cf1a from'ol/layer/Tile';import a55_0x1b7370,{optionsFromCapabilities}from'ol/source/WMTS.js';import a55_0x28436e from'ol/tilegrid/WMTS';function a55_0x5ff4(_0x53a439,_0x2998bd){const _0x3bc0e5=a55_0x3bc0();return a55_0x5ff4=function(_0x5ff41a,_0x42fdad){_0x5ff41a=_0x5ff41a-0x17f;let _0x563eac=_0x3bc0e5[_0x5ff41a];return _0x563eac;},a55_0x5ff4(_0x53a439,_0x2998bd);}import{registerProj}from'../utils/RegisterProjUtil';import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a55_0x44cf1a{constructor(_0x48081c,_0x33ef7d){const _0x634987=a55_0x5ff4;var _0xca5c40;let _0x1d3c7b='';_0x48081c[_0x634987(0x18f)]&&_0x48081c[_0x634987(0x18f)][_0x634987(0x196)]>0x0&&(_0x1d3c7b=_0x48081c['sublayers'][_0x634987(0x198)](','));const _0x314b9e=_0x634987(0x185)+_0x33ef7d['wkid'];let _0x14938c=registerProj(_0x314b9e);const _0x45042d=optionsFromCapabilities(_0x33ef7d[_0x634987(0x18c)],{'layer':(_0xca5c40=_0x48081c['sublayers'])===null||_0xca5c40===void 0x0?void 0x0:_0xca5c40[0x0],'matrixSet':_0x33ef7d['tileMatrixSet'],'format':_0x634987(0x1a0)});let _0x2c0a26=_0x45042d[_0x634987(0x188)][_0x634987(0x18d)][0x0];_0x2c0a26[0x0]===0x5a&&_0x2c0a26[0x1]===-0xb4&&(_0x2c0a26=[_0x2c0a26[0x1],_0x2c0a26[0x0]]),super({'opacity':_0x48081c[_0x634987(0x199)],'zIndex':_0x48081c[_0x634987(0x1a3)],'source':new a55_0x1b7370({'urls':_0x45042d['urls'],'requestEncoding':_0x45042d[_0x634987(0x19b)],'layer':_0x45042d[_0x634987(0x1a4)],'tileLoadFunction':function(_0x172dc6,_0x1e33ab){const _0x4d5e72=_0x634987,_0xace438=_0x48081c[_0x4d5e72(0x19e)]?_0x48081c[_0x4d5e72(0x19e)]:'';let _0x256269=getUrlParams(_0xace438);if((_0x256269===null||_0x256269===void 0x0?void 0x0:_0x256269[_0x4d5e72(0x196)])>0x0)for(let _0x4627ef of _0x256269){_0x1e33ab=addArgument(_0x1e33ab,_0x4627ef['name'],_0x4627ef[_0x4d5e72(0x180)]);}let _0xdfba30=_0x1e33ab['indexOf'](_0x4d5e72(0x1a1));_0xdfba30!==-0x1?_0x1e33ab[_0x4d5e72(0x194)](_0x4d5e72(0x19d))===-0x1&&_0x1e33ab[_0x4d5e72(0x194)]('tk')===-0x1?_0x172dc6[_0x4d5e72(0x183)]()['src']=_0x1e33ab[_0x4d5e72(0x18e)]('&','?'):_0x172dc6[_0x4d5e72(0x183)]()[_0x4d5e72(0x189)]=_0x1e33ab:_0x172dc6[_0x4d5e72(0x183)]()[_0x4d5e72(0x189)]=_0x1e33ab;},'matrixSet':_0x45042d['matrixSet'],'format':_0x45042d[_0x634987(0x19a)],'projection':_0x45042d[_0x634987(0x186)],'tileGrid':new a55_0x28436e({'origin':_0x2c0a26,'resolutions':_0x45042d[_0x634987(0x188)]['getResolutions'](),'matrixIds':_0x45042d[_0x634987(0x188)][_0x634987(0x18b)](),'extent':_0x33ef7d['boundingBoxExtent']}),'style':_0x33ef7d[_0x634987(0x18a)],'wrapX':!![]})}),this['id']=_0x48081c['id'],this[_0x634987(0x181)]=_0x33ef7d[_0x634987(0x17f)],this[_0x634987(0x186)]=_0x14938c,this['layerInfo']=_0x48081c;}}
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 +1 @@
1
- function a56_0x1dab(_0x5cbf3d,_0x3ab5e3){const _0x29b4d9=a56_0x29b4();return a56_0x1dab=function(_0x1dab73,_0x3ca5e1){_0x1dab73=_0x1dab73-0x7d;let _0x1eafad=_0x29b4d9[_0x1dab73];return _0x1eafad;},a56_0x1dab(_0x5cbf3d,_0x3ab5e3);}(function(_0x32f414,_0x19374c){const _0x6d266b=a56_0x1dab,_0x5ef072=_0x32f414();while(!![]){try{const _0x4c47e1=parseInt(_0x6d266b(0x80))/0x1*(-parseInt(_0x6d266b(0x8e))/0x2)+parseInt(_0x6d266b(0x7e))/0x3+parseInt(_0x6d266b(0x89))/0x4*(parseInt(_0x6d266b(0x7d))/0x5)+parseInt(_0x6d266b(0x86))/0x6+-parseInt(_0x6d266b(0x94))/0x7*(-parseInt(_0x6d266b(0x90))/0x8)+-parseInt(_0x6d266b(0x93))/0x9+-parseInt(_0x6d266b(0x81))/0xa;if(_0x4c47e1===_0x19374c)break;else _0x5ef072['push'](_0x5ef072['shift']());}catch(_0x4716b1){_0x5ef072['push'](_0x5ef072['shift']());}}}(a56_0x29b4,0x70d03));import a56_0x2637fc from'ol/layer/VectorTile';import a56_0x3f662d from'ol/source/VectorTile';import a56_0x333071 from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a56_0x5cd889 from'ol/tilegrid/WMTS';import{optionsFromCapabilities}from'ol/source/WMTS';import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a56_0x2637fc{constructor(_0x3536d4,_0x42786a){const _0x167338=a56_0x1dab;var _0x197d40;let _0x5dfa1f=registerProj(_0x167338(0x85)+_0x42786a['wkid']);const _0x49606c=optionsFromCapabilities(_0x42786a[_0x167338(0x8d)],{'layer':(_0x197d40=_0x3536d4[_0x167338(0x99)])===null||_0x197d40===void 0x0?void 0x0:_0x197d40[0x0],'matrixSet':_0x42786a['tileMatrixSet'],'format':_0x167338(0x7f)});let _0x434aba=_0x3536d4['sublayers']&&_0x3536d4[_0x167338(0x99)][_0x167338(0x98)]>0x0?_0x3536d4['sublayers'][0x0]:'';const _0x32dd72={'REQUEST':'GetTile','SERVICE':_0x167338(0x8f),'VERSION':_0x167338(0x8c),'LAYER':_0x434aba,'STYLE':_0x42786a[_0x167338(0x97)][_0x167338(0x95)](),'TILEMATRIX':_0x42786a['tileMatrixSet']+':{z}','TILEMATRIXSET':_0x42786a['tileMatrixSet'][_0x167338(0x95)](),'FORMAT':_0x167338(0x92),'TILECOL':_0x167338(0x91),'TILEROW':_0x167338(0x83)};let _0x11f681=_0x3536d4[_0x167338(0x88)]?_0x3536d4[_0x167338(0x88)]:'';for(const _0x3cd6 in _0x32dd72){_0x11f681=addArgument(_0x11f681,_0x3cd6,_0x32dd72[_0x3cd6]);}super({'opacity':_0x3536d4['opacity'],'zIndex':_0x3536d4[_0x167338(0x9a)],'declutter':!![],'source':new a56_0x3f662d({'projection':_0x167338(0x85)+_0x42786a[_0x167338(0x8a)],'format':new a56_0x333071(),'wrapX':!![],'extent':_0x42786a['boundingBoxExtent'],'tileGrid':new a56_0x5cd889({'tileSize':_0x49606c[_0x167338(0x82)]['tileSizes_'][0x0],'origin':_0x49606c['tileGrid']['origins_'][0x0],'resolutions':_0x49606c[_0x167338(0x82)][_0x167338(0x96)](),'matrixIds':_0x49606c[_0x167338(0x82)][_0x167338(0x87)]()}),'url':_0x11f681})}),this['id']=_0x3536d4['id'],this[_0x167338(0x84)]=_0x42786a['boundingBoxExtent'],this[_0x167338(0x8b)]=_0x5dfa1f,this['layerInfo']=_0x3536d4;}}function a56_0x29b4(){const _0x2f3aa0=['{y}','initialExtent','EPSG:','4567134AKljZn','getMatrixIds','url','468DuFeoL','wkid','projection','1.0.0','sourceXml','82HNrIzN','WMTS','6689184iERnZm','{x}','application/vnd.mapbox-vector-tile','1685133vqDbCs','7SPYJpm','toString','getResolutions','style','length','sublayers','mapIndex','9710UYTktW','2199165WLZFLt','image/png','5813gGiOEN','16699530cgeOMb','tileGrid'];a56_0x29b4=function(){return _0x2f3aa0;};return a56_0x29b4();}
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 +1 @@
1
- const a57_0x38c1fc=a57_0x4621;(function(_0x1fa86a,_0x147fe7){const _0x3cec53=a57_0x4621,_0x83f962=_0x1fa86a();while(!![]){try{const _0x5930ae=-parseInt(_0x3cec53(0x133))/0x1+parseInt(_0x3cec53(0x11a))/0x2*(-parseInt(_0x3cec53(0x13f))/0x3)+parseInt(_0x3cec53(0x119))/0x4*(parseInt(_0x3cec53(0x122))/0x5)+parseInt(_0x3cec53(0x141))/0x6*(parseInt(_0x3cec53(0x140))/0x7)+parseInt(_0x3cec53(0x12a))/0x8+parseInt(_0x3cec53(0x139))/0x9+-parseInt(_0x3cec53(0x130))/0xa;if(_0x5930ae===_0x147fe7)break;else _0x83f962['push'](_0x83f962['shift']());}catch(_0x38c53d){_0x83f962['push'](_0x83f962['shift']());}}}(a57_0x40fe,0x4ad19));import a57_0x47d2f7 from'ol/source/Vector';import a57_0x59c149 from'ol/format/GeoJSON';function a57_0x40fe(){const _0x223fb4=['35vyMIOy','481476IlSvRK','getCode','POST','lessThanOrEqualTo','writeGetFeature','type','projection','between','serializeToString','4GdNuxO','5966YnzTxg','greaterThanOrEqualTo','EPSG:','application/json','then','url','getSource','toLowerCase','160995QHIWJC','warn','and','param字段不存在','mapIndex','wkid','type字段不存在','find','792632EyliHQ','json','initExtent','removeLoadedExtent','catch','param','933090DbIhhm','push','sublayers','400918CKWRNH','initialExtent','filter','loadFilter','name','fieldType','2467278DXkHDT','apply','length','!==','not','parseFilter','6zOQFzZ'];a57_0x40fe=function(){return _0x223fb4;};return a57_0x40fe();}import{Vector as a57_0x3f4c3d}from'ol/layer';function a57_0x4621(_0x57a217,_0x21a428){const _0x40fe99=a57_0x40fe();return a57_0x4621=function(_0x462131,_0x185b5a){_0x462131=_0x462131-0x112;let _0x39ca9d=_0x40fe99[_0x462131];return _0x39ca9d;},a57_0x4621(_0x57a217,_0x21a428);}import a57_0x239529 from'ol/format/WFS';import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a57_0x3178fe from'../utils/format/CQL';import*as a57_0x14f301 from'ol/format/filter';export default class GeoserverWFSLayer extends a57_0x3f4c3d{constructor(_0x368d1d,_0x438124){const _0x8a9f27=a57_0x4621;let _0x4fa415=registerProj(_0x8a9f27(0x11c)+_0x438124[_0x8a9f27(0x127)]);const _0x502040=_0x438124['layerFields'][_0x8a9f27(0x129)](_0x507ad1=>_0x507ad1[_0x8a9f27(0x138)]==0x6);super({'zIndex':_0x368d1d[_0x8a9f27(0x126)],'source':new a57_0x47d2f7({'format':new a57_0x59c149(),'loader':(_0x91da63,_0x2a1c7f,_0x468dd6,_0xf69b7e,_0x440b8b)=>{const _0x23eab2=_0x8a9f27;let _0x2827f7=_0x368d1d[_0x23eab2(0x136)],_0x4b78c0={'srsName':_0x468dd6[_0x23eab2(0x142)](),'featureTypes':_0x368d1d[_0x23eab2(0x132)],'bbox':_0x91da63,'geometryName':_0x502040?_0x502040[_0x23eab2(0x137)]:'','outputFormat':_0x23eab2(0x11d)};_0x2827f7&&(typeof _0x2827f7==='string'?_0x4b78c0['filter']=new a57_0x3178fe()['read'](_0x2827f7):_0x4b78c0[_0x23eab2(0x135)]=this[_0x23eab2(0x13e)](_0x2827f7));var _0x33d0f4=new a57_0x239529()[_0x23eab2(0x114)](_0x4b78c0);let _0x24e92e=_0x368d1d[_0x23eab2(0x11f)]?_0x368d1d[_0x23eab2(0x11f)]:'';fetch(_0x24e92e,{'method':_0x23eab2(0x112),'body':new XMLSerializer()[_0x23eab2(0x118)](_0x33d0f4)})[_0x23eab2(0x11e)](_0x1f6efa=>{const _0x4ea959=_0x23eab2;return _0x1f6efa[_0x4ea959(0x12b)]();})['then'](_0xc93c42=>{const _0x1d0c24=_0x23eab2,_0x5c10b6=new a57_0x59c149()['readFeatures'](_0xc93c42);let _0x2c0ec3=this[_0x1d0c24(0x120)]();_0x2c0ec3&&_0x2c0ec3['addFeatures'](_0x5c10b6);if(_0xf69b7e)_0xf69b7e(_0x5c10b6);})[_0x23eab2(0x12e)](()=>{const _0x139239=_0x23eab2;let _0x1713e1=this[_0x139239(0x120)]();_0x1713e1&&_0x1713e1[_0x139239(0x12d)](_0x91da63);if(_0x440b8b)_0x440b8b();});},'strategy':bbox})}),this['id']=_0x368d1d['id'],this[_0x8a9f27(0x134)]=_0x438124[_0x8a9f27(0x12c)],this[_0x8a9f27(0x116)]=_0x4fa415,this['layerInfo']=_0x368d1d;}[a57_0x38c1fc(0x13e)](_0x46f716){const _0x2a3041=a57_0x38c1fc;if(!_0x46f716['type']){console[_0x2a3041(0x123)](_0x2a3041(0x128));return;}if(!_0x46f716[_0x2a3041(0x12f)]){console[_0x2a3041(0x123)](_0x2a3041(0x125));return;}let _0x3f0e97=[];switch(_0x46f716[_0x2a3041(0x115)][_0x2a3041(0x121)]()){case _0x2a3041(0x124):for(let _0x2fae73=0x0;_0x2fae73<_0x46f716['param'][_0x2a3041(0x13b)];_0x2fae73++){let _0x1c12a9=this[_0x2a3041(0x13e)](_0x46f716['param'][_0x2fae73]);_0x3f0e97['push'](_0x1c12a9);}return a57_0x14f301[_0x2a3041(0x124)][_0x2a3041(0x13a)](null,_0x3f0e97);case'or':for(let _0x4da104=0x0;_0x4da104<_0x46f716[_0x2a3041(0x12f)][_0x2a3041(0x13b)];_0x4da104++){let _0x25107e=this['parseFilter'](_0x46f716['param'][_0x4da104]);_0x3f0e97[_0x2a3041(0x131)](_0x25107e);}return a57_0x14f301['or'][_0x2a3041(0x13a)](null,_0x3f0e97);case _0x2a3041(0x13d):for(let _0x37dd5f=0x0;_0x37dd5f<_0x46f716['param'][_0x2a3041(0x13b)];_0x37dd5f++){let _0x15ba5e=this[_0x2a3041(0x13e)](_0x46f716[_0x2a3041(0x12f)][_0x37dd5f]);_0x3f0e97['push'](_0x15ba5e);}return a57_0x14f301[_0x2a3041(0x13d)][_0x2a3041(0x13a)](null,_0x3f0e97);case'=':return a57_0x14f301['equalTo'](_0x46f716[_0x2a3041(0x12f)][0x0],_0x46f716[_0x2a3041(0x12f)][0x1]);case _0x2a3041(0x13c):return a57_0x14f301['notEqualTo'](_0x46f716[_0x2a3041(0x12f)][0x0],_0x46f716[_0x2a3041(0x12f)][0x1]);case'>':return a57_0x14f301['greaterThan'](_0x46f716[_0x2a3041(0x12f)][0x0],_0x46f716['param'][0x1]);case'<':return a57_0x14f301['lessThan'](_0x46f716['param'][0x0],_0x46f716[_0x2a3041(0x12f)][0x1]);case'>=':return a57_0x14f301[_0x2a3041(0x11b)](_0x46f716['param'][0x0],_0x46f716[_0x2a3041(0x12f)][0x1]);case'<=':return a57_0x14f301[_0x2a3041(0x113)](_0x46f716[_0x2a3041(0x12f)][0x0],_0x46f716['param'][0x1]);case'between':return a57_0x14f301[_0x2a3041(0x117)](_0x46f716[_0x2a3041(0x12f)][0x0],_0x46f716[_0x2a3041(0x12f)][0x1],_0x46f716[_0x2a3041(0x12f)][0x2]);}}}
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 +1 @@
1
- const a58_0x1cc11d=a58_0x3cf6;(function(_0x370880,_0x4f6b0f){const _0x45b7c8=a58_0x3cf6,_0x414f72=_0x370880();while(!![]){try{const _0x5324f9=-parseInt(_0x45b7c8(0x9e))/0x1+-parseInt(_0x45b7c8(0x9c))/0x2+parseInt(_0x45b7c8(0xa2))/0x3*(parseInt(_0x45b7c8(0x9b))/0x4)+-parseInt(_0x45b7c8(0x9d))/0x5+-parseInt(_0x45b7c8(0x96))/0x6+-parseInt(_0x45b7c8(0x9f))/0x7*(-parseInt(_0x45b7c8(0xa3))/0x8)+parseInt(_0x45b7c8(0xa0))/0x9;if(_0x5324f9===_0x4f6b0f)break;else _0x414f72['push'](_0x414f72['shift']());}catch(_0x54aef6){_0x414f72['push'](_0x414f72['shift']());}}}(a58_0x58d2,0xd16dc));import{ImageWMS as a58_0x5c1712}from'ol/source';function a58_0x3cf6(_0x4852bd,_0x413916){const _0x58d24c=a58_0x58d2();return a58_0x3cf6=function(_0x3cf64c,_0x4e5479){_0x3cf64c=_0x3cf64c-0x90;let _0x42bce6=_0x58d24c[_0x3cf64c];return _0x42bce6;},a58_0x3cf6(_0x4852bd,_0x413916);}import{Image as a58_0x11849d}from'ol/layer';function a58_0x58d2(){const _0x264896=['updateParams','anonymous','2787588taomjR','loadFilter','getSource','refresh','1.1.0','26124DCYwUV','2458452pHHcGF','7753625nHylxi','664350SBygBo','1015ZjQKZy','25722504kLqutn','EPSG:','159SJRryH','86208UUEuup','setFilter','url','opacity','projection','layerInfo','sublayers','initialExtent','CQL_FILTER'];a58_0x58d2=function(){return _0x264896;};return a58_0x58d2();}import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a58_0x11849d{constructor(_0x30f776,_0xa9f4e3){const _0x21ee3b=a58_0x3cf6;var _0x398eb8;let _0x53da8a=registerProj(_0x21ee3b(0xa1)+_0xa9f4e3['wkid']),_0x54a296={'LAYERS':(_0x398eb8=_0x30f776[_0x21ee3b(0x91)])===null||_0x398eb8===void 0x0?void 0x0:_0x398eb8['join'](','),'VERSION':_0x21ee3b(0x9a)};_0x30f776['loadFilter']&&(_0x54a296[_0x21ee3b(0x93)]=_0x30f776[_0x21ee3b(0x97)]),super({'opacity':_0x30f776[_0x21ee3b(0xa6)],'zIndex':_0x30f776['mapIndex'],'source':new a58_0x5c1712({'crossOrigin':_0x21ee3b(0x95),'url':_0x30f776[_0x21ee3b(0xa5)],'params':_0x54a296})}),this['id']=_0x30f776['id'],this[_0x21ee3b(0x92)]=_0xa9f4e3['initExtent'],this[_0x21ee3b(0xa7)]=_0x53da8a,this[_0x21ee3b(0x90)]=_0x30f776;}[a58_0x1cc11d(0x99)](){}[a58_0x1cc11d(0xa4)](_0x11daa6){const _0x38837c=a58_0x1cc11d;var _0x471737;(_0x471737=this[_0x38837c(0x98)]())===null||_0x471737===void 0x0?void 0x0:_0x471737[_0x38837c(0x94)]({'CQL_FILTER':_0x11daa6});}}
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 +1 @@
1
- (function(_0x1db320,_0x5aa1fe){const _0x20f73c=a59_0x224d,_0x4903e8=_0x1db320();while(!![]){try{const _0x4e31c4=-parseInt(_0x20f73c(0x181))/0x1+parseInt(_0x20f73c(0x189))/0x2*(-parseInt(_0x20f73c(0x184))/0x3)+parseInt(_0x20f73c(0x18b))/0x4*(parseInt(_0x20f73c(0x195))/0x5)+parseInt(_0x20f73c(0x17e))/0x6*(parseInt(_0x20f73c(0x182))/0x7)+-parseInt(_0x20f73c(0x18f))/0x8*(-parseInt(_0x20f73c(0x190))/0x9)+-parseInt(_0x20f73c(0x193))/0xa+parseInt(_0x20f73c(0x188))/0xb*(parseInt(_0x20f73c(0x187))/0xc);if(_0x4e31c4===_0x5aa1fe)break;else _0x4903e8['push'](_0x4903e8['shift']());}catch(_0x3f4d4b){_0x4903e8['push'](_0x4903e8['shift']());}}}(a59_0xabaa,0xd37ec));function a59_0xabaa(){const _0x5d2833=['460xyVTyi','1476HmEKVC','image/png','sourceXml','1302446GhyZHq','21119AXvwHk','wkid','312978gvUKLc','boundingBoxExtent','解析元数据失败','12PDpjUh','7351663WdbVXx','4owQeXs','opacity','39868lCIgtZ','layerInfo','sublayers','initialExtent','8nyVmAz','4155363fSHJXj','EPSG:','projection','4118040sSLCaW','tileMatrixSet'];a59_0xabaa=function(){return _0x5d2833;};return a59_0xabaa();}import a59_0x2541e0 from'ol/layer/Tile';import a59_0x106dc1,{optionsFromCapabilities}from'ol/source/WMTS.js';import{registerProj}from'../utils/RegisterProjUtil';function a59_0x224d(_0x5491d1,_0x5ad61){const _0xabaafd=a59_0xabaa();return a59_0x224d=function(_0x224d83,_0x2d2654){_0x224d83=_0x224d83-0x17e;let _0x404433=_0xabaafd[_0x224d83];return _0x404433;},a59_0x224d(_0x5491d1,_0x5ad61);}export default class GeoserverWMTSLayer extends a59_0x2541e0{constructor(_0x4920b5,_0x9855ae){const _0x3f18a0=a59_0x224d;var _0x169fc0;const _0x112719=_0x3f18a0(0x191)+_0x9855ae[_0x3f18a0(0x183)];let _0x1e8572=registerProj(_0x112719);if(!_0x1e8572)throw new Error('未找到投影信息');const _0x9b7a81=optionsFromCapabilities(_0x9855ae[_0x3f18a0(0x180)],{'layer':(_0x169fc0=_0x4920b5[_0x3f18a0(0x18d)])===null||_0x169fc0===void 0x0?void 0x0:_0x169fc0[0x0],'matrixSet':_0x9855ae[_0x3f18a0(0x194)],'format':_0x3f18a0(0x17f)});if(!_0x9b7a81)throw new Error(_0x3f18a0(0x186));super({'opacity':_0x4920b5[_0x3f18a0(0x18a)],'zIndex':_0x4920b5['mapIndex'],'source':new a59_0x106dc1(_0x9b7a81)}),this['id']=_0x4920b5['id'],this[_0x3f18a0(0x18e)]=_0x9855ae[_0x3f18a0(0x185)],this[_0x3f18a0(0x192)]=_0x1e8572,this[_0x3f18a0(0x18c)]=_0x4920b5;}}
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 +1 @@
1
- const a61_0x33a9ee=a61_0x541a;(function(_0x85cc80,_0x327f80){const _0xdf00cf=a61_0x541a,_0x3ecf96=_0x85cc80();while(!![]){try{const _0x14bf96=-parseInt(_0xdf00cf(0x76))/0x1+parseInt(_0xdf00cf(0x73))/0x2*(-parseInt(_0xdf00cf(0x74))/0x3)+parseInt(_0xdf00cf(0x7f))/0x4*(-parseInt(_0xdf00cf(0x6d))/0x5)+parseInt(_0xdf00cf(0x77))/0x6*(-parseInt(_0xdf00cf(0x72))/0x7)+parseInt(_0xdf00cf(0x79))/0x8*(-parseInt(_0xdf00cf(0x7b))/0x9)+parseInt(_0xdf00cf(0x78))/0xa+parseInt(_0xdf00cf(0x6c))/0xb;if(_0x14bf96===_0x327f80)break;else _0x3ecf96['push'](_0x3ecf96['shift']());}catch(_0x55ba97){_0x3ecf96['push'](_0x3ecf96['shift']());}}}(a61_0x33de,0x2e3f5));import a61_0x58d9be from'./ArcgisDynamicLayer';import a61_0x58b6b0 from'./ArcgisFeatureLayer';import a61_0x5a72be from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a61_0x5b86ce from'./ArcgisTileLayer';function a61_0x541a(_0x509612,_0x2b1cf2){const _0x33de61=a61_0x33de();return a61_0x541a=function(_0x541a31,_0x24c6ad){_0x541a31=_0x541a31-0x6a;let _0x493cec=_0x33de61[_0x541a31];return _0x493cec;},a61_0x541a(_0x509612,_0x2b1cf2);}import a61_0x4ed5e2 from'./GeoserverWMSLayer';function a61_0x33de(){const _0x43a88b=['501574uRxOap','3tpZuvt','push','153867fUSFna','744978kKxKGi','2157000lIzOUr','24zOMOxv','getGeoserverVectorTileLayer','95949xmAtVs','getGeoserverWFSLayer','sublayers','getArcgisWmsLayer','368072DGhcNJ','getArcgisWMTSLayer','getArcgisTileLayer','7904215LufXVM','10wXNJNX','url','getArcgisFeatureLayer','getTDTLayer','getGeoserverWMTSLayer','7rkaUGs'];a61_0x33de=function(){return _0x43a88b;};return a61_0x33de();}import a61_0x30dc13 from'./GeoserverWMTSLayer';import a61_0x1ed448 from'./ArcgisWMSLayer';import a61_0x1fd904 from'./ArcgisWMTSLayer';import a61_0x322680 from'./GeoserverWFSLayer';import a61_0x401031 from'./GeoserverVectorTile';export default class LayerManagement{static async['getDynamicLayer'](_0x419c2d){const _0x3c8dca=a61_0x541a,_0x375d53=await getDynamicLayerInfo(_0x419c2d['url']?_0x419c2d[_0x3c8dca(0x6e)]:'');let _0x3061eb=new a61_0x58d9be(_0x419c2d,_0x375d53);return _0x3061eb;}static async[a61_0x33a9ee(0x6b)](_0x23e70c){const _0x23059c=await getDynamicLayerInfo(_0x23e70c['url']?_0x23e70c['url']:'');let _0x231d3c=new a61_0x5b86ce(_0x23e70c,_0x23059c);return _0x231d3c;}static async[a61_0x33a9ee(0x6f)](_0x5de764){const _0x2dcfc0=a61_0x33a9ee,_0xad37a7=await getDynamicLayerInfo(_0x5de764[_0x2dcfc0(0x6e)]?_0x5de764['url']:'');let _0x49f4ca=[];if(_0x5de764[_0x2dcfc0(0x7d)])for(let _0x2cb3d2=0x0;_0x2cb3d2<_0x5de764[_0x2dcfc0(0x7d)]['length'];_0x2cb3d2++){const _0x4f97eb=_0x5de764[_0x2dcfc0(0x7d)][_0x2cb3d2];_0x49f4ca[_0x2dcfc0(0x75)](await getFeatureLayerInfo(_0x5de764['url']?_0x5de764[_0x2dcfc0(0x6e)]:'',_0x4f97eb));}let _0x5e3d4f=new a61_0x58b6b0(_0x5de764,_0xad37a7,_0x49f4ca);return _0x5e3d4f;}static async[a61_0x33a9ee(0x7e)](_0x3cfa55){const _0x2425cc=a61_0x33a9ee;var _0x369b6a;const _0x4b4b5f=(_0x369b6a=_0x3cfa55[_0x2425cc(0x7d)])===null||_0x369b6a===void 0x0?void 0x0:_0x369b6a[0x0],_0x4b09f4=await getWMSLayerCapabilities(_0x3cfa55['url']?_0x3cfa55['url']:'',_0x4b4b5f==null?'':_0x4b4b5f);let _0x26e3b8=new a61_0x1ed448(_0x3cfa55,_0x4b09f4);return _0x26e3b8;}static async[a61_0x33a9ee(0x6a)](_0xfedc8c){var _0x44e126;const _0x5e2736=(_0x44e126=_0xfedc8c['sublayers'])===null||_0x44e126===void 0x0?void 0x0:_0x44e126[0x0],_0x42e661=await getWMTSLayerCapabilities(_0xfedc8c['url']?_0xfedc8c['url']:'',_0x5e2736==null?'':_0x5e2736);let _0x3590ac=new a61_0x1fd904(_0xfedc8c,_0x42e661);return _0x3590ac;}static async['getGeoserverWmsLayer'](_0x15a2a3){const _0x4ec7e7=a61_0x33a9ee;var _0x24defd;const _0x5d1f7e=(_0x24defd=_0x15a2a3[_0x4ec7e7(0x7d)])===null||_0x24defd===void 0x0?void 0x0:_0x24defd[0x0],_0x41b796=await getWMSLayerCapabilities(_0x15a2a3[_0x4ec7e7(0x6e)]?_0x15a2a3[_0x4ec7e7(0x6e)]:'',_0x5d1f7e==null?'':_0x5d1f7e);let _0x1e0bbc=new a61_0x4ed5e2(_0x15a2a3,_0x41b796);return _0x1e0bbc;}static async[a61_0x33a9ee(0x71)](_0x35eed1){const _0x8e7487=a61_0x33a9ee;var _0x3465d2;const _0x2cc60c=(_0x3465d2=_0x35eed1[_0x8e7487(0x7d)])===null||_0x3465d2===void 0x0?void 0x0:_0x3465d2[0x0],_0x35416a=await getWMTSLayerCapabilities(_0x35eed1[_0x8e7487(0x6e)]?_0x35eed1[_0x8e7487(0x6e)]:'',_0x2cc60c==null?'':_0x2cc60c);let _0x346ccc=new a61_0x30dc13(_0x35eed1,_0x35416a);return _0x346ccc;}static async[a61_0x33a9ee(0x7c)](_0x569922){const _0x100e9f=a61_0x33a9ee;var _0x470f60;const _0x62f5ae=(_0x470f60=_0x569922[_0x100e9f(0x7d)])===null||_0x470f60===void 0x0?void 0x0:_0x470f60[0x0],_0x1f9fd8=await getWFSLayerCapabilities(_0x569922[_0x100e9f(0x6e)]?_0x569922[_0x100e9f(0x6e)]:'',_0x62f5ae==null?'':_0x62f5ae);let _0x6c3169=new a61_0x322680(_0x569922,_0x1f9fd8);return _0x6c3169;}static async[a61_0x33a9ee(0x7a)](_0x46d31f){const _0x2943f2=a61_0x33a9ee;var _0x3d19da;const _0xeafea2=(_0x3d19da=_0x46d31f[_0x2943f2(0x7d)])===null||_0x3d19da===void 0x0?void 0x0:_0x3d19da[0x0],_0xcf8c19=await getWMTSLayerCapabilities(_0x46d31f['url']?_0x46d31f[_0x2943f2(0x6e)]:'',_0xeafea2==null?'':_0xeafea2);let _0x7d2f5b=new a61_0x401031(_0x46d31f,_0xcf8c19);return _0x7d2f5b;}static async[a61_0x33a9ee(0x70)](_0x4d14dc){const _0xea92d5=a61_0x33a9ee;var _0x38ba70;const _0x154582=(_0x38ba70=_0x4d14dc[_0xea92d5(0x7d)])===null||_0x38ba70===void 0x0?void 0x0:_0x38ba70[0x0],_0x283159=await getWMTSLayerCapabilities(_0x4d14dc['url']?_0x4d14dc[_0xea92d5(0x6e)]:'',_0x154582==null?'':_0x154582);let _0x55c01d=new a61_0x5a72be(_0x4d14dc,_0x283159);return _0x55c01d;}}
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 +1 @@
1
- (function(_0x2d561b,_0x19ce95){const _0x536eb8=a62_0xf07c,_0x276393=_0x2d561b();while(!![]){try{const _0x3fc2c1=parseInt(_0x536eb8(0x1cb))/0x1*(parseInt(_0x536eb8(0x1d0))/0x2)+-parseInt(_0x536eb8(0x1cf))/0x3+-parseInt(_0x536eb8(0x1d6))/0x4+-parseInt(_0x536eb8(0x1c9))/0x5*(-parseInt(_0x536eb8(0x1ce))/0x6)+-parseInt(_0x536eb8(0x1d2))/0x7+parseInt(_0x536eb8(0x1cc))/0x8+-parseInt(_0x536eb8(0x1d3))/0x9;if(_0x3fc2c1===_0x19ce95)break;else _0x276393['push'](_0x276393['shift']());}catch(_0x211ed2){_0x276393['push'](_0x276393['shift']());}}}(a62_0x26e7,0xe379b));function a62_0xf07c(_0x4c9807,_0x40f328){const _0x26e76b=a62_0x26e7();return a62_0xf07c=function(_0xf07c86,_0x5b38a7){_0xf07c86=_0xf07c86-0x1c7;let _0xe116d0=_0x26e76b[_0xf07c86];return _0xe116d0;},a62_0xf07c(_0x4c9807,_0x40f328);}import a62_0x1c272e from'ol/layer/Tile';function a62_0x26e7(){const _0x3a85ea=['EPSG:4490','layerInfo','style','format','KVP','projection','mapIndex','15puZjKV','sublayers','38435SoUXoq','3145896aJERck','initialExtent','3589266fiWHSv','93177PzurWF','38IznFaR','opacity','2202697HxQDql','10722762JfVNng','tileMatrixSet','1.0.0','1796992atWMeb','join','boundingBoxExtent'];a62_0x26e7=function(){return _0x3a85ea;};return a62_0x26e7();}import{WMTS as a62_0x440529}from'ol/source';import a62_0xdb5439 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a62_0x1c272e{constructor(_0x190a5d,_0x101a8e){const _0x2d076a=a62_0xf07c;let _0x5e70ac='';_0x190a5d[_0x2d076a(0x1ca)]&&_0x190a5d[_0x2d076a(0x1ca)]['length']>0x0&&(_0x5e70ac=_0x190a5d['sublayers'][_0x2d076a(0x1d7)](','));const _0x2c19fc=_0x2d076a(0x1d9);let _0x531d34=registerProj(_0x2c19fc);const _0x470502=[],_0x5a1041=[];for(let _0x5d8052=0x1;_0x5d8052<0x13;_0x5d8052++){_0x470502[_0x5d8052]=getWidth(_0x101a8e[_0x2d076a(0x1d8)])/(0x100*Math['pow'](0x2,_0x5d8052)),_0x5a1041[_0x5d8052]=_0x5d8052+'';}super({'opacity':_0x190a5d[_0x2d076a(0x1d1)],'zIndex':_0x190a5d[_0x2d076a(0x1c8)],'source':new a62_0x440529({'style':_0x101a8e[_0x2d076a(0x1db)],'url':_0x190a5d['url'],'tileGrid':new a62_0xdb5439({'origin':getTopLeft(_0x101a8e[_0x2d076a(0x1d8)]),'resolutions':_0x470502,'matrixIds':_0x5a1041}),'layer':_0x5e70ac,'matrixSet':_0x101a8e[_0x2d076a(0x1d4)],'version':_0x2d076a(0x1d5),'format':_0x101a8e[_0x2d076a(0x1dc)][0x0],'projection':_0x2c19fc,'requestEncoding':_0x2d076a(0x1dd)})}),this['id']=_0x190a5d['id'],this[_0x2d076a(0x1cd)]=_0x101a8e[_0x2d076a(0x1d8)],this[_0x2d076a(0x1c7)]=_0x531d34,this[_0x2d076a(0x1da)]=_0x190a5d;}}
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;}}
package/mapView/Map.js CHANGED
@@ -1 +1 @@
1
- function a63_0x27e8(){const _0xe55ec2=['constrainResolution','polygonTempLayer','lineTempLayer','extent','14561660ZfAbQb','initialExtent','getZIndex','pointTempLayer','calculateExtent','setProperties','EPSG:','changetype','fromType','fit','dispatchEvent','setMaxResolution','all','暂不支持【','tag','filter','arcgis-dynamic','setMinResolution','getType','getLayers','setStyle','locationGeometry','248qIKKkp','GeometryCollection','setGeometry','layerIds','getSize','insertAt','EPSG:4490','getArray','transform','layerInfo','getElementById','getTarget','getView','getCoordinates','MultiLineString','length','locationWKTs','MultiPolygon','getGeoserverWmsLayer','tdt-c','getExtent','addLayer','arcgis-tile','projection','setProjection','controlManager','LineString','geoserver-vector-tile','minResolution','getGeoserverWMTSLayer','getTempLayerById','add','Point','remove','166780KmNGvK','interactionManager','isSelected','getLayerById','geoserver-wmts','layerType','minScale','_options','232714vxFrjn','geoserver-wms','getArcgisTileLayer','getLength','minZoom','arcgis-wmts','2791206rsAEIl','addMapLayer','changelayer','locationGeometrys','3710496gUuYma','getMetersPerUnit','rgba(255,\x200,\x200,\x201)','getMinZoom','getTempLayerByGeoType','getProjection','addWKTs','maxScale','push','addWKT','maxResolution','removeLayer','getPolygonTempLayer','254884AbWZSg','getPointTempLayer','MultiPoint','resetViewProjection','getCode','getSource','zoom','refresh','16111431koYAUu','120upfVBJ','oncontextmenu','3hWTpII','getLineTempLayer','addFeature','center','maxZoom','fitLayerById','fitLayer','layerTag','flashGeometrys','locationWKT','Polygon','getLayerByLayerTag'];a63_0x27e8=function(){return _0xe55ec2;};return a63_0x27e8();}const a63_0x188dbc=a63_0x575f;(function(_0x4fd960,_0x53cc72){const _0x41c5ce=a63_0x575f,_0x3da382=_0x4fd960();while(!![]){try{const _0x39268b=-parseInt(_0x41c5ce(0x93))/0x1*(-parseInt(_0x41c5ce(0xe3))/0x2)+parseInt(_0x41c5ce(0x7b))/0x3+parseInt(_0x41c5ce(0x91))/0x4*(-parseInt(_0x41c5ce(0xdb))/0x5)+-parseInt(_0x41c5ce(0x77))/0x6+-parseInt(_0x41c5ce(0x88))/0x7*(-parseInt(_0x41c5ce(0xb9))/0x8)+-parseInt(_0x41c5ce(0x90))/0x9+parseInt(_0x41c5ce(0xa3))/0xa;if(_0x39268b===_0x53cc72)break;else _0x3da382['push'](_0x3da382['shift']());}catch(_0x470a1c){_0x3da382['push'](_0x3da382['shift']());}}}(a63_0x27e8,0xdf571));import'ol/ol.css';import'../assets/main.css';import a63_0x4020e1 from'ol/Map';import a63_0x4174cc from'ol/events/Event';import{defaults as a63_0x76b9a2}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a63_0x5eeceb from'../layers/LayerManager';import a63_0x252a4b from'ol/layer/Vector';function a63_0x575f(_0x8d37fb,_0x9d0e20){const _0x27e800=a63_0x27e8();return a63_0x575f=function(_0x575fd9,_0x51d329){_0x575fd9=_0x575fd9-0x72;let _0x2ed80c=_0x27e800[_0x575fd9];return _0x2ed80c;},a63_0x575f(_0x8d37fb,_0x9d0e20);}import a63_0x3675e4 from'ol/source/Vector';import a63_0x33eaf5 from'../controls/ControlManager';import a63_0x1e1408 from'../entity/Feature';import a63_0x2c1b3d from'../interaction/InteractionManager';import a63_0x2ea2ec from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a63_0x4430ac from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a63_0x4174cc{constructor(_0x5a1047,_0x1d5319,_0x49b94e){const _0x2abde7=a63_0x575f;super(_0x5a1047),this[_0x2abde7(0xbc)]=_0x1d5319,this[_0x2abde7(0xaa)]=_0x49b94e;}}export default class OLMap extends a63_0x4020e1{constructor(_0x11563a,_0x23d5db,_0x279f70){const _0x579f2b=a63_0x575f;_0x23d5db=_0x23d5db?_0x23d5db:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x4febe4=_0x23d5db['projection']?_0x579f2b(0xa9)+_0x23d5db[_0x579f2b(0xd0)]:_0x579f2b(0xbf);_0x23d5db[_0x579f2b(0x8e)]=_0x23d5db[_0x579f2b(0x8e)]?_0x23d5db['zoom']:0xa,_0x23d5db[_0x579f2b(0x75)]=_0x23d5db[_0x579f2b(0x75)]?_0x23d5db[_0x579f2b(0x75)]:0x0,_0x23d5db[_0x579f2b(0x97)]=_0x23d5db[_0x579f2b(0x97)]?_0x23d5db[_0x579f2b(0x97)]:0x1c,_0x23d5db['constrainResolution']=_0x23d5db['constrainResolution']?_0x23d5db[_0x579f2b(0x9f)]:![],_0x23d5db[_0x579f2b(0x96)]=_0x23d5db[_0x579f2b(0x96)]?_0x23d5db[_0x579f2b(0x96)]:[117.22718,31.820386],registerProj(_0x4febe4);const _0x1b9c60={'target':_0x11563a,'view':_0x279f70?_0x279f70:new a63_0x2ea2ec({'center':_0x23d5db[_0x579f2b(0x96)],'zoom':_0x23d5db[_0x579f2b(0x8e)],'projection':_0x4febe4,'minZoom':_0x23d5db[_0x579f2b(0x75)],'maxZoom':_0x23d5db['maxZoom'],'minResolution':_0x23d5db[_0x579f2b(0xd5)],'maxResolution':_0x23d5db[_0x579f2b(0x85)],'constrainResolution':_0x23d5db[_0x579f2b(0x9f)]}),'controls':a63_0x76b9a2({'zoom':![]})};super(_0x1b9c60);_0x23d5db['extent']&&this[_0x579f2b(0xc5)]()[_0x579f2b(0xac)](_0x23d5db[_0x579f2b(0xa2)]);const _0x8d3848=this[_0x579f2b(0xc4)]();if(_0x8d3848 instanceof HTMLElement)_0x8d3848[_0x579f2b(0x92)]=function(_0x41f3ae){return![];};else{const _0x83a0ba=document[_0x579f2b(0xc3)](_0x8d3848);_0x83a0ba&&(_0x83a0ba['oncontextmenu']=function(_0x51e115){return![];});}this[_0x579f2b(0xdc)]=new a63_0x2c1b3d(this),this[_0x579f2b(0xd2)]=new a63_0x33eaf5(this),this[_0x579f2b(0xe2)]=_0x23d5db;}[a63_0x188dbc(0xc5)](){return super['getView']();}[a63_0x188dbc(0x8f)](){const _0x424491=a63_0x188dbc;let _0x423a18=this[_0x424491(0xc5)]()['getResolution']();_0x423a18&&this['getView']()['setResolution'](_0x423a18-1e-11);}[a63_0x188dbc(0x99)](_0x4601bc){const _0x5d3c11=a63_0x188dbc;var _0x5505d4;this[_0x5d3c11(0xc5)]()[_0x5d3c11(0xac)](transformExtent(_0x4601bc[_0x5d3c11(0xa4)],(_0x5505d4=_0x4601bc['projection'])===null||_0x5505d4===void 0x0?void 0x0:_0x5505d4[_0x5d3c11(0x8c)](),this[_0x5d3c11(0xc5)]()[_0x5d3c11(0x80)]()[_0x5d3c11(0x8c)]()));}[a63_0x188dbc(0x98)](_0x291f57){let _0x3c2fc4=this['getLayerById'](_0x291f57);_0x3c2fc4&&this['fitLayer'](_0x3c2fc4);}async[a63_0x188dbc(0x78)](_0x5e289d){const _0xe635a1=a63_0x188dbc;let _0x570de2;switch(_0x5e289d['layerType']){case'arcgis-feature':_0x570de2=await a63_0x5eeceb['getArcgisFeatureLayer'](_0x5e289d);break;case _0xe635a1(0xb3):_0x570de2=await a63_0x5eeceb['getDynamicLayer'](_0x5e289d);break;case _0xe635a1(0xcf):_0x570de2=await a63_0x5eeceb[_0xe635a1(0x73)](_0x5e289d);break;case'arcgis-wms':_0x570de2=await a63_0x5eeceb['getArcgisWmsLayer'](_0x5e289d);break;case _0xe635a1(0x76):_0x570de2=await a63_0x5eeceb['getArcgisWMTSLayer'](_0x5e289d);break;case _0xe635a1(0x72):_0x570de2=await a63_0x5eeceb[_0xe635a1(0xcb)](_0x5e289d);break;case'geoserver-wfs':_0x570de2=await a63_0x5eeceb['getGeoserverWFSLayer'](_0x5e289d);break;case _0xe635a1(0xdf):_0x570de2=await a63_0x5eeceb[_0xe635a1(0xd6)](_0x5e289d);break;case _0xe635a1(0xd4):_0x570de2=await a63_0x5eeceb['getGeoserverVectorTileLayer'](_0x5e289d);break;case _0xe635a1(0xcc):_0x570de2=await a63_0x5eeceb['getTDTLayer'](_0x5e289d);break;default:throw new Error(_0xe635a1(0xb0)+_0x5e289d[_0xe635a1(0xe0)]+'】服务类型');}return this[_0xe635a1(0xce)](_0x570de2),this[_0xe635a1(0xad)](new ChangeLayerEvent(_0xe635a1(0x79),[_0x5e289d['id']],_0xe635a1(0xd8))),_0x570de2;}async['addMapLayers'](_0x25cb6b){const _0xf689d4=a63_0x188dbc;let _0x8f56e2=[];const _0xa9171e=[];for(let _0x3712e8=0x0;_0x3712e8<_0x25cb6b[_0xf689d4(0xc8)];_0x3712e8++){const _0x5344a4=_0x25cb6b[_0x3712e8];_0xa9171e[_0xf689d4(0x83)](_0x5344a4['id']),_0x8f56e2[_0xf689d4(0x83)](this[_0xf689d4(0x78)](_0x5344a4));}const _0x100341=await Promise[_0xf689d4(0xaf)](_0x8f56e2);return this[_0xf689d4(0xad)](new ChangeLayerEvent('changelayer',_0xa9171e,_0xf689d4(0xd8))),_0x100341;}[a63_0x188dbc(0xce)](_0x33e0b9,_0x39adb9=![]){const _0x4fecd2=a63_0x188dbc,_0x319830=_0x33e0b9,_0x1a8571=this[_0x4fecd2(0xde)](_0x319830['id']);if(_0x1a8571==null){const _0x44566a=_0x319830['layerInfo']==undefined||_0x319830[_0x4fecd2(0xc2)][_0x4fecd2(0xe1)]==undefined||_0x319830[_0x4fecd2(0xc2)][_0x4fecd2(0xe1)]<0x0?undefined:calculateResolution(_0x319830['layerInfo'][_0x4fecd2(0xe1)],this['getView']()[_0x4fecd2(0x80)]()[_0x4fecd2(0x7c)]()||0x0);_0x33e0b9[_0x4fecd2(0xb4)](_0x44566a);const _0x376707=_0x319830[_0x4fecd2(0xc2)]==undefined||_0x319830[_0x4fecd2(0xc2)][_0x4fecd2(0x82)]==undefined||_0x319830[_0x4fecd2(0xc2)][_0x4fecd2(0x82)]<0x0?undefined:calculateResolution(_0x319830['layerInfo'][_0x4fecd2(0x82)],this['getView']()['getProjection']()[_0x4fecd2(0x7c)]()||0x0);_0x33e0b9[_0x4fecd2(0xae)](_0x376707);const _0xb413ee=this[_0x4fecd2(0xb6)]()[_0x4fecd2(0xc0)]()['length'];if(!this['_options'][_0x4fecd2(0xd0)]&&_0xb413ee==0x0&&_0x319830[_0x4fecd2(0xd0)]&&_0x319830[_0x4fecd2(0xd0)]['getCode']()!=this[_0x4fecd2(0xc5)]()[_0x4fecd2(0x80)]()[_0x4fecd2(0x8c)]()){}let _0x37ddd6=_0x33e0b9[_0x4fecd2(0xa5)]();_0x37ddd6!=undefined&&_0x37ddd6>_0xb413ee&&(_0x37ddd6=_0xb413ee),this[_0x4fecd2(0xb6)]()[_0x4fecd2(0xbe)](_0x37ddd6==undefined?_0xb413ee:_0x37ddd6,_0x33e0b9),_0x39adb9&&this[_0x4fecd2(0x99)](_0x319830);}}['removeLayerById'](_0x2f8a3b){const _0x161db2=a63_0x188dbc,_0x524027=this[_0x161db2(0xde)](_0x2f8a3b);_0x524027&&(this[_0x161db2(0x86)](_0x524027),this[_0x161db2(0xad)](new ChangeLayerEvent(_0x161db2(0x79),[_0x2f8a3b],_0x161db2(0xda))));}[a63_0x188dbc(0xde)](_0x2b6b42){const _0x498ab0=a63_0x188dbc;let _0x144f10,_0x4dd57c=this[_0x498ab0(0xb6)]()[_0x498ab0(0xc0)]();for(let _0x58c9ce=0x0;_0x58c9ce<_0x4dd57c[_0x498ab0(0xc8)];_0x58c9ce++){let _0x3397e6=_0x4dd57c[_0x58c9ce]['id'];if(_0x2b6b42==_0x3397e6){_0x144f10=_0x4dd57c[_0x58c9ce];break;}}return _0x144f10;}[a63_0x188dbc(0x9e)](_0x38b01c){const _0x3245c4=a63_0x188dbc;let _0x4803c6,_0x2a8a97=this[_0x3245c4(0xb6)]()[_0x3245c4(0xc0)]();for(let _0x131420=0x0;_0x131420<_0x2a8a97['length'];_0x131420++){const _0x4b2ab9=_0x2a8a97[_0x131420][_0x3245c4(0xc2)];if(!_0x4b2ab9)continue;let _0x181df7=_0x4b2ab9[_0x3245c4(0x9a)];if(_0x181df7==_0x38b01c){_0x4803c6=_0x2a8a97[_0x131420];break;}}return _0x4803c6;}['getLayersByIds'](_0x38af5a){const _0xf6e088=a63_0x188dbc;let _0x381ee5=this['getLayers']()[_0xf6e088(0xc0)]();return _0x381ee5[_0xf6e088(0xb2)](_0x188403=>_0x38af5a['includes'](_0x188403['id']));}['getTempLayerById'](_0x49a51f){const _0x1135c6=a63_0x188dbc;let _0x584ef0,_0x57cbc5=this['getLayers']()[_0x1135c6(0xc0)]();for(let _0x318f92=0x0;_0x318f92<_0x57cbc5['length'];_0x318f92++){const _0x3d97f4=_0x57cbc5[_0x318f92];if(_0x3d97f4['id']===_0x49a51f){_0x584ef0=_0x3d97f4;break;}}if(!_0x584ef0){_0x584ef0=new a63_0x252a4b({'zIndex':0x270f,'source':new a63_0x3675e4()}),_0x584ef0['id']=_0x49a51f;const _0x9b16bc=this[_0x1135c6(0xb6)]()[_0x1135c6(0x74)]();switch(_0x49a51f){case _0x1135c6(0xa1):this[_0x1135c6(0xb6)]()[_0x1135c6(0xbe)](_0x9b16bc-0x1>-0x1?_0x9b16bc-0x1:0x0,_0x584ef0);break;case _0x1135c6(0xa0):this[_0x1135c6(0xb6)]()['insertAt'](_0x9b16bc-0x2>-0x1?_0x9b16bc-0x2:0x0,_0x584ef0);break;case _0x1135c6(0xa6):this[_0x1135c6(0xb6)]()[_0x1135c6(0xbe)](_0x9b16bc,_0x584ef0);break;default:break;}}return _0x584ef0;}['getPointTempLayer'](){const _0x5ed6bf=a63_0x188dbc;return this[_0x5ed6bf(0xd7)]('pointTempLayer');}['getLineTempLayer'](){const _0x5bfa38=a63_0x188dbc;return this[_0x5bfa38(0xd7)](_0x5bfa38(0xa1));}[a63_0x188dbc(0x87)](){const _0x4f225d=a63_0x188dbc;return this[_0x4f225d(0xd7)]('polygonTempLayer');}['getTempLayerByGeoType'](_0x558c64){const _0xed7255=a63_0x188dbc;let _0x4a7ae9=this['getPointTempLayer']();switch(_0x558c64){case _0xed7255(0xd9):case _0xed7255(0x8a):_0x4a7ae9=this[_0xed7255(0x89)]();case _0xed7255(0xd3):case _0xed7255(0xc7):_0x4a7ae9=this[_0xed7255(0x94)]();case _0xed7255(0x9d):case _0xed7255(0xca):_0x4a7ae9=this[_0xed7255(0x87)]();}return _0x4a7ae9;}[a63_0x188dbc(0x8b)](_0x471a68){const _0x569582=a63_0x188dbc;let _0x337f6e=this[_0x569582(0xc5)]()[_0x569582(0x7e)](),_0x41fdae=this['getView']()['getMaxZoom']();registerProj(_0x471a68),this['getView']()[_0x569582(0xd1)](_0x471a68);}['sortTemLayer'](){const _0x5c3403=a63_0x188dbc;let _0x3d4459=[];_0x3d4459[_0x5c3403(0x83)](this[_0x5c3403(0x89)]()),_0x3d4459[_0x5c3403(0x83)](this[_0x5c3403(0x94)]()),_0x3d4459[_0x5c3403(0x83)](this[_0x5c3403(0x87)]());const _0x1d7e11=this[_0x5c3403(0xb6)]()[_0x5c3403(0xc0)]()[_0x5c3403(0xc8)];for(let _0xb38ef4=0x0;_0xb38ef4<_0x3d4459[_0x5c3403(0xc8)];_0xb38ef4++){const _0x44d9a1=_0x3d4459[_0xb38ef4];this[_0x5c3403(0xb6)]()[_0x5c3403(0xbe)](_0x1d7e11-_0xb38ef4-0x1,_0x44d9a1);}}[a63_0x188dbc(0xcd)](){const _0x4863c5=a63_0x188dbc;return this['getView']()[_0x4863c5(0xa7)](this[_0x4863c5(0xbd)]());}[a63_0x188dbc(0x84)](_0x15d8f9,_0xfb5a5b,_0x23dc09,_0x2cc2f5=!![],_0xd4041a,_0x399c50={'color':'rgba(255,\x200,\x200,\x200.2)','opacity':0.2,'outlineColor':a63_0x188dbc(0x7d),'outlineWidth':0x2}){const _0x2ca3e3=a63_0x188dbc;var _0x10f31c;const _0x372d8b=fromWKT(_0x15d8f9,_0xfb5a5b,this[_0x2ca3e3(0xc5)]()[_0x2ca3e3(0x80)]()['getCode']());if(!_0x372d8b)return;const _0x1d6c3f=this[_0x2ca3e3(0x7f)](_0x372d8b['getType']()),_0x1a5afb=getStyle(_0x399c50),_0x415c04=new a63_0x1e1408();return _0x415c04[_0x2ca3e3(0xbb)](_0x372d8b),_0x415c04[_0x2ca3e3(0xb7)](_0x1a5afb),_0xd4041a?_0x415c04[_0x2ca3e3(0xa8)](_0xd4041a):_0x415c04['setProperties']({}),_0x415c04[_0x2ca3e3(0xb1)]=_0x23dc09,(_0x10f31c=_0x1d6c3f[_0x2ca3e3(0x8d)]())===null||_0x10f31c===void 0x0?void 0x0:_0x10f31c[_0x2ca3e3(0x95)](_0x415c04),_0x2cc2f5&&this[_0x2ca3e3(0xb8)](_0x372d8b,undefined,1.2,![]),_0x415c04;}[a63_0x188dbc(0x81)](_0x4ee9ec,_0xf0b9d5,_0x56f909,_0x29fafb=!![],_0x1ce6d7={'color':'rgba(255,\x200,\x200,\x200.2)','opacity':0.2,'outlineColor':a63_0x188dbc(0x7d),'outlineWidth':0x2},_0x42461f){const _0x2dca32=a63_0x188dbc;var _0x16b6f5;const _0x166fca=fromWKTs(_0x4ee9ec,_0xf0b9d5,this[_0x2dca32(0xc5)]()['getProjection']()[_0x2dca32(0x8c)]());if(!_0x166fca||_0x166fca['length']==0x0)return;const _0x37f7af=this[_0x2dca32(0x7f)](_0x166fca[0x0][_0x2dca32(0xb5)]()),_0x4c87d5=getStyle(_0x1ce6d7);let _0x59b940=[];for(const _0x57ef6d of _0x166fca){const _0x384c6b=new a63_0x1e1408();_0x384c6b[_0x2dca32(0xbb)](_0x57ef6d),_0x384c6b[_0x2dca32(0xb7)](_0x4c87d5),_0x42461f?_0x384c6b[_0x2dca32(0xa8)](_0x42461f):_0x384c6b[_0x2dca32(0xa8)]({}),_0x384c6b[_0x2dca32(0xab)]='import',_0x384c6b[_0x2dca32(0xdd)]=!![],_0x384c6b[_0x2dca32(0xb1)]=_0x56f909,_0x59b940[_0x2dca32(0x83)](_0x384c6b);}return(_0x16b6f5=_0x37f7af[_0x2dca32(0x8d)]())===null||_0x16b6f5===void 0x0?void 0x0:_0x16b6f5['addFeatures'](_0x59b940),_0x29fafb&&this[_0x2dca32(0x7a)](_0x166fca,undefined,1.2,![]),_0x59b940;}[a63_0x188dbc(0x9c)](_0x47276c,_0x245ec9,_0x3e4fdd=1.2,_0xcdcb8d=!![]){const _0x47932f=a63_0x188dbc;if(!_0x47276c)return;let _0xae6107=fromWKT(_0x47276c,_0x245ec9,this['getView']()[_0x47932f(0x80)]()[_0x47932f(0x8c)]());if(!_0xae6107)return;this['locationGeometry'](_0xae6107,_0x245ec9,_0x3e4fdd,_0xcdcb8d);}[a63_0x188dbc(0xc9)](_0x36095f,_0x4b8d35,_0x3c18c8=1.2,_0x102369=!![]){const _0x506ec6=a63_0x188dbc;if(!_0x36095f||_0x36095f[_0x506ec6(0xc8)]===0x0)return;const _0x2b2cc0=[];for(let _0x4737a2=0x0;_0x4737a2<_0x36095f[_0x506ec6(0xc8)];_0x4737a2++){let _0x23c562=_0x36095f[_0x4737a2],_0x2c7199=fromWKT(_0x23c562,_0x4b8d35,this['getView']()['getProjection']()['getCode']());if(!_0x2c7199)continue;_0x2b2cc0[_0x506ec6(0x83)](_0x2c7199);}this[_0x506ec6(0x7a)](_0x2b2cc0,_0x4b8d35,_0x3c18c8,_0x102369);}['locationGeometry'](_0x2dc687,_0x19b362,_0x34917d=1.2,_0x13a78e=!![]){const _0x4b566a=a63_0x188dbc;if(!_0x2dc687)return;let _0x33afe6=_0x2dc687;_0x19b362&&(_0x33afe6=_0x2dc687[_0x4b566a(0xc1)](_0x19b362,this[_0x4b566a(0xc5)]()['getProjection']()));switch(_0x33afe6[_0x4b566a(0xb5)]()){case _0x4b566a(0xd9):this[_0x4b566a(0xc5)]()['setCenter'](_0x33afe6[_0x4b566a(0xc6)]());break;case _0x4b566a(0x9d):case _0x4b566a(0x8a):case _0x4b566a(0xc7):case _0x4b566a(0xca):case _0x4b566a(0xba):this[_0x4b566a(0xc5)]()[_0x4b566a(0xac)](expandExtent(_0x33afe6[_0x4b566a(0xcd)](),_0x34917d));break;}if(_0x13a78e){const _0x3bacf2=new a63_0x4430ac(this);_0x3bacf2[_0x4b566a(0x9b)]([_0x33afe6],0x3);}}[a63_0x188dbc(0x7a)](_0x37df80,_0x1068bb,_0x8a8b48=1.2,_0x7599ad=!![]){const _0x141b6e=a63_0x188dbc;if(!_0x37df80||_0x37df80[_0x141b6e(0xc8)]===0x0)return;let _0x4eb269=null;for(const _0x1dd5b7 of _0x37df80){_0x4eb269?_0x4eb269=union(_0x4eb269,_0x1dd5b7):_0x4eb269=_0x1dd5b7;}_0x4eb269&&this[_0x141b6e(0xb8)](_0x4eb269,_0x1068bb,_0x8a8b48,![]);if(_0x7599ad){const _0xc7b28=new a63_0x4430ac(this);_0xc7b28[_0x141b6e(0x9b)](_0x37df80,0x3);}}}
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);}}}
package/mapView/View.js CHANGED
@@ -1 +1 @@
1
- function a64_0x1bfb(_0x40684b,_0x36abc7){var _0x21fbc4=a64_0x21fb();return a64_0x1bfb=function(_0x1bfbdc,_0x81c361){_0x1bfbdc=_0x1bfbdc-0x6a;var _0x3f3569=_0x21fbc4[_0x1bfbdc];return _0x3f3569;},a64_0x1bfb(_0x40684b,_0x36abc7);}(function(_0x28875b,_0x53d1d0){var _0x2e2153=a64_0x1bfb,_0x182636=_0x28875b();while(!![]){try{var _0x1fa78f=-parseInt(_0x2e2153(0x6d))/0x1*(-parseInt(_0x2e2153(0x75))/0x2)+parseInt(_0x2e2153(0x73))/0x3*(parseInt(_0x2e2153(0x6a))/0x4)+-parseInt(_0x2e2153(0x70))/0x5*(parseInt(_0x2e2153(0x74))/0x6)+parseInt(_0x2e2153(0x6f))/0x7+parseInt(_0x2e2153(0x6c))/0x8*(parseInt(_0x2e2153(0x6b))/0x9)+-parseInt(_0x2e2153(0x76))/0xa+-parseInt(_0x2e2153(0x6e))/0xb*(parseInt(_0x2e2153(0x72))/0xc);if(_0x1fa78f===_0x53d1d0)break;else _0x182636['push'](_0x182636['shift']());}catch(_0x4d9c1e){_0x182636['push'](_0x182636['shift']());}}}(a64_0x21fb,0x8fa9b));import a64_0xb9154d from'ol/View';function a64_0x21fb(){var _0x1c6425=['10160790MAXfuv','675096yvzMvH','59580kkWult','656xqDGgb','6627QJCkzn','2518780ZjyJYA','1042181dryngr','10HrMuoZ','setProperties','24Hijdec','18iESFKt','376968peZKdW','146djZQGr'];a64_0x21fb=function(){return _0x1c6425;};return a64_0x21fb();}import{get}from'ol/proj';export default class OLView extends a64_0xb9154d{constructor(_0x2171ef){super(_0x2171ef);}['setProjection'](_0x27b6ff){var _0x3df3a6=a64_0x1bfb;this['projection_']=get(_0x27b6ff),this[_0x3df3a6(0x71)]({'projection_':get(_0x27b6ff)});}}
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)});}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ym-gis-2d",
3
- "version": "1.0.34",
3
+ "version": "1.0.36",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "index.ts",
package/plot/Plot.js CHANGED
@@ -1 +1 @@
1
- (function(_0x1482f5,_0x570fa5){const _0x1c9164=a72_0x1c74,_0x507eae=_0x1482f5();while(!![]){try{const _0x50b7ab=-parseInt(_0x1c9164(0x1e8))/0x1+-parseInt(_0x1c9164(0x1d8))/0x2+-parseInt(_0x1c9164(0x1e1))/0x3+parseInt(_0x1c9164(0x1dd))/0x4*(-parseInt(_0x1c9164(0x1d7))/0x5)+parseInt(_0x1c9164(0x1d4))/0x6+-parseInt(_0x1c9164(0x1d2))/0x7+parseInt(_0x1c9164(0x1de))/0x8;if(_0x50b7ab===_0x570fa5)break;else _0x507eae['push'](_0x507eae['shift']());}catch(_0x59baef){_0x507eae['push'](_0x507eae['shift']());}}}(a72_0xaee2,0x30da5));import a72_0xacd5b2 from'../entity/GeometryType';import a72_0x2cc0b6 from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';function a72_0x1c74(_0x2b9c4e,_0x513a3d){const _0xaee284=a72_0xaee2();return a72_0x1c74=function(_0x1c74c5,_0x571e20){_0x1c74c5=_0x1c74c5-0x1d2;let _0x178680=_0xaee284[_0x1c74c5];return _0x178680;},a72_0x1c74(_0x2b9c4e,_0x513a3d);}function a72_0xaee2(){const _0x59144f=['724840XxCnaX','418660xrVwVC','Ellipse','Curve','pointermove','Ellipsoid','8rDYGOY','8798016nGXfyE','ArrowAttack','ArrowPincerlike','972393tZItTa','Point','text','SurfaceClosed','MAX_VALUE','Arrow','Circle','131070nVnGXU','toLowerCase','assign','PolyLine','62090HyTWSk','AssemblySite','382116LatdzZ','Polygon','Rectangle'];a72_0xaee2=function(){return _0x59144f;};return a72_0xaee2();}import{getPolygonStyle}from'../style/PolygonStyleFormat';import a72_0x6c399b from'./geometry/polygon/RectAngle';import a72_0x39f73d from'./geometry/polyline/Polyline';import a72_0x40bcbf from'./geometry/point/Point';import a72_0x3a4ca4 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(_0x10a46a,_0x5572f6){const _0x1dc180=a72_0x1c74;_0x10a46a=_0x10a46a['toLowerCase']();switch(_0x10a46a){case a72_0xacd5b2[_0x1dc180(0x1e2)]:case _0x1dc180(0x1db):return new a72_0x40bcbf(_0x5572f6);case a72_0xacd5b2['PolyLine']:return new a72_0x39f73d(_0x5572f6);case a72_0xacd5b2[_0x1dc180(0x1e7)]:return new a72_0x3a4ca4(_0x5572f6);case a72_0xacd5b2[_0x1dc180(0x1d6)]:return new a72_0x6c399b(_0x5572f6);case a72_0xacd5b2[_0x1dc180(0x1d5)]:return new a72_0x2cc0b6(_0x5572f6);}}export function getPlotCount(_0xbb5609){const _0x5b8664=a72_0x1c74;_0xbb5609=_0xbb5609['toLowerCase']();let _0x3d3c03={'fixPoint':0x0,'minPoint':0x0};switch(_0xbb5609){case a72_0xacd5b2['Point']:_0x3d3c03={'fixPoint':0x1,'minPoint':0x0};break;case a72_0xacd5b2[_0x5b8664(0x1eb)]:_0x3d3c03={'fixPoint':Number[_0x5b8664(0x1e5)],'minPoint':0x1};break;case a72_0xacd5b2[_0x5b8664(0x1d5)]:_0x3d3c03={'fixPoint':Number[_0x5b8664(0x1e5)],'minPoint':0x2};break;case a72_0xacd5b2[_0x5b8664(0x1d6)]:_0x3d3c03={'fixPoint':0x2,'minPoint':0x1};break;case a72_0xacd5b2[_0x5b8664(0x1e7)]:_0x3d3c03={'fixPoint':0x2,'minPoint':0x1};break;case a72_0xacd5b2[_0x5b8664(0x1da)]:_0x3d3c03={'fixPoint':Number[_0x5b8664(0x1e5)],'minPoint':0x1};break;case a72_0xacd5b2[_0x5b8664(0x1d9)]:case a72_0xacd5b2['Ellipsoid']:_0x3d3c03={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x3d3c03;}export function getStyle(_0x41606d,_0x3f4417,_0x101ccc){const _0x17a989=a72_0x1c74;_0x41606d=_0x41606d[_0x17a989(0x1e9)](),_0x3f4417=Object[_0x17a989(0x1ea)](Object[_0x17a989(0x1ea)]({},defaultStyle),_0x3f4417);switch(_0x41606d){case a72_0xacd5b2[_0x17a989(0x1e2)]:return function(_0x222363,_0x4009ad){return getPointSingleStyle(_0x41606d,_0x3f4417,_0x4009ad,_0x101ccc);};case a72_0xacd5b2[_0x17a989(0x1eb)]:case a72_0xacd5b2[_0x17a989(0x1da)]:return function(_0x28c96a,_0x284b2d){return getPolylineStyle(_0x3f4417,'',_0x284b2d,_0x101ccc);};case a72_0xacd5b2['Circle']:case a72_0xacd5b2['Rectangle']:case a72_0xacd5b2['Ellipse']:case a72_0xacd5b2[_0x17a989(0x1dc)]:case a72_0xacd5b2[_0x17a989(0x1e4)]:case a72_0xacd5b2[_0x17a989(0x1d5)]:case a72_0xacd5b2[_0x17a989(0x1df)]:case a72_0xacd5b2[_0x17a989(0x1e0)]:case a72_0xacd5b2[_0x17a989(0x1e6)]:case a72_0xacd5b2[_0x17a989(0x1d3)]:return function(_0x1a7125,_0x6db01d){const _0x516f44=_0x17a989;return getPolygonStyle(_0x3f4417,_0x3f4417[_0x516f44(0x1e3)],_0x6db01d,_0x101ccc);};}}
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 +1 @@
1
- var a65_0xfd7b61=a65_0x4165;(function(_0x3521db,_0x248e75){var _0x3e925c=a65_0x4165,_0x2cc1e8=_0x3521db();while(!![]){try{var _0x495d48=-parseInt(_0x3e925c(0x1a4))/0x1*(-parseInt(_0x3e925c(0x18c))/0x2)+-parseInt(_0x3e925c(0x19d))/0x3+parseInt(_0x3e925c(0x193))/0x4+-parseInt(_0x3e925c(0x18b))/0x5*(parseInt(_0x3e925c(0x197))/0x6)+parseInt(_0x3e925c(0x18d))/0x7*(-parseInt(_0x3e925c(0x1a0))/0x8)+-parseInt(_0x3e925c(0x198))/0x9*(parseInt(_0x3e925c(0x192))/0xa)+parseInt(_0x3e925c(0x1a3))/0xb;if(_0x495d48===_0x248e75)break;else _0x2cc1e8['push'](_0x2cc1e8['shift']());}catch(_0x2081e9){_0x2cc1e8['push'](_0x2cc1e8['shift']());}}}(a65_0x112f,0xb951e));import{Map}from'ol';import{Point as a65_0x392e22}from'ol/geom';class Point extends a65_0x392e22{constructor(_0xcc8c93){var _0x5867b5=a65_0x4165;super([]),this[_0x5867b5(0x19e)]=_0x5867b5(0x19c),this[_0x5867b5(0x1a7)]=_0xcc8c93,this[_0x5867b5(0x19f)](_0xcc8c93);}[a65_0xfd7b61(0x18f)](){var _0x43ac5a=a65_0xfd7b61;return this[_0x43ac5a(0x19e)];}['generate'](){var _0x397b03=a65_0xfd7b61;this[_0x397b03(0x19b)](this[_0x397b03(0x1a7)][0x0]);}[a65_0xfd7b61(0x18e)](_0x2a90fd){var _0x10ad72=a65_0xfd7b61;if(_0x2a90fd&&_0x2a90fd instanceof Map)this[_0x10ad72(0x1a5)]=_0x2a90fd;else throw new Error(_0x10ad72(0x190));}[a65_0xfd7b61(0x199)](){var _0x422811=a65_0xfd7b61;return this[_0x422811(0x1a5)];}['isPlot'](){return!![];}[a65_0xfd7b61(0x19f)](_0x1cc32c){var _0x143aea=a65_0xfd7b61;_0x1cc32c&&_0x1cc32c[_0x143aea(0x1a2)]>=0x1&&(this['points']=_0x1cc32c,this['generate']());}[a65_0xfd7b61(0x1a6)](){return this['points'];}[a65_0xfd7b61(0x195)](_0x122b11,_0x5cfa34){var _0x34795e=a65_0xfd7b61;_0x5cfa34>=0x0&&_0x5cfa34<this[_0x34795e(0x1a7)][_0x34795e(0x1a2)]&&(this['points'][_0x5cfa34]=_0x122b11,this['generate']());}['updateLastPoint'](_0x4e6ede){var _0x54317f=a65_0xfd7b61;this[_0x54317f(0x195)](_0x4e6ede,this[_0x54317f(0x1a7)][_0x54317f(0x1a2)]-0x1);}[a65_0xfd7b61(0x1a1)](){}[a65_0xfd7b61(0x194)](_0x2e6176){var _0x4b34de=a65_0xfd7b61;this[_0x4b34de(0x191)]=JSON[_0x4b34de(0x19a)](JSON[_0x4b34de(0x196)](_0x2e6176));}}function a65_0x4165(_0xb57d4b,_0x1bddf1){var _0x112f8c=a65_0x112f();return a65_0x4165=function(_0x416549,_0x2a55bb){_0x416549=_0x416549-0x18b;var _0x304806=_0x112f8c[_0x416549];return _0x304806;},a65_0x4165(_0xb57d4b,_0x1bddf1);}export default Point;function a65_0x112f(){var _0x5422ba=['type','setPoints','2848904dsGZgT','finishDrawing','length','32690790xqmfvF','158RTuxNt','map','getPoints','points','5FloozV','8310kOiJbp','28rnuqvB','setMap','getPlotType','传入的不是地图对象!','style','11258770CieDxH','1650232FnOXzB','setStyle','updatePoint','stringify','3480402jGTGei','9QfJtvs','getMap','parse','setCoordinates','Point','454416CSzihk'];a65_0x112f=function(){return _0x5422ba;};return a65_0x112f();}
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 +1 @@
1
- function a66_0x15cd(_0x2559ac,_0x416a7f){var _0x45a104=a66_0x45a1();return a66_0x15cd=function(_0x15cd9f,_0x53a12b){_0x15cd9f=_0x15cd9f-0x16c;var _0x5acb51=_0x45a104[_0x15cd9f];return _0x5acb51;},a66_0x15cd(_0x2559ac,_0x416a7f);}var a66_0xe751f1=a66_0x15cd;(function(_0x24669a,_0x3a2120){var _0x68819b=a66_0x15cd,_0x2bd6ef=_0x24669a();while(!![]){try{var _0x5d5161=-parseInt(_0x68819b(0x16f))/0x1*(-parseInt(_0x68819b(0x180))/0x2)+-parseInt(_0x68819b(0x17f))/0x3+parseInt(_0x68819b(0x17d))/0x4*(parseInt(_0x68819b(0x185))/0x5)+-parseInt(_0x68819b(0x177))/0x6+parseInt(_0x68819b(0x173))/0x7+parseInt(_0x68819b(0x175))/0x8*(parseInt(_0x68819b(0x16d))/0x9)+-parseInt(_0x68819b(0x17c))/0xa*(-parseInt(_0x68819b(0x182))/0xb);if(_0x5d5161===_0x3a2120)break;else _0x2bd6ef['push'](_0x2bd6ef['shift']());}catch(_0x1aa364){_0x2bd6ef['push'](_0x2bd6ef['shift']());}}}(a66_0x45a1,0x7150e));import{Polygon}from'ol/geom';import a66_0x2238e7 from'ol/format/GeoJSON';import a66_0x6541fd from'../../../mapView/Map';function a66_0x45a1(){var _0x3cca84=['传入的不是地图对象!','447118WjoRvj','getGeoJson','8ImFimQ','map','4651224VdJGIS','setPoints','parse','points','setMap','71320NvOFmD','4zEYIsN','getType','568065PJCxdy','478FUPTmw','slice','22PFilUp','stringify','getMap','182275GEsMkw','type','7023789ehahAS','getPoints','2233YHMRLu','length','generate'];a66_0x45a1=function(){return _0x3cca84;};return a66_0x45a1();}class BasePolygon extends Polygon{constructor(){var _0x1d9a33=a66_0x15cd;super([]),this[_0x1d9a33(0x17a)]=[];}[a66_0xe751f1(0x17e)](){var _0x16412d=a66_0xe751f1;return this[_0x16412d(0x16c)]?this[_0x16412d(0x16c)]:super['getType']();}[a66_0xe751f1(0x174)](){return new a66_0x2238e7()['writeGeometryObject'](this);}['setStyle'](_0x3af91e){var _0x453c3c=a66_0xe751f1;_0x3af91e&&(this['style']=JSON[_0x453c3c(0x179)](JSON[_0x453c3c(0x183)](_0x3af91e)));}[a66_0xe751f1(0x17b)](_0x5e49ab){var _0x4241ab=a66_0xe751f1;if(_0x5e49ab&&_0x5e49ab instanceof a66_0x6541fd)this[_0x4241ab(0x176)]=_0x5e49ab;else throw new Error(_0x4241ab(0x172));}[a66_0xe751f1(0x184)](){var _0x11884c=a66_0xe751f1;return this[_0x11884c(0x176)];}['isPlot'](){return!![];}[a66_0xe751f1(0x178)](_0x49f55d){var _0x1634fb=a66_0xe751f1;this[_0x1634fb(0x17a)]=!_0x49f55d?[]:_0x49f55d,this['points'][_0x1634fb(0x170)]>=0x1&&this['generate']();}[a66_0xe751f1(0x171)](){}[a66_0xe751f1(0x16e)](){var _0x23b87d=a66_0xe751f1;return this[_0x23b87d(0x17a)][_0x23b87d(0x181)](0x0);}['getPointCount'](){var _0x2cb93c=a66_0xe751f1;return this['points'][_0x2cb93c(0x170)];}['finishDrawing'](){}}export default BasePolygon;
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 +1 @@
1
- function a67_0x4e10(){const _0x3d74ee=['type','2448166WJYEHQ','generate','3567944qwLoOj','1310726FtnDUs','updatePoint','529515scfpAW','571212gWZpae','writeGeometryObject','1369468EuFjdX','toRadians','length','getGeoJson','setCenter','getRadius','setCenterAndRadius','setPoints','points','197823capWbU','15VNhzdP'];a67_0x4e10=function(){return _0x3d74ee;};return a67_0x4e10();}const a67_0x5880fb=a67_0x34ad;function a67_0x34ad(_0x316335,_0x3ea872){const _0x4e10c9=a67_0x4e10();return a67_0x34ad=function(_0x34ad53,_0xe52334){_0x34ad53=_0x34ad53-0x176;let _0x3b8e96=_0x4e10c9[_0x34ad53];return _0x3b8e96;},a67_0x34ad(_0x316335,_0x3ea872);}(function(_0x6c342b,_0xa92b18){const _0x4cedc9=a67_0x34ad,_0x1f71d8=_0x6c342b();while(!![]){try{const _0x1d7a31=-parseInt(_0x4cedc9(0x183))/0x1+parseInt(_0x4cedc9(0x181))/0x2+parseInt(_0x4cedc9(0x17b))/0x3+parseInt(_0x4cedc9(0x186))/0x4+-parseInt(_0x4cedc9(0x17c))/0x5*(parseInt(_0x4cedc9(0x184))/0x6)+-parseInt(_0x4cedc9(0x17e))/0x7+parseInt(_0x4cedc9(0x180))/0x8;if(_0x1d7a31===_0xa92b18)break;else _0x1f71d8['push'](_0x1f71d8['shift']());}catch(_0x46d6fa){_0x1f71d8['push'](_0x1f71d8['shift']());}}}(a67_0x4e10,0x542e5));import{Circle as a67_0x4320a7}from'ol/geom';import a67_0x5b2567 from'ol/format/GeoJSON';import{offset}from'ol/sphere';import{squaredDistance as a67_0x13154c}from'ol/coordinate';import{fromCircle}from'ol/geom/Polygon';import{compareArray}from'../../../utils/ArrayUtil';class Circle extends a67_0x4320a7{constructor(_0x39b97e){const _0x98b2fa=a67_0x34ad;super([]),this['points']=_0x39b97e,this[_0x98b2fa(0x17d)]='Circle',_0x39b97e&&_0x39b97e['length']>0x0&&this[_0x98b2fa(0x179)](_0x39b97e);}[a67_0x5880fb(0x179)](_0x2050b6){const _0x53705a=a67_0x5880fb;var _0x599328;((_0x599328=this[_0x53705a(0x17a)])===null||_0x599328===void 0x0?void 0x0:_0x599328[_0x53705a(0x188)])>0x0&&(_0x2050b6===null||_0x2050b6===void 0x0?void 0x0:_0x2050b6[_0x53705a(0x188)])>0x0&&!compareArray(this['points'][0x0],_0x2050b6[0x0])?this[_0x53705a(0x176)](_0x2050b6[0x0]):(this[_0x53705a(0x17a)]=!_0x2050b6?[]:_0x2050b6,this[_0x53705a(0x17a)][_0x53705a(0x188)]>=0x1&&(this[_0x53705a(0x17f)]&&this[_0x53705a(0x17f)]()));}[a67_0x5880fb(0x17f)](){const _0x5ce77e=a67_0x5880fb;let _0x43a87b=this[_0x5ce77e(0x17a)][_0x5ce77e(0x188)];if(_0x43a87b<0x2)return![];else{const _0x13c19f=this[_0x5ce77e(0x17a)][0x0],_0x146601=a67_0x13154c(_0x13c19f,this[_0x5ce77e(0x17a)][0x1]);this[_0x5ce77e(0x178)](_0x13c19f,Math['sqrt'](_0x146601));}}[a67_0x5880fb(0x176)](_0xb75e78){const _0x39c97c=a67_0x5880fb;this[_0x39c97c(0x176)](_0xb75e78),this[_0x39c97c(0x17a)]=[_0xb75e78,offset(_0xb75e78,this[_0x39c97c(0x177)](),this[_0x39c97c(0x187)](0x5a))],this[_0x39c97c(0x17f)]();}[a67_0x5880fb(0x187)](_0x56aa3b){return _0x56aa3b*Math['PI']/0xb4;}[a67_0x5880fb(0x189)](){const _0x58e28c=a67_0x5880fb;return new a67_0x5b2567()[_0x58e28c(0x185)](fromCircle(this));}[a67_0x5880fb(0x182)](_0x16f106,_0x1b383f){const _0x89d859=a67_0x5880fb;_0x1b383f>=0x0&&_0x1b383f<this[_0x89d859(0x17a)][_0x89d859(0x188)]&&(this['points'][_0x1b383f]=_0x16f106,this[_0x89d859(0x17f)]());}['updateLastPoint'](_0xc16d67){const _0x3b7eb9=a67_0x5880fb;this['updatePoint'](_0xc16d67,this['points'][_0x3b7eb9(0x188)]-0x1);}}export default Circle;
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;