ym-gis-2d 1.0.36 → 1.0.37

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 (74) 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/index.js +1 -1
  14. package/interaction/AreaMeasure.js +1 -1
  15. package/interaction/Difference.js +1 -1
  16. package/interaction/Draw.js +1 -1
  17. package/interaction/InteractionManager.js +1 -1
  18. package/interaction/Modify.d.ts +3 -3
  19. package/interaction/Modify.d.ts.map +1 -1
  20. package/interaction/Modify.js +1 -1
  21. package/interaction/Modify.js.map +1 -1
  22. package/interaction/Select.js +1 -1
  23. package/interaction/Split.js +1 -1
  24. package/layers/ArcgisDynamicLayer.js +1 -1
  25. package/layers/ArcgisFeatureLayer.js +1 -1
  26. package/layers/ArcgisTileLayer.js +1 -1
  27. package/layers/ArcgisWMSLayer.js +1 -1
  28. package/layers/ArcgisWMTSLayer.js +1 -1
  29. package/layers/GeoserverVectorTile.js +1 -1
  30. package/layers/GeoserverWFSLayer.js +1 -1
  31. package/layers/GeoserverWMSLayer.js +1 -1
  32. package/layers/GeoserverWMTSLayer.js +1 -1
  33. package/layers/LayerManager.js +1 -1
  34. package/layers/TDTLayer.js +1 -1
  35. package/mapView/Map.js +1 -1
  36. package/mapView/View.js +1 -1
  37. package/package.json +1 -1
  38. package/plot/Plot.js +1 -1
  39. package/plot/geometry/point/Point.js +1 -1
  40. package/plot/geometry/polygon/BasePolygon.js +1 -1
  41. package/plot/geometry/polygon/Circle.js +1 -1
  42. package/plot/geometry/polygon/Polygon.js +1 -1
  43. package/plot/geometry/polygon/RectAngle.js +1 -1
  44. package/plot/geometry/polyline/BaseLine.js +1 -1
  45. package/plot/geometry/polyline/Polyline.js +1 -1
  46. package/style/PointStyleFormat.js +1 -1
  47. package/style/PolygonStyleFormat.js +1 -1
  48. package/style/PolylineStyleFormat.js +1 -1
  49. package/style/StyleManager.js +1 -1
  50. package/style/common.js +1 -1
  51. package/utils/ArrayUtil.js +1 -1
  52. package/utils/AxiosUtil.js +1 -1
  53. package/utils/EsriUtil.js +1 -1
  54. package/utils/GeometryUtil.js +1 -1
  55. package/utils/LayerUtil.js +1 -1
  56. package/utils/RegisterProjUtil.js +1 -1
  57. package/utils/ResolutionUtil.js +1 -1
  58. package/utils/StringUtil.js +1 -1
  59. package/utils/StyleUtil.js +1 -1
  60. package/utils/UrlUtil.js +1 -1
  61. package/utils/XmlUtil.js +1 -1
  62. package/utils/format/CQL.js +1 -1
  63. package/utils/format/IsMatchCql.js +1 -1
  64. package/utils/plug/canvas/ImageCache.js +1 -1
  65. package/utils/plug/canvas/PinBuilder.js +1 -1
  66. package/utils/plug/canvas/PinIcon.js +1 -1
  67. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  68. package/utils/tasks/esri/Identify.js +1 -1
  69. package/utils/tasks/esri/Query.js +1 -1
  70. package/utils/tasks/esri/Task.js +1 -1
  71. package/utils/tasks/geoserver/QueryTask.js +1 -1
  72. package/utils/tasks/index.js +1 -1
  73. package/ym-gis-2d.es.js +1 -1
  74. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- const a53_0x3e0e19=a53_0x315b;(function(_0x9688a4,_0x54e8eb){const _0x37283f=a53_0x315b,_0x4a9b49=_0x9688a4();while(!![]){try{const _0x15c825=parseInt(_0x37283f(0x106))/0x1+-parseInt(_0x37283f(0xea))/0x2+-parseInt(_0x37283f(0xe4))/0x3+parseInt(_0x37283f(0x113))/0x4*(-parseInt(_0x37283f(0xfe))/0x5)+parseInt(_0x37283f(0xff))/0x6*(-parseInt(_0x37283f(0x111))/0x7)+-parseInt(_0x37283f(0x109))/0x8+parseInt(_0x37283f(0x107))/0x9;if(_0x15c825===_0x54e8eb)break;else _0x4a9b49['push'](_0x4a9b49['shift']());}catch(_0x2d0b50){_0x4a9b49['push'](_0x4a9b49['shift']());}}}(a53_0x4da4,0x2de2a));import a53_0x57ca0a from'ol/format/EsriJSON';import a53_0x4f6c1d from'ol/source/Vector';import{Vector as a53_0xf77680}from'ol/layer';function a53_0x4da4(){const _0x183cd1=['symbol','331134AblDJR','5673645YZqetB','/query','579864jlCfTg','error','type','1=1','ymax','uniqueValueInfos','renderer','EPSG:','26915CvxTxf','mapIndex','526172tClVdi','log','uniqueValue','initialExtent','&outSR=','url','133956qUOoxA','{\x22xmin\x22:','then','where=','setLayers','layerInfo','511530qEISaw','forEach','drawingInfo','f\x20=\x20json\x20&\x20','setFilter',',\x22spatialReference\x22:{\x22wkid\x22:','field1','find','returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry=','fullExtent','push','xmax','createArcGISFeatureLayer','wkt','xmin','showIndex','addFeatures','&outFields=*',',\x22ymax\x22:','&geometryType=esriGeometryEnvelope&inSR=','5TgzlbW','420EmnurC','ymin','loadFilter','spatialReference','setStyle','value'];a53_0x4da4=function(){return _0x183cd1;};return a53_0x4da4();}import{jsonp}from'../utils/AxiosUtil';import{createXYZ}from'ol/tilegrid';import{tile as a53_0x20b066}from'ol/loadingstrategy';function a53_0x315b(_0x13415e,_0x1ff534){const _0x4da4ee=a53_0x4da4();return a53_0x315b=function(_0x315ba1,_0x4e2689){_0x315ba1=_0x315ba1-0xdf;let _0x2df2e0=_0x4da4ee[_0x315ba1];return _0x2df2e0;},a53_0x315b(_0x13415e,_0x1ff534);}import a53_0x8944f3 from'ol/layer/Group';import{registerProj}from'../utils/RegisterProjUtil';import{transformedEsriStyle}from'../utils/StyleUtil';import a53_0x40f662 from'ol/Collection';import{appendParam,appendPath}from'../utils/UrlUtil';export default class ArcgisFeatureLayer extends a53_0x8944f3{constructor(_0x3bdc27,_0x122e46,_0x5319d9){const _0xda911=a53_0x315b,_0x49eb13=[_0x122e46['initialExtent'][_0xda911(0xf8)],_0x122e46[_0xda911(0xe1)][_0xda911(0x100)],_0x122e46[_0xda911(0xe1)][_0xda911(0xf5)],_0x122e46['initialExtent'][_0xda911(0x10d)]],_0x435359=[_0x122e46[_0xda911(0xf3)][_0xda911(0xf8)],_0x122e46['fullExtent'][_0xda911(0x100)],_0x122e46['fullExtent'][_0xda911(0xf5)],_0x122e46[_0xda911(0xf3)]['ymax']];let _0x22cdbc;_0x122e46['spatialReference']['wkid']?_0x22cdbc=registerProj(_0xda911(0x110)+_0x122e46[_0xda911(0x102)]['wkid'],_0x435359):_0x22cdbc=registerProj(_0x122e46[_0xda911(0x102)][_0xda911(0xf7)],_0x435359);let _0x303035=[];super({'zIndex':_0x3bdc27[_0xda911(0x112)]});for(let _0x3ed805 of _0x5319d9){let _0x325a53=this[_0xda911(0xf6)](_0x3bdc27,_0x3ed805);_0x303035[_0xda911(0xf4)](_0x325a53);}this[_0xda911(0xe8)](new a53_0x40f662(_0x303035)),this['id']=_0x3bdc27['id'],this[_0xda911(0xe1)]=_0x49eb13,this['projection']=_0x22cdbc,this[_0xda911(0xe9)]=_0x3bdc27;}[a53_0x3e0e19(0xf6)](_0x4120db,_0x11a31c){const _0x5ba474=a53_0x3e0e19;var _0x1ea4d2=new a53_0x57ca0a();let _0x4b2182=new a53_0x4f6c1d({'loader':function(_0x1edd7a,_0x28bb7,_0x3c2682){const _0x5a8a64=a53_0x315b;let _0xe24ce=_0x5a8a64(0x10c);_0x4120db['loadFilter']&&(_0xe24ce=typeof _0x4120db[_0x5a8a64(0x101)]==='string'?_0x4120db[_0x5a8a64(0x101)]:JSON['stringify'](_0x4120db[_0x5a8a64(0x101)]));let _0x3fe7ae=_0x3c2682['getCode'](),_0x5aca9a=_0x3fe7ae['split'](':')[0x1];var _0x47cfe4=appendPath(_0x11a31c[_0x5a8a64(0xe3)],_0x5a8a64(0x108));_0x47cfe4=appendParam(_0x47cfe4,_0x5a8a64(0xed)+_0x5a8a64(0xe7)+encodeURIComponent(_0xe24ce)+_0x5a8a64(0xf2)+encodeURIComponent(_0x5a8a64(0xe5)+_0x1edd7a[0x0]+',\x22ymin\x22:'+_0x1edd7a[0x1]+',\x22xmax\x22:'+_0x1edd7a[0x2]+_0x5a8a64(0xfc)+_0x1edd7a[0x3]+_0x5a8a64(0xef)+_0x5aca9a+'}}')+_0x5a8a64(0xfd)+_0x5aca9a+_0x5a8a64(0xfb)+_0x5a8a64(0xe2)+_0x5aca9a),jsonp(_0x47cfe4)[_0x5a8a64(0xe6)](_0x2dd555=>{const _0x7bbdb7=_0x5a8a64;if(_0x2dd555[_0x7bbdb7(0x10a)])console[_0x7bbdb7(0xdf)](_0x2dd555);else{var _0x2af0aa=_0x1ea4d2['readFeatures'](_0x2dd555,{'featureProjection':_0x3c2682});_0x2af0aa['length']>0x0&&(_0x11a31c['drawingInfo']['renderer'][_0x7bbdb7(0x10b)]==_0x7bbdb7(0xe0)&&_0x2af0aa[_0x7bbdb7(0xeb)](function(_0x1801a4){const _0x53e355=_0x7bbdb7;var _0x1890c8=_0x1801a4['get'](_0x11a31c['drawingInfo'][_0x53e355(0x10f)][_0x53e355(0xf0)]);const _0xd99659=_0x11a31c[_0x53e355(0xec)][_0x53e355(0x10f)][_0x53e355(0x10e)][_0x53e355(0xf1)](_0x4a6446=>_0x4a6446[_0x53e355(0x104)]==_0x1890c8);let _0x3c3d1f;_0xd99659?_0x3c3d1f=transformedEsriStyle(_0xd99659[_0x53e355(0x105)]):_0x3c3d1f=transformedEsriStyle(_0x11a31c[_0x53e355(0xec)][_0x53e355(0x10f)]['defaultSymbol']),_0x1801a4[_0x53e355(0x103)](_0x3c3d1f);}),_0x4b2182[_0x7bbdb7(0xfa)](_0x2af0aa));}});},'strategy':a53_0x20b066(createXYZ({'tileSize':0x200}))}),_0x50dc3d=new a53_0xf77680({'source':_0x4b2182,'zIndex':_0x4120db[_0x5ba474(0xf9)]});if(_0x11a31c[_0x5ba474(0xec)][_0x5ba474(0x10f)]['type']=='simple'&&_0x11a31c[_0x5ba474(0xec)]['renderer'][_0x5ba474(0x105)]){let _0x190286=transformedEsriStyle(_0x11a31c[_0x5ba474(0xec)][_0x5ba474(0x10f)][_0x5ba474(0x105)]);_0x50dc3d[_0x5ba474(0x103)](_0x190286);}return _0x50dc3d;}[a53_0x3e0e19(0xee)](_0x360fc9){const _0x300efd=a53_0x3e0e19;this[_0x300efd(0xe9)]['loadFilter']=_0x360fc9;}}
1
+ const a53_0x2314e0=a53_0x5822;(function(_0x1a2baf,_0x5ad125){const _0x4aaa57=a53_0x5822,_0x12e9ae=_0x1a2baf();while(!![]){try{const _0x2ffc85=parseInt(_0x4aaa57(0x148))/0x1+-parseInt(_0x4aaa57(0x13a))/0x2*(-parseInt(_0x4aaa57(0x129))/0x3)+-parseInt(_0x4aaa57(0x14e))/0x4*(parseInt(_0x4aaa57(0x138))/0x5)+-parseInt(_0x4aaa57(0x13c))/0x6+-parseInt(_0x4aaa57(0x11f))/0x7*(parseInt(_0x4aaa57(0x12a))/0x8)+parseInt(_0x4aaa57(0x117))/0x9+-parseInt(_0x4aaa57(0x122))/0xa*(parseInt(_0x4aaa57(0x115))/0xb);if(_0x2ffc85===_0x5ad125)break;else _0x12e9ae['push'](_0x12e9ae['shift']());}catch(_0x50776b){_0x12e9ae['push'](_0x12e9ae['shift']());}}}(a53_0x5195,0xa55ae));import a53_0xa54b2c from'ol/format/EsriJSON';import a53_0x233c66 from'ol/source/Vector';import{Vector as a53_0x51cf36}from'ol/layer';import{jsonp}from'../utils/AxiosUtil';import{createXYZ}from'ol/tilegrid';import{tile as a53_0x74e589}from'ol/loadingstrategy';import a53_0x8f22cc from'ol/layer/Group';function a53_0x5822(_0x3f6886,_0x5f3675){const _0x5195f0=a53_0x5195();return a53_0x5822=function(_0x58220a,_0x3e8557){_0x58220a=_0x58220a-0x113;let _0x857789=_0x5195f0[_0x58220a];return _0x857789;},a53_0x5822(_0x3f6886,_0x5f3675);}import{registerProj}from'../utils/RegisterProjUtil';import{transformedEsriStyle}from'../utils/StyleUtil';function a53_0x5195(){const _0x156587=['drawingInfo','find','renderer','fullExtent','1149405fjLvST','uniqueValue','wkt','field1','string','xmax','299216MCriAs','1=1',',\x22xmax\x22:','wkid','forEach','11bASeip','f\x20=\x20json\x20&\x20','9287082oOlJAq','log','xmin','createArcGISFeatureLayer','readFeatures','uniqueValueInfos','stringify','ymin','59220AmNxYx','projection','addFeatures','6297410FLIkoA','&outFields=*','type',',\x22ymin\x22:','/query','ymax','mapIndex','248034MTVbBT','840Hgudfz','then','split','where=','&geometryType=esriGeometryEnvelope&inSR=','error','get','push','spatialReference','length','value',',\x22spatialReference\x22:{\x22wkid\x22:','setLayers','EPSG:','5xESkAp','{\x22xmin\x22:','28DhYgGs','symbol','6411936oOriHP','url','simple','getCode','layerInfo','loadFilter','initialExtent','setStyle'];a53_0x5195=function(){return _0x156587;};return a53_0x5195();}import a53_0x110517 from'ol/Collection';import{appendParam,appendPath}from'../utils/UrlUtil';export default class ArcgisFeatureLayer extends a53_0x8f22cc{constructor(_0x2fde6d,_0x309436,_0x1c4228){const _0x3d5b79=a53_0x5822,_0x5986d2=[_0x309436['initialExtent']['xmin'],_0x309436[_0x3d5b79(0x142)][_0x3d5b79(0x11e)],_0x309436[_0x3d5b79(0x142)][_0x3d5b79(0x14d)],_0x309436[_0x3d5b79(0x142)][_0x3d5b79(0x127)]],_0x49df81=[_0x309436['fullExtent'][_0x3d5b79(0x119)],_0x309436[_0x3d5b79(0x147)][_0x3d5b79(0x11e)],_0x309436[_0x3d5b79(0x147)]['xmax'],_0x309436[_0x3d5b79(0x147)][_0x3d5b79(0x127)]];let _0x5b67d9;_0x309436[_0x3d5b79(0x132)][_0x3d5b79(0x113)]?_0x5b67d9=registerProj(_0x3d5b79(0x137)+_0x309436[_0x3d5b79(0x132)]['wkid'],_0x49df81):_0x5b67d9=registerProj(_0x309436['spatialReference'][_0x3d5b79(0x14a)],_0x49df81);let _0x556791=[];super({'zIndex':_0x2fde6d[_0x3d5b79(0x128)]});for(let _0x40a7e6 of _0x1c4228){let _0x326841=this[_0x3d5b79(0x11a)](_0x2fde6d,_0x40a7e6);_0x556791[_0x3d5b79(0x131)](_0x326841);}this[_0x3d5b79(0x136)](new a53_0x110517(_0x556791)),this['id']=_0x2fde6d['id'],this[_0x3d5b79(0x142)]=_0x5986d2,this[_0x3d5b79(0x120)]=_0x5b67d9,this[_0x3d5b79(0x140)]=_0x2fde6d;}[a53_0x2314e0(0x11a)](_0x30022c,_0x59240e){const _0xddb95e=a53_0x2314e0;var _0x52d8c9=new a53_0xa54b2c();let _0x99419=new a53_0x233c66({'loader':function(_0x4a1e76,_0x218675,_0x35a223){const _0x357fa0=a53_0x5822;let _0x2f0222=_0x357fa0(0x14f);_0x30022c[_0x357fa0(0x141)]&&(_0x2f0222=typeof _0x30022c[_0x357fa0(0x141)]===_0x357fa0(0x14c)?_0x30022c[_0x357fa0(0x141)]:JSON[_0x357fa0(0x11d)](_0x30022c[_0x357fa0(0x141)]));let _0xf9202=_0x35a223[_0x357fa0(0x13f)](),_0x127029=_0xf9202[_0x357fa0(0x12c)](':')[0x1];var _0x1e8440=appendPath(_0x59240e[_0x357fa0(0x13d)],_0x357fa0(0x126));_0x1e8440=appendParam(_0x1e8440,_0x357fa0(0x116)+_0x357fa0(0x12d)+encodeURIComponent(_0x2f0222)+'returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry='+encodeURIComponent(_0x357fa0(0x139)+_0x4a1e76[0x0]+_0x357fa0(0x125)+_0x4a1e76[0x1]+_0x357fa0(0x150)+_0x4a1e76[0x2]+',\x22ymax\x22:'+_0x4a1e76[0x3]+_0x357fa0(0x135)+_0x127029+'}}')+_0x357fa0(0x12e)+_0x127029+_0x357fa0(0x123)+'&outSR='+_0x127029),jsonp(_0x1e8440)[_0x357fa0(0x12b)](_0xaf750=>{const _0x55175b=_0x357fa0;if(_0xaf750[_0x55175b(0x12f)])console[_0x55175b(0x118)](_0xaf750);else{var _0x2dd18f=_0x52d8c9[_0x55175b(0x11b)](_0xaf750,{'featureProjection':_0x35a223});_0x2dd18f[_0x55175b(0x133)]>0x0&&(_0x59240e[_0x55175b(0x144)][_0x55175b(0x146)][_0x55175b(0x124)]==_0x55175b(0x149)&&_0x2dd18f[_0x55175b(0x114)](function(_0x5d8586){const _0x31a04f=_0x55175b;var _0x4bd26f=_0x5d8586[_0x31a04f(0x130)](_0x59240e['drawingInfo'][_0x31a04f(0x146)][_0x31a04f(0x14b)]);const _0x3f7da3=_0x59240e['drawingInfo'][_0x31a04f(0x146)][_0x31a04f(0x11c)][_0x31a04f(0x145)](_0x2b244a=>_0x2b244a[_0x31a04f(0x134)]==_0x4bd26f);let _0x40c6b1;_0x3f7da3?_0x40c6b1=transformedEsriStyle(_0x3f7da3['symbol']):_0x40c6b1=transformedEsriStyle(_0x59240e[_0x31a04f(0x144)][_0x31a04f(0x146)]['defaultSymbol']),_0x5d8586[_0x31a04f(0x143)](_0x40c6b1);}),_0x99419[_0x55175b(0x121)](_0x2dd18f));}});},'strategy':a53_0x74e589(createXYZ({'tileSize':0x200}))}),_0x264978=new a53_0x51cf36({'source':_0x99419,'zIndex':_0x30022c['showIndex']});if(_0x59240e[_0xddb95e(0x144)][_0xddb95e(0x146)][_0xddb95e(0x124)]==_0xddb95e(0x13e)&&_0x59240e['drawingInfo'][_0xddb95e(0x146)][_0xddb95e(0x13b)]){let _0x197e05=transformedEsriStyle(_0x59240e[_0xddb95e(0x144)][_0xddb95e(0x146)][_0xddb95e(0x13b)]);_0x264978[_0xddb95e(0x143)](_0x197e05);}return _0x264978;}['setFilter'](_0x592627){const _0x39d006=a53_0x2314e0;this[_0x39d006(0x140)][_0x39d006(0x141)]=_0x592627;}}
@@ -1 +1 @@
1
- (function(_0x574f19,_0x1df8f2){const _0x1b7e70=a54_0x53e9,_0x45a32b=_0x574f19();while(!![]){try{const _0x25fa93=parseInt(_0x1b7e70(0x10b))/0x1+-parseInt(_0x1b7e70(0x10a))/0x2+parseInt(_0x1b7e70(0xf8))/0x3+parseInt(_0x1b7e70(0x108))/0x4*(parseInt(_0x1b7e70(0xf7))/0x5)+parseInt(_0x1b7e70(0xfa))/0x6*(-parseInt(_0x1b7e70(0x102))/0x7)+-parseInt(_0x1b7e70(0x116))/0x8*(parseInt(_0x1b7e70(0x115))/0x9)+-parseInt(_0x1b7e70(0x107))/0xa*(-parseInt(_0x1b7e70(0xfd))/0xb);if(_0x25fa93===_0x1df8f2)break;else _0x45a32b['push'](_0x45a32b['shift']());}catch(_0x2bc0f7){_0x45a32b['push'](_0x45a32b['shift']());}}}(a54_0x1713,0x75698));import a54_0x1ebd77 from'ol/layer/Tile';import a54_0x1f3bf0 from'ol/source/XYZ';import a54_0x1e8ca0 from'ol/tilegrid/TileGrid';import{registerProj}from'../utils/RegisterProjUtil';function a54_0x53e9(_0x478337,_0x1bebd5){const _0x17134d=a54_0x1713();return a54_0x53e9=function(_0x53e999,_0x22fcb9){_0x53e999=_0x53e999-0xf5;let _0x41c0ac=_0x17134d[_0x53e999];return _0x41c0ac;},a54_0x53e9(_0x478337,_0x1bebd5);}function a54_0x1713(){const _0x182c1f=['cols','359604XousYd','8lQsIoR','lods','anonymous','535ttecZm','1553400LHpFcD','resolution','6nBEmGU','tileInfo','ymax','11HaHcPn','/tile/{z}/{y}/{x}','projection','EPSG:','layerInfo','6649244pwSCDL','ymin','rows','xmax','wkid','12985210COYRjb','9132svqNLH','origin','1848354cRZOyT','334343oHHPPt','initialExtent','spatialReference','url','fullExtent','wkt','opacity','xmin','mapIndex'];a54_0x1713=function(){return _0x182c1f;};return a54_0x1713();}import{appendPath}from'../utils/UrlUtil';export default class ArcgisTileLayer extends a54_0x1ebd77{constructor(_0x210fb4,_0x5034b5){const _0x4d13a4=a54_0x53e9,_0x219174=_0x210fb4[_0x4d13a4(0x10e)]?_0x210fb4[_0x4d13a4(0x10e)]:'',_0x36f7a3=appendPath(_0x219174,_0x4d13a4(0xfe)),_0x2eb9cb=[_0x5034b5['initialExtent'][_0x4d13a4(0x112)],_0x5034b5[_0x4d13a4(0x10c)][_0x4d13a4(0x103)],_0x5034b5[_0x4d13a4(0x10c)][_0x4d13a4(0x105)],_0x5034b5[_0x4d13a4(0x10c)]['ymax']],_0x180d45=[_0x5034b5[_0x4d13a4(0x10f)][_0x4d13a4(0x112)],_0x5034b5[_0x4d13a4(0x10f)][_0x4d13a4(0x103)],_0x5034b5['fullExtent'][_0x4d13a4(0x105)],_0x5034b5['fullExtent'][_0x4d13a4(0xfc)]];let _0x18bf46;_0x5034b5['spatialReference'][_0x4d13a4(0x106)]?_0x18bf46=registerProj(_0x4d13a4(0x100)+_0x5034b5[_0x4d13a4(0x10d)]['wkid'],_0x180d45):_0x18bf46=registerProj(_0x5034b5[_0x4d13a4(0x10d)][_0x4d13a4(0x110)],_0x180d45);let _0xbb6ab4=[];for(let _0x11692a=0x0,_0x341305=_0x5034b5[_0x4d13a4(0xfb)][_0x4d13a4(0xf5)]['length'];_0x11692a<_0x341305;_0x11692a++){_0xbb6ab4['push'](_0x5034b5[_0x4d13a4(0xfb)][_0x4d13a4(0xf5)][_0x11692a][_0x4d13a4(0xf9)]);}super({'opacity':_0x210fb4[_0x4d13a4(0x111)],'zIndex':_0x210fb4[_0x4d13a4(0x113)],'maxResolution':_0xbb6ab4[0x0]*0x2,'source':new a54_0x1f3bf0({'url':_0x36f7a3,'projection':_0x18bf46,'crossOrigin':_0x4d13a4(0xf6),'tileGrid':new a54_0x1e8ca0({'extent':_0x180d45,'origin':[_0x5034b5[_0x4d13a4(0xfb)][_0x4d13a4(0x109)]['x'],_0x5034b5[_0x4d13a4(0xfb)][_0x4d13a4(0x109)]['y']],'resolutions':_0xbb6ab4,'tileSize':[_0x5034b5['tileInfo'][_0x4d13a4(0x104)],_0x5034b5['tileInfo'][_0x4d13a4(0x114)]]})})}),this['id']=_0x210fb4['id'],this[_0x4d13a4(0x10c)]=_0x2eb9cb,this[_0x4d13a4(0xff)]=_0x18bf46,this[_0x4d13a4(0x101)]=_0x210fb4;}}
1
+ (function(_0x24febb,_0x8ca0d7){const _0x258884=a54_0x37dc,_0xdf598a=_0x24febb();while(!![]){try{const _0x317521=-parseInt(_0x258884(0xc9))/0x1+parseInt(_0x258884(0xc2))/0x2+parseInt(_0x258884(0xe0))/0x3*(-parseInt(_0x258884(0xc7))/0x4)+parseInt(_0x258884(0xd1))/0x5*(-parseInt(_0x258884(0xc1))/0x6)+-parseInt(_0x258884(0xd7))/0x7+-parseInt(_0x258884(0xcb))/0x8*(-parseInt(_0x258884(0xca))/0x9)+-parseInt(_0x258884(0xc4))/0xa*(-parseInt(_0x258884(0xdd))/0xb);if(_0x317521===_0x8ca0d7)break;else _0xdf598a['push'](_0xdf598a['shift']());}catch(_0x1fe97e){_0xdf598a['push'](_0xdf598a['shift']());}}}(a54_0x3e68,0x3d665));import a54_0x38cb05 from'ol/layer/Tile';function a54_0x37dc(_0x51991f,_0x522b57){const _0x3e686e=a54_0x3e68();return a54_0x37dc=function(_0x37dc50,_0x3cd2cf){_0x37dc50=_0x37dc50-0xc1;let _0x47fb9c=_0x3e686e[_0x37dc50];return _0x47fb9c;},a54_0x37dc(_0x51991f,_0x522b57);}import a54_0x15fc7c from'ol/source/XYZ';import a54_0x139dee from'ol/tilegrid/TileGrid';function a54_0x3e68(){const _0x480075=['79718BLStsh','95031tsNBcH','296VBypCO','xmax','wkt','initialExtent','cols','length','10IAoKrH','tileInfo','/tile/{z}/{y}/{x}','spatialReference','xmin','ymin','3409994oYsDeo','url','layerInfo','ymax','fullExtent','origin','155199NrrctP','anonymous','lods','2019UcyQVr','1026036gHayAb','330796hEKqWb','EPSG:','590cgAIBG','push','opacity','1356GHXMqB','rows'];a54_0x3e68=function(){return _0x480075;};return a54_0x3e68();}import{registerProj}from'../utils/RegisterProjUtil';import{appendPath}from'../utils/UrlUtil';export default class ArcgisTileLayer extends a54_0x38cb05{constructor(_0x1d568a,_0x5f0936){const _0x4540b8=a54_0x37dc,_0x576d32=_0x1d568a[_0x4540b8(0xd8)]?_0x1d568a[_0x4540b8(0xd8)]:'',_0x24040c=appendPath(_0x576d32,_0x4540b8(0xd3)),_0x464c83=[_0x5f0936['initialExtent'][_0x4540b8(0xd5)],_0x5f0936['initialExtent'][_0x4540b8(0xd6)],_0x5f0936[_0x4540b8(0xce)][_0x4540b8(0xcc)],_0x5f0936[_0x4540b8(0xce)][_0x4540b8(0xda)]],_0x1764d1=[_0x5f0936[_0x4540b8(0xdb)][_0x4540b8(0xd5)],_0x5f0936[_0x4540b8(0xdb)][_0x4540b8(0xd6)],_0x5f0936['fullExtent'][_0x4540b8(0xcc)],_0x5f0936[_0x4540b8(0xdb)][_0x4540b8(0xda)]];let _0x39b24d;_0x5f0936[_0x4540b8(0xd4)]['wkid']?_0x39b24d=registerProj(_0x4540b8(0xc3)+_0x5f0936[_0x4540b8(0xd4)]['wkid'],_0x1764d1):_0x39b24d=registerProj(_0x5f0936[_0x4540b8(0xd4)][_0x4540b8(0xcd)],_0x1764d1);let _0x247a03=[];for(let _0x2445fb=0x0,_0x5cfee4=_0x5f0936[_0x4540b8(0xd2)][_0x4540b8(0xdf)][_0x4540b8(0xd0)];_0x2445fb<_0x5cfee4;_0x2445fb++){_0x247a03[_0x4540b8(0xc5)](_0x5f0936['tileInfo'][_0x4540b8(0xdf)][_0x2445fb]['resolution']);}super({'opacity':_0x1d568a[_0x4540b8(0xc6)],'zIndex':_0x1d568a['mapIndex'],'maxResolution':_0x247a03[0x0]*0x2,'source':new a54_0x15fc7c({'url':_0x24040c,'projection':_0x39b24d,'crossOrigin':_0x4540b8(0xde),'tileGrid':new a54_0x139dee({'extent':_0x1764d1,'origin':[_0x5f0936[_0x4540b8(0xd2)][_0x4540b8(0xdc)]['x'],_0x5f0936[_0x4540b8(0xd2)][_0x4540b8(0xdc)]['y']],'resolutions':_0x247a03,'tileSize':[_0x5f0936[_0x4540b8(0xd2)][_0x4540b8(0xc8)],_0x5f0936['tileInfo'][_0x4540b8(0xcf)]]})})}),this['id']=_0x1d568a['id'],this[_0x4540b8(0xce)]=_0x464c83,this['projection']=_0x39b24d,this[_0x4540b8(0xd9)]=_0x1d568a;}}
@@ -1 +1 @@
1
- const a55_0x4d6e85=a55_0x5d2e;(function(_0x4f28e6,_0x54353e){const _0x360c07=a55_0x5d2e,_0x409141=_0x4f28e6();while(!![]){try{const _0x5a0a85=-parseInt(_0x360c07(0x89))/0x1*(-parseInt(_0x360c07(0x9a))/0x2)+-parseInt(_0x360c07(0x8b))/0x3+-parseInt(_0x360c07(0x8e))/0x4*(-parseInt(_0x360c07(0x95))/0x5)+-parseInt(_0x360c07(0x94))/0x6*(-parseInt(_0x360c07(0x98))/0x7)+-parseInt(_0x360c07(0x91))/0x8+-parseInt(_0x360c07(0x8c))/0x9+-parseInt(_0x360c07(0x86))/0xa;if(_0x5a0a85===_0x54353e)break;else _0x409141['push'](_0x409141['shift']());}catch(_0x24fc4b){_0x409141['push'](_0x409141['shift']());}}}(a55_0x2711,0x5dbf2));import{ImageWMS as a55_0x356bad}from'ol/source';import{Image as a55_0x27dc49}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';function a55_0x5d2e(_0x3fec54,_0x9c7c65){const _0x271137=a55_0x2711();return a55_0x5d2e=function(_0x5d2e53,_0x3adb57){_0x5d2e53=_0x5d2e53-0x86;let _0x5cb22f=_0x271137[_0x5d2e53];return _0x5cb22f;},a55_0x5d2e(_0x3fec54,_0x9c7c65);}export default class ArcgisWMSLayer extends a55_0x27dc49{constructor(_0x3c0bff,_0x4628ce){const _0x42d7d9=a55_0x5d2e;var _0x404b7;let _0x2d6c40=registerProj(_0x42d7d9(0x8a)+_0x4628ce['wkid'],undefined),_0x51ecf0={'LAYERS':(_0x404b7=_0x3c0bff[_0x42d7d9(0x9c)])===null||_0x404b7===void 0x0?void 0x0:_0x404b7['join'](','),'VERSION':'1.1.0'};_0x3c0bff[_0x42d7d9(0x93)]&&(_0x51ecf0[_0x42d7d9(0x88)]=_0x3c0bff[_0x42d7d9(0x93)]),super({'opacity':_0x3c0bff[_0x42d7d9(0x87)],'zIndex':_0x3c0bff[_0x42d7d9(0x9d)],'source':new a55_0x356bad({'crossOrigin':'anonymous','url':_0x3c0bff[_0x42d7d9(0x96)],'params':_0x51ecf0})}),this['id']=_0x3c0bff['id'],this[_0x42d7d9(0x90)]=_0x4628ce[_0x42d7d9(0x99)],this[_0x42d7d9(0x92)]=_0x2d6c40,this[_0x42d7d9(0x8d)]=_0x3c0bff;}[a55_0x4d6e85(0x9b)](){}[a55_0x4d6e85(0x97)](_0x48c26e){const _0x10b736=a55_0x4d6e85;var _0x4d5c01;(_0x4d5c01=this[_0x10b736(0x8f)]())===null||_0x4d5c01===void 0x0?void 0x0:_0x4d5c01['updateParams']({'CQL_FILTER':_0x48c26e});}}function a55_0x2711(){const _0x3c8ef3=['21MVZZDR','initExtent','446WuBsrU','refresh','sublayers','mapIndex','3228840TpjlGK','opacity','CQL_FILTER','605oyIRnF','EPSG:','280692TaQaoc','4783437pKWXFe','layerInfo','2988784BlzOgc','getSource','initialExtent','1637552LNiGbO','projection','loadFilter','1309020VBjFNc','5patAoT','url','setFilter'];a55_0x2711=function(){return _0x3c8ef3;};return a55_0x2711();}
1
+ (function(_0x55bb66,_0x18e661){const _0x5aa446=a55_0x49c9,_0x2b7009=_0x55bb66();while(!![]){try{const _0x28b90a=parseInt(_0x5aa446(0x1a9))/0x1+parseInt(_0x5aa446(0x19f))/0x2*(parseInt(_0x5aa446(0x199))/0x3)+parseInt(_0x5aa446(0x1a7))/0x4+-parseInt(_0x5aa446(0x19a))/0x5*(-parseInt(_0x5aa446(0x1a8))/0x6)+parseInt(_0x5aa446(0x1a0))/0x7*(parseInt(_0x5aa446(0x1a4))/0x8)+-parseInt(_0x5aa446(0x1aa))/0x9+parseInt(_0x5aa446(0x1a3))/0xa*(-parseInt(_0x5aa446(0x1ab))/0xb);if(_0x28b90a===_0x18e661)break;else _0x2b7009['push'](_0x2b7009['shift']());}catch(_0xc5adaf){_0x2b7009['push'](_0x2b7009['shift']());}}}(a55_0x1d32,0xd507e));import{ImageWMS as a55_0x336cd6}from'ol/source';import{Image as a55_0x3438c9}from'ol/layer';function a55_0x49c9(_0x1569ca,_0x5beff3){const _0x1d3272=a55_0x1d32();return a55_0x49c9=function(_0x49c90c,_0x4b7292){_0x49c90c=_0x49c90c-0x194;let _0x1fbfa6=_0x1d3272[_0x49c90c];return _0x1fbfa6;},a55_0x49c9(_0x1569ca,_0x5beff3);}import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisWMSLayer extends a55_0x3438c9{constructor(_0x14454e,_0x4eb92d){const _0x309db7=a55_0x49c9;var _0x225f3d;let _0x15a665=registerProj(_0x309db7(0x1a1)+_0x4eb92d[_0x309db7(0x196)],undefined),_0x31157d={'LAYERS':(_0x225f3d=_0x14454e[_0x309db7(0x195)])===null||_0x225f3d===void 0x0?void 0x0:_0x225f3d[_0x309db7(0x19b)](','),'VERSION':'1.1.0'};_0x14454e[_0x309db7(0x1a6)]&&(_0x31157d[_0x309db7(0x1a2)]=_0x14454e['loadFilter']),super({'opacity':_0x14454e[_0x309db7(0x19d)],'zIndex':_0x14454e[_0x309db7(0x19c)],'source':new a55_0x336cd6({'crossOrigin':_0x309db7(0x19e),'url':_0x14454e[_0x309db7(0x194)],'params':_0x31157d})}),this['id']=_0x14454e['id'],this['initialExtent']=_0x4eb92d[_0x309db7(0x198)],this['projection']=_0x15a665,this[_0x309db7(0x197)]=_0x14454e;}['refresh'](){}['setFilter'](_0x329ff3){const _0x57c6fa=a55_0x49c9;var _0x41a6af;(_0x41a6af=this[_0x57c6fa(0x1a5)]())===null||_0x41a6af===void 0x0?void 0x0:_0x41a6af[_0x57c6fa(0x1ac)]({'CQL_FILTER':_0x329ff3});}}function a55_0x1d32(){const _0x54a7ef=['323286gdWqxr','1504mJKhpD','11847132GZsLSz','134783XTpQDs','updateParams','url','sublayers','wkid','layerInfo','initExtent','4646625tyNUDn','15UzsnKb','join','mapIndex','opacity','anonymous','2LMAAUJ','5298566vqNonc','EPSG:','CQL_FILTER','390cpvdxf','8LVfFHm','getSource','loadFilter','791316PlmtZI'];a55_0x1d32=function(){return _0x54a7ef;};return a55_0x1d32();}
@@ -1 +1 @@
1
- (function(_0x2c1e6c,_0x2e85c2){const _0xd0db80=a56_0x5852,_0x358729=_0x2c1e6c();while(!![]){try{const _0x2592c5=parseInt(_0xd0db80(0xed))/0x1*(parseInt(_0xd0db80(0xe8))/0x2)+-parseInt(_0xd0db80(0xf5))/0x3+-parseInt(_0xd0db80(0xe3))/0x4+parseInt(_0xd0db80(0xea))/0x5*(parseInt(_0xd0db80(0xe2))/0x6)+-parseInt(_0xd0db80(0x102))/0x7+parseInt(_0xd0db80(0xf4))/0x8+parseInt(_0xd0db80(0xee))/0x9;if(_0x2592c5===_0x2e85c2)break;else _0x358729['push'](_0x358729['shift']());}catch(_0x559b48){_0x358729['push'](_0x358729['shift']());}}}(a56_0x35c6,0xdacb0));import a56_0x561f11 from'ol/layer/Tile';import a56_0x389600,{optionsFromCapabilities}from'ol/source/WMTS.js';import a56_0x177d6b from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';function a56_0x5852(_0x2ba7f9,_0x419138){const _0x35c62f=a56_0x35c6();return a56_0x5852=function(_0x585267,_0x15a24c){_0x585267=_0x585267-0xe2;let _0x10ada6=_0x35c62f[_0x585267];return _0x10ada6;},a56_0x5852(_0x2ba7f9,_0x419138);}import{addArgument,getUrlParams}from'../utils/UrlUtil';function a56_0x35c6(){const _0x59f8c7=['url','tileMatrixSet','getMatrixIds','wkid','name','length','urls','image/png','src','4191782lIcyHf','initialExtent','format','?http','boundingBoxExtent','tileGrid','373206qDClnP','241028avhHEs','layer','layerInfo','sourceXml','opacity','16044YTeFbR','EPSG:','5sYjyFF','sublayers','projection','183pNZOOV','6108183VZcEcu','replace','requestEncoding','mapIndex','value','getImage','3085608oKVddt','3118068SAoDxP','style','indexOf','token'];a56_0x35c6=function(){return _0x59f8c7;};return a56_0x35c6();}export default class ArcgisWMTSLayer extends a56_0x561f11{constructor(_0x3c25a8,_0x287ed4){const _0x555121=a56_0x5852;var _0xd176f7;let _0x15c937='';_0x3c25a8[_0x555121(0xeb)]&&_0x3c25a8[_0x555121(0xeb)][_0x555121(0xfe)]>0x0&&(_0x15c937=_0x3c25a8[_0x555121(0xeb)]['join'](','));const _0x13f450=_0x555121(0xe9)+_0x287ed4[_0x555121(0xfc)];let _0x1e0408=registerProj(_0x13f450);const _0x547d0f=optionsFromCapabilities(_0x287ed4[_0x555121(0xe6)],{'layer':(_0xd176f7=_0x3c25a8[_0x555121(0xeb)])===null||_0xd176f7===void 0x0?void 0x0:_0xd176f7[0x0],'matrixSet':_0x287ed4[_0x555121(0xfa)],'format':_0x555121(0x100)});let _0x4ad22a=_0x547d0f[_0x555121(0x107)]['origins_'][0x0];_0x4ad22a[0x0]===0x5a&&_0x4ad22a[0x1]===-0xb4&&(_0x4ad22a=[_0x4ad22a[0x1],_0x4ad22a[0x0]]),super({'opacity':_0x3c25a8[_0x555121(0xe7)],'zIndex':_0x3c25a8[_0x555121(0xf1)],'source':new a56_0x389600({'urls':_0x547d0f[_0x555121(0xff)],'requestEncoding':_0x547d0f[_0x555121(0xf0)],'layer':_0x547d0f[_0x555121(0xe4)],'tileLoadFunction':function(_0x445809,_0x57fc64){const _0x6ebfda=_0x555121,_0x130836=_0x3c25a8[_0x6ebfda(0xf9)]?_0x3c25a8['url']:'';let _0x22365f=getUrlParams(_0x130836);if((_0x22365f===null||_0x22365f===void 0x0?void 0x0:_0x22365f['length'])>0x0)for(let _0x26d12b of _0x22365f){_0x57fc64=addArgument(_0x57fc64,_0x26d12b[_0x6ebfda(0xfd)],_0x26d12b[_0x6ebfda(0xf2)]);}let _0x5727cd=_0x57fc64[_0x6ebfda(0xf7)](_0x6ebfda(0x105));_0x5727cd!==-0x1?_0x57fc64[_0x6ebfda(0xf7)](_0x6ebfda(0xf8))===-0x1&&_0x57fc64['indexOf']('tk')===-0x1?_0x445809[_0x6ebfda(0xf3)]()[_0x6ebfda(0x101)]=_0x57fc64[_0x6ebfda(0xef)]('&','?'):_0x445809[_0x6ebfda(0xf3)]()[_0x6ebfda(0x101)]=_0x57fc64:_0x445809[_0x6ebfda(0xf3)]()[_0x6ebfda(0x101)]=_0x57fc64;},'matrixSet':_0x547d0f['matrixSet'],'format':_0x547d0f[_0x555121(0x104)],'projection':_0x547d0f[_0x555121(0xec)],'tileGrid':new a56_0x177d6b({'origin':_0x4ad22a,'resolutions':_0x547d0f[_0x555121(0x107)]['getResolutions'](),'matrixIds':_0x547d0f[_0x555121(0x107)][_0x555121(0xfb)](),'extent':_0x287ed4[_0x555121(0x106)]}),'style':_0x287ed4[_0x555121(0xf6)],'wrapX':!![]})}),this['id']=_0x3c25a8['id'],this[_0x555121(0x103)]=_0x287ed4[_0x555121(0x106)],this[_0x555121(0xec)]=_0x1e0408,this[_0x555121(0xe5)]=_0x3c25a8;}}
1
+ (function(_0xe4a295,_0x754241){const _0x4eeed7=a56_0x23f4,_0x352926=_0xe4a295();while(!![]){try{const _0x4899d7=parseInt(_0x4eeed7(0x20e))/0x1+parseInt(_0x4eeed7(0x20d))/0x2+parseInt(_0x4eeed7(0x1ff))/0x3+parseInt(_0x4eeed7(0x1f0))/0x4*(-parseInt(_0x4eeed7(0x200))/0x5)+parseInt(_0x4eeed7(0x210))/0x6+-parseInt(_0x4eeed7(0x202))/0x7*(-parseInt(_0x4eeed7(0x1f2))/0x8)+parseInt(_0x4eeed7(0x201))/0x9*(-parseInt(_0x4eeed7(0x1fb))/0xa);if(_0x4899d7===_0x754241)break;else _0x352926['push'](_0x352926['shift']());}catch(_0x2e0aca){_0x352926['push'](_0x352926['shift']());}}}(a56_0x50c6,0x9f4ef));import a56_0x155bfb from'ol/layer/Tile';import a56_0x52ee67,{optionsFromCapabilities}from'ol/source/WMTS.js';function a56_0x23f4(_0x3ec07e,_0x30d2bf){const _0x50c6ba=a56_0x50c6();return a56_0x23f4=function(_0x23f460,_0xb05cb3){_0x23f460=_0x23f460-0x1ed;let _0x59dfdc=_0x50c6ba[_0x23f460];return _0x59dfdc;},a56_0x23f4(_0x3ec07e,_0x30d2bf);}import a56_0x4744eb from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a56_0x155bfb{constructor(_0x3f42dc,_0x37c68c){const _0x308afb=a56_0x23f4;var _0x3db23e;let _0x4f79af='';_0x3f42dc['sublayers']&&_0x3f42dc[_0x308afb(0x20a)][_0x308afb(0x1f5)]>0x0&&(_0x4f79af=_0x3f42dc[_0x308afb(0x20a)][_0x308afb(0x206)](','));const _0x60d5d6=_0x308afb(0x1f7)+_0x37c68c[_0x308afb(0x1fc)];let _0x5592ab=registerProj(_0x60d5d6);const _0x54d0d0=optionsFromCapabilities(_0x37c68c[_0x308afb(0x20f)],{'layer':(_0x3db23e=_0x3f42dc[_0x308afb(0x20a)])===null||_0x3db23e===void 0x0?void 0x0:_0x3db23e[0x0],'matrixSet':_0x37c68c[_0x308afb(0x1fa)],'format':'image/png'});let _0x491122=_0x54d0d0['tileGrid'][_0x308afb(0x211)][0x0];_0x491122[0x0]===0x5a&&_0x491122[0x1]===-0xb4&&(_0x491122=[_0x491122[0x1],_0x491122[0x0]]),super({'opacity':_0x3f42dc[_0x308afb(0x207)],'zIndex':_0x3f42dc[_0x308afb(0x1fd)],'source':new a56_0x52ee67({'urls':_0x54d0d0[_0x308afb(0x204)],'requestEncoding':_0x54d0d0['requestEncoding'],'layer':_0x54d0d0[_0x308afb(0x1fe)],'tileLoadFunction':function(_0x416826,_0x5ef3df){const _0x1865ac=_0x308afb,_0x2ebd04=_0x3f42dc['url']?_0x3f42dc[_0x1865ac(0x1ed)]:'';let _0x358c42=getUrlParams(_0x2ebd04);if((_0x358c42===null||_0x358c42===void 0x0?void 0x0:_0x358c42[_0x1865ac(0x1f5)])>0x0)for(let _0x3d3e78 of _0x358c42){_0x5ef3df=addArgument(_0x5ef3df,_0x3d3e78[_0x1865ac(0x205)],_0x3d3e78[_0x1865ac(0x1ef)]);}let _0x4b620e=_0x5ef3df['indexOf']('?http');_0x4b620e!==-0x1?_0x5ef3df[_0x1865ac(0x20c)](_0x1865ac(0x20b))===-0x1&&_0x5ef3df[_0x1865ac(0x20c)]('tk')===-0x1?_0x416826['getImage']()[_0x1865ac(0x1f6)]=_0x5ef3df[_0x1865ac(0x212)]('&','?'):_0x416826[_0x1865ac(0x1f3)]()[_0x1865ac(0x1f6)]=_0x5ef3df:_0x416826[_0x1865ac(0x1f3)]()[_0x1865ac(0x1f6)]=_0x5ef3df;},'matrixSet':_0x54d0d0[_0x308afb(0x1f1)],'format':_0x54d0d0['format'],'projection':_0x54d0d0[_0x308afb(0x1ee)],'tileGrid':new a56_0x4744eb({'origin':_0x491122,'resolutions':_0x54d0d0[_0x308afb(0x208)][_0x308afb(0x1f9)](),'matrixIds':_0x54d0d0['tileGrid'][_0x308afb(0x203)](),'extent':_0x37c68c[_0x308afb(0x209)]}),'style':_0x37c68c[_0x308afb(0x1f8)],'wrapX':!![]})}),this['id']=_0x3f42dc['id'],this[_0x308afb(0x1f4)]=_0x37c68c[_0x308afb(0x209)],this['projection']=_0x5592ab,this['layerInfo']=_0x3f42dc;}}function a56_0x50c6(){const _0x2ba341=['539195cUOyrZ','3087rdCPTs','7IMmjiF','getMatrixIds','urls','name','join','opacity','tileGrid','boundingBoxExtent','sublayers','token','indexOf','193940fCdbEY','378437DzajMQ','sourceXml','6937026CJQtUp','origins_','replace','url','projection','value','4rXxEZO','matrixSet','10262216sjJKcT','getImage','initialExtent','length','src','EPSG:','style','getResolutions','tileMatrixSet','93010OGuaaG','wkid','mapIndex','layer','3108762OFRuVj'];a56_0x50c6=function(){return _0x2ba341;};return a56_0x50c6();}
@@ -1 +1 @@
1
- function a57_0x4b9d(){const _0x4f72fd=['256790RNbdzc','WMTS','tileSizes_','getMatrixIds','tileGrid',':{z}','36CiSyeK','10820552yymxod','toString','2262932uBNOHr','url','3209XWpWLH','sublayers','1.0.0','1176486zmdGRU','length','wkid','sourceXml','459267xWZkjB','GetTile','4239998IEuBgz','projection','30iFvehF','getResolutions','tileMatrixSet','{y}','mapIndex','405XiUeHn','boundingBoxExtent','EPSG:','opacity','application/vnd.mapbox-vector-tile'];a57_0x4b9d=function(){return _0x4f72fd;};return a57_0x4b9d();}(function(_0x4d0e47,_0x321925){const _0x291663=a57_0x5810,_0x2c4264=_0x4d0e47();while(!![]){try{const _0x2bb4a2=parseInt(_0x291663(0x146))/0x1+parseInt(_0x291663(0x144))/0x2+-parseInt(_0x291663(0x12d))/0x3*(-parseInt(_0x291663(0x141))/0x4)+parseInt(_0x291663(0x131))/0x5*(-parseInt(_0x291663(0x149))/0x6)+-parseInt(_0x291663(0x12f))/0x7+parseInt(_0x291663(0x142))/0x8+parseInt(_0x291663(0x136))/0x9*(-parseInt(_0x291663(0x13b))/0xa);if(_0x2bb4a2===_0x321925)break;else _0x2c4264['push'](_0x2c4264['shift']());}catch(_0x79d762){_0x2c4264['push'](_0x2c4264['shift']());}}}(a57_0x4b9d,0xe263a));import a57_0xa3d41c from'ol/layer/VectorTile';import a57_0xf8c9db from'ol/source/VectorTile';import a57_0x3493b5 from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a57_0x12e727 from'ol/tilegrid/WMTS';function a57_0x5810(_0x5dbee2,_0x4168d9){const _0x4b9d49=a57_0x4b9d();return a57_0x5810=function(_0x5810ca,_0x3ce08f){_0x5810ca=_0x5810ca-0x12b;let _0x23e510=_0x4b9d49[_0x5810ca];return _0x23e510;},a57_0x5810(_0x5dbee2,_0x4168d9);}import{optionsFromCapabilities}from'ol/source/WMTS';import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a57_0xa3d41c{constructor(_0x1db8a6,_0x1ee904){const _0x1b59a6=a57_0x5810;var _0x29da4c;let _0x5b0bbf=registerProj(_0x1b59a6(0x138)+_0x1ee904['wkid']);const _0x4e92f3=optionsFromCapabilities(_0x1ee904[_0x1b59a6(0x12c)],{'layer':(_0x29da4c=_0x1db8a6[_0x1b59a6(0x147)])===null||_0x29da4c===void 0x0?void 0x0:_0x29da4c[0x0],'matrixSet':_0x1ee904[_0x1b59a6(0x133)],'format':'image/png'});let _0x45314f=_0x1db8a6['sublayers']&&_0x1db8a6['sublayers'][_0x1b59a6(0x14a)]>0x0?_0x1db8a6[_0x1b59a6(0x147)][0x0]:'';const _0x37b63c={'REQUEST':_0x1b59a6(0x12e),'SERVICE':_0x1b59a6(0x13c),'VERSION':_0x1b59a6(0x148),'LAYER':_0x45314f,'STYLE':_0x1ee904['style']['toString'](),'TILEMATRIX':_0x1ee904['tileMatrixSet']+_0x1b59a6(0x140),'TILEMATRIXSET':_0x1ee904[_0x1b59a6(0x133)][_0x1b59a6(0x143)](),'FORMAT':_0x1b59a6(0x13a),'TILECOL':'{x}','TILEROW':_0x1b59a6(0x134)};let _0x14092c=_0x1db8a6[_0x1b59a6(0x145)]?_0x1db8a6[_0x1b59a6(0x145)]:'';for(const _0x3017a6 in _0x37b63c){_0x14092c=addArgument(_0x14092c,_0x3017a6,_0x37b63c[_0x3017a6]);}super({'opacity':_0x1db8a6[_0x1b59a6(0x139)],'zIndex':_0x1db8a6[_0x1b59a6(0x135)],'declutter':!![],'source':new a57_0xf8c9db({'projection':'EPSG:'+_0x1ee904[_0x1b59a6(0x12b)],'format':new a57_0x3493b5(),'wrapX':!![],'extent':_0x1ee904[_0x1b59a6(0x137)],'tileGrid':new a57_0x12e727({'tileSize':_0x4e92f3[_0x1b59a6(0x13f)][_0x1b59a6(0x13d)][0x0],'origin':_0x4e92f3[_0x1b59a6(0x13f)]['origins_'][0x0],'resolutions':_0x4e92f3[_0x1b59a6(0x13f)][_0x1b59a6(0x132)](),'matrixIds':_0x4e92f3[_0x1b59a6(0x13f)][_0x1b59a6(0x13e)]()}),'url':_0x14092c})}),this['id']=_0x1db8a6['id'],this['initialExtent']=_0x1ee904['boundingBoxExtent'],this[_0x1b59a6(0x130)]=_0x5b0bbf,this['layerInfo']=_0x1db8a6;}}
1
+ (function(_0x499179,_0x466029){const _0x19793c=a57_0x37f2,_0x1f1fc9=_0x499179();while(!![]){try{const _0x9a1af1=-parseInt(_0x19793c(0x141))/0x1+-parseInt(_0x19793c(0x14b))/0x2*(parseInt(_0x19793c(0x14c))/0x3)+parseInt(_0x19793c(0x146))/0x4+-parseInt(_0x19793c(0x130))/0x5*(-parseInt(_0x19793c(0x135))/0x6)+parseInt(_0x19793c(0x134))/0x7*(parseInt(_0x19793c(0x13e))/0x8)+parseInt(_0x19793c(0x13c))/0x9+-parseInt(_0x19793c(0x13b))/0xa;if(_0x9a1af1===_0x466029)break;else _0x1f1fc9['push'](_0x1f1fc9['shift']());}catch(_0x35e8b5){_0x1f1fc9['push'](_0x1f1fc9['shift']());}}}(a57_0x393c,0x99e06));import a57_0x40f861 from'ol/layer/VectorTile';function a57_0x37f2(_0x42f17d,_0x13e09f){const _0x393ce7=a57_0x393c();return a57_0x37f2=function(_0x37f27d,_0x16baf8){_0x37f27d=_0x37f27d-0x12c;let _0x1c0229=_0x393ce7[_0x37f27d];return _0x1c0229;},a57_0x37f2(_0x42f17d,_0x13e09f);}import a57_0x321963 from'ol/source/VectorTile';import a57_0x27f8f0 from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a57_0x434189 from'ol/tilegrid/WMTS';function a57_0x393c(){const _0xc13692=['initialExtent','length','mapIndex','tileMatrixSet','opacity','15972360PYqGif','9994896OrHUaY','url','304dvADZR','tileSizes_','1.0.0','409918EaicSf',':{z}','sourceXml','boundingBoxExtent','projection','3798632COtZAD','toString','sublayers','EPSG:','GetTile','1248670hBhSdr','3ORESsS','wkid','layerInfo','tileGrid','style','23395EwxDEe','application/vnd.mapbox-vector-tile','image/png','WMTS','220479qcgZJn','6jQjdyx'];a57_0x393c=function(){return _0xc13692;};return a57_0x393c();}import{optionsFromCapabilities}from'ol/source/WMTS';import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a57_0x40f861{constructor(_0x2e3c57,_0x33fef5){const _0x1c7e66=a57_0x37f2;var _0x13d4a3;let _0x35a5f0=registerProj(_0x1c7e66(0x149)+_0x33fef5[_0x1c7e66(0x12c)]);const _0xc6c3a9=optionsFromCapabilities(_0x33fef5[_0x1c7e66(0x143)],{'layer':(_0x13d4a3=_0x2e3c57[_0x1c7e66(0x148)])===null||_0x13d4a3===void 0x0?void 0x0:_0x13d4a3[0x0],'matrixSet':_0x33fef5['tileMatrixSet'],'format':_0x1c7e66(0x132)});let _0x320878=_0x2e3c57['sublayers']&&_0x2e3c57[_0x1c7e66(0x148)][_0x1c7e66(0x137)]>0x0?_0x2e3c57['sublayers'][0x0]:'';const _0x5d9fa4={'REQUEST':_0x1c7e66(0x14a),'SERVICE':_0x1c7e66(0x133),'VERSION':_0x1c7e66(0x140),'LAYER':_0x320878,'STYLE':_0x33fef5[_0x1c7e66(0x12f)][_0x1c7e66(0x147)](),'TILEMATRIX':_0x33fef5[_0x1c7e66(0x139)]+_0x1c7e66(0x142),'TILEMATRIXSET':_0x33fef5['tileMatrixSet'][_0x1c7e66(0x147)](),'FORMAT':_0x1c7e66(0x131),'TILECOL':'{x}','TILEROW':'{y}'};let _0x5f2551=_0x2e3c57[_0x1c7e66(0x13d)]?_0x2e3c57[_0x1c7e66(0x13d)]:'';for(const _0x329814 in _0x5d9fa4){_0x5f2551=addArgument(_0x5f2551,_0x329814,_0x5d9fa4[_0x329814]);}super({'opacity':_0x2e3c57[_0x1c7e66(0x13a)],'zIndex':_0x2e3c57[_0x1c7e66(0x138)],'declutter':!![],'source':new a57_0x321963({'projection':_0x1c7e66(0x149)+_0x33fef5[_0x1c7e66(0x12c)],'format':new a57_0x27f8f0(),'wrapX':!![],'extent':_0x33fef5[_0x1c7e66(0x144)],'tileGrid':new a57_0x434189({'tileSize':_0xc6c3a9[_0x1c7e66(0x12e)][_0x1c7e66(0x13f)][0x0],'origin':_0xc6c3a9['tileGrid']['origins_'][0x0],'resolutions':_0xc6c3a9[_0x1c7e66(0x12e)]['getResolutions'](),'matrixIds':_0xc6c3a9[_0x1c7e66(0x12e)]['getMatrixIds']()}),'url':_0x5f2551})}),this['id']=_0x2e3c57['id'],this[_0x1c7e66(0x136)]=_0x33fef5['boundingBoxExtent'],this[_0x1c7e66(0x145)]=_0x35a5f0,this[_0x1c7e66(0x12d)]=_0x2e3c57;}}
@@ -1 +1 @@
1
- const a58_0x1b0b61=a58_0x5091;(function(_0x215e5e,_0x4cadca){const _0x4dc66a=a58_0x5091,_0x27b5fe=_0x215e5e();while(!![]){try{const _0x4a9eb9=parseInt(_0x4dc66a(0x142))/0x1+parseInt(_0x4dc66a(0x157))/0x2+parseInt(_0x4dc66a(0x153))/0x3*(-parseInt(_0x4dc66a(0x164))/0x4)+-parseInt(_0x4dc66a(0x174))/0x5+-parseInt(_0x4dc66a(0x167))/0x6*(parseInt(_0x4dc66a(0x154))/0x7)+parseInt(_0x4dc66a(0x165))/0x8*(parseInt(_0x4dc66a(0x15c))/0x9)+parseInt(_0x4dc66a(0x16f))/0xa;if(_0x4a9eb9===_0x4cadca)break;else _0x27b5fe['push'](_0x27b5fe['shift']());}catch(_0x5b8d67){_0x27b5fe['push'](_0x27b5fe['shift']());}}}(a58_0x5cef,0x18b33));import a58_0x380119 from'ol/source/Vector';import a58_0x4d97fe from'ol/format/GeoJSON';import{Vector as a58_0x12a793}from'ol/layer';import a58_0x56056e from'ol/format/WFS';import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a58_0x875c84 from'../utils/format/CQL';function a58_0x5091(_0x183a8a,_0x2a3c32){const _0x5cefcd=a58_0x5cef();return a58_0x5091=function(_0x5091be,_0x4d4026){_0x5091be=_0x5091be-0x142;let _0x4b315e=_0x5cefcd[_0x5091be];return _0x4b315e;},a58_0x5091(_0x183a8a,_0x2a3c32);}import*as a58_0x389d25 from'ol/format/filter';function a58_0x5cef(){const _0x399712=['apply','94834DvgnkE','length','initExtent','and','filter','8091UrpFru','layerFields','catch','lessThan','readFeatures','mapIndex','not','then','76WxDoAK','288QcVUVc','addFeatures','30Wqitbm','equalTo','writeGetFeature','find','json','sublayers','loadFilter','application/json','2847440FSfkAo','type字段不存在','initialExtent','serializeToString','string','699045PknJzY','42693yPQqbm','param字段不存在','POST','projection','between','warn','removeLoadedExtent','url','name','!==','type','param','parseFilter','getSource','push','toLowerCase','layerInfo','1161oTfHoE','222439wTQtez','wkid'];a58_0x5cef=function(){return _0x399712;};return a58_0x5cef();}export default class GeoserverWFSLayer extends a58_0x12a793{constructor(_0x163179,_0x45f48d){const _0x232157=a58_0x5091;let _0x2327be=registerProj('EPSG:'+_0x45f48d[_0x232157(0x155)]);const _0x2acb8f=_0x45f48d[_0x232157(0x15d)][_0x232157(0x16a)](_0x12f28b=>_0x12f28b['fieldType']==0x6);super({'zIndex':_0x163179[_0x232157(0x161)],'source':new a58_0x380119({'format':new a58_0x4d97fe(),'loader':(_0xdc76be,_0x4f964b,_0x528291,_0x1afb61,_0x29fa0a)=>{const _0x5514e1=_0x232157;let _0x79e777=_0x163179[_0x5514e1(0x16d)],_0x5e315a={'srsName':_0x528291['getCode'](),'featureTypes':_0x163179[_0x5514e1(0x16c)],'bbox':_0xdc76be,'geometryName':_0x2acb8f?_0x2acb8f[_0x5514e1(0x14a)]:'','outputFormat':_0x5514e1(0x16e)};_0x79e777&&(typeof _0x79e777===_0x5514e1(0x173)?_0x5e315a['filter']=new a58_0x875c84()['read'](_0x79e777):_0x5e315a[_0x5514e1(0x15b)]=this['parseFilter'](_0x79e777));var _0x58f719=new a58_0x56056e()[_0x5514e1(0x169)](_0x5e315a);let _0x4d5d6a=_0x163179[_0x5514e1(0x149)]?_0x163179[_0x5514e1(0x149)]:'';fetch(_0x4d5d6a,{'method':_0x5514e1(0x144),'body':new XMLSerializer()[_0x5514e1(0x172)](_0x58f719)})[_0x5514e1(0x163)](_0x1e8330=>{const _0x13f399=_0x5514e1;return _0x1e8330[_0x13f399(0x16b)]();})[_0x5514e1(0x163)](_0x45134a=>{const _0x2e4363=_0x5514e1,_0x12f319=new a58_0x4d97fe()[_0x2e4363(0x160)](_0x45134a);let _0x5dd926=this[_0x2e4363(0x14f)]();_0x5dd926&&_0x5dd926[_0x2e4363(0x166)](_0x12f319);if(_0x1afb61)_0x1afb61(_0x12f319);})[_0x5514e1(0x15e)](()=>{const _0x82674=_0x5514e1;let _0x35d80b=this[_0x82674(0x14f)]();_0x35d80b&&_0x35d80b[_0x82674(0x148)](_0xdc76be);if(_0x29fa0a)_0x29fa0a();});},'strategy':bbox})}),this['id']=_0x163179['id'],this[_0x232157(0x171)]=_0x45f48d[_0x232157(0x159)],this[_0x232157(0x145)]=_0x2327be,this[_0x232157(0x152)]=_0x163179;}[a58_0x1b0b61(0x14e)](_0x53abf7){const _0x5d5c0f=a58_0x1b0b61;if(!_0x53abf7[_0x5d5c0f(0x14c)]){console[_0x5d5c0f(0x147)](_0x5d5c0f(0x170));return;}if(!_0x53abf7[_0x5d5c0f(0x14d)]){console['warn'](_0x5d5c0f(0x143));return;}let _0x18b61d=[];switch(_0x53abf7[_0x5d5c0f(0x14c)][_0x5d5c0f(0x151)]()){case _0x5d5c0f(0x15a):for(let _0x1b2a48=0x0;_0x1b2a48<_0x53abf7[_0x5d5c0f(0x14d)][_0x5d5c0f(0x158)];_0x1b2a48++){let _0x2c9b11=this['parseFilter'](_0x53abf7[_0x5d5c0f(0x14d)][_0x1b2a48]);_0x18b61d[_0x5d5c0f(0x150)](_0x2c9b11);}return a58_0x389d25[_0x5d5c0f(0x15a)][_0x5d5c0f(0x156)](null,_0x18b61d);case'or':for(let _0x57ba85=0x0;_0x57ba85<_0x53abf7[_0x5d5c0f(0x14d)]['length'];_0x57ba85++){let _0x587bdb=this['parseFilter'](_0x53abf7[_0x5d5c0f(0x14d)][_0x57ba85]);_0x18b61d[_0x5d5c0f(0x150)](_0x587bdb);}return a58_0x389d25['or'][_0x5d5c0f(0x156)](null,_0x18b61d);case _0x5d5c0f(0x162):for(let _0x43f2e8=0x0;_0x43f2e8<_0x53abf7[_0x5d5c0f(0x14d)][_0x5d5c0f(0x158)];_0x43f2e8++){let _0x54a5ba=this[_0x5d5c0f(0x14e)](_0x53abf7[_0x5d5c0f(0x14d)][_0x43f2e8]);_0x18b61d[_0x5d5c0f(0x150)](_0x54a5ba);}return a58_0x389d25[_0x5d5c0f(0x162)]['apply'](null,_0x18b61d);case'=':return a58_0x389d25[_0x5d5c0f(0x168)](_0x53abf7[_0x5d5c0f(0x14d)][0x0],_0x53abf7[_0x5d5c0f(0x14d)][0x1]);case _0x5d5c0f(0x14b):return a58_0x389d25['notEqualTo'](_0x53abf7['param'][0x0],_0x53abf7[_0x5d5c0f(0x14d)][0x1]);case'>':return a58_0x389d25['greaterThan'](_0x53abf7[_0x5d5c0f(0x14d)][0x0],_0x53abf7[_0x5d5c0f(0x14d)][0x1]);case'<':return a58_0x389d25[_0x5d5c0f(0x15f)](_0x53abf7[_0x5d5c0f(0x14d)][0x0],_0x53abf7['param'][0x1]);case'>=':return a58_0x389d25['greaterThanOrEqualTo'](_0x53abf7[_0x5d5c0f(0x14d)][0x0],_0x53abf7[_0x5d5c0f(0x14d)][0x1]);case'<=':return a58_0x389d25['lessThanOrEqualTo'](_0x53abf7[_0x5d5c0f(0x14d)][0x0],_0x53abf7[_0x5d5c0f(0x14d)][0x1]);case'between':return a58_0x389d25[_0x5d5c0f(0x146)](_0x53abf7[_0x5d5c0f(0x14d)][0x0],_0x53abf7['param'][0x1],_0x53abf7['param'][0x2]);}}}
1
+ const a58_0x54f31d=a58_0xe82b;(function(_0x2d13ec,_0x31f662){const _0x2467c3=a58_0xe82b,_0x22c3e0=_0x2d13ec();while(!![]){try{const _0xc73175=-parseInt(_0x2467c3(0x1e1))/0x1*(parseInt(_0x2467c3(0x1d3))/0x2)+-parseInt(_0x2467c3(0x1f7))/0x3*(parseInt(_0x2467c3(0x1dd))/0x4)+-parseInt(_0x2467c3(0x1e4))/0x5*(-parseInt(_0x2467c3(0x1d6))/0x6)+parseInt(_0x2467c3(0x200))/0x7+-parseInt(_0x2467c3(0x1df))/0x8*(-parseInt(_0x2467c3(0x1fc))/0x9)+parseInt(_0x2467c3(0x1ec))/0xa*(parseInt(_0x2467c3(0x1e7))/0xb)+parseInt(_0x2467c3(0x1f3))/0xc*(parseInt(_0x2467c3(0x1fa))/0xd);if(_0xc73175===_0x31f662)break;else _0x22c3e0['push'](_0x22c3e0['shift']());}catch(_0x40b2f1){_0x22c3e0['push'](_0x22c3e0['shift']());}}}(a58_0xb04a,0x4954f));import a58_0x10088f from'ol/source/Vector';import a58_0x39c32e from'ol/format/GeoJSON';import{Vector as a58_0x28dd45}from'ol/layer';import a58_0x4f80fe from'ol/format/WFS';import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';function a58_0xe82b(_0x2a0b33,_0x28b017){const _0xb04af5=a58_0xb04a();return a58_0xe82b=function(_0xe82ba3,_0x347dbc){_0xe82ba3=_0xe82ba3-0x1d3;let _0x3ed9fd=_0xb04af5[_0xe82ba3];return _0x3ed9fd;},a58_0xe82b(_0x2a0b33,_0x28b017);}import a58_0x7805bf from'../utils/format/CQL';function a58_0xb04a(){const _0x5758d5=['fieldType','json','4549766PRIxhY','not','9ibduqI','read','layerFields','type字段不存在','441735OODutq','addFeatures','sublayers','notEqualTo','42nkPLmB','catch','readFeatures','3021936cvTPiX','lessThanOrEqualTo','initExtent','warn','name','getCode','apply','2063584QuKPHo','filter','706976prXLqN','parseFilter','9241ByuQKu','EPSG:','then','5BzttUi','length','removeLoadedExtent','11jwwmuD','between','application/json','loadFilter','!==','52090qQFtYU','param字段不存在','toLowerCase','getSource','mapIndex','type','wkid','12AwVWod','param','writeGetFeature','push','3fUYLts'];a58_0xb04a=function(){return _0x5758d5;};return a58_0xb04a();}import*as a58_0x1f4609 from'ol/format/filter';export default class GeoserverWFSLayer extends a58_0x28dd45{constructor(_0x5c68d4,_0x55d71b){const _0x856f36=a58_0xe82b;let _0x240a43=registerProj(_0x856f36(0x1e2)+_0x55d71b[_0x856f36(0x1f2)]);const _0x428516=_0x55d71b[_0x856f36(0x1fe)]['find'](_0xbea07=>_0xbea07[_0x856f36(0x1f8)]==0x6);super({'zIndex':_0x5c68d4[_0x856f36(0x1f0)],'source':new a58_0x10088f({'format':new a58_0x39c32e(),'loader':(_0x33c28c,_0x1d1ce9,_0x57968f,_0x4e3051,_0x54265d)=>{const _0x2c3f28=_0x856f36;let _0x41b20d=_0x5c68d4[_0x2c3f28(0x1ea)],_0x3b40b7={'srsName':_0x57968f[_0x2c3f28(0x1db)](),'featureTypes':_0x5c68d4[_0x2c3f28(0x202)],'bbox':_0x33c28c,'geometryName':_0x428516?_0x428516[_0x2c3f28(0x1da)]:'','outputFormat':_0x2c3f28(0x1e9)};_0x41b20d&&(typeof _0x41b20d==='string'?_0x3b40b7['filter']=new a58_0x7805bf()[_0x2c3f28(0x1fd)](_0x41b20d):_0x3b40b7[_0x2c3f28(0x1de)]=this[_0x2c3f28(0x1e0)](_0x41b20d));var _0x269c3a=new a58_0x4f80fe()[_0x2c3f28(0x1f5)](_0x3b40b7);let _0x13f288=_0x5c68d4['url']?_0x5c68d4['url']:'';fetch(_0x13f288,{'method':'POST','body':new XMLSerializer()['serializeToString'](_0x269c3a)})['then'](_0x1306d0=>{const _0x3f573a=_0x2c3f28;return _0x1306d0[_0x3f573a(0x1f9)]();})[_0x2c3f28(0x1e3)](_0x568396=>{const _0x1491b6=_0x2c3f28,_0x2637fc=new a58_0x39c32e()[_0x1491b6(0x1d5)](_0x568396);let _0x58741d=this[_0x1491b6(0x1ef)]();_0x58741d&&_0x58741d[_0x1491b6(0x201)](_0x2637fc);if(_0x4e3051)_0x4e3051(_0x2637fc);})[_0x2c3f28(0x1d4)](()=>{const _0x1461d9=_0x2c3f28;let _0xd736e4=this[_0x1461d9(0x1ef)]();_0xd736e4&&_0xd736e4[_0x1461d9(0x1e6)](_0x33c28c);if(_0x54265d)_0x54265d();});},'strategy':bbox})}),this['id']=_0x5c68d4['id'],this['initialExtent']=_0x55d71b[_0x856f36(0x1d8)],this['projection']=_0x240a43,this['layerInfo']=_0x5c68d4;}[a58_0x54f31d(0x1e0)](_0x35f020){const _0x584c3a=a58_0x54f31d;if(!_0x35f020[_0x584c3a(0x1f1)]){console[_0x584c3a(0x1d9)](_0x584c3a(0x1ff));return;}if(!_0x35f020['param']){console[_0x584c3a(0x1d9)](_0x584c3a(0x1ed));return;}let _0x35fc14=[];switch(_0x35f020['type'][_0x584c3a(0x1ee)]()){case'and':for(let _0x40387c=0x0;_0x40387c<_0x35f020[_0x584c3a(0x1f4)][_0x584c3a(0x1e5)];_0x40387c++){let _0x18400f=this[_0x584c3a(0x1e0)](_0x35f020[_0x584c3a(0x1f4)][_0x40387c]);_0x35fc14[_0x584c3a(0x1f6)](_0x18400f);}return a58_0x1f4609['and']['apply'](null,_0x35fc14);case'or':for(let _0x106c32=0x0;_0x106c32<_0x35f020[_0x584c3a(0x1f4)]['length'];_0x106c32++){let _0x4dc72c=this[_0x584c3a(0x1e0)](_0x35f020[_0x584c3a(0x1f4)][_0x106c32]);_0x35fc14[_0x584c3a(0x1f6)](_0x4dc72c);}return a58_0x1f4609['or'][_0x584c3a(0x1dc)](null,_0x35fc14);case'not':for(let _0x200917=0x0;_0x200917<_0x35f020[_0x584c3a(0x1f4)][_0x584c3a(0x1e5)];_0x200917++){let _0x13d8ad=this['parseFilter'](_0x35f020[_0x584c3a(0x1f4)][_0x200917]);_0x35fc14[_0x584c3a(0x1f6)](_0x13d8ad);}return a58_0x1f4609[_0x584c3a(0x1fb)][_0x584c3a(0x1dc)](null,_0x35fc14);case'=':return a58_0x1f4609['equalTo'](_0x35f020[_0x584c3a(0x1f4)][0x0],_0x35f020[_0x584c3a(0x1f4)][0x1]);case _0x584c3a(0x1eb):return a58_0x1f4609[_0x584c3a(0x203)](_0x35f020[_0x584c3a(0x1f4)][0x0],_0x35f020[_0x584c3a(0x1f4)][0x1]);case'>':return a58_0x1f4609['greaterThan'](_0x35f020[_0x584c3a(0x1f4)][0x0],_0x35f020[_0x584c3a(0x1f4)][0x1]);case'<':return a58_0x1f4609['lessThan'](_0x35f020[_0x584c3a(0x1f4)][0x0],_0x35f020['param'][0x1]);case'>=':return a58_0x1f4609['greaterThanOrEqualTo'](_0x35f020['param'][0x0],_0x35f020[_0x584c3a(0x1f4)][0x1]);case'<=':return a58_0x1f4609[_0x584c3a(0x1d7)](_0x35f020[_0x584c3a(0x1f4)][0x0],_0x35f020[_0x584c3a(0x1f4)][0x1]);case _0x584c3a(0x1e8):return a58_0x1f4609[_0x584c3a(0x1e8)](_0x35f020[_0x584c3a(0x1f4)][0x0],_0x35f020['param'][0x1],_0x35f020['param'][0x2]);}}}
@@ -1 +1 @@
1
- function a59_0x44bc(){const _0x40e93b=['4588803CiVzHl','10dUJWqn','1rPyObW','385021levNmg','CQL_FILTER','projection','687870UBUTnY','sublayers','144OzreiM','anonymous','loadFilter','join','12tNExPI','url','55353XGJeQo','15BvnGpF','layerInfo','setFilter','16CKIoLn','14217437baWjTO','5814149QKGQuy','910398mgAwGh','updateParams','refresh','EPSG:','initExtent','wkid','mapIndex'];a59_0x44bc=function(){return _0x40e93b;};return a59_0x44bc();}const a59_0x13ea54=a59_0x24e6;(function(_0x244b5a,_0x546ce1){const _0xa1c1ab=a59_0x24e6,_0x4be6bb=_0x244b5a();while(!![]){try{const _0x50688a=-parseInt(_0xa1c1ab(0xfc))/0x1*(-parseInt(_0xa1c1ab(0x10f))/0x2)+parseInt(_0xa1c1ab(0x108))/0x3*(parseInt(_0xa1c1ab(0x102))/0x4)+-parseInt(_0xa1c1ab(0x109))/0x5*(-parseInt(_0xa1c1ab(0x100))/0x6)+-parseInt(_0xa1c1ab(0xfd))/0x7*(-parseInt(_0xa1c1ab(0x10c))/0x8)+-parseInt(_0xa1c1ab(0xfa))/0x9+parseInt(_0xa1c1ab(0xfb))/0xa*(parseInt(_0xa1c1ab(0x10e))/0xb)+-parseInt(_0xa1c1ab(0x106))/0xc*(parseInt(_0xa1c1ab(0x10d))/0xd);if(_0x50688a===_0x546ce1)break;else _0x4be6bb['push'](_0x4be6bb['shift']());}catch(_0x3a76a0){_0x4be6bb['push'](_0x4be6bb['shift']());}}}(a59_0x44bc,0x79af3));import{ImageWMS as a59_0x49991b}from'ol/source';function a59_0x24e6(_0x52dabe,_0xa906e5){const _0x44bc77=a59_0x44bc();return a59_0x24e6=function(_0x24e60b,_0x19f36d){_0x24e60b=_0x24e60b-0xf4;let _0x3145a7=_0x44bc77[_0x24e60b];return _0x3145a7;},a59_0x24e6(_0x52dabe,_0xa906e5);}import{Image as a59_0x2e238e}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a59_0x2e238e{constructor(_0x62b2f4,_0x109bcf){const _0x2eb916=a59_0x24e6;var _0x5bb50d;let _0x476e63=registerProj(_0x2eb916(0xf6)+_0x109bcf[_0x2eb916(0xf8)]),_0x5a55ee={'LAYERS':(_0x5bb50d=_0x62b2f4[_0x2eb916(0x101)])===null||_0x5bb50d===void 0x0?void 0x0:_0x5bb50d[_0x2eb916(0x105)](','),'VERSION':'1.1.0'};_0x62b2f4['loadFilter']&&(_0x5a55ee[_0x2eb916(0xfe)]=_0x62b2f4[_0x2eb916(0x104)]),super({'opacity':_0x62b2f4['opacity'],'zIndex':_0x62b2f4[_0x2eb916(0xf9)],'source':new a59_0x49991b({'crossOrigin':_0x2eb916(0x103),'url':_0x62b2f4[_0x2eb916(0x107)],'params':_0x5a55ee})}),this['id']=_0x62b2f4['id'],this['initialExtent']=_0x109bcf[_0x2eb916(0xf7)],this[_0x2eb916(0xff)]=_0x476e63,this[_0x2eb916(0x10a)]=_0x62b2f4;}[a59_0x13ea54(0xf5)](){}[a59_0x13ea54(0x10b)](_0x589ce4){const _0x371fd9=a59_0x13ea54;var _0x251f25;(_0x251f25=this['getSource']())===null||_0x251f25===void 0x0?void 0x0:_0x251f25[_0x371fd9(0xf4)]({'CQL_FILTER':_0x589ce4});}}
1
+ const a59_0x15e76c=a59_0x42bc;(function(_0x350d2f,_0x12ac44){const _0x493847=a59_0x42bc,_0x4c3624=_0x350d2f();while(!![]){try{const _0x32d92c=parseInt(_0x493847(0x1c2))/0x1*(-parseInt(_0x493847(0x1b0))/0x2)+parseInt(_0x493847(0x1be))/0x3*(-parseInt(_0x493847(0x1c5))/0x4)+parseInt(_0x493847(0x1c1))/0x5*(-parseInt(_0x493847(0x1b2))/0x6)+parseInt(_0x493847(0x1b3))/0x7*(parseInt(_0x493847(0x1c3))/0x8)+parseInt(_0x493847(0x1bf))/0x9+-parseInt(_0x493847(0x1c0))/0xa+parseInt(_0x493847(0x1b8))/0xb;if(_0x32d92c===_0x12ac44)break;else _0x4c3624['push'](_0x4c3624['shift']());}catch(_0x132cd8){_0x4c3624['push'](_0x4c3624['shift']());}}}(a59_0x37df,0xd9c98));import{ImageWMS as a59_0x150ca3}from'ol/source';function a59_0x37df(){const _0x50a318=['18jDufdL','7Lxpltv','sublayers','1.1.0','join','loadFilter','7480297RHzfyW','wkid','anonymous','setFilter','CQL_FILTER','updateParams','107820sOecpK','14351985loyfGs','3861350MbJdad','2262595WFQLcH','403151MDnUNI','8126296YNxEqo','refresh','28UsqBeZ','initialExtent','EPSG:','2khyGoe','initExtent'];a59_0x37df=function(){return _0x50a318;};return a59_0x37df();}import{Image as a59_0x4cd637}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';function a59_0x42bc(_0x106faf,_0x286fde){const _0x37df87=a59_0x37df();return a59_0x42bc=function(_0x42bc7a,_0x1d589d){_0x42bc7a=_0x42bc7a-0x1ae;let _0x13cc6f=_0x37df87[_0x42bc7a];return _0x13cc6f;},a59_0x42bc(_0x106faf,_0x286fde);}export default class GeoserverWMSLayer extends a59_0x4cd637{constructor(_0x5eaa26,_0x109e14){const _0x3126f9=a59_0x42bc;var _0x532edd;let _0x4ae036=registerProj(_0x3126f9(0x1af)+_0x109e14[_0x3126f9(0x1b9)]),_0x2a4a1a={'LAYERS':(_0x532edd=_0x5eaa26[_0x3126f9(0x1b4)])===null||_0x532edd===void 0x0?void 0x0:_0x532edd[_0x3126f9(0x1b6)](','),'VERSION':_0x3126f9(0x1b5)};_0x5eaa26[_0x3126f9(0x1b7)]&&(_0x2a4a1a[_0x3126f9(0x1bc)]=_0x5eaa26[_0x3126f9(0x1b7)]),super({'opacity':_0x5eaa26['opacity'],'zIndex':_0x5eaa26['mapIndex'],'source':new a59_0x150ca3({'crossOrigin':_0x3126f9(0x1ba),'url':_0x5eaa26['url'],'params':_0x2a4a1a})}),this['id']=_0x5eaa26['id'],this[_0x3126f9(0x1ae)]=_0x109e14[_0x3126f9(0x1b1)],this['projection']=_0x4ae036,this['layerInfo']=_0x5eaa26;}[a59_0x15e76c(0x1c4)](){}[a59_0x15e76c(0x1bb)](_0x118f25){const _0x375d0a=a59_0x15e76c;var _0x1b07e0;(_0x1b07e0=this['getSource']())===null||_0x1b07e0===void 0x0?void 0x0:_0x1b07e0[_0x375d0a(0x1bd)]({'CQL_FILTER':_0x118f25});}}
@@ -1 +1 @@
1
- function a60_0xca5c(_0x5e8dfd,_0x16aa7d){const _0x481fe8=a60_0x481f();return a60_0xca5c=function(_0xca5ce6,_0x57847f){_0xca5ce6=_0xca5ce6-0x1a6;let _0x390430=_0x481fe8[_0xca5ce6];return _0x390430;},a60_0xca5c(_0x5e8dfd,_0x16aa7d);}(function(_0x476b1d,_0x30de46){const _0x36db9a=a60_0xca5c,_0x1de8a6=_0x476b1d();while(!![]){try{const _0x45610d=parseInt(_0x36db9a(0x1a9))/0x1*(-parseInt(_0x36db9a(0x1af))/0x2)+-parseInt(_0x36db9a(0x1b1))/0x3*(parseInt(_0x36db9a(0x1b6))/0x4)+-parseInt(_0x36db9a(0x1ac))/0x5*(parseInt(_0x36db9a(0x1b4))/0x6)+parseInt(_0x36db9a(0x1b7))/0x7+parseInt(_0x36db9a(0x1ad))/0x8*(parseInt(_0x36db9a(0x1a8))/0x9)+parseInt(_0x36db9a(0x1ba))/0xa+-parseInt(_0x36db9a(0x1b5))/0xb;if(_0x45610d===_0x30de46)break;else _0x1de8a6['push'](_0x1de8a6['shift']());}catch(_0x43ab2c){_0x1de8a6['push'](_0x1de8a6['shift']());}}}(a60_0x481f,0x9424f));import a60_0x13b99a from'ol/layer/Tile';import a60_0xc9714c,{optionsFromCapabilities}from'ol/source/WMTS.js';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMTSLayer extends a60_0x13b99a{constructor(_0x3eafb8,_0x1aed00){const _0x41a8cb=a60_0xca5c;var _0x3b8921;const _0x144782=_0x41a8cb(0x1ab)+_0x1aed00[_0x41a8cb(0x1ae)];let _0x23d435=registerProj(_0x144782);if(!_0x23d435)throw new Error(_0x41a8cb(0x1a7));const _0x2e68d4=optionsFromCapabilities(_0x1aed00[_0x41a8cb(0x1b2)],{'layer':(_0x3b8921=_0x3eafb8[_0x41a8cb(0x1aa)])===null||_0x3b8921===void 0x0?void 0x0:_0x3b8921[0x0],'matrixSet':_0x1aed00[_0x41a8cb(0x1bb)],'format':_0x41a8cb(0x1b3)});if(!_0x2e68d4)throw new Error(_0x41a8cb(0x1b0));super({'opacity':_0x3eafb8[_0x41a8cb(0x1bc)],'zIndex':_0x3eafb8[_0x41a8cb(0x1b9)],'source':new a60_0xc9714c(_0x2e68d4)}),this['id']=_0x3eafb8['id'],this['initialExtent']=_0x1aed00[_0x41a8cb(0x1a6)],this['projection']=_0x23d435,this[_0x41a8cb(0x1b8)]=_0x3eafb8;}}function a60_0x481f(){const _0x2909a9=['sourceXml','image/png','6gEQxmR','9558032nVhBTe','7624vNPyFq','2544451uEvODI','layerInfo','mapIndex','11743260ApDYyL','tileMatrixSet','opacity','boundingBoxExtent','未找到投影信息','765oPLqNL','409999GCGkGk','sublayers','EPSG:','1028140NngqYg','102504MCVChX','wkid','2buFuiZ','解析元数据失败','843LjoFQf'];a60_0x481f=function(){return _0x2909a9;};return a60_0x481f();}
1
+ function a60_0x356e(_0xe367b0,_0x22f308){const _0x32b777=a60_0x32b7();return a60_0x356e=function(_0x356ee7,_0x140246){_0x356ee7=_0x356ee7-0x12b;let _0x555f1a=_0x32b777[_0x356ee7];return _0x555f1a;},a60_0x356e(_0xe367b0,_0x22f308);}(function(_0x3bd275,_0x1e9158){const _0x55031e=a60_0x356e,_0x395299=_0x3bd275();while(!![]){try{const _0x1a653b=-parseInt(_0x55031e(0x12e))/0x1*(parseInt(_0x55031e(0x13c))/0x2)+-parseInt(_0x55031e(0x13b))/0x3*(parseInt(_0x55031e(0x12b))/0x4)+parseInt(_0x55031e(0x12f))/0x5+parseInt(_0x55031e(0x139))/0x6+parseInt(_0x55031e(0x131))/0x7*(parseInt(_0x55031e(0x130))/0x8)+parseInt(_0x55031e(0x137))/0x9+parseInt(_0x55031e(0x134))/0xa;if(_0x1a653b===_0x1e9158)break;else _0x395299['push'](_0x395299['shift']());}catch(_0x1f31e5){_0x395299['push'](_0x395299['shift']());}}}(a60_0x32b7,0x65803));import a60_0x12841b from'ol/layer/Tile';import a60_0x1d1bba,{optionsFromCapabilities}from'ol/source/WMTS.js';function a60_0x32b7(){const _0xbf79f1=['解析元数据失败','5052366OLHhbj','sublayers','1272738oFtloq','EPSG:','159ouHVpb','2uMlJZv','opacity','mapIndex','initialExtent','41428lSDHRK','layerInfo','projection','364292nfNvGa','2309465QLPteC','66408VDkYUS','7LzZHYG','boundingBoxExtent','image/png','852690TURJVS','sourceXml'];a60_0x32b7=function(){return _0xbf79f1;};return a60_0x32b7();}import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMTSLayer extends a60_0x12841b{constructor(_0x2088f7,_0x5b3f36){const _0x281a10=a60_0x356e;var _0x2e79de;const _0x2fa0d2=_0x281a10(0x13a)+_0x5b3f36['wkid'];let _0x99a05c=registerProj(_0x2fa0d2);if(!_0x99a05c)throw new Error('未找到投影信息');const _0x15b191=optionsFromCapabilities(_0x5b3f36[_0x281a10(0x135)],{'layer':(_0x2e79de=_0x2088f7[_0x281a10(0x138)])===null||_0x2e79de===void 0x0?void 0x0:_0x2e79de[0x0],'matrixSet':_0x5b3f36['tileMatrixSet'],'format':_0x281a10(0x133)});if(!_0x15b191)throw new Error(_0x281a10(0x136));super({'opacity':_0x2088f7[_0x281a10(0x13d)],'zIndex':_0x2088f7[_0x281a10(0x13e)],'source':new a60_0x1d1bba(_0x15b191)}),this['id']=_0x2088f7['id'],this[_0x281a10(0x13f)]=_0x5b3f36[_0x281a10(0x132)],this[_0x281a10(0x12d)]=_0x99a05c,this[_0x281a10(0x12c)]=_0x2088f7;}}
@@ -1 +1 @@
1
- function a62_0x4fad(_0x23d0bb,_0x5d2386){const _0x2f38ed=a62_0x2f38();return a62_0x4fad=function(_0x4fad7f,_0x4fd60c){_0x4fad7f=_0x4fad7f-0x177;let _0x47ea08=_0x2f38ed[_0x4fad7f];return _0x47ea08;},a62_0x4fad(_0x23d0bb,_0x5d2386);}const a62_0x119a8c=a62_0x4fad;(function(_0x251c9a,_0x510026){const _0x1d5c7=a62_0x4fad,_0x3fdb86=_0x251c9a();while(!![]){try{const _0x5ba905=parseInt(_0x1d5c7(0x18a))/0x1+-parseInt(_0x1d5c7(0x187))/0x2*(parseInt(_0x1d5c7(0x17e))/0x3)+-parseInt(_0x1d5c7(0x186))/0x4*(parseInt(_0x1d5c7(0x184))/0x5)+-parseInt(_0x1d5c7(0x17a))/0x6+parseInt(_0x1d5c7(0x182))/0x7*(parseInt(_0x1d5c7(0x189))/0x8)+parseInt(_0x1d5c7(0x185))/0x9+-parseInt(_0x1d5c7(0x17c))/0xa*(-parseInt(_0x1d5c7(0x179))/0xb);if(_0x5ba905===_0x510026)break;else _0x3fdb86['push'](_0x3fdb86['shift']());}catch(_0x401f37){_0x3fdb86['push'](_0x3fdb86['shift']());}}}(a62_0x2f38,0x656c1));import a62_0x1797da from'./ArcgisDynamicLayer';import a62_0x1cdcb3 from'./ArcgisFeatureLayer';import a62_0x258abe from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a62_0x87b04e from'./ArcgisTileLayer';import a62_0x37c6d8 from'./GeoserverWMSLayer';import a62_0x59bf84 from'./GeoserverWMTSLayer';import a62_0x55febf from'./ArcgisWMSLayer';import a62_0x1a1516 from'./ArcgisWMTSLayer';function a62_0x2f38(){const _0x313eb6=['getArcgisFeatureLayer','url','sublayers','329kisRrP','getTDTLayer','5qxixPM','485307ANaDIZ','1694764KMTXLf','14FNsbfi','push','46360alARPg','551436ggeigS','getGeoserverWMTSLayer','getArcgisWMTSLayer','88DiHfnk','397290gQGUnV','getGeoserverWmsLayer','1035430HBvXLC','getDynamicLayer','343173kIABhM'];a62_0x2f38=function(){return _0x313eb6;};return a62_0x2f38();}import a62_0x46a212 from'./GeoserverWFSLayer';import a62_0x154ee1 from'./GeoserverVectorTile';export default class LayerManagement{static async[a62_0x119a8c(0x17d)](_0x575be7){const _0x4a01c0=await getDynamicLayerInfo(_0x575be7['url']?_0x575be7['url']:'');let _0x3ae07f=new a62_0x1797da(_0x575be7,_0x4a01c0);return _0x3ae07f;}static async['getArcgisTileLayer'](_0x2b69a1){const _0x42877a=a62_0x119a8c,_0x7ca2c8=await getDynamicLayerInfo(_0x2b69a1[_0x42877a(0x180)]?_0x2b69a1[_0x42877a(0x180)]:'');let _0xa8d5ef=new a62_0x87b04e(_0x2b69a1,_0x7ca2c8);return _0xa8d5ef;}static async[a62_0x119a8c(0x17f)](_0x50fa45){const _0x2e782b=a62_0x119a8c,_0x30a23=await getDynamicLayerInfo(_0x50fa45[_0x2e782b(0x180)]?_0x50fa45['url']:'');let _0x559bb3=[];if(_0x50fa45[_0x2e782b(0x181)])for(let _0x567476=0x0;_0x567476<_0x50fa45[_0x2e782b(0x181)]['length'];_0x567476++){const _0x37ba70=_0x50fa45[_0x2e782b(0x181)][_0x567476];_0x559bb3[_0x2e782b(0x188)](await getFeatureLayerInfo(_0x50fa45[_0x2e782b(0x180)]?_0x50fa45[_0x2e782b(0x180)]:'',_0x37ba70));}let _0x536c51=new a62_0x1cdcb3(_0x50fa45,_0x30a23,_0x559bb3);return _0x536c51;}static async['getArcgisWmsLayer'](_0x36dff4){const _0x2c424f=a62_0x119a8c;var _0x5e827d;const _0x1881db=(_0x5e827d=_0x36dff4[_0x2c424f(0x181)])===null||_0x5e827d===void 0x0?void 0x0:_0x5e827d[0x0],_0x10a964=await getWMSLayerCapabilities(_0x36dff4[_0x2c424f(0x180)]?_0x36dff4[_0x2c424f(0x180)]:'',_0x1881db==null?'':_0x1881db);let _0x506487=new a62_0x55febf(_0x36dff4,_0x10a964);return _0x506487;}static async[a62_0x119a8c(0x178)](_0x16c4bf){const _0x366a1c=a62_0x119a8c;var _0x5f17e5;const _0x3a3f2d=(_0x5f17e5=_0x16c4bf[_0x366a1c(0x181)])===null||_0x5f17e5===void 0x0?void 0x0:_0x5f17e5[0x0],_0x13379c=await getWMTSLayerCapabilities(_0x16c4bf[_0x366a1c(0x180)]?_0x16c4bf[_0x366a1c(0x180)]:'',_0x3a3f2d==null?'':_0x3a3f2d);let _0x3aa11a=new a62_0x1a1516(_0x16c4bf,_0x13379c);return _0x3aa11a;}static async[a62_0x119a8c(0x17b)](_0x3e8793){const _0x27fc19=a62_0x119a8c;var _0x1a96f8;const _0x52cee5=(_0x1a96f8=_0x3e8793[_0x27fc19(0x181)])===null||_0x1a96f8===void 0x0?void 0x0:_0x1a96f8[0x0],_0x5685cc=await getWMSLayerCapabilities(_0x3e8793['url']?_0x3e8793[_0x27fc19(0x180)]:'',_0x52cee5==null?'':_0x52cee5);let _0x31a468=new a62_0x37c6d8(_0x3e8793,_0x5685cc);return _0x31a468;}static async[a62_0x119a8c(0x177)](_0x3202f1){const _0x295577=a62_0x119a8c;var _0x363dcc;const _0x51fb6f=(_0x363dcc=_0x3202f1[_0x295577(0x181)])===null||_0x363dcc===void 0x0?void 0x0:_0x363dcc[0x0],_0x2fd469=await getWMTSLayerCapabilities(_0x3202f1['url']?_0x3202f1['url']:'',_0x51fb6f==null?'':_0x51fb6f);let _0x342a14=new a62_0x59bf84(_0x3202f1,_0x2fd469);return _0x342a14;}static async['getGeoserverWFSLayer'](_0x5ae5ec){const _0x388574=a62_0x119a8c;var _0x5be27a;const _0x43b927=(_0x5be27a=_0x5ae5ec[_0x388574(0x181)])===null||_0x5be27a===void 0x0?void 0x0:_0x5be27a[0x0],_0x3a7a91=await getWFSLayerCapabilities(_0x5ae5ec['url']?_0x5ae5ec[_0x388574(0x180)]:'',_0x43b927==null?'':_0x43b927);let _0x3ae128=new a62_0x46a212(_0x5ae5ec,_0x3a7a91);return _0x3ae128;}static async['getGeoserverVectorTileLayer'](_0x66f45d){const _0x5973fe=a62_0x119a8c;var _0x34a757;const _0x19be41=(_0x34a757=_0x66f45d[_0x5973fe(0x181)])===null||_0x34a757===void 0x0?void 0x0:_0x34a757[0x0],_0x244b18=await getWMTSLayerCapabilities(_0x66f45d[_0x5973fe(0x180)]?_0x66f45d[_0x5973fe(0x180)]:'',_0x19be41==null?'':_0x19be41);let _0x24f876=new a62_0x154ee1(_0x66f45d,_0x244b18);return _0x24f876;}static async[a62_0x119a8c(0x183)](_0x3164b0){const _0x184f5d=a62_0x119a8c;var _0x4460fb;const _0x11e7c5=(_0x4460fb=_0x3164b0[_0x184f5d(0x181)])===null||_0x4460fb===void 0x0?void 0x0:_0x4460fb[0x0],_0x3e284b=await getWMTSLayerCapabilities(_0x3164b0[_0x184f5d(0x180)]?_0x3164b0[_0x184f5d(0x180)]:'',_0x11e7c5==null?'':_0x11e7c5);let _0x5961e8=new a62_0x258abe(_0x3164b0,_0x3e284b);return _0x5961e8;}}
1
+ const a62_0x5496e5=a62_0x4bbb;(function(_0x4f07af,_0x5b7d74){const _0x3847d6=a62_0x4bbb,_0x16b022=_0x4f07af();while(!![]){try{const _0x35f7a9=parseInt(_0x3847d6(0x1a2))/0x1*(parseInt(_0x3847d6(0x1a1))/0x2)+parseInt(_0x3847d6(0x19a))/0x3+-parseInt(_0x3847d6(0x1a8))/0x4*(parseInt(_0x3847d6(0x1a5))/0x5)+-parseInt(_0x3847d6(0x1a3))/0x6+parseInt(_0x3847d6(0x1a4))/0x7*(parseInt(_0x3847d6(0x1aa))/0x8)+parseInt(_0x3847d6(0x1a6))/0x9+-parseInt(_0x3847d6(0x19c))/0xa;if(_0x35f7a9===_0x5b7d74)break;else _0x16b022['push'](_0x16b022['shift']());}catch(_0x49eedd){_0x16b022['push'](_0x16b022['shift']());}}}(a62_0x2f58,0xa3400));function a62_0x2f58(){const _0x2f6738=['url','getDynamicLayer','getArcgisFeatureLayer','1496708ypPGgd','1FiBPDp','1517868mnRiwm','49nKRREY','158275MYMeBc','4394295HwPkgc','push','116EcKIRB','length','1151312tumdno','getArcgisTileLayer','getGeoserverVectorTileLayer','getArcgisWMTSLayer','sublayers','3320136yEgoOA','getArcgisWmsLayer','15110740wmiiGY','getGeoserverWMTSLayer'];a62_0x2f58=function(){return _0x2f6738;};return a62_0x2f58();}import a62_0x451b70 from'./ArcgisDynamicLayer';import a62_0x5706a7 from'./ArcgisFeatureLayer';import a62_0x20a24e from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a62_0x1b3885 from'./ArcgisTileLayer';import a62_0x139261 from'./GeoserverWMSLayer';import a62_0x4ba600 from'./GeoserverWMTSLayer';import a62_0x13f4e2 from'./ArcgisWMSLayer';function a62_0x4bbb(_0x18fe1b,_0x36fdb3){const _0x2f589b=a62_0x2f58();return a62_0x4bbb=function(_0x4bbb4d,_0x3e6050){_0x4bbb4d=_0x4bbb4d-0x198;let _0x2261c1=_0x2f589b[_0x4bbb4d];return _0x2261c1;},a62_0x4bbb(_0x18fe1b,_0x36fdb3);}import a62_0x176903 from'./ArcgisWMTSLayer';import a62_0x30efa4 from'./GeoserverWFSLayer';import a62_0xddf1cb from'./GeoserverVectorTile';export default class LayerManagement{static async[a62_0x5496e5(0x19f)](_0x4383e0){const _0x4ede94=a62_0x5496e5,_0x3923c0=await getDynamicLayerInfo(_0x4383e0[_0x4ede94(0x19e)]?_0x4383e0['url']:'');let _0x5cac5e=new a62_0x451b70(_0x4383e0,_0x3923c0);return _0x5cac5e;}static async[a62_0x5496e5(0x1ab)](_0x2e9fa0){const _0x3c4eba=a62_0x5496e5,_0x399b80=await getDynamicLayerInfo(_0x2e9fa0['url']?_0x2e9fa0[_0x3c4eba(0x19e)]:'');let _0x41a6fc=new a62_0x1b3885(_0x2e9fa0,_0x399b80);return _0x41a6fc;}static async[a62_0x5496e5(0x1a0)](_0x39decd){const _0x579647=a62_0x5496e5,_0x505539=await getDynamicLayerInfo(_0x39decd[_0x579647(0x19e)]?_0x39decd['url']:'');let _0x4726a4=[];if(_0x39decd[_0x579647(0x199)])for(let _0x5957e4=0x0;_0x5957e4<_0x39decd[_0x579647(0x199)][_0x579647(0x1a9)];_0x5957e4++){const _0x2fd944=_0x39decd[_0x579647(0x199)][_0x5957e4];_0x4726a4[_0x579647(0x1a7)](await getFeatureLayerInfo(_0x39decd[_0x579647(0x19e)]?_0x39decd['url']:'',_0x2fd944));}let _0x2336d3=new a62_0x5706a7(_0x39decd,_0x505539,_0x4726a4);return _0x2336d3;}static async[a62_0x5496e5(0x19b)](_0x1c2b20){const _0x2bd8fa=a62_0x5496e5;var _0x48bccc;const _0xda9ba7=(_0x48bccc=_0x1c2b20[_0x2bd8fa(0x199)])===null||_0x48bccc===void 0x0?void 0x0:_0x48bccc[0x0],_0x49f851=await getWMSLayerCapabilities(_0x1c2b20[_0x2bd8fa(0x19e)]?_0x1c2b20['url']:'',_0xda9ba7==null?'':_0xda9ba7);let _0xf0558a=new a62_0x13f4e2(_0x1c2b20,_0x49f851);return _0xf0558a;}static async[a62_0x5496e5(0x198)](_0x442b0c){const _0xd41459=a62_0x5496e5;var _0x1f0995;const _0x527967=(_0x1f0995=_0x442b0c[_0xd41459(0x199)])===null||_0x1f0995===void 0x0?void 0x0:_0x1f0995[0x0],_0x55c45c=await getWMTSLayerCapabilities(_0x442b0c['url']?_0x442b0c[_0xd41459(0x19e)]:'',_0x527967==null?'':_0x527967);let _0x3ce511=new a62_0x176903(_0x442b0c,_0x55c45c);return _0x3ce511;}static async['getGeoserverWmsLayer'](_0x3dd98f){const _0x4489a3=a62_0x5496e5;var _0x3a7bc9;const _0xe95199=(_0x3a7bc9=_0x3dd98f[_0x4489a3(0x199)])===null||_0x3a7bc9===void 0x0?void 0x0:_0x3a7bc9[0x0],_0x215c55=await getWMSLayerCapabilities(_0x3dd98f[_0x4489a3(0x19e)]?_0x3dd98f[_0x4489a3(0x19e)]:'',_0xe95199==null?'':_0xe95199);let _0x42be86=new a62_0x139261(_0x3dd98f,_0x215c55);return _0x42be86;}static async[a62_0x5496e5(0x19d)](_0x375dd6){const _0x41b455=a62_0x5496e5;var _0x10ae79;const _0x455764=(_0x10ae79=_0x375dd6[_0x41b455(0x199)])===null||_0x10ae79===void 0x0?void 0x0:_0x10ae79[0x0],_0x4ae636=await getWMTSLayerCapabilities(_0x375dd6[_0x41b455(0x19e)]?_0x375dd6[_0x41b455(0x19e)]:'',_0x455764==null?'':_0x455764);let _0x566b16=new a62_0x4ba600(_0x375dd6,_0x4ae636);return _0x566b16;}static async['getGeoserverWFSLayer'](_0x130c30){const _0x505cbe=a62_0x5496e5;var _0x1168c1;const _0x50be73=(_0x1168c1=_0x130c30[_0x505cbe(0x199)])===null||_0x1168c1===void 0x0?void 0x0:_0x1168c1[0x0],_0x39bc09=await getWFSLayerCapabilities(_0x130c30[_0x505cbe(0x19e)]?_0x130c30['url']:'',_0x50be73==null?'':_0x50be73);let _0xa7dc7a=new a62_0x30efa4(_0x130c30,_0x39bc09);return _0xa7dc7a;}static async[a62_0x5496e5(0x1ac)](_0x329833){const _0x13d8b0=a62_0x5496e5;var _0x93ad4a;const _0x215765=(_0x93ad4a=_0x329833[_0x13d8b0(0x199)])===null||_0x93ad4a===void 0x0?void 0x0:_0x93ad4a[0x0],_0x2e6ff6=await getWMTSLayerCapabilities(_0x329833[_0x13d8b0(0x19e)]?_0x329833[_0x13d8b0(0x19e)]:'',_0x215765==null?'':_0x215765);let _0x54d1e1=new a62_0xddf1cb(_0x329833,_0x2e6ff6);return _0x54d1e1;}static async['getTDTLayer'](_0x14ca2e){const _0x42c4c9=a62_0x5496e5;var _0x48244b;const _0x44c9f1=(_0x48244b=_0x14ca2e[_0x42c4c9(0x199)])===null||_0x48244b===void 0x0?void 0x0:_0x48244b[0x0],_0x2bc994=await getWMTSLayerCapabilities(_0x14ca2e[_0x42c4c9(0x19e)]?_0x14ca2e[_0x42c4c9(0x19e)]:'',_0x44c9f1==null?'':_0x44c9f1);let _0x25b93c=new a62_0x20a24e(_0x14ca2e,_0x2bc994);return _0x25b93c;}}
@@ -1 +1 @@
1
- function a63_0x1605(_0x44ad09,_0xda3010){const _0x3eb63a=a63_0x3eb6();return a63_0x1605=function(_0x1605fb,_0x50fbe1){_0x1605fb=_0x1605fb-0xfe;let _0xb37855=_0x3eb63a[_0x1605fb];return _0xb37855;},a63_0x1605(_0x44ad09,_0xda3010);}function a63_0x3eb6(){const _0x1b80df=['37158UMUtVX','256102lLAXKH','join','70vVbNQo','5IFaPAM','initialExtent','projection','39025QDVQtt','pow','8soUpbr','EPSG:4490','1407798VgrprA','boundingBoxExtent','7RffeCw','236748XgVMBx','style','709818qSnotS','url','216wdbrgK','length','format','sublayers','2268696XWuZCW','KVP'];a63_0x3eb6=function(){return _0x1b80df;};return a63_0x3eb6();}(function(_0x4c5aa0,_0x1a89d8){const _0x48d4f3=a63_0x1605,_0x38c42a=_0x4c5aa0();while(!![]){try{const _0x436aec=-parseInt(_0x48d4f3(0x10d))/0x1*(-parseInt(_0x48d4f3(0x109))/0x2)+-parseInt(_0x48d4f3(0x101))/0x3*(-parseInt(_0x48d4f3(0x112))/0x4)+-parseInt(_0x48d4f3(0x110))/0x5*(parseInt(_0x48d4f3(0x103))/0x6)+parseInt(_0x48d4f3(0xfe))/0x7*(parseInt(_0x48d4f3(0x107))/0x8)+-parseInt(_0x48d4f3(0x114))/0x9+-parseInt(_0x48d4f3(0x10c))/0xa*(parseInt(_0x48d4f3(0x10a))/0xb)+parseInt(_0x48d4f3(0xff))/0xc;if(_0x436aec===_0x1a89d8)break;else _0x38c42a['push'](_0x38c42a['shift']());}catch(_0x23c71f){_0x38c42a['push'](_0x38c42a['shift']());}}}(a63_0x3eb6,0x41af7));import a63_0xa31070 from'ol/layer/Tile';import{WMTS as a63_0x5de529}from'ol/source';import a63_0x5894f6 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a63_0xa31070{constructor(_0x84e63f,_0xb082f1){const _0x3510d7=a63_0x1605;let _0x26219a='';_0x84e63f[_0x3510d7(0x106)]&&_0x84e63f[_0x3510d7(0x106)][_0x3510d7(0x104)]>0x0&&(_0x26219a=_0x84e63f[_0x3510d7(0x106)][_0x3510d7(0x10b)](','));const _0x221b81=_0x3510d7(0x113);let _0x30bc85=registerProj(_0x221b81);const _0x1af146=[],_0x1288df=[];for(let _0x14f418=0x1;_0x14f418<0x13;_0x14f418++){_0x1af146[_0x14f418]=getWidth(_0xb082f1['boundingBoxExtent'])/(0x100*Math[_0x3510d7(0x111)](0x2,_0x14f418)),_0x1288df[_0x14f418]=_0x14f418+'';}super({'opacity':_0x84e63f['opacity'],'zIndex':_0x84e63f['mapIndex'],'source':new a63_0x5de529({'style':_0xb082f1[_0x3510d7(0x100)],'url':_0x84e63f[_0x3510d7(0x102)],'tileGrid':new a63_0x5894f6({'origin':getTopLeft(_0xb082f1[_0x3510d7(0x115)]),'resolutions':_0x1af146,'matrixIds':_0x1288df}),'layer':_0x26219a,'matrixSet':_0xb082f1['tileMatrixSet'],'version':'1.0.0','format':_0xb082f1[_0x3510d7(0x105)][0x0],'projection':_0x221b81,'requestEncoding':_0x3510d7(0x108)})}),this['id']=_0x84e63f['id'],this[_0x3510d7(0x10e)]=_0xb082f1[_0x3510d7(0x115)],this[_0x3510d7(0x10f)]=_0x30bc85,this['layerInfo']=_0x84e63f;}}
1
+ (function(_0x7b045a,_0xdff870){const _0x582389=a63_0x2562,_0x4e826e=_0x7b045a();while(!![]){try{const _0x2045fd=-parseInt(_0x582389(0x15b))/0x1*(parseInt(_0x582389(0x162))/0x2)+-parseInt(_0x582389(0x164))/0x3*(-parseInt(_0x582389(0x15d))/0x4)+-parseInt(_0x582389(0x169))/0x5+-parseInt(_0x582389(0x156))/0x6*(-parseInt(_0x582389(0x154))/0x7)+parseInt(_0x582389(0x15f))/0x8+parseInt(_0x582389(0x152))/0x9*(parseInt(_0x582389(0x161))/0xa)+-parseInt(_0x582389(0x160))/0xb;if(_0x2045fd===_0xdff870)break;else _0x4e826e['push'](_0x4e826e['shift']());}catch(_0x316274){_0x4e826e['push'](_0x4e826e['shift']());}}}(a63_0x2d8d,0xb0fef));import a63_0x4ddc4a from'ol/layer/Tile';import{WMTS as a63_0x18a9c5}from'ol/source';function a63_0x2562(_0x1b39ec,_0x35fc29){const _0x2d8d1f=a63_0x2d8d();return a63_0x2562=function(_0x2562a8,_0x55b2a7){_0x2562a8=_0x2562a8-0x152;let _0x5dc3d6=_0x2d8d1f[_0x2562a8];return _0x5dc3d6;},a63_0x2562(_0x1b39ec,_0x35fc29);}function a63_0x2d8d(){const _0x50c63c=['layerInfo','1.0.0','1ykLply','opacity','2060720FSWDep','pow','10991936IEWpEu','11505637JhECgD','150tPuNcQ','550292CtOrZd','tileMatrixSet','3OBvIui','initialExtent','join','EPSG:4490','projection','4817735UesHoM','sublayers','247644wjMtYn','KVP','7shqBMg','url','4246338ptNgEd','boundingBoxExtent','length'];a63_0x2d8d=function(){return _0x50c63c;};return a63_0x2d8d();}import a63_0x3a45ef from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a63_0x4ddc4a{constructor(_0x48d8a3,_0x30b311){const _0x34796f=a63_0x2562;let _0x595237='';_0x48d8a3['sublayers']&&_0x48d8a3[_0x34796f(0x16a)][_0x34796f(0x158)]>0x0&&(_0x595237=_0x48d8a3[_0x34796f(0x16a)][_0x34796f(0x166)](','));const _0x6c8127=_0x34796f(0x167);let _0x3a02af=registerProj(_0x6c8127);const _0x366ef0=[],_0x152cb5=[];for(let _0xa1a274=0x1;_0xa1a274<0x13;_0xa1a274++){_0x366ef0[_0xa1a274]=getWidth(_0x30b311['boundingBoxExtent'])/(0x100*Math[_0x34796f(0x15e)](0x2,_0xa1a274)),_0x152cb5[_0xa1a274]=_0xa1a274+'';}super({'opacity':_0x48d8a3[_0x34796f(0x15c)],'zIndex':_0x48d8a3['mapIndex'],'source':new a63_0x18a9c5({'style':_0x30b311['style'],'url':_0x48d8a3[_0x34796f(0x155)],'tileGrid':new a63_0x3a45ef({'origin':getTopLeft(_0x30b311[_0x34796f(0x157)]),'resolutions':_0x366ef0,'matrixIds':_0x152cb5}),'layer':_0x595237,'matrixSet':_0x30b311[_0x34796f(0x163)],'version':_0x34796f(0x15a),'format':_0x30b311['format'][0x0],'projection':_0x6c8127,'requestEncoding':_0x34796f(0x153)})}),this['id']=_0x48d8a3['id'],this[_0x34796f(0x165)]=_0x30b311[_0x34796f(0x157)],this[_0x34796f(0x168)]=_0x3a02af,this[_0x34796f(0x159)]=_0x48d8a3;}}
package/mapView/Map.js CHANGED
@@ -1 +1 @@
1
- const a64_0x4b5e53=a64_0x1683;function a64_0x1683(_0x5ef5b6,_0x3e01cd){const _0x8fde55=a64_0x8fde();return a64_0x1683=function(_0x168344,_0x4e293e){_0x168344=_0x168344-0x1c3;let _0xdb5268=_0x8fde55[_0x168344];return _0xdb5268;},a64_0x1683(_0x5ef5b6,_0x3e01cd);}function a64_0x8fde(){const _0x4144b0=['setGeometry','minScale','locationWKTs','MultiPolygon','Point','57795MOcdSo','fromType','527BNrHYx','minResolution','fitLayer','pointTempLayer','constrainResolution','50EJqFdo','maxResolution','geoserver-vector-tile','rgba(255,\x200,\x200,\x201)','minZoom','19528NhXwpl','getLineTempLayer','getArcgisTileLayer','oncontextmenu','maxScale','getPolygonTempLayer','getLayersByIds','setMinResolution','setProperties','addWKTs','import','removeLayerById','geoserver-wmts','filter','getDynamicLayer','addFeature','insertAt','arcgis-wmts','getZIndex','locationWKT','transform','getArray','push','getGeoserverWmsLayer','layerInfo','getArcgisWmsLayer','geoserver-wfs','getProjection','add','getSize','addMapLayer','tag','getCode','Polygon','getView','setStyle','layerTag','getMinZoom','tdt-c','setMaxResolution','getType','18LGGvVJ','refresh','6611KPuQFw','getTempLayerById','1596Fodnwp','geoserver-wms','flashGeometrys','polygonTempLayer','getMetersPerUnit','fit','9FyxmNM','changetype','projection','lineTempLayer','length','_options','remove','center','874564QBFUEo','MultiPoint','getLayers','removeLayer','getArcgisFeatureLayer','getCoordinates','layerIds','includes','getGeoserverVectorTileLayer','getTDTLayer','addLayer','getTempLayerByGeoType','layerType','changelayer','getResolution','341260wkhCFC','getGeoserverWFSLayer','setProjection','locationGeometrys','controlManager','arcgis-feature','extent','dispatchEvent','getExtent','getLayerById','rgba(255,\x200,\x200,\x200.2)','getElementById','3HwxCWV','590408NjOFzf','setCenter','all','getTarget','sortTemLayer','getGeoserverWMTSLayer','LineString','calculateExtent','getArcgisWMTSLayer','getPointTempLayer','getSource','GeometryCollection','maxZoom','zoom','locationGeometry'];a64_0x8fde=function(){return _0x4144b0;};return a64_0x8fde();}(function(_0x1827b9,_0x4938e3){const _0x405144=a64_0x1683,_0x2e71da=_0x1827b9();while(!![]){try{const _0x198ed9=parseInt(_0x405144(0x1ef))/0x1*(parseInt(_0x405144(0x1f4))/0x2)+parseInt(_0x405144(0x1d8))/0x3*(parseInt(_0x405144(0x234))/0x4)+-parseInt(_0x405144(0x1ed))/0x5*(-parseInt(_0x405144(0x222))/0x6)+-parseInt(_0x405144(0x1d9))/0x7+parseInt(_0x405144(0x1f9))/0x8*(parseInt(_0x405144(0x22c))/0x9)+parseInt(_0x405144(0x1cc))/0xa+parseInt(_0x405144(0x224))/0xb*(-parseInt(_0x405144(0x226))/0xc);if(_0x198ed9===_0x4938e3)break;else _0x2e71da['push'](_0x2e71da['shift']());}catch(_0x11f86b){_0x2e71da['push'](_0x2e71da['shift']());}}}(a64_0x8fde,0x21e1f));import'ol/ol.css';import'../assets/main.css';import a64_0x2fb1ec from'ol/Map';import a64_0x3b1916 from'ol/events/Event';import{defaults as a64_0x407050}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a64_0x34c941 from'../layers/LayerManager';import a64_0x58573b from'ol/layer/Vector';import a64_0x24627d from'ol/source/Vector';import a64_0x202019 from'../controls/ControlManager';import a64_0xfa8e74 from'../entity/Feature';import a64_0x2c7c51 from'../interaction/InteractionManager';import a64_0x38676a from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a64_0x5e1c38 from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a64_0x3b1916{constructor(_0x47afee,_0x1406bd,_0x532ed5){const _0x3a9db3=a64_0x1683;super(_0x47afee),this[_0x3a9db3(0x1c3)]=_0x1406bd,this[_0x3a9db3(0x22d)]=_0x532ed5;}}export default class OLMap extends a64_0x2fb1ec{constructor(_0x454e81,_0x1ee0e5,_0x1de232){const _0x15b78e=a64_0x1683;_0x1ee0e5=_0x1ee0e5?_0x1ee0e5:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x3a11c7=_0x1ee0e5['projection']?'EPSG:'+_0x1ee0e5[_0x15b78e(0x22e)]:'EPSG:4490';_0x1ee0e5[_0x15b78e(0x1e6)]=_0x1ee0e5['zoom']?_0x1ee0e5[_0x15b78e(0x1e6)]:0xa,_0x1ee0e5[_0x15b78e(0x1f8)]=_0x1ee0e5[_0x15b78e(0x1f8)]?_0x1ee0e5['minZoom']:0x0,_0x1ee0e5[_0x15b78e(0x1e5)]=_0x1ee0e5[_0x15b78e(0x1e5)]?_0x1ee0e5[_0x15b78e(0x1e5)]:0x1c,_0x1ee0e5[_0x15b78e(0x1f3)]=_0x1ee0e5[_0x15b78e(0x1f3)]?_0x1ee0e5['constrainResolution']:![],_0x1ee0e5['center']=_0x1ee0e5[_0x15b78e(0x233)]?_0x1ee0e5[_0x15b78e(0x233)]:[117.22718,31.820386],registerProj(_0x3a11c7);const _0x2629b7={'target':_0x454e81,'view':_0x1de232?_0x1de232:new a64_0x38676a({'center':_0x1ee0e5[_0x15b78e(0x233)],'zoom':_0x1ee0e5['zoom'],'projection':_0x3a11c7,'minZoom':_0x1ee0e5[_0x15b78e(0x1f8)],'maxZoom':_0x1ee0e5['maxZoom'],'minResolution':_0x1ee0e5[_0x15b78e(0x1f0)],'maxResolution':_0x1ee0e5[_0x15b78e(0x1f5)],'constrainResolution':_0x1ee0e5[_0x15b78e(0x1f3)]}),'controls':a64_0x407050({'zoom':![]})};super(_0x2629b7);_0x1ee0e5['extent']&&this[_0x15b78e(0x21b)]()['fit'](_0x1ee0e5[_0x15b78e(0x1d2)]);const _0xccdc68=this[_0x15b78e(0x1dc)]();if(_0xccdc68 instanceof HTMLElement)_0xccdc68[_0x15b78e(0x1fc)]=function(_0x56db07){return![];};else{const _0x363b99=document[_0x15b78e(0x1d7)](_0xccdc68);_0x363b99&&(_0x363b99[_0x15b78e(0x1fc)]=function(_0x3616de){return![];});}this['interactionManager']=new a64_0x2c7c51(this),this[_0x15b78e(0x1d0)]=new a64_0x202019(this),this[_0x15b78e(0x231)]=_0x1ee0e5;}[a64_0x4b5e53(0x21b)](){const _0x44eb83=a64_0x4b5e53;return super[_0x44eb83(0x21b)]();}[a64_0x4b5e53(0x223)](){const _0x4182e4=a64_0x4b5e53;let _0x13b955=this[_0x4182e4(0x21b)]()[_0x4182e4(0x1cb)]();_0x13b955&&this['getView']()['setResolution'](_0x13b955-1e-11);}[a64_0x4b5e53(0x1f1)](_0x4cd200){const _0x553f56=a64_0x4b5e53;var _0x321f0a;this[_0x553f56(0x21b)]()[_0x553f56(0x22b)](transformExtent(_0x4cd200['initialExtent'],(_0x321f0a=_0x4cd200[_0x553f56(0x22e)])===null||_0x321f0a===void 0x0?void 0x0:_0x321f0a['getCode'](),this['getView']()['getProjection']()['getCode']()));}['fitLayerById'](_0xb4570){let _0x2b7b2a=this['getLayerById'](_0xb4570);_0x2b7b2a&&this['fitLayer'](_0x2b7b2a);}async[a64_0x4b5e53(0x217)](_0x44d7cf){const _0x1e0e71=a64_0x4b5e53;let _0x563f44;switch(_0x44d7cf['layerType']){case _0x1e0e71(0x1d1):_0x563f44=await a64_0x34c941[_0x1e0e71(0x238)](_0x44d7cf);break;case'arcgis-dynamic':_0x563f44=await a64_0x34c941[_0x1e0e71(0x207)](_0x44d7cf);break;case'arcgis-tile':_0x563f44=await a64_0x34c941[_0x1e0e71(0x1fb)](_0x44d7cf);break;case'arcgis-wms':_0x563f44=await a64_0x34c941[_0x1e0e71(0x212)](_0x44d7cf);break;case _0x1e0e71(0x20a):_0x563f44=await a64_0x34c941[_0x1e0e71(0x1e1)](_0x44d7cf);break;case _0x1e0e71(0x227):_0x563f44=await a64_0x34c941[_0x1e0e71(0x210)](_0x44d7cf);break;case _0x1e0e71(0x213):_0x563f44=await a64_0x34c941[_0x1e0e71(0x1cd)](_0x44d7cf);break;case _0x1e0e71(0x205):_0x563f44=await a64_0x34c941[_0x1e0e71(0x1de)](_0x44d7cf);break;case _0x1e0e71(0x1f6):_0x563f44=await a64_0x34c941[_0x1e0e71(0x1c5)](_0x44d7cf);break;case _0x1e0e71(0x21f):_0x563f44=await a64_0x34c941[_0x1e0e71(0x1c6)](_0x44d7cf);break;default:throw new Error('暂不支持【'+_0x44d7cf[_0x1e0e71(0x1c9)]+'】服务类型');}return this[_0x1e0e71(0x1c7)](_0x563f44),this[_0x1e0e71(0x1d3)](new ChangeLayerEvent(_0x1e0e71(0x1ca),[_0x44d7cf['id']],_0x1e0e71(0x215))),_0x563f44;}async['addMapLayers'](_0x41c1a6){const _0x24af8b=a64_0x4b5e53;let _0x26ef55=[];const _0x5af312=[];for(let _0x5ad1da=0x0;_0x5ad1da<_0x41c1a6[_0x24af8b(0x230)];_0x5ad1da++){const _0x55126f=_0x41c1a6[_0x5ad1da];_0x5af312[_0x24af8b(0x20f)](_0x55126f['id']),_0x26ef55[_0x24af8b(0x20f)](this['addMapLayer'](_0x55126f));}const _0x3aed5c=await Promise[_0x24af8b(0x1db)](_0x26ef55);return this[_0x24af8b(0x1d3)](new ChangeLayerEvent(_0x24af8b(0x1ca),_0x5af312,_0x24af8b(0x215))),_0x3aed5c;}[a64_0x4b5e53(0x1c7)](_0x42f0c4,_0x538e00=![]){const _0x54c209=a64_0x4b5e53,_0x44592b=_0x42f0c4,_0x11e2cd=this[_0x54c209(0x1d5)](_0x44592b['id']);if(_0x11e2cd==null){const _0x49f861=_0x44592b['layerInfo']==undefined||_0x44592b[_0x54c209(0x211)][_0x54c209(0x1e9)]==undefined||_0x44592b['layerInfo'][_0x54c209(0x1e9)]<0x0?undefined:calculateResolution(_0x44592b['layerInfo'][_0x54c209(0x1e9)],this[_0x54c209(0x21b)]()['getProjection']()[_0x54c209(0x22a)]()||0x0);_0x42f0c4[_0x54c209(0x200)](_0x49f861);const _0x145df5=_0x44592b['layerInfo']==undefined||_0x44592b[_0x54c209(0x211)]['maxScale']==undefined||_0x44592b['layerInfo'][_0x54c209(0x1fd)]<0x0?undefined:calculateResolution(_0x44592b[_0x54c209(0x211)][_0x54c209(0x1fd)],this['getView']()['getProjection']()[_0x54c209(0x22a)]()||0x0);_0x42f0c4[_0x54c209(0x220)](_0x145df5);const _0x4ff31f=this[_0x54c209(0x236)]()[_0x54c209(0x20e)]()[_0x54c209(0x230)];if(!this['_options'][_0x54c209(0x22e)]&&_0x4ff31f==0x0&&_0x44592b['projection']&&_0x44592b[_0x54c209(0x22e)]['getCode']()!=this[_0x54c209(0x21b)]()[_0x54c209(0x214)]()['getCode']()){}let _0x13dc00=_0x42f0c4[_0x54c209(0x20b)]();_0x13dc00!=undefined&&_0x13dc00>_0x4ff31f&&(_0x13dc00=_0x4ff31f),this['getLayers']()[_0x54c209(0x209)](_0x13dc00==undefined?_0x4ff31f:_0x13dc00,_0x42f0c4),_0x538e00&&this[_0x54c209(0x1f1)](_0x44592b);}}[a64_0x4b5e53(0x204)](_0x5c22f7){const _0x93fb1=a64_0x4b5e53,_0x4e966d=this['getLayerById'](_0x5c22f7);_0x4e966d&&(this[_0x93fb1(0x237)](_0x4e966d),this['dispatchEvent'](new ChangeLayerEvent(_0x93fb1(0x1ca),[_0x5c22f7],_0x93fb1(0x232))));}[a64_0x4b5e53(0x1d5)](_0x802eba){const _0xade6d8=a64_0x4b5e53;let _0x4a885e,_0x30a4bc=this['getLayers']()[_0xade6d8(0x20e)]();for(let _0x2da9d6=0x0;_0x2da9d6<_0x30a4bc['length'];_0x2da9d6++){let _0x3b58b2=_0x30a4bc[_0x2da9d6]['id'];if(_0x802eba==_0x3b58b2){_0x4a885e=_0x30a4bc[_0x2da9d6];break;}}return _0x4a885e;}['getLayerByLayerTag'](_0x1e85de){const _0x100877=a64_0x4b5e53;let _0x5a6acb,_0x1aea0d=this[_0x100877(0x236)]()[_0x100877(0x20e)]();for(let _0x4ce345=0x0;_0x4ce345<_0x1aea0d[_0x100877(0x230)];_0x4ce345++){const _0x5ee92a=_0x1aea0d[_0x4ce345][_0x100877(0x211)];if(!_0x5ee92a)continue;let _0x4f8c26=_0x5ee92a[_0x100877(0x21d)];if(_0x4f8c26==_0x1e85de){_0x5a6acb=_0x1aea0d[_0x4ce345];break;}}return _0x5a6acb;}[a64_0x4b5e53(0x1ff)](_0x279220){const _0x36e412=a64_0x4b5e53;let _0x241620=this[_0x36e412(0x236)]()[_0x36e412(0x20e)]();return _0x241620[_0x36e412(0x206)](_0x43ec74=>_0x279220[_0x36e412(0x1c4)](_0x43ec74['id']));}['getTempLayerById'](_0x5807ef){const _0x3fd38c=a64_0x4b5e53;let _0xd88f3c,_0x55391a=this['getLayers']()['getArray']();for(let _0x41b0bf=0x0;_0x41b0bf<_0x55391a[_0x3fd38c(0x230)];_0x41b0bf++){const _0x1fce47=_0x55391a[_0x41b0bf];if(_0x1fce47['id']===_0x5807ef){_0xd88f3c=_0x1fce47;break;}}if(!_0xd88f3c){_0xd88f3c=new a64_0x58573b({'zIndex':0x270f,'source':new a64_0x24627d()}),_0xd88f3c['id']=_0x5807ef;const _0x359d09=this['getLayers']()['getLength']();switch(_0x5807ef){case _0x3fd38c(0x22f):this['getLayers']()[_0x3fd38c(0x209)](_0x359d09-0x1>-0x1?_0x359d09-0x1:0x0,_0xd88f3c);break;case'polygonTempLayer':this[_0x3fd38c(0x236)]()[_0x3fd38c(0x209)](_0x359d09-0x2>-0x1?_0x359d09-0x2:0x0,_0xd88f3c);break;case _0x3fd38c(0x1f2):this[_0x3fd38c(0x236)]()[_0x3fd38c(0x209)](_0x359d09,_0xd88f3c);break;default:break;}}return _0xd88f3c;}[a64_0x4b5e53(0x1e2)](){return this['getTempLayerById']('pointTempLayer');}[a64_0x4b5e53(0x1fa)](){const _0xe15f4=a64_0x4b5e53;return this[_0xe15f4(0x225)](_0xe15f4(0x22f));}[a64_0x4b5e53(0x1fe)](){const _0x10fad7=a64_0x4b5e53;return this[_0x10fad7(0x225)](_0x10fad7(0x229));}['getTempLayerByGeoType'](_0x2d8b3b){const _0x25c2ff=a64_0x4b5e53;let _0x311192=this[_0x25c2ff(0x1e2)]();switch(_0x2d8b3b){case _0x25c2ff(0x1ec):case _0x25c2ff(0x235):_0x311192=this[_0x25c2ff(0x1e2)]();case _0x25c2ff(0x1df):case'MultiLineString':_0x311192=this[_0x25c2ff(0x1fa)]();case'Polygon':case _0x25c2ff(0x1eb):_0x311192=this[_0x25c2ff(0x1fe)]();}return _0x311192;}['resetViewProjection'](_0x788ddf){const _0xe86bdb=a64_0x4b5e53;let _0x5303ab=this[_0xe86bdb(0x21b)]()[_0xe86bdb(0x21e)](),_0x97818c=this[_0xe86bdb(0x21b)]()['getMaxZoom']();registerProj(_0x788ddf),this[_0xe86bdb(0x21b)]()[_0xe86bdb(0x1ce)](_0x788ddf);}[a64_0x4b5e53(0x1dd)](){const _0x3c1705=a64_0x4b5e53;let _0x1e34e4=[];_0x1e34e4['push'](this[_0x3c1705(0x1e2)]()),_0x1e34e4[_0x3c1705(0x20f)](this[_0x3c1705(0x1fa)]()),_0x1e34e4[_0x3c1705(0x20f)](this[_0x3c1705(0x1fe)]());const _0x4ffe02=this[_0x3c1705(0x236)]()[_0x3c1705(0x20e)]()[_0x3c1705(0x230)];for(let _0x231446=0x0;_0x231446<_0x1e34e4['length'];_0x231446++){const _0x543840=_0x1e34e4[_0x231446];this[_0x3c1705(0x236)]()[_0x3c1705(0x209)](_0x4ffe02-_0x231446-0x1,_0x543840);}}[a64_0x4b5e53(0x1d4)](){const _0x102073=a64_0x4b5e53;return this['getView']()[_0x102073(0x1e0)](this[_0x102073(0x216)]());}['addWKT'](_0x54405a,_0x122d4e,_0x41366d,_0x4f7dec=!![],_0x434857,_0x833797={'color':a64_0x4b5e53(0x1d6),'opacity':0.2,'outlineColor':'rgba(255,\x200,\x200,\x201)','outlineWidth':0x2}){const _0x5ab764=a64_0x4b5e53;var _0x82e079;const _0x8c81ed=fromWKT(_0x54405a,_0x122d4e,this['getView']()[_0x5ab764(0x214)]()[_0x5ab764(0x219)]());if(!_0x8c81ed)return;const _0x59d104=this[_0x5ab764(0x1c8)](_0x8c81ed[_0x5ab764(0x221)]()),_0x3d59cc=getStyle(_0x833797),_0x3750ac=new a64_0xfa8e74();return _0x3750ac[_0x5ab764(0x1e8)](_0x8c81ed),_0x3750ac[_0x5ab764(0x21c)](_0x3d59cc),_0x434857?_0x3750ac['setProperties'](_0x434857):_0x3750ac[_0x5ab764(0x201)]({}),_0x3750ac[_0x5ab764(0x218)]=_0x41366d,(_0x82e079=_0x59d104[_0x5ab764(0x1e3)]())===null||_0x82e079===void 0x0?void 0x0:_0x82e079[_0x5ab764(0x208)](_0x3750ac),_0x4f7dec&&this[_0x5ab764(0x1e7)](_0x8c81ed,undefined,1.2,![]),_0x3750ac;}[a64_0x4b5e53(0x202)](_0x2dad69,_0x792e79,_0x4f3936,_0x5459bc=!![],_0x29089f={'color':a64_0x4b5e53(0x1d6),'opacity':0.2,'outlineColor':a64_0x4b5e53(0x1f7),'outlineWidth':0x2},_0x173ef3){const _0x49ce4d=a64_0x4b5e53;var _0x46cf3c;const _0x230cbb=fromWKTs(_0x2dad69,_0x792e79,this[_0x49ce4d(0x21b)]()['getProjection']()[_0x49ce4d(0x219)]());if(!_0x230cbb||_0x230cbb[_0x49ce4d(0x230)]==0x0)return;const _0x1abb8c=this[_0x49ce4d(0x1c8)](_0x230cbb[0x0]['getType']()),_0x47def0=getStyle(_0x29089f);let _0x4502b6=[];for(const _0x378178 of _0x230cbb){const _0x11b4d4=new a64_0xfa8e74();_0x11b4d4[_0x49ce4d(0x1e8)](_0x378178),_0x11b4d4['setStyle'](_0x47def0),_0x173ef3?_0x11b4d4[_0x49ce4d(0x201)](_0x173ef3):_0x11b4d4[_0x49ce4d(0x201)]({}),_0x11b4d4[_0x49ce4d(0x1ee)]=_0x49ce4d(0x203),_0x11b4d4['isSelected']=!![],_0x11b4d4[_0x49ce4d(0x218)]=_0x4f3936,_0x4502b6[_0x49ce4d(0x20f)](_0x11b4d4);}return(_0x46cf3c=_0x1abb8c[_0x49ce4d(0x1e3)]())===null||_0x46cf3c===void 0x0?void 0x0:_0x46cf3c['addFeatures'](_0x4502b6),_0x5459bc&&this[_0x49ce4d(0x1cf)](_0x230cbb,undefined,1.2,![]),_0x4502b6;}[a64_0x4b5e53(0x20c)](_0x1bc0be,_0x59d729,_0x1ee1c8=1.2,_0x5e4398=!![]){const _0x3700d9=a64_0x4b5e53;if(!_0x1bc0be)return;let _0x55ca08=fromWKT(_0x1bc0be,_0x59d729,this[_0x3700d9(0x21b)]()[_0x3700d9(0x214)]()[_0x3700d9(0x219)]());if(!_0x55ca08)return;this[_0x3700d9(0x1e7)](_0x55ca08,_0x59d729,_0x1ee1c8,_0x5e4398);}[a64_0x4b5e53(0x1ea)](_0x135528,_0x3b9a39,_0x9ed135=1.2,_0x1c81a8=!![]){const _0x2479d9=a64_0x4b5e53;if(!_0x135528||_0x135528[_0x2479d9(0x230)]===0x0)return;const _0x5846c2=[];for(let _0x9256dd=0x0;_0x9256dd<_0x135528['length'];_0x9256dd++){let _0x869fcf=_0x135528[_0x9256dd],_0x5ba39b=fromWKT(_0x869fcf,_0x3b9a39,this[_0x2479d9(0x21b)]()[_0x2479d9(0x214)]()[_0x2479d9(0x219)]());if(!_0x5ba39b)continue;_0x5846c2[_0x2479d9(0x20f)](_0x5ba39b);}this[_0x2479d9(0x1cf)](_0x5846c2,_0x3b9a39,_0x9ed135,_0x1c81a8);}[a64_0x4b5e53(0x1e7)](_0xb5583d,_0x2e164c,_0x458d30=1.2,_0x50030d=!![]){const _0x4cecbf=a64_0x4b5e53;if(!_0xb5583d)return;let _0x188268=_0xb5583d;_0x2e164c&&(_0x188268=_0xb5583d[_0x4cecbf(0x20d)](_0x2e164c,this[_0x4cecbf(0x21b)]()[_0x4cecbf(0x214)]()));switch(_0x188268[_0x4cecbf(0x221)]()){case _0x4cecbf(0x1ec):this[_0x4cecbf(0x21b)]()[_0x4cecbf(0x1da)](_0x188268[_0x4cecbf(0x239)]());break;case _0x4cecbf(0x21a):case _0x4cecbf(0x235):case'MultiLineString':case _0x4cecbf(0x1eb):case _0x4cecbf(0x1e4):this[_0x4cecbf(0x21b)]()[_0x4cecbf(0x22b)](expandExtent(_0x188268[_0x4cecbf(0x1d4)](),_0x458d30));break;}if(_0x50030d){const _0x493cf7=new a64_0x5e1c38(this);_0x493cf7[_0x4cecbf(0x228)]([_0x188268],0x3);}}[a64_0x4b5e53(0x1cf)](_0x2dd34e,_0x402532,_0x3d4d29=1.2,_0x591ca2=!![]){const _0x1b9231=a64_0x4b5e53;if(!_0x2dd34e||_0x2dd34e[_0x1b9231(0x230)]===0x0)return;let _0x2ef257=null;for(const _0xbd7a4d of _0x2dd34e){_0x2ef257?_0x2ef257=union(_0x2ef257,_0xbd7a4d):_0x2ef257=_0xbd7a4d;}_0x2ef257&&this['locationGeometry'](_0x2ef257,_0x402532,_0x3d4d29,![]);if(_0x591ca2){const _0x4da799=new a64_0x5e1c38(this);_0x4da799[_0x1b9231(0x228)](_0x2dd34e,0x3);}}}
1
+ const a64_0x2652b9=a64_0x1ad2;(function(_0x3220d0,_0x239fcc){const _0x295063=a64_0x1ad2,_0x19f64d=_0x3220d0();while(!![]){try{const _0x3f1ddb=parseInt(_0x295063(0x109))/0x1+parseInt(_0x295063(0x143))/0x2+parseInt(_0x295063(0x12c))/0x3*(parseInt(_0x295063(0x11b))/0x4)+-parseInt(_0x295063(0xe9))/0x5*(parseInt(_0x295063(0x104))/0x6)+parseInt(_0x295063(0xf3))/0x7+parseInt(_0x295063(0x13e))/0x8*(parseInt(_0x295063(0x113))/0x9)+-parseInt(_0x295063(0xf6))/0xa*(parseInt(_0x295063(0x10b))/0xb);if(_0x3f1ddb===_0x239fcc)break;else _0x19f64d['push'](_0x19f64d['shift']());}catch(_0x757a82){_0x19f64d['push'](_0x19f64d['shift']());}}}(a64_0x48a4,0x20edd));import'ol/ol.css';import'../assets/main.css';import a64_0x1f9eef from'ol/Map';import a64_0x58f43e from'ol/events/Event';import{defaults as a64_0x55853c}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';function a64_0x1ad2(_0x24e1ab,_0x45541e){const _0x48a493=a64_0x48a4();return a64_0x1ad2=function(_0x1ad26d,_0x9f83d5){_0x1ad26d=_0x1ad26d-0xde;let _0x11946e=_0x48a493[_0x1ad26d];return _0x11946e;},a64_0x1ad2(_0x24e1ab,_0x45541e);}import a64_0xe6b48a from'../layers/LayerManager';import a64_0x4a9b89 from'ol/layer/Vector';import a64_0x5c331c from'ol/source/Vector';import a64_0x2b3211 from'../controls/ControlManager';import a64_0x59e83c from'../entity/Feature';import a64_0x4bfcbf from'../interaction/InteractionManager';import a64_0x4bfd97 from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a64_0x2d1cd4 from'../feature/FeatureManager';function a64_0x48a4(){const _0x5e88b2=['getSource','all','filter','EPSG:','changelayer','getTDTLayer','rgba(255,\x200,\x200,\x201)','addWKTs','interactionManager','add','getGeoserverWmsLayer','GeometryCollection','maxScale','addFeature','3095uaHzOP','maxZoom','getArcgisFeatureLayer','sortTemLayer','getLayers','setGeometry','center','resetViewProjection','getCoordinates','getTempLayerByGeoType','1708287niaACF','minResolution','polygonTempLayer','1087390jKJzsK','import','Point','addMapLayer','getArcgisTileLayer','暂不支持【','getArcgisWMTSLayer','fitLayer','getGeoserverWMTSLayer','initialExtent','getElementById','push','constrainResolution','extent','66EmpbIf','getGeoserverWFSLayer','locationGeometry','getExtent','layerTag','23790FNeXJY','getProjection','33nsngRj','length','getLineTempLayer','setProjection','locationGeometrys','getCode','controlManager','getGeoserverVectorTileLayer','376983owALAB','getLength','Polygon','layerIds','zoom','layerType','projection','getView','8tlNOnQ','_options','LineString','getMetersPerUnit','getLayerById','getPolygonTempLayer','getTempLayerById','changetype','fitLayerById','refresh','includes','addFeatures','fromType','MultiPolygon','getArray','minScale','getType','105153IVkxkm','minZoom','pointTempLayer','isSelected','tag','getLayerByLayerTag','fit','insertAt','lineTempLayer','oncontextmenu','removeLayerById','addLayer','MultiLineString','rgba(255,\x200,\x200,\x200.2)','getDynamicLayer','geoserver-wmts','getMinZoom','setResolution','16nQdNcK','flashGeometrys','addMapLayers','setStyle','getArcgisWmsLayer','92392pZaIHe','setCenter','getPointTempLayer','】服务类型','dispatchEvent','getSize','MultiPoint','arcgis-tile','layerInfo','arcgis-wms','locationWKTs','setProperties'];a64_0x48a4=function(){return _0x5e88b2;};return a64_0x48a4();}import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a64_0x58f43e{constructor(_0x8db434,_0x45049c,_0x1c2d2a){const _0x2bbaf3=a64_0x1ad2;super(_0x8db434),this[_0x2bbaf3(0x116)]=_0x45049c,this[_0x2bbaf3(0x122)]=_0x1c2d2a;}}export default class OLMap extends a64_0x1f9eef{constructor(_0x27f637,_0x90790c,_0x38d84d){const _0x741458=a64_0x1ad2;_0x90790c=_0x90790c?_0x90790c:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x34bd21=_0x90790c[_0x741458(0x119)]?_0x741458(0xde)+_0x90790c[_0x741458(0x119)]:'EPSG:4490';_0x90790c[_0x741458(0x117)]=_0x90790c[_0x741458(0x117)]?_0x90790c[_0x741458(0x117)]:0xa,_0x90790c[_0x741458(0x12d)]=_0x90790c[_0x741458(0x12d)]?_0x90790c[_0x741458(0x12d)]:0x0,_0x90790c[_0x741458(0xea)]=_0x90790c[_0x741458(0xea)]?_0x90790c[_0x741458(0xea)]:0x1c,_0x90790c[_0x741458(0x102)]=_0x90790c[_0x741458(0x102)]?_0x90790c[_0x741458(0x102)]:![],_0x90790c[_0x741458(0xef)]=_0x90790c[_0x741458(0xef)]?_0x90790c[_0x741458(0xef)]:[117.22718,31.820386],registerProj(_0x34bd21);const _0x317dc9={'target':_0x27f637,'view':_0x38d84d?_0x38d84d:new a64_0x4bfd97({'center':_0x90790c[_0x741458(0xef)],'zoom':_0x90790c[_0x741458(0x117)],'projection':_0x34bd21,'minZoom':_0x90790c[_0x741458(0x12d)],'maxZoom':_0x90790c[_0x741458(0xea)],'minResolution':_0x90790c[_0x741458(0xf4)],'maxResolution':_0x90790c['maxResolution'],'constrainResolution':_0x90790c[_0x741458(0x102)]}),'controls':a64_0x55853c({'zoom':![]})};super(_0x317dc9);_0x90790c[_0x741458(0x103)]&&this[_0x741458(0x11a)]()[_0x741458(0x132)](_0x90790c[_0x741458(0x103)]);const _0x39a054=this['getTarget']();if(_0x39a054 instanceof HTMLElement)_0x39a054[_0x741458(0x135)]=function(_0x4b2a84){return![];};else{const _0xb23865=document[_0x741458(0x100)](_0x39a054);_0xb23865&&(_0xb23865['oncontextmenu']=function(_0x230c3b){return![];});}this[_0x741458(0xe3)]=new a64_0x4bfcbf(this),this[_0x741458(0x111)]=new a64_0x2b3211(this),this[_0x741458(0x11c)]=_0x90790c;}['getView'](){const _0x36dbc2=a64_0x1ad2;return super[_0x36dbc2(0x11a)]();}[a64_0x2652b9(0x124)](){const _0x7cc56=a64_0x2652b9;let _0x1ce97c=this[_0x7cc56(0x11a)]()['getResolution']();_0x1ce97c&&this[_0x7cc56(0x11a)]()[_0x7cc56(0x13d)](_0x1ce97c-1e-11);}[a64_0x2652b9(0xfd)](_0x317ce5){const _0x38fca1=a64_0x2652b9;var _0x5de355;this[_0x38fca1(0x11a)]()[_0x38fca1(0x132)](transformExtent(_0x317ce5[_0x38fca1(0xff)],(_0x5de355=_0x317ce5[_0x38fca1(0x119)])===null||_0x5de355===void 0x0?void 0x0:_0x5de355[_0x38fca1(0x110)](),this[_0x38fca1(0x11a)]()['getProjection']()['getCode']()));}[a64_0x2652b9(0x123)](_0x25047d){let _0x5225f6=this['getLayerById'](_0x25047d);_0x5225f6&&this['fitLayer'](_0x5225f6);}async[a64_0x2652b9(0xf9)](_0x2b6853){const _0x18c2b1=a64_0x2652b9;let _0x12227a;switch(_0x2b6853[_0x18c2b1(0x118)]){case'arcgis-feature':_0x12227a=await a64_0xe6b48a[_0x18c2b1(0xeb)](_0x2b6853);break;case'arcgis-dynamic':_0x12227a=await a64_0xe6b48a[_0x18c2b1(0x13a)](_0x2b6853);break;case _0x18c2b1(0x14a):_0x12227a=await a64_0xe6b48a[_0x18c2b1(0xfa)](_0x2b6853);break;case _0x18c2b1(0x14c):_0x12227a=await a64_0xe6b48a[_0x18c2b1(0x142)](_0x2b6853);break;case'arcgis-wmts':_0x12227a=await a64_0xe6b48a[_0x18c2b1(0xfc)](_0x2b6853);break;case'geoserver-wms':_0x12227a=await a64_0xe6b48a[_0x18c2b1(0xe5)](_0x2b6853);break;case'geoserver-wfs':_0x12227a=await a64_0xe6b48a[_0x18c2b1(0x105)](_0x2b6853);break;case _0x18c2b1(0x13b):_0x12227a=await a64_0xe6b48a[_0x18c2b1(0xfe)](_0x2b6853);break;case'geoserver-vector-tile':_0x12227a=await a64_0xe6b48a[_0x18c2b1(0x112)](_0x2b6853);break;case'tdt-c':_0x12227a=await a64_0xe6b48a[_0x18c2b1(0xe0)](_0x2b6853);break;default:throw new Error(_0x18c2b1(0xfb)+_0x2b6853[_0x18c2b1(0x118)]+_0x18c2b1(0x146));}return this['addLayer'](_0x12227a),this[_0x18c2b1(0x147)](new ChangeLayerEvent('changelayer',[_0x2b6853['id']],_0x18c2b1(0xe4))),_0x12227a;}async[a64_0x2652b9(0x140)](_0xabc933){const _0x5aa2fc=a64_0x2652b9;let _0x396619=[];const _0x29d89a=[];for(let _0x510313=0x0;_0x510313<_0xabc933[_0x5aa2fc(0x10c)];_0x510313++){const _0x2360bb=_0xabc933[_0x510313];_0x29d89a[_0x5aa2fc(0x101)](_0x2360bb['id']),_0x396619[_0x5aa2fc(0x101)](this['addMapLayer'](_0x2360bb));}const _0x125b74=await Promise[_0x5aa2fc(0x150)](_0x396619);return this['dispatchEvent'](new ChangeLayerEvent('changelayer',_0x29d89a,_0x5aa2fc(0xe4))),_0x125b74;}[a64_0x2652b9(0x137)](_0x12a580,_0x47b759=![]){const _0x4c535a=a64_0x2652b9,_0x313365=_0x12a580,_0x4b0395=this[_0x4c535a(0x11f)](_0x313365['id']);if(_0x4b0395==null){const _0x340af4=_0x313365[_0x4c535a(0x14b)]==undefined||_0x313365[_0x4c535a(0x14b)]['minScale']==undefined||_0x313365[_0x4c535a(0x14b)]['minScale']<0x0?undefined:calculateResolution(_0x313365['layerInfo'][_0x4c535a(0x12a)],this['getView']()['getProjection']()[_0x4c535a(0x11e)]()||0x0);_0x12a580['setMinResolution'](_0x340af4);const _0x2e3748=_0x313365[_0x4c535a(0x14b)]==undefined||_0x313365['layerInfo']['maxScale']==undefined||_0x313365[_0x4c535a(0x14b)][_0x4c535a(0xe7)]<0x0?undefined:calculateResolution(_0x313365[_0x4c535a(0x14b)]['maxScale'],this[_0x4c535a(0x11a)]()[_0x4c535a(0x10a)]()['getMetersPerUnit']()||0x0);_0x12a580['setMaxResolution'](_0x2e3748);const _0x1c6568=this[_0x4c535a(0xed)]()[_0x4c535a(0x129)]()[_0x4c535a(0x10c)];if(!this[_0x4c535a(0x11c)][_0x4c535a(0x119)]&&_0x1c6568==0x0&&_0x313365[_0x4c535a(0x119)]&&_0x313365['projection'][_0x4c535a(0x110)]()!=this[_0x4c535a(0x11a)]()[_0x4c535a(0x10a)]()[_0x4c535a(0x110)]()){}let _0x1f065f=_0x12a580['getZIndex']();_0x1f065f!=undefined&&_0x1f065f>_0x1c6568&&(_0x1f065f=_0x1c6568),this['getLayers']()[_0x4c535a(0x133)](_0x1f065f==undefined?_0x1c6568:_0x1f065f,_0x12a580),_0x47b759&&this[_0x4c535a(0xfd)](_0x313365);}}[a64_0x2652b9(0x136)](_0x2a2cd5){const _0xc3ad08=a64_0x2652b9,_0x41fec3=this[_0xc3ad08(0x11f)](_0x2a2cd5);_0x41fec3&&(this['removeLayer'](_0x41fec3),this[_0xc3ad08(0x147)](new ChangeLayerEvent(_0xc3ad08(0xdf),[_0x2a2cd5],'remove')));}['getLayerById'](_0x2fab2){const _0x4db14a=a64_0x2652b9;let _0xfb7965,_0x241e3c=this[_0x4db14a(0xed)]()['getArray']();for(let _0x1348ea=0x0;_0x1348ea<_0x241e3c['length'];_0x1348ea++){let _0x5b26a9=_0x241e3c[_0x1348ea]['id'];if(_0x2fab2==_0x5b26a9){_0xfb7965=_0x241e3c[_0x1348ea];break;}}return _0xfb7965;}[a64_0x2652b9(0x131)](_0x3c7d93){const _0x599d25=a64_0x2652b9;let _0x2f442d,_0x576f61=this[_0x599d25(0xed)]()[_0x599d25(0x129)]();for(let _0x49ca85=0x0;_0x49ca85<_0x576f61['length'];_0x49ca85++){const _0x166853=_0x576f61[_0x49ca85][_0x599d25(0x14b)];if(!_0x166853)continue;let _0x4603ba=_0x166853[_0x599d25(0x108)];if(_0x4603ba==_0x3c7d93){_0x2f442d=_0x576f61[_0x49ca85];break;}}return _0x2f442d;}['getLayersByIds'](_0x3b7b57){const _0x49c2a7=a64_0x2652b9;let _0x2c8be6=this[_0x49c2a7(0xed)]()[_0x49c2a7(0x129)]();return _0x2c8be6[_0x49c2a7(0x151)](_0x595da7=>_0x3b7b57[_0x49c2a7(0x125)](_0x595da7['id']));}['getTempLayerById'](_0x27653e){const _0x561b0c=a64_0x2652b9;let _0x3cae79,_0x4f39f6=this[_0x561b0c(0xed)]()[_0x561b0c(0x129)]();for(let _0x53f734=0x0;_0x53f734<_0x4f39f6[_0x561b0c(0x10c)];_0x53f734++){const _0x4f9f59=_0x4f39f6[_0x53f734];if(_0x4f9f59['id']===_0x27653e){_0x3cae79=_0x4f9f59;break;}}if(!_0x3cae79){_0x3cae79=new a64_0x4a9b89({'zIndex':0x270f,'source':new a64_0x5c331c()}),_0x3cae79['id']=_0x27653e;const _0x5cf6d4=this[_0x561b0c(0xed)]()[_0x561b0c(0x114)]();switch(_0x27653e){case _0x561b0c(0x134):this[_0x561b0c(0xed)]()[_0x561b0c(0x133)](_0x5cf6d4-0x1>-0x1?_0x5cf6d4-0x1:0x0,_0x3cae79);break;case _0x561b0c(0xf5):this[_0x561b0c(0xed)]()['insertAt'](_0x5cf6d4-0x2>-0x1?_0x5cf6d4-0x2:0x0,_0x3cae79);break;case _0x561b0c(0x12e):this[_0x561b0c(0xed)]()[_0x561b0c(0x133)](_0x5cf6d4,_0x3cae79);break;default:break;}}return _0x3cae79;}[a64_0x2652b9(0x145)](){const _0x3b8c22=a64_0x2652b9;return this[_0x3b8c22(0x121)]('pointTempLayer');}[a64_0x2652b9(0x10d)](){const _0x127268=a64_0x2652b9;return this[_0x127268(0x121)](_0x127268(0x134));}[a64_0x2652b9(0x120)](){const _0x541e36=a64_0x2652b9;return this[_0x541e36(0x121)](_0x541e36(0xf5));}[a64_0x2652b9(0xf2)](_0x5b200b){const _0x12c87e=a64_0x2652b9;let _0x4b7ec7=this['getPointTempLayer']();switch(_0x5b200b){case'Point':case _0x12c87e(0x149):_0x4b7ec7=this[_0x12c87e(0x145)]();case _0x12c87e(0x11d):case _0x12c87e(0x138):_0x4b7ec7=this[_0x12c87e(0x10d)]();case _0x12c87e(0x115):case _0x12c87e(0x128):_0x4b7ec7=this[_0x12c87e(0x120)]();}return _0x4b7ec7;}[a64_0x2652b9(0xf0)](_0x340339){const _0x49b77e=a64_0x2652b9;let _0x32efcb=this[_0x49b77e(0x11a)]()[_0x49b77e(0x13c)](),_0x34e09b=this['getView']()['getMaxZoom']();registerProj(_0x340339),this[_0x49b77e(0x11a)]()[_0x49b77e(0x10e)](_0x340339);}[a64_0x2652b9(0xec)](){const _0x545af1=a64_0x2652b9;let _0x165a14=[];_0x165a14[_0x545af1(0x101)](this[_0x545af1(0x145)]()),_0x165a14[_0x545af1(0x101)](this['getLineTempLayer']()),_0x165a14[_0x545af1(0x101)](this['getPolygonTempLayer']());const _0x4aa23c=this[_0x545af1(0xed)]()[_0x545af1(0x129)]()[_0x545af1(0x10c)];for(let _0x251c24=0x0;_0x251c24<_0x165a14['length'];_0x251c24++){const _0x148869=_0x165a14[_0x251c24];this['getLayers']()[_0x545af1(0x133)](_0x4aa23c-_0x251c24-0x1,_0x148869);}}[a64_0x2652b9(0x107)](){const _0x9c9a86=a64_0x2652b9;return this[_0x9c9a86(0x11a)]()['calculateExtent'](this[_0x9c9a86(0x148)]());}['addWKT'](_0x246509,_0x341dce,_0x4acfda,_0x47509b=!![],_0x3d8470,_0x21ac6c={'color':a64_0x2652b9(0x139),'opacity':0.2,'outlineColor':a64_0x2652b9(0xe1),'outlineWidth':0x2}){const _0x187b76=a64_0x2652b9;var _0x51f340;const _0x1ea8e0=fromWKT(_0x246509,_0x341dce,this[_0x187b76(0x11a)]()['getProjection']()['getCode']());if(!_0x1ea8e0)return;const _0x107176=this[_0x187b76(0xf2)](_0x1ea8e0[_0x187b76(0x12b)]()),_0x40f291=getStyle(_0x21ac6c),_0x25a977=new a64_0x59e83c();return _0x25a977[_0x187b76(0xee)](_0x1ea8e0),_0x25a977[_0x187b76(0x141)](_0x40f291),_0x3d8470?_0x25a977[_0x187b76(0x14e)](_0x3d8470):_0x25a977['setProperties']({}),_0x25a977[_0x187b76(0x130)]=_0x4acfda,(_0x51f340=_0x107176[_0x187b76(0x14f)]())===null||_0x51f340===void 0x0?void 0x0:_0x51f340[_0x187b76(0xe8)](_0x25a977),_0x47509b&&this[_0x187b76(0x106)](_0x1ea8e0,undefined,1.2,![]),_0x25a977;}[a64_0x2652b9(0xe2)](_0xb219eb,_0x112ed0,_0x34ad0b,_0x379163=!![],_0x3de585={'color':'rgba(255,\x200,\x200,\x200.2)','opacity':0.2,'outlineColor':a64_0x2652b9(0xe1),'outlineWidth':0x2},_0x484549){const _0x5803ed=a64_0x2652b9;var _0x501d2c;const _0x31d44c=fromWKTs(_0xb219eb,_0x112ed0,this['getView']()[_0x5803ed(0x10a)]()['getCode']());if(!_0x31d44c||_0x31d44c[_0x5803ed(0x10c)]==0x0)return;const _0x33c344=this[_0x5803ed(0xf2)](_0x31d44c[0x0][_0x5803ed(0x12b)]()),_0x21611b=getStyle(_0x3de585);let _0x229f88=[];for(const _0x4e61a7 of _0x31d44c){const _0x3d5860=new a64_0x59e83c();_0x3d5860[_0x5803ed(0xee)](_0x4e61a7),_0x3d5860[_0x5803ed(0x141)](_0x21611b),_0x484549?_0x3d5860['setProperties'](_0x484549):_0x3d5860['setProperties']({}),_0x3d5860[_0x5803ed(0x127)]=_0x5803ed(0xf7),_0x3d5860[_0x5803ed(0x12f)]=!![],_0x3d5860[_0x5803ed(0x130)]=_0x34ad0b,_0x229f88[_0x5803ed(0x101)](_0x3d5860);}return(_0x501d2c=_0x33c344[_0x5803ed(0x14f)]())===null||_0x501d2c===void 0x0?void 0x0:_0x501d2c[_0x5803ed(0x126)](_0x229f88),_0x379163&&this['locationGeometrys'](_0x31d44c,undefined,1.2,![]),_0x229f88;}['locationWKT'](_0xb2711c,_0x21137a,_0x1b404a=1.2,_0x313347=!![]){const _0x253f71=a64_0x2652b9;if(!_0xb2711c)return;let _0x231a6f=fromWKT(_0xb2711c,_0x21137a,this[_0x253f71(0x11a)]()[_0x253f71(0x10a)]()[_0x253f71(0x110)]());if(!_0x231a6f)return;this[_0x253f71(0x106)](_0x231a6f,_0x21137a,_0x1b404a,_0x313347);}[a64_0x2652b9(0x14d)](_0x147d73,_0x7eb5f9,_0x4f11c1=1.2,_0xb38823=!![]){const _0x2144e9=a64_0x2652b9;if(!_0x147d73||_0x147d73[_0x2144e9(0x10c)]===0x0)return;const _0x32bfc3=[];for(let _0x541341=0x0;_0x541341<_0x147d73[_0x2144e9(0x10c)];_0x541341++){let _0x17a4d8=_0x147d73[_0x541341],_0x849b9b=fromWKT(_0x17a4d8,_0x7eb5f9,this[_0x2144e9(0x11a)]()[_0x2144e9(0x10a)]()[_0x2144e9(0x110)]());if(!_0x849b9b)continue;_0x32bfc3['push'](_0x849b9b);}this[_0x2144e9(0x10f)](_0x32bfc3,_0x7eb5f9,_0x4f11c1,_0xb38823);}[a64_0x2652b9(0x106)](_0x54d2f5,_0x22b81c,_0x336ef6=1.2,_0x4d17e5=!![]){const _0x52e3b0=a64_0x2652b9;if(!_0x54d2f5)return;let _0x5171f4=_0x54d2f5;_0x22b81c&&(_0x5171f4=_0x54d2f5['transform'](_0x22b81c,this['getView']()[_0x52e3b0(0x10a)]()));switch(_0x5171f4[_0x52e3b0(0x12b)]()){case _0x52e3b0(0xf8):this['getView']()[_0x52e3b0(0x144)](_0x5171f4[_0x52e3b0(0xf1)]());break;case _0x52e3b0(0x115):case _0x52e3b0(0x149):case _0x52e3b0(0x138):case _0x52e3b0(0x128):case _0x52e3b0(0xe6):this['getView']()[_0x52e3b0(0x132)](expandExtent(_0x5171f4[_0x52e3b0(0x107)](),_0x336ef6));break;}if(_0x4d17e5){const _0x146e73=new a64_0x2d1cd4(this);_0x146e73[_0x52e3b0(0x13f)]([_0x5171f4],0x3);}}[a64_0x2652b9(0x10f)](_0x36baba,_0x4f1eb2,_0x172d10=1.2,_0xc1ff24=!![]){const _0x4d00a1=a64_0x2652b9;if(!_0x36baba||_0x36baba[_0x4d00a1(0x10c)]===0x0)return;let _0x3fdd89=null;for(const _0x356c7a of _0x36baba){_0x3fdd89?_0x3fdd89=union(_0x3fdd89,_0x356c7a):_0x3fdd89=_0x356c7a;}_0x3fdd89&&this[_0x4d00a1(0x106)](_0x3fdd89,_0x4f1eb2,_0x172d10,![]);if(_0xc1ff24){const _0x32f070=new a64_0x2d1cd4(this);_0x32f070[_0x4d00a1(0x13f)](_0x36baba,0x3);}}}
package/mapView/View.js CHANGED
@@ -1 +1 @@
1
- (function(_0xe616dc,_0x2cfa3c){var _0x495490=a65_0x166a,_0xb69e9=_0xe616dc();while(!![]){try{var _0x2c2c9a=-parseInt(_0x495490(0x8a))/0x1+-parseInt(_0x495490(0x80))/0x2+-parseInt(_0x495490(0x83))/0x3*(parseInt(_0x495490(0x7d))/0x4)+parseInt(_0x495490(0x89))/0x5*(-parseInt(_0x495490(0x7e))/0x6)+parseInt(_0x495490(0x7f))/0x7*(-parseInt(_0x495490(0x81))/0x8)+-parseInt(_0x495490(0x84))/0x9*(-parseInt(_0x495490(0x87))/0xa)+-parseInt(_0x495490(0x88))/0xb*(-parseInt(_0x495490(0x86))/0xc);if(_0x2c2c9a===_0x2cfa3c)break;else _0xb69e9['push'](_0xb69e9['shift']());}catch(_0x4a6827){_0xb69e9['push'](_0xb69e9['shift']());}}}(a65_0x5d4e,0x3d057));function a65_0x5d4e(){var _0x1af3df=['83772aVLPaW','3370nVUrFh','1199KLOHdL','1875BHqjno','13476hxZgob','460ESgsbg','48RURdZX','1219785YShPyo','232868mBgmjF','16vRRqlI','projection_','4701JffqnJ','4023wXuuyO','setProperties'];a65_0x5d4e=function(){return _0x1af3df;};return a65_0x5d4e();}import a65_0x4e86bf from'ol/View';function a65_0x166a(_0xffaaaf,_0x128aaf){var _0x5d4e04=a65_0x5d4e();return a65_0x166a=function(_0x166ad3,_0x3825fc){_0x166ad3=_0x166ad3-0x7d;var _0x193bab=_0x5d4e04[_0x166ad3];return _0x193bab;},a65_0x166a(_0xffaaaf,_0x128aaf);}import{get}from'ol/proj';export default class OLView extends a65_0x4e86bf{constructor(_0x38994a){super(_0x38994a);}['setProjection'](_0x1fb839){var _0xa80532=a65_0x166a;this[_0xa80532(0x82)]=get(_0x1fb839),this[_0xa80532(0x85)]({'projection_':get(_0x1fb839)});}}
1
+ var a65_0xb86680=a65_0x23ce;function a65_0x23ce(_0x59184c,_0x400dee){var _0x4a9222=a65_0x4a92();return a65_0x23ce=function(_0x23ce2b,_0x165247){_0x23ce2b=_0x23ce2b-0x1b4;var _0x28bdd9=_0x4a9222[_0x23ce2b];return _0x28bdd9;},a65_0x23ce(_0x59184c,_0x400dee);}(function(_0x3268a0,_0x2bc92d){var _0xa66dd9=a65_0x23ce,_0x1a8350=_0x3268a0();while(!![]){try{var _0x48ae98=-parseInt(_0xa66dd9(0x1b7))/0x1+parseInt(_0xa66dd9(0x1bd))/0x2*(parseInt(_0xa66dd9(0x1b9))/0x3)+-parseInt(_0xa66dd9(0x1be))/0x4*(parseInt(_0xa66dd9(0x1c0))/0x5)+parseInt(_0xa66dd9(0x1bf))/0x6*(parseInt(_0xa66dd9(0x1bc))/0x7)+parseInt(_0xa66dd9(0x1ba))/0x8+-parseInt(_0xa66dd9(0x1bb))/0x9+-parseInt(_0xa66dd9(0x1c1))/0xa*(-parseInt(_0xa66dd9(0x1b6))/0xb);if(_0x48ae98===_0x2bc92d)break;else _0x1a8350['push'](_0x1a8350['shift']());}catch(_0x112520){_0x1a8350['push'](_0x1a8350['shift']());}}}(a65_0x4a92,0xc74ab));function a65_0x4a92(){var _0x2e7e51=['239422GFuMoG','296SwkhMu','2904888jphQfn','69750KYpjWm','4938870RdkkMO','projection_','setProperties','11uTfzfo','1092682eVntgR','setProjection','12duVtcV','8924720ZHmbeQ','1038024HqgXIY','14JaJanh'];a65_0x4a92=function(){return _0x2e7e51;};return a65_0x4a92();}import a65_0xc85ab4 from'ol/View';import{get}from'ol/proj';export default class OLView extends a65_0xc85ab4{constructor(_0xe2bb06){super(_0xe2bb06);}[a65_0xb86680(0x1b8)](_0x3f1b52){var _0x5b158e=a65_0xb86680;this[_0x5b158e(0x1b4)]=get(_0x3f1b52),this[_0x5b158e(0x1b5)]({'projection_':get(_0x3f1b52)});}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ym-gis-2d",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "index.ts",
package/plot/Plot.js CHANGED
@@ -1 +1 @@
1
- (function(_0x1ddbd2,_0x209e78){const _0xa47f98=a73_0x2621,_0x519b28=_0x1ddbd2();while(!![]){try{const _0x2100bb=-parseInt(_0xa47f98(0x1de))/0x1*(-parseInt(_0xa47f98(0x1d9))/0x2)+-parseInt(_0xa47f98(0x1e1))/0x3+parseInt(_0xa47f98(0x1da))/0x4+-parseInt(_0xa47f98(0x1ec))/0x5+-parseInt(_0xa47f98(0x1ea))/0x6+-parseInt(_0xa47f98(0x1eb))/0x7+parseInt(_0xa47f98(0x1e8))/0x8;if(_0x2100bb===_0x209e78)break;else _0x519b28['push'](_0x519b28['shift']());}catch(_0x4b9e70){_0x519b28['push'](_0x519b28['shift']());}}}(a73_0x3840,0x5b1cf));import a73_0x15fc37 from'../entity/GeometryType';import a73_0x2cce6f from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';function a73_0x3840(){const _0x314254=['218503AGYcRA','Point','Ellipse','540594HVzviQ','Polygon','text','Circle','toLowerCase','Curve','ArrowPincerlike','11743232qbCvTr','Ellipsoid','3300822vpSvYI','4457866rwKkSl','409295VFCZaw','MAX_VALUE','Rectangle','pointermove','SurfaceClosed','Arrow','2XuWzWu','543296MNTgAd','AssemblySite','assign','PolyLine'];a73_0x3840=function(){return _0x314254;};return a73_0x3840();}import{getPolygonStyle}from'../style/PolygonStyleFormat';import a73_0x2fcf38 from'./geometry/polygon/RectAngle';function a73_0x2621(_0x59bdd7,_0x37f8f6){const _0x3840c5=a73_0x3840();return a73_0x2621=function(_0x262114,_0x400a1f){_0x262114=_0x262114-0x1d8;let _0x17834e=_0x3840c5[_0x262114];return _0x17834e;},a73_0x2621(_0x59bdd7,_0x37f8f6);}import a73_0x2148c0 from'./geometry/polyline/Polyline';import a73_0x87c2f7 from'./geometry/point/Point';import a73_0x31f758 from'./geometry/polygon/Circle';const defaultStyle={'color':[0x40,0xaf,0xc1],'fill':!![],'opacity':0.6,'outline':!![],'outlineColor':[0x40,0xaf,0xc1],'outlineOpacity':0.6,'outlineWidth':0x2};export function createPlot(_0x5ef727,_0x3bd8bf){const _0x1db6a2=a73_0x2621;_0x5ef727=_0x5ef727[_0x1db6a2(0x1e5)]();switch(_0x5ef727){case a73_0x15fc37[_0x1db6a2(0x1df)]:case _0x1db6a2(0x1ef):return new a73_0x87c2f7(_0x3bd8bf);case a73_0x15fc37[_0x1db6a2(0x1dd)]:return new a73_0x2148c0(_0x3bd8bf);case a73_0x15fc37['Circle']:return new a73_0x31f758(_0x3bd8bf);case a73_0x15fc37[_0x1db6a2(0x1ee)]:return new a73_0x2fcf38(_0x3bd8bf);case a73_0x15fc37['Polygon']:return new a73_0x2cce6f(_0x3bd8bf);}}export function getPlotCount(_0x2ac5d4){const _0x5d9504=a73_0x2621;_0x2ac5d4=_0x2ac5d4[_0x5d9504(0x1e5)]();let _0x41bc16={'fixPoint':0x0,'minPoint':0x0};switch(_0x2ac5d4){case a73_0x15fc37[_0x5d9504(0x1df)]:_0x41bc16={'fixPoint':0x1,'minPoint':0x0};break;case a73_0x15fc37[_0x5d9504(0x1dd)]:_0x41bc16={'fixPoint':Number[_0x5d9504(0x1ed)],'minPoint':0x1};break;case a73_0x15fc37[_0x5d9504(0x1e2)]:_0x41bc16={'fixPoint':Number[_0x5d9504(0x1ed)],'minPoint':0x2};break;case a73_0x15fc37[_0x5d9504(0x1ee)]:_0x41bc16={'fixPoint':0x2,'minPoint':0x1};break;case a73_0x15fc37['Circle']:_0x41bc16={'fixPoint':0x2,'minPoint':0x1};break;case a73_0x15fc37[_0x5d9504(0x1e6)]:_0x41bc16={'fixPoint':Number[_0x5d9504(0x1ed)],'minPoint':0x1};break;case a73_0x15fc37[_0x5d9504(0x1e0)]:case a73_0x15fc37['Ellipsoid']:_0x41bc16={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x41bc16;}export function getStyle(_0x5f3e16,_0x45a1a9,_0x53c0e0){const _0x9b100d=a73_0x2621;_0x5f3e16=_0x5f3e16[_0x9b100d(0x1e5)](),_0x45a1a9=Object[_0x9b100d(0x1dc)](Object['assign']({},defaultStyle),_0x45a1a9);switch(_0x5f3e16){case a73_0x15fc37['Point']:return function(_0x4d5496,_0x2d2485){return getPointSingleStyle(_0x5f3e16,_0x45a1a9,_0x2d2485,_0x53c0e0);};case a73_0x15fc37['PolyLine']:case a73_0x15fc37[_0x9b100d(0x1e6)]:return function(_0x1298ed,_0x21057b){return getPolylineStyle(_0x45a1a9,'',_0x21057b,_0x53c0e0);};case a73_0x15fc37[_0x9b100d(0x1e4)]:case a73_0x15fc37[_0x9b100d(0x1ee)]:case a73_0x15fc37['Ellipse']:case a73_0x15fc37[_0x9b100d(0x1e9)]:case a73_0x15fc37[_0x9b100d(0x1f0)]:case a73_0x15fc37[_0x9b100d(0x1e2)]:case a73_0x15fc37['ArrowAttack']:case a73_0x15fc37[_0x9b100d(0x1e7)]:case a73_0x15fc37[_0x9b100d(0x1d8)]:case a73_0x15fc37[_0x9b100d(0x1db)]:return function(_0x63c91f,_0x15dd15){const _0x30477a=_0x9b100d;return getPolygonStyle(_0x45a1a9,_0x45a1a9[_0x30477a(0x1e3)],_0x15dd15,_0x53c0e0);};}}
1
+ function a73_0x1eb1(){const _0x1c3468=['Ellipsoid','1858290RQZHBL','AssemblySite','ArrowPincerlike','Curve','text','2769688hTykFa','SurfaceClosed','Ellipse','884421oBjtmC','toLowerCase','581475kavzac','216ksltwr','Rectangle','Point','7RyOCCF','7837878xumCRM','Polygon','3267530rUfjJE','2776041fIArXP','MAX_VALUE','Circle','Arrow'];a73_0x1eb1=function(){return _0x1c3468;};return a73_0x1eb1();}(function(_0x2cd12a,_0x19cc7b){const _0x399541=a73_0x22fb,_0x1f1c7a=_0x2cd12a();while(!![]){try{const _0x46c307=-parseInt(_0x399541(0x106))/0x1+-parseInt(_0x399541(0x113))/0x2+parseInt(_0x399541(0x10e))/0x3+parseInt(_0x399541(0x101))/0x4+-parseInt(_0x399541(0x10d))/0x5+-parseInt(_0x399541(0x10b))/0x6*(parseInt(_0x399541(0x10a))/0x7)+-parseInt(_0x399541(0x107))/0x8*(-parseInt(_0x399541(0x104))/0x9);if(_0x46c307===_0x19cc7b)break;else _0x1f1c7a['push'](_0x1f1c7a['shift']());}catch(_0x5e1081){_0x1f1c7a['push'](_0x1f1c7a['shift']());}}}(a73_0x1eb1,0xc3751));import a73_0x1119cf from'../entity/GeometryType';import a73_0x160599 from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';import{getPolygonStyle}from'../style/PolygonStyleFormat';import a73_0xce791b from'./geometry/polygon/RectAngle';import a73_0x5c2cef from'./geometry/polyline/Polyline';import a73_0x28001a from'./geometry/point/Point';import a73_0x27711f 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(_0x2a8ef9,_0x75f854){const _0x5e4282=a73_0x22fb;_0x2a8ef9=_0x2a8ef9['toLowerCase']();switch(_0x2a8ef9){case a73_0x1119cf[_0x5e4282(0x109)]:case'pointermove':return new a73_0x28001a(_0x75f854);case a73_0x1119cf['PolyLine']:return new a73_0x5c2cef(_0x75f854);case a73_0x1119cf[_0x5e4282(0x110)]:return new a73_0x27711f(_0x75f854);case a73_0x1119cf[_0x5e4282(0x108)]:return new a73_0xce791b(_0x75f854);case a73_0x1119cf[_0x5e4282(0x10c)]:return new a73_0x160599(_0x75f854);}}function a73_0x22fb(_0x22b321,_0x52bcb8){const _0x1eb1e1=a73_0x1eb1();return a73_0x22fb=function(_0x22fb05,_0x2d3477){_0x22fb05=_0x22fb05-0x101;let _0x35eb7a=_0x1eb1e1[_0x22fb05];return _0x35eb7a;},a73_0x22fb(_0x22b321,_0x52bcb8);}export function getPlotCount(_0x5ea93d){const _0x534225=a73_0x22fb;_0x5ea93d=_0x5ea93d[_0x534225(0x105)]();let _0x1b43e7={'fixPoint':0x0,'minPoint':0x0};switch(_0x5ea93d){case a73_0x1119cf[_0x534225(0x109)]:_0x1b43e7={'fixPoint':0x1,'minPoint':0x0};break;case a73_0x1119cf['PolyLine']:_0x1b43e7={'fixPoint':Number['MAX_VALUE'],'minPoint':0x1};break;case a73_0x1119cf[_0x534225(0x10c)]:_0x1b43e7={'fixPoint':Number[_0x534225(0x10f)],'minPoint':0x2};break;case a73_0x1119cf['Rectangle']:_0x1b43e7={'fixPoint':0x2,'minPoint':0x1};break;case a73_0x1119cf['Circle']:_0x1b43e7={'fixPoint':0x2,'minPoint':0x1};break;case a73_0x1119cf[_0x534225(0x116)]:_0x1b43e7={'fixPoint':Number[_0x534225(0x10f)],'minPoint':0x1};break;case a73_0x1119cf['Ellipse']:case a73_0x1119cf[_0x534225(0x112)]:_0x1b43e7={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x1b43e7;}export function getStyle(_0x455d6e,_0x328815,_0x24d097){const _0x48ce7c=a73_0x22fb;_0x455d6e=_0x455d6e[_0x48ce7c(0x105)](),_0x328815=Object['assign'](Object['assign']({},defaultStyle),_0x328815);switch(_0x455d6e){case a73_0x1119cf[_0x48ce7c(0x109)]:return function(_0x23f2f0,_0x3a512c){return getPointSingleStyle(_0x455d6e,_0x328815,_0x3a512c,_0x24d097);};case a73_0x1119cf['PolyLine']:case a73_0x1119cf[_0x48ce7c(0x116)]:return function(_0x35aea3,_0x5ef5ca){return getPolylineStyle(_0x328815,'',_0x5ef5ca,_0x24d097);};case a73_0x1119cf['Circle']:case a73_0x1119cf['Rectangle']:case a73_0x1119cf[_0x48ce7c(0x103)]:case a73_0x1119cf[_0x48ce7c(0x112)]:case a73_0x1119cf[_0x48ce7c(0x102)]:case a73_0x1119cf[_0x48ce7c(0x10c)]:case a73_0x1119cf['ArrowAttack']:case a73_0x1119cf[_0x48ce7c(0x115)]:case a73_0x1119cf[_0x48ce7c(0x111)]:case a73_0x1119cf[_0x48ce7c(0x114)]:return function(_0x4869f4,_0x4eb298){const _0x34cdb3=_0x48ce7c;return getPolygonStyle(_0x328815,_0x328815[_0x34cdb3(0x117)],_0x4eb298,_0x24d097);};}}
@@ -1 +1 @@
1
- function a66_0x4ff4(){var _0x5defc0=['points','getPlotType','12330WFfegY','setPoints','1120476vTfuwN','setStyle','setMap','stringify','701192rlYoVe','length','generate','finishDrawing','getMap','109380HsrHOT','parse','537436eAlRHb','updateLastPoint','14EoYEMd','4021360mLIyVX','传入的不是地图对象!','getPoints','updatePoint','isPlot','Point','setCoordinates','map','1791810KxuRGd','9yMDrMS','type','1DSmllK'];a66_0x4ff4=function(){return _0x5defc0;};return a66_0x4ff4();}var a66_0x144783=a66_0x527d;function a66_0x527d(_0xefca6f,_0xc345e4){var _0x4ff41c=a66_0x4ff4();return a66_0x527d=function(_0x527ddb,_0x254026){_0x527ddb=_0x527ddb-0xc1;var _0x56c85f=_0x4ff41c[_0x527ddb];return _0x56c85f;},a66_0x527d(_0xefca6f,_0xc345e4);}(function(_0x415dbc,_0x572a82){var _0x19e2c9=a66_0x527d,_0x90e290=_0x415dbc();while(!![]){try{var _0x24fb47=-parseInt(_0x19e2c9(0xc8))/0x1*(-parseInt(_0x19e2c9(0xd8))/0x2)+-parseInt(_0x19e2c9(0xc6))/0x3*(-parseInt(_0x19e2c9(0xd6))/0x4)+-parseInt(_0x19e2c9(0xcb))/0x5+-parseInt(_0x19e2c9(0xcd))/0x6+-parseInt(_0x19e2c9(0xda))/0x7*(parseInt(_0x19e2c9(0xd1))/0x8)+-parseInt(_0x19e2c9(0xc5))/0x9+parseInt(_0x19e2c9(0xdb))/0xa;if(_0x24fb47===_0x572a82)break;else _0x90e290['push'](_0x90e290['shift']());}catch(_0x104484){_0x90e290['push'](_0x90e290['shift']());}}}(a66_0x4ff4,0x2e369));import{Map}from'ol';import{Point as a66_0x3055c0}from'ol/geom';class Point extends a66_0x3055c0{constructor(_0x2a8ab0){var _0x54905b=a66_0x527d;super([]),this[_0x54905b(0xc7)]=_0x54905b(0xc2),this[_0x54905b(0xc9)]=_0x2a8ab0,this[_0x54905b(0xcc)](_0x2a8ab0);}[a66_0x144783(0xca)](){var _0x20ecb3=a66_0x144783;return this[_0x20ecb3(0xc7)];}[a66_0x144783(0xd3)](){var _0xb35a0e=a66_0x144783;this[_0xb35a0e(0xc3)](this[_0xb35a0e(0xc9)][0x0]);}[a66_0x144783(0xcf)](_0x3afdbd){var _0x475663=a66_0x144783;if(_0x3afdbd&&_0x3afdbd instanceof Map)this[_0x475663(0xc4)]=_0x3afdbd;else throw new Error(_0x475663(0xdc));}[a66_0x144783(0xd5)](){var _0x52c7c0=a66_0x144783;return this[_0x52c7c0(0xc4)];}[a66_0x144783(0xc1)](){return!![];}[a66_0x144783(0xcc)](_0x2d389e){var _0x194b2a=a66_0x144783;_0x2d389e&&_0x2d389e['length']>=0x1&&(this[_0x194b2a(0xc9)]=_0x2d389e,this[_0x194b2a(0xd3)]());}[a66_0x144783(0xdd)](){return this['points'];}[a66_0x144783(0xde)](_0x583df9,_0x501436){var _0x2a838d=a66_0x144783;_0x501436>=0x0&&_0x501436<this[_0x2a838d(0xc9)][_0x2a838d(0xd2)]&&(this[_0x2a838d(0xc9)][_0x501436]=_0x583df9,this[_0x2a838d(0xd3)]());}[a66_0x144783(0xd9)](_0x10fb49){var _0x5ec154=a66_0x144783;this[_0x5ec154(0xde)](_0x10fb49,this[_0x5ec154(0xc9)][_0x5ec154(0xd2)]-0x1);}[a66_0x144783(0xd4)](){}[a66_0x144783(0xce)](_0x4feec5){var _0x576e1a=a66_0x144783;this['style']=JSON[_0x576e1a(0xd7)](JSON[_0x576e1a(0xd0)](_0x4feec5));}}export default Point;
1
+ function a66_0x196e(_0x45659f,_0x3edadc){var _0x2ac53e=a66_0x2ac5();return a66_0x196e=function(_0x196e71,_0x1e3b10){_0x196e71=_0x196e71-0x12b;var _0xfe950c=_0x2ac53e[_0x196e71];return _0xfe950c;},a66_0x196e(_0x45659f,_0x3edadc);}var a66_0x123d6e=a66_0x196e;(function(_0x5e951d,_0xabed61){var _0x312e90=a66_0x196e,_0x1e4a13=_0x5e951d();while(!![]){try{var _0x2086aa=-parseInt(_0x312e90(0x135))/0x1+parseInt(_0x312e90(0x143))/0x2+-parseInt(_0x312e90(0x138))/0x3+parseInt(_0x312e90(0x13a))/0x4*(-parseInt(_0x312e90(0x131))/0x5)+parseInt(_0x312e90(0x12c))/0x6*(-parseInt(_0x312e90(0x140))/0x7)+parseInt(_0x312e90(0x139))/0x8*(parseInt(_0x312e90(0x12f))/0x9)+parseInt(_0x312e90(0x133))/0xa;if(_0x2086aa===_0xabed61)break;else _0x1e4a13['push'](_0x1e4a13['shift']());}catch(_0x316ee4){_0x1e4a13['push'](_0x1e4a13['shift']());}}}(a66_0x2ac5,0x83730));import{Map}from'ol';import{Point as a66_0x3797d4}from'ol/geom';class Point extends a66_0x3797d4{constructor(_0x55d795){var _0x5543d0=a66_0x196e;super([]),this[_0x5543d0(0x13d)]=_0x5543d0(0x12b),this['points']=_0x55d795,this[_0x5543d0(0x142)](_0x55d795);}['getPlotType'](){return this['type'];}[a66_0x123d6e(0x137)](){var _0x3b000d=a66_0x123d6e;this[_0x3b000d(0x12e)](this[_0x3b000d(0x12d)][0x0]);}[a66_0x123d6e(0x13b)](_0x969f9){var _0x346ff7=a66_0x123d6e;if(_0x969f9&&_0x969f9 instanceof Map)this[_0x346ff7(0x13f)]=_0x969f9;else throw new Error('传入的不是地图对象!');}[a66_0x123d6e(0x132)](){return this['map'];}[a66_0x123d6e(0x13c)](){return!![];}[a66_0x123d6e(0x142)](_0x1fb75e){var _0x734c08=a66_0x123d6e;_0x1fb75e&&_0x1fb75e['length']>=0x1&&(this[_0x734c08(0x12d)]=_0x1fb75e,this['generate']());}[a66_0x123d6e(0x13e)](){var _0x376af9=a66_0x123d6e;return this[_0x376af9(0x12d)];}[a66_0x123d6e(0x141)](_0x3e682a,_0x32991e){var _0x55897b=a66_0x123d6e;_0x32991e>=0x0&&_0x32991e<this['points'][_0x55897b(0x136)]&&(this['points'][_0x32991e]=_0x3e682a,this[_0x55897b(0x137)]());}['updateLastPoint'](_0x38c869){var _0x342a4e=a66_0x123d6e;this[_0x342a4e(0x141)](_0x38c869,this[_0x342a4e(0x12d)][_0x342a4e(0x136)]-0x1);}[a66_0x123d6e(0x130)](){}['setStyle'](_0x4aec49){var _0x4006f2=a66_0x123d6e;this['style']=JSON['parse'](JSON[_0x4006f2(0x134)](_0x4aec49));}}export default Point;function a66_0x2ac5(){var _0x426506=['stringify','33857PGHkDF','length','generate','566799AEnKNq','2056MjEatx','144aRTMBp','setMap','isPlot','type','getPoints','map','159194NNmZTC','updatePoint','setPoints','1603924qECoct','Point','132QdNwCU','points','setCoordinates','10467nWqPZJ','finishDrawing','89965nyQXJI','getMap','8084250ZsgRHV'];a66_0x2ac5=function(){return _0x426506;};return a66_0x2ac5();}
@@ -1 +1 @@
1
- var a67_0x2f53d5=a67_0x41a3;(function(_0x58b45c,_0x24d504){var _0x251cbc=a67_0x41a3,_0x5057cb=_0x58b45c();while(!![]){try{var _0x3324e0=-parseInt(_0x251cbc(0xe5))/0x1*(-parseInt(_0x251cbc(0xe7))/0x2)+parseInt(_0x251cbc(0xef))/0x3+parseInt(_0x251cbc(0xec))/0x4+parseInt(_0x251cbc(0xf6))/0x5+parseInt(_0x251cbc(0xee))/0x6+parseInt(_0x251cbc(0xe3))/0x7+parseInt(_0x251cbc(0xf3))/0x8*(-parseInt(_0x251cbc(0xed))/0x9);if(_0x3324e0===_0x24d504)break;else _0x5057cb['push'](_0x5057cb['shift']());}catch(_0x3426ef){_0x5057cb['push'](_0x5057cb['shift']());}}}(a67_0xa35f,0x99cf1));import{Polygon}from'ol/geom';import a67_0x5bb0fd from'ol/format/GeoJSON';import a67_0x42c808 from'../../../mapView/Map';function a67_0x41a3(_0x4d20ec,_0x4febf4){var _0xa35f9b=a67_0xa35f();return a67_0x41a3=function(_0x41a3d2,_0x41ebeb){_0x41a3d2=_0x41a3d2-0xe3;var _0x2093e4=_0xa35f9b[_0x41a3d2];return _0x2093e4;},a67_0x41a3(_0x4d20ec,_0x4febf4);}function a67_0xa35f(){var _0x201a83=['3411042zKzRIN','256122lskDKH','getPointCount','map','isPlot','26065192dpixYi','getType','stringify','4826030lzhnZR','getMap','writeGeometryObject','传入的不是地图对象!','167160mUCpcb','type','1036281ICJbsv','points','2GmXqcI','generate','setPoints','length','parse','4835608wahnIW','9ghfNtf'];a67_0xa35f=function(){return _0x201a83;};return a67_0xa35f();}class BasePolygon extends Polygon{constructor(){var _0x11e866=a67_0x41a3;super([]),this[_0x11e866(0xe6)]=[];}[a67_0x2f53d5(0xf4)](){var _0x21f6d3=a67_0x2f53d5;return this[_0x21f6d3(0xe4)]?this[_0x21f6d3(0xe4)]:super[_0x21f6d3(0xf4)]();}['getGeoJson'](){var _0x491f52=a67_0x2f53d5;return new a67_0x5bb0fd()[_0x491f52(0xf8)](this);}['setStyle'](_0x26f552){var _0x3ad5ff=a67_0x2f53d5;_0x26f552&&(this['style']=JSON[_0x3ad5ff(0xeb)](JSON[_0x3ad5ff(0xf5)](_0x26f552)));}['setMap'](_0x1b8255){var _0x2455c9=a67_0x2f53d5;if(_0x1b8255&&_0x1b8255 instanceof a67_0x42c808)this[_0x2455c9(0xf1)]=_0x1b8255;else throw new Error(_0x2455c9(0xf9));}[a67_0x2f53d5(0xf7)](){var _0x12e393=a67_0x2f53d5;return this[_0x12e393(0xf1)];}[a67_0x2f53d5(0xf2)](){return!![];}[a67_0x2f53d5(0xe9)](_0x4ff7f2){var _0x1cdd96=a67_0x2f53d5;this[_0x1cdd96(0xe6)]=!_0x4ff7f2?[]:_0x4ff7f2,this[_0x1cdd96(0xe6)][_0x1cdd96(0xea)]>=0x1&&this[_0x1cdd96(0xe8)]();}['generate'](){}['getPoints'](){var _0x4acf5e=a67_0x2f53d5;return this[_0x4acf5e(0xe6)]['slice'](0x0);}[a67_0x2f53d5(0xf0)](){var _0x729f5a=a67_0x2f53d5;return this[_0x729f5a(0xe6)]['length'];}['finishDrawing'](){}}export default BasePolygon;
1
+ var a67_0x3342d9=a67_0x12cc;(function(_0xd149b9,_0x2be345){var _0x92d718=a67_0x12cc,_0x8ef635=_0xd149b9();while(!![]){try{var _0x92b8a3=-parseInt(_0x92d718(0xc2))/0x1*(parseInt(_0x92d718(0xc8))/0x2)+parseInt(_0x92d718(0xbe))/0x3*(parseInt(_0x92d718(0xc5))/0x4)+-parseInt(_0x92d718(0xd0))/0x5*(-parseInt(_0x92d718(0xc6))/0x6)+parseInt(_0x92d718(0xb7))/0x7*(-parseInt(_0x92d718(0xcd))/0x8)+parseInt(_0x92d718(0xbc))/0x9+-parseInt(_0x92d718(0xc7))/0xa*(-parseInt(_0x92d718(0xb9))/0xb)+-parseInt(_0x92d718(0xbd))/0xc;if(_0x92b8a3===_0x2be345)break;else _0x8ef635['push'](_0x8ef635['shift']());}catch(_0x5d5362){_0x8ef635['push'](_0x8ef635['shift']());}}}(a67_0x5d03,0xa0281));function a67_0x5d03(){var _0x450452=['type','121268tPMgEo','1626MhwkJp','20Vokuvl','402728bjZcHS','getPointCount','getType','map','slice','360DzDaNR','finishDrawing','setMap','13340VbpTnm','generate','68866aFNVBg','setPoints','3119303OxjFwt','传入的不是地图对象!','getGeoJson','11371113FasLFI','23437140zpaIqx','129YmSybe','stringify','points','length','4JXDTjz','getMap'];a67_0x5d03=function(){return _0x450452;};return a67_0x5d03();}import{Polygon}from'ol/geom';import a67_0x67a43 from'ol/format/GeoJSON';function a67_0x12cc(_0x1b4cf1,_0x88ee21){var _0x5d0338=a67_0x5d03();return a67_0x12cc=function(_0x12ccca,_0x57785){_0x12ccca=_0x12ccca-0xb7;var _0x2622fa=_0x5d0338[_0x12ccca];return _0x2622fa;},a67_0x12cc(_0x1b4cf1,_0x88ee21);}import a67_0x3c77fa from'../../../mapView/Map';class BasePolygon extends Polygon{constructor(){var _0x2b7e06=a67_0x12cc;super([]),this[_0x2b7e06(0xc0)]=[];}['getType'](){var _0x436bfd=a67_0x12cc;return this[_0x436bfd(0xc4)]?this['type']:super[_0x436bfd(0xca)]();}[a67_0x3342d9(0xbb)](){return new a67_0x67a43()['writeGeometryObject'](this);}['setStyle'](_0x590df4){var _0x4de70b=a67_0x3342d9;_0x590df4&&(this['style']=JSON['parse'](JSON[_0x4de70b(0xbf)](_0x590df4)));}[a67_0x3342d9(0xcf)](_0x2596ed){var _0xde316e=a67_0x3342d9;if(_0x2596ed&&_0x2596ed instanceof a67_0x3c77fa)this[_0xde316e(0xcb)]=_0x2596ed;else throw new Error(_0xde316e(0xba));}[a67_0x3342d9(0xc3)](){var _0x355965=a67_0x3342d9;return this[_0x355965(0xcb)];}['isPlot'](){return!![];}[a67_0x3342d9(0xb8)](_0xa7c778){var _0x165030=a67_0x3342d9;this[_0x165030(0xc0)]=!_0xa7c778?[]:_0xa7c778,this['points']['length']>=0x1&&this[_0x165030(0xd1)]();}[a67_0x3342d9(0xd1)](){}['getPoints'](){var _0x3c417a=a67_0x3342d9;return this[_0x3c417a(0xc0)][_0x3c417a(0xcc)](0x0);}[a67_0x3342d9(0xc9)](){var _0x41cb5b=a67_0x3342d9;return this[_0x41cb5b(0xc0)][_0x41cb5b(0xc1)];}[a67_0x3342d9(0xce)](){}}export default BasePolygon;