ym-gis-2d 1.0.35 → 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 (75) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.js +1 -1
  4. package/controls/MousePositionControl.js +1 -1
  5. package/controls/SwipeLayerControl.js +1 -1
  6. package/conver/kml/geoJSONToKml.js +1 -1
  7. package/conver/kml/index.js +1 -1
  8. package/conver/kml/kmlToGeoJSON.js +1 -1
  9. package/entity/Feature.js +1 -1
  10. package/entity/GeometryType.js +1 -1
  11. package/entity/measure/AreaMeasureUnits.js +1 -1
  12. package/feature/FeatureManager.js +1 -1
  13. package/feature/FeatureManager.js.map +1 -1
  14. package/index.js +1 -1
  15. package/interaction/AreaMeasure.js +1 -1
  16. package/interaction/Difference.js +1 -1
  17. package/interaction/Draw.js +1 -1
  18. package/interaction/InteractionManager.js +1 -1
  19. package/interaction/Modify.d.ts +3 -3
  20. package/interaction/Modify.d.ts.map +1 -1
  21. package/interaction/Modify.js +1 -1
  22. package/interaction/Modify.js.map +1 -1
  23. package/interaction/Select.js +1 -1
  24. package/interaction/Split.js +1 -1
  25. package/layers/ArcgisDynamicLayer.js +1 -1
  26. package/layers/ArcgisFeatureLayer.js +1 -1
  27. package/layers/ArcgisTileLayer.js +1 -1
  28. package/layers/ArcgisWMSLayer.js +1 -1
  29. package/layers/ArcgisWMTSLayer.js +1 -1
  30. package/layers/GeoserverVectorTile.js +1 -1
  31. package/layers/GeoserverWFSLayer.js +1 -1
  32. package/layers/GeoserverWMSLayer.js +1 -1
  33. package/layers/GeoserverWMTSLayer.js +1 -1
  34. package/layers/LayerManager.js +1 -1
  35. package/layers/TDTLayer.js +1 -1
  36. package/mapView/Map.js +1 -1
  37. package/mapView/View.js +1 -1
  38. package/package.json +1 -1
  39. package/plot/Plot.js +1 -1
  40. package/plot/geometry/point/Point.js +1 -1
  41. package/plot/geometry/polygon/BasePolygon.js +1 -1
  42. package/plot/geometry/polygon/Circle.js +1 -1
  43. package/plot/geometry/polygon/Polygon.js +1 -1
  44. package/plot/geometry/polygon/RectAngle.js +1 -1
  45. package/plot/geometry/polyline/BaseLine.js +1 -1
  46. package/plot/geometry/polyline/Polyline.js +1 -1
  47. package/style/PointStyleFormat.js +1 -1
  48. package/style/PolygonStyleFormat.js +1 -1
  49. package/style/PolylineStyleFormat.js +1 -1
  50. package/style/StyleManager.js +1 -1
  51. package/style/common.js +1 -1
  52. package/utils/ArrayUtil.js +1 -1
  53. package/utils/AxiosUtil.js +1 -1
  54. package/utils/EsriUtil.js +1 -1
  55. package/utils/GeometryUtil.js +1 -1
  56. package/utils/LayerUtil.js +1 -1
  57. package/utils/RegisterProjUtil.js +1 -1
  58. package/utils/ResolutionUtil.js +1 -1
  59. package/utils/StringUtil.js +1 -1
  60. package/utils/StyleUtil.js +1 -1
  61. package/utils/UrlUtil.js +1 -1
  62. package/utils/XmlUtil.js +1 -1
  63. package/utils/format/CQL.js +1 -1
  64. package/utils/format/IsMatchCql.js +1 -1
  65. package/utils/plug/canvas/ImageCache.js +1 -1
  66. package/utils/plug/canvas/PinBuilder.js +1 -1
  67. package/utils/plug/canvas/PinIcon.js +1 -1
  68. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  69. package/utils/tasks/esri/Identify.js +1 -1
  70. package/utils/tasks/esri/Query.js +1 -1
  71. package/utils/tasks/esri/Task.js +1 -1
  72. package/utils/tasks/geoserver/QueryTask.js +1 -1
  73. package/utils/tasks/index.js +1 -1
  74. package/ym-gis-2d.es.js +1 -1
  75. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- const a53_0x4453bb=a53_0x39b1;(function(_0x3da740,_0x39efb7){const _0x32191d=a53_0x39b1,_0x39c4d5=_0x3da740();while(!![]){try{const _0x1e9317=parseInt(_0x32191d(0xdc))/0x1*(parseInt(_0x32191d(0xd5))/0x2)+-parseInt(_0x32191d(0xd2))/0x3*(parseInt(_0x32191d(0xf8))/0x4)+parseInt(_0x32191d(0x101))/0x5*(parseInt(_0x32191d(0x106))/0x6)+-parseInt(_0x32191d(0xd4))/0x7*(parseInt(_0x32191d(0xf2))/0x8)+-parseInt(_0x32191d(0xe2))/0x9*(parseInt(_0x32191d(0xf5))/0xa)+-parseInt(_0x32191d(0xed))/0xb+parseInt(_0x32191d(0xff))/0xc;if(_0x1e9317===_0x39efb7)break;else _0x39c4d5['push'](_0x39c4d5['shift']());}catch(_0x453956){_0x39c4d5['push'](_0x39c4d5['shift']());}}}(a53_0x2862,0xd9d23));import a53_0x219174 from'ol/format/EsriJSON';import a53_0x4f6ba1 from'ol/source/Vector';function a53_0x2862(){const _0x5a1f3c=['wkid','1439389LNbezB','99794tarTQc','error',',\x22ymax\x22:','returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry=','drawingInfo',',\x22spatialReference\x22:{\x22wkid\x22:','forEach','13tMcVpY','f\x20=\x20json\x20&\x20','createArcGISFeatureLayer','defaultSymbol','showIndex','wkt','18ARrbwu','value','setStyle','xmax','setFilter','get','symbol','getCode','1=1','loadFilter','where=','8806094VPOgzR','xmin','spatialReference','log','setLayers','56QqFoxG','then','ymin','3690130FXdLqZ','split','{\x22xmin\x22:','32roibXd','push','ymax','initialExtent','find','&outFields=*','uniqueValueInfos','30814212tPDkGE','type','3020qMEsDL','uniqueValue','stringify','readFeatures','/query','13422nFLpls','addFeatures',',\x22xmax\x22:','layerInfo','renderer','fullExtent','mapIndex','length','261561OPtgrj'];a53_0x2862=function(){return _0x5a1f3c;};return a53_0x2862();}import{Vector as a53_0x2b1989}from'ol/layer';import{jsonp}from'../utils/AxiosUtil';import{createXYZ}from'ol/tilegrid';import{tile as a53_0x11a296}from'ol/loadingstrategy';function a53_0x39b1(_0xeae484,_0x334a6a){const _0x286224=a53_0x2862();return a53_0x39b1=function(_0x39b17d,_0x44cb2a){_0x39b17d=_0x39b17d-0xd1;let _0x4a0201=_0x286224[_0x39b17d];return _0x4a0201;},a53_0x39b1(_0xeae484,_0x334a6a);}import a53_0x33f7b0 from'ol/layer/Group';import{registerProj}from'../utils/RegisterProjUtil';import{transformedEsriStyle}from'../utils/StyleUtil';import a53_0x4fb7de from'ol/Collection';import{appendParam,appendPath}from'../utils/UrlUtil';export default class ArcgisFeatureLayer extends a53_0x33f7b0{constructor(_0x24e668,_0x17555d,_0x45f6f5){const _0x16151b=a53_0x39b1,_0x3e450f=[_0x17555d[_0x16151b(0xfb)][_0x16151b(0xee)],_0x17555d['initialExtent'][_0x16151b(0xf4)],_0x17555d[_0x16151b(0xfb)]['xmax'],_0x17555d[_0x16151b(0xfb)]['ymax']],_0x162ef2=[_0x17555d[_0x16151b(0x10b)]['xmin'],_0x17555d[_0x16151b(0x10b)]['ymin'],_0x17555d[_0x16151b(0x10b)][_0x16151b(0xe5)],_0x17555d['fullExtent'][_0x16151b(0xfa)]];let _0x4ba8f6;_0x17555d[_0x16151b(0xef)][_0x16151b(0xd3)]?_0x4ba8f6=registerProj('EPSG:'+_0x17555d[_0x16151b(0xef)]['wkid'],_0x162ef2):_0x4ba8f6=registerProj(_0x17555d['spatialReference'][_0x16151b(0xe1)],_0x162ef2);let _0x256ba5=[];super({'zIndex':_0x24e668[_0x16151b(0x10c)]});for(let _0x1c52d9 of _0x45f6f5){let _0xb8fd82=this[_0x16151b(0xde)](_0x24e668,_0x1c52d9);_0x256ba5[_0x16151b(0xf9)](_0xb8fd82);}this[_0x16151b(0xf1)](new a53_0x4fb7de(_0x256ba5)),this['id']=_0x24e668['id'],this['initialExtent']=_0x3e450f,this['projection']=_0x4ba8f6,this[_0x16151b(0x109)]=_0x24e668;}[a53_0x4453bb(0xde)](_0x590c21,_0x1fd029){const _0x33114f=a53_0x4453bb;var _0x42f22b=new a53_0x219174();let _0x8f7a4c=new a53_0x4f6ba1({'loader':function(_0x4245e5,_0x54ad8a,_0x217c51){const _0xbd9c0a=a53_0x39b1;let _0xe7f319=_0xbd9c0a(0xea);_0x590c21[_0xbd9c0a(0xeb)]&&(_0xe7f319=typeof _0x590c21[_0xbd9c0a(0xeb)]==='string'?_0x590c21[_0xbd9c0a(0xeb)]:JSON[_0xbd9c0a(0x103)](_0x590c21[_0xbd9c0a(0xeb)]));let _0x160f3c=_0x217c51[_0xbd9c0a(0xe9)](),_0x47dfa2=_0x160f3c[_0xbd9c0a(0xf6)](':')[0x1];var _0x2e530f=appendPath(_0x1fd029['url'],_0xbd9c0a(0x105));_0x2e530f=appendParam(_0x2e530f,_0xbd9c0a(0xdd)+_0xbd9c0a(0xec)+encodeURIComponent(_0xe7f319)+_0xbd9c0a(0xd8)+encodeURIComponent(_0xbd9c0a(0xf7)+_0x4245e5[0x0]+',\x22ymin\x22:'+_0x4245e5[0x1]+_0xbd9c0a(0x108)+_0x4245e5[0x2]+_0xbd9c0a(0xd7)+_0x4245e5[0x3]+_0xbd9c0a(0xda)+_0x47dfa2+'}}')+'&geometryType=esriGeometryEnvelope&inSR='+_0x47dfa2+_0xbd9c0a(0xfd)+'&outSR='+_0x47dfa2),jsonp(_0x2e530f)[_0xbd9c0a(0xf3)](_0x364aeb=>{const _0x1579f8=_0xbd9c0a;if(_0x364aeb[_0x1579f8(0xd6)])console[_0x1579f8(0xf0)](_0x364aeb);else{var _0x4d80f7=_0x42f22b[_0x1579f8(0x104)](_0x364aeb,{'featureProjection':_0x217c51});_0x4d80f7[_0x1579f8(0xd1)]>0x0&&(_0x1fd029[_0x1579f8(0xd9)][_0x1579f8(0x10a)][_0x1579f8(0x100)]==_0x1579f8(0x102)&&_0x4d80f7[_0x1579f8(0xdb)](function(_0x57d18e){const _0x1a6179=_0x1579f8;var _0x4ed1a6=_0x57d18e[_0x1a6179(0xe7)](_0x1fd029[_0x1a6179(0xd9)][_0x1a6179(0x10a)]['field1']);const _0x130a77=_0x1fd029[_0x1a6179(0xd9)][_0x1a6179(0x10a)][_0x1a6179(0xfe)][_0x1a6179(0xfc)](_0x408e15=>_0x408e15[_0x1a6179(0xe3)]==_0x4ed1a6);let _0x37ded9;_0x130a77?_0x37ded9=transformedEsriStyle(_0x130a77['symbol']):_0x37ded9=transformedEsriStyle(_0x1fd029['drawingInfo']['renderer'][_0x1a6179(0xdf)]),_0x57d18e[_0x1a6179(0xe4)](_0x37ded9);}),_0x8f7a4c[_0x1579f8(0x107)](_0x4d80f7));}});},'strategy':a53_0x11a296(createXYZ({'tileSize':0x200}))}),_0x22525a=new a53_0x2b1989({'source':_0x8f7a4c,'zIndex':_0x590c21[_0x33114f(0xe0)]});if(_0x1fd029[_0x33114f(0xd9)][_0x33114f(0x10a)][_0x33114f(0x100)]=='simple'&&_0x1fd029[_0x33114f(0xd9)][_0x33114f(0x10a)][_0x33114f(0xe8)]){let _0x2272ed=transformedEsriStyle(_0x1fd029[_0x33114f(0xd9)]['renderer'][_0x33114f(0xe8)]);_0x22525a[_0x33114f(0xe4)](_0x2272ed);}return _0x22525a;}[a53_0x4453bb(0xe6)](_0x60708d){const _0x39e421=a53_0x4453bb;this[_0x39e421(0x109)]['loadFilter']=_0x60708d;}}
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(_0x3f5cde,_0x18c5f1){const _0x41b871=a54_0xa41d,_0x4b0661=_0x3f5cde();while(!![]){try{const _0xa5345e=parseInt(_0x41b871(0x7a))/0x1+parseInt(_0x41b871(0x76))/0x2*(parseInt(_0x41b871(0x78))/0x3)+parseInt(_0x41b871(0x7b))/0x4+-parseInt(_0x41b871(0x73))/0x5*(parseInt(_0x41b871(0x8e))/0x6)+-parseInt(_0x41b871(0x7c))/0x7*(parseInt(_0x41b871(0x7d))/0x8)+-parseInt(_0x41b871(0x8d))/0x9+-parseInt(_0x41b871(0x7e))/0xa*(parseInt(_0x41b871(0x8b))/0xb);if(_0xa5345e===_0x18c5f1)break;else _0x4b0661['push'](_0x4b0661['shift']());}catch(_0x22efb6){_0x4b0661['push'](_0x4b0661['shift']());}}}(a54_0x15f5,0x2540e));import a54_0x25ea50 from'ol/layer/Tile';import a54_0x53625d from'ol/source/XYZ';import a54_0x3aaa5c from'ol/tilegrid/TileGrid';import{registerProj}from'../utils/RegisterProjUtil';function a54_0x15f5(){const _0x29d640=['url','tileInfo','projection','ymax','xmax','187vsRdle','mapIndex','1304838fwNpNc','2766olFBxG','lods','cols','1185IeYlMV','anonymous','spatialReference','26284WnAmnC','ymin','48ErcExv','EPSG:','68892WlJgNB','995156ydSlkf','847273MmDZJt','8XJjWPz','50wkDOWt','fullExtent','wkid','origin','initialExtent','wkt','length','xmin'];a54_0x15f5=function(){return _0x29d640;};return a54_0x15f5();}function a54_0xa41d(_0x288fe2,_0x202d3b){const _0x15f526=a54_0x15f5();return a54_0xa41d=function(_0xa41dec,_0x5be021){_0xa41dec=_0xa41dec-0x72;let _0x2f2b91=_0x15f526[_0xa41dec];return _0x2f2b91;},a54_0xa41d(_0x288fe2,_0x202d3b);}import{appendPath}from'../utils/UrlUtil';export default class ArcgisTileLayer extends a54_0x25ea50{constructor(_0x343289,_0x31f7e8){const _0x174ad5=a54_0xa41d,_0x5aa51c=_0x343289[_0x174ad5(0x86)]?_0x343289['url']:'',_0x495352=appendPath(_0x5aa51c,'/tile/{z}/{y}/{x}'),_0x1cb12d=[_0x31f7e8[_0x174ad5(0x82)][_0x174ad5(0x85)],_0x31f7e8[_0x174ad5(0x82)]['ymin'],_0x31f7e8['initialExtent'][_0x174ad5(0x8a)],_0x31f7e8[_0x174ad5(0x82)]['ymax']],_0x454104=[_0x31f7e8[_0x174ad5(0x7f)][_0x174ad5(0x85)],_0x31f7e8['fullExtent'][_0x174ad5(0x77)],_0x31f7e8[_0x174ad5(0x7f)]['xmax'],_0x31f7e8[_0x174ad5(0x7f)][_0x174ad5(0x89)]];let _0x26fad4;_0x31f7e8[_0x174ad5(0x75)][_0x174ad5(0x80)]?_0x26fad4=registerProj(_0x174ad5(0x79)+_0x31f7e8[_0x174ad5(0x75)][_0x174ad5(0x80)],_0x454104):_0x26fad4=registerProj(_0x31f7e8[_0x174ad5(0x75)][_0x174ad5(0x83)],_0x454104);let _0xfcca10=[];for(let _0x5732fb=0x0,_0x2688e6=_0x31f7e8[_0x174ad5(0x87)]['lods'][_0x174ad5(0x84)];_0x5732fb<_0x2688e6;_0x5732fb++){_0xfcca10['push'](_0x31f7e8[_0x174ad5(0x87)][_0x174ad5(0x8f)][_0x5732fb]['resolution']);}super({'opacity':_0x343289['opacity'],'zIndex':_0x343289[_0x174ad5(0x8c)],'maxResolution':_0xfcca10[0x0]*0x2,'source':new a54_0x53625d({'url':_0x495352,'projection':_0x26fad4,'crossOrigin':_0x174ad5(0x74),'tileGrid':new a54_0x3aaa5c({'extent':_0x454104,'origin':[_0x31f7e8['tileInfo'][_0x174ad5(0x81)]['x'],_0x31f7e8[_0x174ad5(0x87)]['origin']['y']],'resolutions':_0xfcca10,'tileSize':[_0x31f7e8['tileInfo']['rows'],_0x31f7e8[_0x174ad5(0x87)][_0x174ad5(0x72)]]})})}),this['id']=_0x343289['id'],this[_0x174ad5(0x82)]=_0x1cb12d,this[_0x174ad5(0x88)]=_0x26fad4,this['layerInfo']=_0x343289;}}
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
- (function(_0x152699,_0x988981){const _0x17f45d=a55_0x4f81,_0x14ca8a=_0x152699();while(!![]){try{const _0xe4e868=-parseInt(_0x17f45d(0x79))/0x1*(parseInt(_0x17f45d(0x7c))/0x2)+-parseInt(_0x17f45d(0x74))/0x3*(-parseInt(_0x17f45d(0x88))/0x4)+parseInt(_0x17f45d(0x87))/0x5+-parseInt(_0x17f45d(0x83))/0x6*(parseInt(_0x17f45d(0x76))/0x7)+parseInt(_0x17f45d(0x84))/0x8+-parseInt(_0x17f45d(0x7d))/0x9*(-parseInt(_0x17f45d(0x80))/0xa)+parseInt(_0x17f45d(0x7a))/0xb*(-parseInt(_0x17f45d(0x75))/0xc);if(_0xe4e868===_0x988981)break;else _0x14ca8a['push'](_0x14ca8a['shift']());}catch(_0x198d90){_0x14ca8a['push'](_0x14ca8a['shift']());}}}(a55_0xc783,0x312b2));function a55_0xc783(){const _0x5d422a=['136440hCTSPX','url','opacity','174yBLiCc','2812760TkreVi','EPSG:','initialExtent','338065wtYZCo','332ORHmnw','CQL_FILTER','13047LSGWPI','6049020KLWXgQ','50449pjwzrk','getSource','loadFilter','18903KUBEXz','11Mmrzwc','projection','6pjlAzc','126eIFHgz','anonymous','sublayers'];a55_0xc783=function(){return _0x5d422a;};return a55_0xc783();}import{ImageWMS as a55_0x51d06b}from'ol/source';function a55_0x4f81(_0x40e589,_0x458438){const _0xc783d9=a55_0xc783();return a55_0x4f81=function(_0x4f811e,_0x4c8d13){_0x4f811e=_0x4f811e-0x73;let _0x1b5e75=_0xc783d9[_0x4f811e];return _0x1b5e75;},a55_0x4f81(_0x40e589,_0x458438);}import{Image as a55_0x15801b}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisWMSLayer extends a55_0x15801b{constructor(_0x261d61,_0x4e721f){const _0x557cea=a55_0x4f81;var _0xa54f9a;let _0x574999=registerProj(_0x557cea(0x85)+_0x4e721f['wkid'],undefined),_0x15a158={'LAYERS':(_0xa54f9a=_0x261d61[_0x557cea(0x7f)])===null||_0xa54f9a===void 0x0?void 0x0:_0xa54f9a['join'](','),'VERSION':'1.1.0'};_0x261d61[_0x557cea(0x78)]&&(_0x15a158[_0x557cea(0x73)]=_0x261d61[_0x557cea(0x78)]),super({'opacity':_0x261d61[_0x557cea(0x82)],'zIndex':_0x261d61['mapIndex'],'source':new a55_0x51d06b({'crossOrigin':_0x557cea(0x7e),'url':_0x261d61[_0x557cea(0x81)],'params':_0x15a158})}),this['id']=_0x261d61['id'],this[_0x557cea(0x86)]=_0x4e721f['initExtent'],this[_0x557cea(0x7b)]=_0x574999,this['layerInfo']=_0x261d61;}['refresh'](){}['setFilter'](_0x518ecb){const _0x25d49d=a55_0x4f81;var _0x483aef;(_0x483aef=this[_0x25d49d(0x77)]())===null||_0x483aef===void 0x0?void 0x0:_0x483aef['updateParams']({'CQL_FILTER':_0x518ecb});}}
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(_0x34ef9f,_0x58d282){const _0x1eb23e=a56_0x2968,_0x3471e1=_0x34ef9f();while(!![]){try{const _0x9f6f72=-parseInt(_0x1eb23e(0xdc))/0x1+parseInt(_0x1eb23e(0xde))/0x2*(parseInt(_0x1eb23e(0xd7))/0x3)+-parseInt(_0x1eb23e(0xdf))/0x4*(-parseInt(_0x1eb23e(0xe8))/0x5)+parseInt(_0x1eb23e(0xe7))/0x6*(parseInt(_0x1eb23e(0xeb))/0x7)+-parseInt(_0x1eb23e(0xe9))/0x8+parseInt(_0x1eb23e(0xec))/0x9+-parseInt(_0x1eb23e(0xe3))/0xa;if(_0x9f6f72===_0x58d282)break;else _0x3471e1['push'](_0x3471e1['shift']());}catch(_0x21da24){_0x3471e1['push'](_0x3471e1['shift']());}}}(a56_0x3b70,0x24774));import a56_0x1420d0 from'ol/layer/Tile';function a56_0x2968(_0x2d1fbf,_0x357cf4){const _0x3b70c5=a56_0x3b70();return a56_0x2968=function(_0x2968e9,_0x485b25){_0x2968e9=_0x2968e9-0xce;let _0x48e1d7=_0x3b70c5[_0x2968e9];return _0x48e1d7;},a56_0x2968(_0x2d1fbf,_0x357cf4);}function a56_0x3b70(){const _0x1b9794=['getResolutions','value','sourceXml','layer','matrixSet','getImage','url','opacity','wkid','tileGrid','mapIndex','token','initialExtent','name','boundingBoxExtent','layerInfo','435rCwCIC','origins_','sublayers','tileMatrixSet','projection','87324BSxAFw','?http','6qPNJpX','4uuASPg','indexOf','length','src','3039570zobczV','style','join','requestEncoding','6jUrHAY','1175010oGLJrX','10424pBhOPK','format','1705242RgmBdU','566145tZFbBN','replace'];a56_0x3b70=function(){return _0x1b9794;};return a56_0x3b70();}import a56_0x4dc999,{optionsFromCapabilities}from'ol/source/WMTS.js';import a56_0x17668d from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a56_0x1420d0{constructor(_0x17c919,_0x45c33c){const _0x1d496e=a56_0x2968;var _0x4791fb;let _0x29bf49='';_0x17c919[_0x1d496e(0xd9)]&&_0x17c919[_0x1d496e(0xd9)][_0x1d496e(0xe1)]>0x0&&(_0x29bf49=_0x17c919[_0x1d496e(0xd9)][_0x1d496e(0xe5)](','));const _0x906717='EPSG:'+_0x45c33c[_0x1d496e(0xcf)];let _0x4fadc4=registerProj(_0x906717);const _0x4f1e4d=optionsFromCapabilities(_0x45c33c[_0x1d496e(0xf0)],{'layer':(_0x4791fb=_0x17c919['sublayers'])===null||_0x4791fb===void 0x0?void 0x0:_0x4791fb[0x0],'matrixSet':_0x45c33c[_0x1d496e(0xda)],'format':'image/png'});let _0x1e190d=_0x4f1e4d['tileGrid'][_0x1d496e(0xd8)][0x0];_0x1e190d[0x0]===0x5a&&_0x1e190d[0x1]===-0xb4&&(_0x1e190d=[_0x1e190d[0x1],_0x1e190d[0x0]]),super({'opacity':_0x17c919[_0x1d496e(0xce)],'zIndex':_0x17c919[_0x1d496e(0xd1)],'source':new a56_0x4dc999({'urls':_0x4f1e4d['urls'],'requestEncoding':_0x4f1e4d[_0x1d496e(0xe6)],'layer':_0x4f1e4d[_0x1d496e(0xf1)],'tileLoadFunction':function(_0x3b1cc9,_0x1ebeda){const _0x3fd8b2=_0x1d496e,_0x159d79=_0x17c919[_0x3fd8b2(0xf4)]?_0x17c919[_0x3fd8b2(0xf4)]:'';let _0x128c84=getUrlParams(_0x159d79);if((_0x128c84===null||_0x128c84===void 0x0?void 0x0:_0x128c84[_0x3fd8b2(0xe1)])>0x0)for(let _0x446060 of _0x128c84){_0x1ebeda=addArgument(_0x1ebeda,_0x446060[_0x3fd8b2(0xd4)],_0x446060[_0x3fd8b2(0xef)]);}let _0x1b32d2=_0x1ebeda['indexOf'](_0x3fd8b2(0xdd));_0x1b32d2!==-0x1?_0x1ebeda['indexOf'](_0x3fd8b2(0xd2))===-0x1&&_0x1ebeda[_0x3fd8b2(0xe0)]('tk')===-0x1?_0x3b1cc9['getImage']()[_0x3fd8b2(0xe2)]=_0x1ebeda[_0x3fd8b2(0xed)]('&','?'):_0x3b1cc9[_0x3fd8b2(0xf3)]()['src']=_0x1ebeda:_0x3b1cc9[_0x3fd8b2(0xf3)]()['src']=_0x1ebeda;},'matrixSet':_0x4f1e4d[_0x1d496e(0xf2)],'format':_0x4f1e4d[_0x1d496e(0xea)],'projection':_0x4f1e4d[_0x1d496e(0xdb)],'tileGrid':new a56_0x17668d({'origin':_0x1e190d,'resolutions':_0x4f1e4d[_0x1d496e(0xd0)][_0x1d496e(0xee)](),'matrixIds':_0x4f1e4d['tileGrid']['getMatrixIds'](),'extent':_0x45c33c[_0x1d496e(0xd5)]}),'style':_0x45c33c[_0x1d496e(0xe4)],'wrapX':!![]})}),this['id']=_0x17c919['id'],this[_0x1d496e(0xd3)]=_0x45c33c[_0x1d496e(0xd5)],this[_0x1d496e(0xdb)]=_0x4fadc4,this[_0x1d496e(0xd6)]=_0x17c919;}}
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(_0x2b326b,_0x375c4f){const _0x2e8e2f=a57_0x30d3,_0x3bb435=_0x2b326b();while(!![]){try{const _0x3d1350=parseInt(_0x2e8e2f(0x144))/0x1+-parseInt(_0x2e8e2f(0x14f))/0x2*(parseInt(_0x2e8e2f(0x141))/0x3)+parseInt(_0x2e8e2f(0x159))/0x4*(-parseInt(_0x2e8e2f(0x14b))/0x5)+-parseInt(_0x2e8e2f(0x13f))/0x6+-parseInt(_0x2e8e2f(0x14a))/0x7+parseInt(_0x2e8e2f(0x152))/0x8+-parseInt(_0x2e8e2f(0x14e))/0x9*(-parseInt(_0x2e8e2f(0x140))/0xa);if(_0x3d1350===_0x375c4f)break;else _0x3bb435['push'](_0x3bb435['shift']());}catch(_0x5f0159){_0x3bb435['push'](_0x3bb435['shift']());}}}(a57_0x140c,0x4f766));import a57_0x370b96 from'ol/layer/VectorTile';import a57_0x2ae899 from'ol/source/VectorTile';function a57_0x140c(){const _0x321a18=['EPSG:','2116506qyJuKA','30zFqYVA','getMatrixIds','sourceXml','695664HZzfXM','49214xKzzrb','getResolutions','wkid','471048pUrfJb','image/png','projection','toString','GetTile','1.0.0','{x}','8408jXasjB','origins_','url','tileSizes_','{y}',':{z}','3757908TEcQnu','220cGbOvz','78mAHYeg','tileMatrixSet','mapIndex','147155bheYka','layerInfo','sublayers','tileGrid','initialExtent'];a57_0x140c=function(){return _0x321a18;};return a57_0x140c();}import a57_0x518337 from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a57_0x527b6a from'ol/tilegrid/WMTS';import{optionsFromCapabilities}from'ol/source/WMTS';import{addArgument}from'../utils/UrlUtil';function a57_0x30d3(_0x5d5940,_0x4f1f85){const _0x140cdb=a57_0x140c();return a57_0x30d3=function(_0x30d318,_0x3ef420){_0x30d318=_0x30d318-0x13b;let _0x5e8e83=_0x140cdb[_0x30d318];return _0x5e8e83;},a57_0x30d3(_0x5d5940,_0x4f1f85);}export default class GeoserverVectorTileLayer extends a57_0x370b96{constructor(_0x436b61,_0x1032da){const _0x6db6dd=a57_0x30d3;var _0xe6bdb5;let _0x4ccc18=registerProj('EPSG:'+_0x1032da[_0x6db6dd(0x151)]);const _0x2f6ebc=optionsFromCapabilities(_0x1032da[_0x6db6dd(0x14d)],{'layer':(_0xe6bdb5=_0x436b61[_0x6db6dd(0x146)])===null||_0xe6bdb5===void 0x0?void 0x0:_0xe6bdb5[0x0],'matrixSet':_0x1032da[_0x6db6dd(0x142)],'format':_0x6db6dd(0x153)});let _0x439904=_0x436b61[_0x6db6dd(0x146)]&&_0x436b61[_0x6db6dd(0x146)]['length']>0x0?_0x436b61['sublayers'][0x0]:'';const _0x9f42fb={'REQUEST':_0x6db6dd(0x156),'SERVICE':'WMTS','VERSION':_0x6db6dd(0x157),'LAYER':_0x439904,'STYLE':_0x1032da['style'][_0x6db6dd(0x155)](),'TILEMATRIX':_0x1032da['tileMatrixSet']+_0x6db6dd(0x13e),'TILEMATRIXSET':_0x1032da['tileMatrixSet'][_0x6db6dd(0x155)](),'FORMAT':'application/vnd.mapbox-vector-tile','TILECOL':_0x6db6dd(0x158),'TILEROW':_0x6db6dd(0x13d)};let _0x51d21d=_0x436b61[_0x6db6dd(0x13b)]?_0x436b61[_0x6db6dd(0x13b)]:'';for(const _0x155bdc in _0x9f42fb){_0x51d21d=addArgument(_0x51d21d,_0x155bdc,_0x9f42fb[_0x155bdc]);}super({'opacity':_0x436b61['opacity'],'zIndex':_0x436b61[_0x6db6dd(0x143)],'declutter':!![],'source':new a57_0x2ae899({'projection':_0x6db6dd(0x149)+_0x1032da[_0x6db6dd(0x151)],'format':new a57_0x518337(),'wrapX':!![],'extent':_0x1032da['boundingBoxExtent'],'tileGrid':new a57_0x527b6a({'tileSize':_0x2f6ebc[_0x6db6dd(0x147)][_0x6db6dd(0x13c)][0x0],'origin':_0x2f6ebc[_0x6db6dd(0x147)][_0x6db6dd(0x15a)][0x0],'resolutions':_0x2f6ebc[_0x6db6dd(0x147)][_0x6db6dd(0x150)](),'matrixIds':_0x2f6ebc[_0x6db6dd(0x147)][_0x6db6dd(0x14c)]()}),'url':_0x51d21d})}),this['id']=_0x436b61['id'],this[_0x6db6dd(0x148)]=_0x1032da['boundingBoxExtent'],this[_0x6db6dd(0x154)]=_0x4ccc18,this[_0x6db6dd(0x145)]=_0x436b61;}}
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_0x145420=a58_0x4737;(function(_0x4f2e81,_0x410e1f){const _0x1cc2f4=a58_0x4737,_0x13aa24=_0x4f2e81();while(!![]){try{const _0x44c719=-parseInt(_0x1cc2f4(0x133))/0x1+-parseInt(_0x1cc2f4(0x12c))/0x2*(parseInt(_0x1cc2f4(0x120))/0x3)+-parseInt(_0x1cc2f4(0x138))/0x4*(-parseInt(_0x1cc2f4(0x139))/0x5)+-parseInt(_0x1cc2f4(0x119))/0x6*(parseInt(_0x1cc2f4(0x11e))/0x7)+parseInt(_0x1cc2f4(0x122))/0x8+parseInt(_0x1cc2f4(0x135))/0x9*(-parseInt(_0x1cc2f4(0x111))/0xa)+-parseInt(_0x1cc2f4(0x137))/0xb*(-parseInt(_0x1cc2f4(0x113))/0xc);if(_0x44c719===_0x410e1f)break;else _0x13aa24['push'](_0x13aa24['shift']());}catch(_0x1cd96f){_0x13aa24['push'](_0x13aa24['shift']());}}}(a58_0x20be,0x7bc20));import a58_0x56c37f from'ol/source/Vector';import a58_0x12e03b from'ol/format/GeoJSON';function a58_0x20be(){const _0x491fa5=['6996624JdLcNq','readFeatures','push','application/json','EPSG:','initExtent','param字段不存在','between','catch','equalTo','3582xOuBkD','layerInfo','getSource','url','greaterThan','and','param','809206cPjktF','writeGetFeature','949401ljgeMZ','apply','319hwmFuJ','67240vpFxdK','55vIeAka','then','find','POST','fieldType','lessThanOrEqualTo','lessThan','layerFields','warn','90WUEpCo','wkid','903492iaozEs','not','type','string','length','type字段不存在','6fDCjYK','parseFilter','name','mapIndex','greaterThanOrEqualTo','4497437sjkOIn','filter','561qndrYc','sublayers'];a58_0x20be=function(){return _0x491fa5;};return a58_0x20be();}import{Vector as a58_0x19b001}from'ol/layer';import a58_0x57534b from'ol/format/WFS';import{registerProj}from'../utils/RegisterProjUtil';function a58_0x4737(_0x4ff658,_0x4dae38){const _0x20be71=a58_0x20be();return a58_0x4737=function(_0x4737b5,_0x46715d){_0x4737b5=_0x4737b5-0x10a;let _0x16080a=_0x20be71[_0x4737b5];return _0x16080a;},a58_0x4737(_0x4ff658,_0x4dae38);}import{bbox}from'ol/loadingstrategy';import a58_0x4e5396 from'../utils/format/CQL';import*as a58_0x4369f8 from'ol/format/filter';export default class GeoserverWFSLayer extends a58_0x19b001{constructor(_0x186bef,_0xdbc579){const _0x16bfee=a58_0x4737;let _0x537580=registerProj(_0x16bfee(0x126)+_0xdbc579[_0x16bfee(0x112)]);const _0x113890=_0xdbc579[_0x16bfee(0x10f)][_0x16bfee(0x10a)](_0x1acdee=>_0x1acdee[_0x16bfee(0x10c)]==0x6);super({'zIndex':_0x186bef[_0x16bfee(0x11c)],'source':new a58_0x56c37f({'format':new a58_0x12e03b(),'loader':(_0x18f849,_0x49f54b,_0x304f52,_0x1a2932,_0x10bd76)=>{const _0xccf939=_0x16bfee;let _0x4063bc=_0x186bef['loadFilter'],_0x1b78f8={'srsName':_0x304f52['getCode'](),'featureTypes':_0x186bef[_0xccf939(0x121)],'bbox':_0x18f849,'geometryName':_0x113890?_0x113890[_0xccf939(0x11b)]:'','outputFormat':_0xccf939(0x125)};_0x4063bc&&(typeof _0x4063bc===_0xccf939(0x116)?_0x1b78f8[_0xccf939(0x11f)]=new a58_0x4e5396()['read'](_0x4063bc):_0x1b78f8[_0xccf939(0x11f)]=this[_0xccf939(0x11a)](_0x4063bc));var _0x1abd7d=new a58_0x57534b()[_0xccf939(0x134)](_0x1b78f8);let _0x172e80=_0x186bef[_0xccf939(0x12f)]?_0x186bef[_0xccf939(0x12f)]:'';fetch(_0x172e80,{'method':_0xccf939(0x10b),'body':new XMLSerializer()['serializeToString'](_0x1abd7d)})[_0xccf939(0x13a)](_0x3bf0ca=>{return _0x3bf0ca['json']();})[_0xccf939(0x13a)](_0x25f142=>{const _0x4e347e=_0xccf939,_0x34a5f9=new a58_0x12e03b()[_0x4e347e(0x123)](_0x25f142);let _0xe658ab=this['getSource']();_0xe658ab&&_0xe658ab['addFeatures'](_0x34a5f9);if(_0x1a2932)_0x1a2932(_0x34a5f9);})[_0xccf939(0x12a)](()=>{const _0x50b04b=_0xccf939;let _0x58859a=this[_0x50b04b(0x12e)]();_0x58859a&&_0x58859a['removeLoadedExtent'](_0x18f849);if(_0x10bd76)_0x10bd76();});},'strategy':bbox})}),this['id']=_0x186bef['id'],this['initialExtent']=_0xdbc579[_0x16bfee(0x127)],this['projection']=_0x537580,this[_0x16bfee(0x12d)]=_0x186bef;}[a58_0x145420(0x11a)](_0x1ee71d){const _0x257c85=a58_0x145420;if(!_0x1ee71d[_0x257c85(0x115)]){console['warn'](_0x257c85(0x118));return;}if(!_0x1ee71d[_0x257c85(0x132)]){console[_0x257c85(0x110)](_0x257c85(0x128));return;}let _0xc88fa6=[];switch(_0x1ee71d[_0x257c85(0x115)]['toLowerCase']()){case _0x257c85(0x131):for(let _0x45054d=0x0;_0x45054d<_0x1ee71d[_0x257c85(0x132)]['length'];_0x45054d++){let _0x2e7c14=this[_0x257c85(0x11a)](_0x1ee71d[_0x257c85(0x132)][_0x45054d]);_0xc88fa6[_0x257c85(0x124)](_0x2e7c14);}return a58_0x4369f8[_0x257c85(0x131)][_0x257c85(0x136)](null,_0xc88fa6);case'or':for(let _0xa0e447=0x0;_0xa0e447<_0x1ee71d[_0x257c85(0x132)][_0x257c85(0x117)];_0xa0e447++){let _0x4a1af3=this[_0x257c85(0x11a)](_0x1ee71d['param'][_0xa0e447]);_0xc88fa6['push'](_0x4a1af3);}return a58_0x4369f8['or']['apply'](null,_0xc88fa6);case _0x257c85(0x114):for(let _0x214124=0x0;_0x214124<_0x1ee71d['param'][_0x257c85(0x117)];_0x214124++){let _0x510377=this[_0x257c85(0x11a)](_0x1ee71d[_0x257c85(0x132)][_0x214124]);_0xc88fa6[_0x257c85(0x124)](_0x510377);}return a58_0x4369f8[_0x257c85(0x114)][_0x257c85(0x136)](null,_0xc88fa6);case'=':return a58_0x4369f8[_0x257c85(0x12b)](_0x1ee71d['param'][0x0],_0x1ee71d['param'][0x1]);case'!==':return a58_0x4369f8['notEqualTo'](_0x1ee71d[_0x257c85(0x132)][0x0],_0x1ee71d['param'][0x1]);case'>':return a58_0x4369f8[_0x257c85(0x130)](_0x1ee71d[_0x257c85(0x132)][0x0],_0x1ee71d[_0x257c85(0x132)][0x1]);case'<':return a58_0x4369f8[_0x257c85(0x10e)](_0x1ee71d[_0x257c85(0x132)][0x0],_0x1ee71d[_0x257c85(0x132)][0x1]);case'>=':return a58_0x4369f8[_0x257c85(0x11d)](_0x1ee71d['param'][0x0],_0x1ee71d[_0x257c85(0x132)][0x1]);case'<=':return a58_0x4369f8[_0x257c85(0x10d)](_0x1ee71d[_0x257c85(0x132)][0x0],_0x1ee71d['param'][0x1]);case _0x257c85(0x129):return a58_0x4369f8['between'](_0x1ee71d[_0x257c85(0x132)][0x0],_0x1ee71d[_0x257c85(0x132)][0x1],_0x1ee71d[_0x257c85(0x132)][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_0x26c1(){const _0x5a22ad=['269990uHRSJY','initialExtent','updateParams','layerInfo','projection','EPSG:','opacity','initExtent','9550660KgWryA','mapIndex','setFilter','11176920VSRlNv','1.1.0','sublayers','loadFilter','1478GFjDEf','207gwZeax','6804952hxGwxt','18lrgiVn','2086825pwiLdm','1654177NidUyz','6DSFnBp'];a59_0x26c1=function(){return _0x5a22ad;};return a59_0x26c1();}const a59_0x188a17=a59_0x2f0e;(function(_0x5d9468,_0x1e72d3){const _0x3cf28f=a59_0x2f0e,_0xeaaedd=_0x5d9468();while(!![]){try{const _0x901476=parseInt(_0x3cf28f(0xa3))/0x1+-parseInt(_0x3cf28f(0xb2))/0x2*(-parseInt(_0x3cf28f(0xb3))/0x3)+parseInt(_0x3cf28f(0xb4))/0x4+-parseInt(_0x3cf28f(0xa0))/0x5+-parseInt(_0x3cf28f(0xa2))/0x6*(parseInt(_0x3cf28f(0xa1))/0x7)+parseInt(_0x3cf28f(0xae))/0x8+-parseInt(_0x3cf28f(0xb5))/0x9*(parseInt(_0x3cf28f(0xab))/0xa);if(_0x901476===_0x1e72d3)break;else _0xeaaedd['push'](_0xeaaedd['shift']());}catch(_0x1b4f6d){_0xeaaedd['push'](_0xeaaedd['shift']());}}}(a59_0x26c1,0xd0de6));import{ImageWMS as a59_0x58643e}from'ol/source';function a59_0x2f0e(_0x1842df,_0x589282){const _0x26c104=a59_0x26c1();return a59_0x2f0e=function(_0x2f0e57,_0x1225fc){_0x2f0e57=_0x2f0e57-0xa0;let _0x4b2df4=_0x26c104[_0x2f0e57];return _0x4b2df4;},a59_0x2f0e(_0x1842df,_0x589282);}import{Image as a59_0x30ff1f}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a59_0x30ff1f{constructor(_0x1cef1c,_0x1b1f83){const _0x1603a4=a59_0x2f0e;var _0x2f0e96;let _0xdbffae=registerProj(_0x1603a4(0xa8)+_0x1b1f83['wkid']),_0x847e42={'LAYERS':(_0x2f0e96=_0x1cef1c[_0x1603a4(0xb0)])===null||_0x2f0e96===void 0x0?void 0x0:_0x2f0e96['join'](','),'VERSION':_0x1603a4(0xaf)};_0x1cef1c[_0x1603a4(0xb1)]&&(_0x847e42['CQL_FILTER']=_0x1cef1c[_0x1603a4(0xb1)]),super({'opacity':_0x1cef1c[_0x1603a4(0xa9)],'zIndex':_0x1cef1c[_0x1603a4(0xac)],'source':new a59_0x58643e({'crossOrigin':'anonymous','url':_0x1cef1c['url'],'params':_0x847e42})}),this['id']=_0x1cef1c['id'],this[_0x1603a4(0xa4)]=_0x1b1f83[_0x1603a4(0xaa)],this[_0x1603a4(0xa7)]=_0xdbffae,this[_0x1603a4(0xa6)]=_0x1cef1c;}['refresh'](){}[a59_0x188a17(0xad)](_0xde08ec){const _0x348dec=a59_0x188a17;var _0x204502;(_0x204502=this['getSource']())===null||_0x204502===void 0x0?void 0x0:_0x204502[_0x348dec(0xa5)]({'CQL_FILTER':_0xde08ec});}}
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_0x3a26(){const _0x521370=['1050630kYJYQI','projection','sublayers','2804871pzEWLD','layerInfo','initialExtent','4ioOpDI','13sCDmLL','未找到投影信息','9681129cAUjvA','22106340UOFqSH','83294RxWiVd','8QjCEwE','tileMatrixSet','EPSG:','wkid','1903559CUipWX','sourceXml','4880286EEFhfb','mapIndex','opacity'];a60_0x3a26=function(){return _0x521370;};return a60_0x3a26();}(function(_0x4712b6,_0x77d621){const _0x3f0631=a60_0x407e,_0x351a16=_0x4712b6();while(!![]){try{const _0x3044e5=parseInt(_0x3f0631(0x1c7))/0x1*(-parseInt(_0x3f0631(0x1b6))/0x2)+parseInt(_0x3f0631(0x1c3))/0x3*(parseInt(_0x3f0631(0x1c6))/0x4)+parseInt(_0x3f0631(0x1c0))/0x5+parseInt(_0x3f0631(0x1bd))/0x6+parseInt(_0x3f0631(0x1bb))/0x7+-parseInt(_0x3f0631(0x1b7))/0x8*(-parseInt(_0x3f0631(0x1c9))/0x9)+-parseInt(_0x3f0631(0x1b5))/0xa;if(_0x3044e5===_0x77d621)break;else _0x351a16['push'](_0x351a16['shift']());}catch(_0x5e93ae){_0x351a16['push'](_0x351a16['shift']());}}}(a60_0x3a26,0x87435));import a60_0x48dd64 from'ol/layer/Tile';import a60_0x49bbc8,{optionsFromCapabilities}from'ol/source/WMTS.js';function a60_0x407e(_0x530fbd,_0x3ae5d2){const _0x3a2690=a60_0x3a26();return a60_0x407e=function(_0x407e02,_0x6ca72f){_0x407e02=_0x407e02-0x1b5;let _0x4fbe32=_0x3a2690[_0x407e02];return _0x4fbe32;},a60_0x407e(_0x530fbd,_0x3ae5d2);}import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMTSLayer extends a60_0x48dd64{constructor(_0x529a6a,_0x20d5b1){const _0xb7cbc2=a60_0x407e;var _0x5817ec;const _0x241af8=_0xb7cbc2(0x1b9)+_0x20d5b1[_0xb7cbc2(0x1ba)];let _0x36742d=registerProj(_0x241af8);if(!_0x36742d)throw new Error(_0xb7cbc2(0x1c8));const _0x23d9d1=optionsFromCapabilities(_0x20d5b1[_0xb7cbc2(0x1bc)],{'layer':(_0x5817ec=_0x529a6a[_0xb7cbc2(0x1c2)])===null||_0x5817ec===void 0x0?void 0x0:_0x5817ec[0x0],'matrixSet':_0x20d5b1[_0xb7cbc2(0x1b8)],'format':'image/png'});if(!_0x23d9d1)throw new Error('解析元数据失败');super({'opacity':_0x529a6a[_0xb7cbc2(0x1bf)],'zIndex':_0x529a6a[_0xb7cbc2(0x1be)],'source':new a60_0x49bbc8(_0x23d9d1)}),this['id']=_0x529a6a['id'],this[_0xb7cbc2(0x1c5)]=_0x20d5b1['boundingBoxExtent'],this[_0xb7cbc2(0x1c1)]=_0x36742d,this[_0xb7cbc2(0x1c4)]=_0x529a6a;}}
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
- const a62_0x2293d1=a62_0x10c9;(function(_0x1386f7,_0x284982){const _0x3d60be=a62_0x10c9,_0x1d3822=_0x1386f7();while(!![]){try{const _0x29afbb=-parseInt(_0x3d60be(0xc4))/0x1*(-parseInt(_0x3d60be(0xca))/0x2)+parseInt(_0x3d60be(0xcc))/0x3*(-parseInt(_0x3d60be(0xcb))/0x4)+parseInt(_0x3d60be(0xc6))/0x5+parseInt(_0x3d60be(0xc8))/0x6*(-parseInt(_0x3d60be(0xce))/0x7)+-parseInt(_0x3d60be(0xc3))/0x8*(-parseInt(_0x3d60be(0xcf))/0x9)+-parseInt(_0x3d60be(0xc5))/0xa*(parseInt(_0x3d60be(0xd1))/0xb)+parseInt(_0x3d60be(0xc7))/0xc*(parseInt(_0x3d60be(0xd5))/0xd);if(_0x29afbb===_0x284982)break;else _0x1d3822['push'](_0x1d3822['shift']());}catch(_0x1d5a12){_0x1d3822['push'](_0x1d3822['shift']());}}}(a62_0x246c,0x40565));function a62_0x10c9(_0x331bfa,_0x42d672){const _0x246c6b=a62_0x246c();return a62_0x10c9=function(_0x10c965,_0x26e47b){_0x10c965=_0x10c965-0xc3;let _0x509f95=_0x246c6b[_0x10c965];return _0x509f95;},a62_0x10c9(_0x331bfa,_0x42d672);}import a62_0x129f52 from'./ArcgisDynamicLayer';import a62_0x1f497e from'./ArcgisFeatureLayer';import a62_0x3ae7ed from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a62_0x1a2097 from'./ArcgisTileLayer';import a62_0xea474 from'./GeoserverWMSLayer';function a62_0x246c(){const _0x4a545e=['length','getArcgisWMTSLayer','338SFnHRs','getGeoserverWmsLayer','getArcgisWmsLayer','getTDTLayer','35720YFiSwW','100335fqlWlO','310gFoaYU','692390zGvQBR','136788fmUIRN','18432vpOUee','sublayers','10VERfOa','10600hXkHXG','447BBaIoD','url','315VRCFlZ','477UqSjLW','getGeoserverWMTSLayer','133617ZPdTPK','getDynamicLayer'];a62_0x246c=function(){return _0x4a545e;};return a62_0x246c();}import a62_0x43e856 from'./GeoserverWMTSLayer';import a62_0x190294 from'./ArcgisWMSLayer';import a62_0x5c050b from'./ArcgisWMTSLayer';import a62_0x233ad0 from'./GeoserverWFSLayer';import a62_0x2307cb from'./GeoserverVectorTile';export default class LayerManagement{static async[a62_0x2293d1(0xd2)](_0x18ff5f){const _0x22312b=a62_0x2293d1,_0x192d2f=await getDynamicLayerInfo(_0x18ff5f[_0x22312b(0xcd)]?_0x18ff5f[_0x22312b(0xcd)]:'');let _0x1c6456=new a62_0x129f52(_0x18ff5f,_0x192d2f);return _0x1c6456;}static async['getArcgisTileLayer'](_0x268fc0){const _0x779452=a62_0x2293d1,_0x712762=await getDynamicLayerInfo(_0x268fc0[_0x779452(0xcd)]?_0x268fc0[_0x779452(0xcd)]:'');let _0x123f15=new a62_0x1a2097(_0x268fc0,_0x712762);return _0x123f15;}static async['getArcgisFeatureLayer'](_0x42947e){const _0x25e521=a62_0x2293d1,_0x2dc84d=await getDynamicLayerInfo(_0x42947e[_0x25e521(0xcd)]?_0x42947e['url']:'');let _0x37dfe7=[];if(_0x42947e['sublayers'])for(let _0x38fb9d=0x0;_0x38fb9d<_0x42947e[_0x25e521(0xc9)][_0x25e521(0xd3)];_0x38fb9d++){const _0x5517aa=_0x42947e[_0x25e521(0xc9)][_0x38fb9d];_0x37dfe7['push'](await getFeatureLayerInfo(_0x42947e['url']?_0x42947e[_0x25e521(0xcd)]:'',_0x5517aa));}let _0xaf91da=new a62_0x1f497e(_0x42947e,_0x2dc84d,_0x37dfe7);return _0xaf91da;}static async[a62_0x2293d1(0xd7)](_0x9999f0){const _0x1e4e7b=a62_0x2293d1;var _0x38a8d7;const _0x41f277=(_0x38a8d7=_0x9999f0[_0x1e4e7b(0xc9)])===null||_0x38a8d7===void 0x0?void 0x0:_0x38a8d7[0x0],_0x2fc550=await getWMSLayerCapabilities(_0x9999f0[_0x1e4e7b(0xcd)]?_0x9999f0[_0x1e4e7b(0xcd)]:'',_0x41f277==null?'':_0x41f277);let _0x1d1841=new a62_0x190294(_0x9999f0,_0x2fc550);return _0x1d1841;}static async[a62_0x2293d1(0xd4)](_0x4117f9){const _0x579810=a62_0x2293d1;var _0x479822;const _0x4a41ae=(_0x479822=_0x4117f9[_0x579810(0xc9)])===null||_0x479822===void 0x0?void 0x0:_0x479822[0x0],_0x3cf398=await getWMTSLayerCapabilities(_0x4117f9[_0x579810(0xcd)]?_0x4117f9[_0x579810(0xcd)]:'',_0x4a41ae==null?'':_0x4a41ae);let _0x34607d=new a62_0x5c050b(_0x4117f9,_0x3cf398);return _0x34607d;}static async[a62_0x2293d1(0xd6)](_0x5d97a2){const _0x3490e7=a62_0x2293d1;var _0x596023;const _0x4fc771=(_0x596023=_0x5d97a2[_0x3490e7(0xc9)])===null||_0x596023===void 0x0?void 0x0:_0x596023[0x0],_0x1f4af5=await getWMSLayerCapabilities(_0x5d97a2['url']?_0x5d97a2[_0x3490e7(0xcd)]:'',_0x4fc771==null?'':_0x4fc771);let _0xb3256=new a62_0xea474(_0x5d97a2,_0x1f4af5);return _0xb3256;}static async[a62_0x2293d1(0xd0)](_0x459e79){const _0x247060=a62_0x2293d1;var _0x38c1d5;const _0x20a5eb=(_0x38c1d5=_0x459e79['sublayers'])===null||_0x38c1d5===void 0x0?void 0x0:_0x38c1d5[0x0],_0x7f76ce=await getWMTSLayerCapabilities(_0x459e79['url']?_0x459e79[_0x247060(0xcd)]:'',_0x20a5eb==null?'':_0x20a5eb);let _0x8e711f=new a62_0x43e856(_0x459e79,_0x7f76ce);return _0x8e711f;}static async['getGeoserverWFSLayer'](_0x495c46){const _0x5522fc=a62_0x2293d1;var _0x57ad27;const _0x27cad0=(_0x57ad27=_0x495c46[_0x5522fc(0xc9)])===null||_0x57ad27===void 0x0?void 0x0:_0x57ad27[0x0],_0x500530=await getWFSLayerCapabilities(_0x495c46[_0x5522fc(0xcd)]?_0x495c46['url']:'',_0x27cad0==null?'':_0x27cad0);let _0x201cce=new a62_0x233ad0(_0x495c46,_0x500530);return _0x201cce;}static async['getGeoserverVectorTileLayer'](_0x25cb27){const _0x33a7fb=a62_0x2293d1;var _0x565fd5;const _0x3f3eb8=(_0x565fd5=_0x25cb27[_0x33a7fb(0xc9)])===null||_0x565fd5===void 0x0?void 0x0:_0x565fd5[0x0],_0x39a428=await getWMTSLayerCapabilities(_0x25cb27['url']?_0x25cb27[_0x33a7fb(0xcd)]:'',_0x3f3eb8==null?'':_0x3f3eb8);let _0x3d41b2=new a62_0x2307cb(_0x25cb27,_0x39a428);return _0x3d41b2;}static async[a62_0x2293d1(0xd8)](_0x290aa5){const _0xd3bc0=a62_0x2293d1;var _0x2659d6;const _0x1a1d99=(_0x2659d6=_0x290aa5[_0xd3bc0(0xc9)])===null||_0x2659d6===void 0x0?void 0x0:_0x2659d6[0x0],_0x4dd04a=await getWMTSLayerCapabilities(_0x290aa5[_0xd3bc0(0xcd)]?_0x290aa5[_0xd3bc0(0xcd)]:'',_0x1a1d99==null?'':_0x1a1d99);let _0x190974=new a62_0x3ae7ed(_0x290aa5,_0x4dd04a);return _0x190974;}}
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(_0x35ce6a,_0x5a58bd){const _0x3fe635=a63_0x1782,_0x3fa6b6=_0x35ce6a();while(!![]){try{const _0x41d7f0=parseInt(_0x3fe635(0x1da))/0x1+parseInt(_0x3fe635(0x1db))/0x2+-parseInt(_0x3fe635(0x1d7))/0x3+parseInt(_0x3fe635(0x1cc))/0x4+parseInt(_0x3fe635(0x1c9))/0x5+-parseInt(_0x3fe635(0x1d3))/0x6+-parseInt(_0x3fe635(0x1d1))/0x7;if(_0x41d7f0===_0x5a58bd)break;else _0x3fa6b6['push'](_0x3fa6b6['shift']());}catch(_0x22bb49){_0x3fa6b6['push'](_0x3fa6b6['shift']());}}}(a63_0x2986,0x6fa1d));function a63_0x2986(){const _0x54c1cd=['1640185yjGGEF','sublayers','layerInfo','2478532IoWBrm','url','opacity','boundingBoxExtent','projection','3855453EeGuCQ','pow','2944986qRIphB','style','length','KVP','1579029PeXZfD','mapIndex','1.0.0','909522qyjHLa','336012OVoKHw'];a63_0x2986=function(){return _0x54c1cd;};return a63_0x2986();}import a63_0x38c420 from'ol/layer/Tile';function a63_0x1782(_0x3bcb8f,_0x1fc8c9){const _0x2986e5=a63_0x2986();return a63_0x1782=function(_0x178288,_0x326bc3){_0x178288=_0x178288-0x1c9;let _0x3054fb=_0x2986e5[_0x178288];return _0x3054fb;},a63_0x1782(_0x3bcb8f,_0x1fc8c9);}import{WMTS as a63_0x1119c8}from'ol/source';import a63_0x24b704 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a63_0x38c420{constructor(_0x2de4ee,_0x2429e8){const _0x436bab=a63_0x1782;let _0x19832b='';_0x2de4ee[_0x436bab(0x1ca)]&&_0x2de4ee[_0x436bab(0x1ca)][_0x436bab(0x1d5)]>0x0&&(_0x19832b=_0x2de4ee[_0x436bab(0x1ca)]['join'](','));const _0x505923='EPSG:4490';let _0x2d5aef=registerProj(_0x505923);const _0xf60f43=[],_0x55163f=[];for(let _0x1f07bb=0x1;_0x1f07bb<0x13;_0x1f07bb++){_0xf60f43[_0x1f07bb]=getWidth(_0x2429e8[_0x436bab(0x1cf)])/(0x100*Math[_0x436bab(0x1d2)](0x2,_0x1f07bb)),_0x55163f[_0x1f07bb]=_0x1f07bb+'';}super({'opacity':_0x2de4ee[_0x436bab(0x1ce)],'zIndex':_0x2de4ee[_0x436bab(0x1d8)],'source':new a63_0x1119c8({'style':_0x2429e8[_0x436bab(0x1d4)],'url':_0x2de4ee[_0x436bab(0x1cd)],'tileGrid':new a63_0x24b704({'origin':getTopLeft(_0x2429e8[_0x436bab(0x1cf)]),'resolutions':_0xf60f43,'matrixIds':_0x55163f}),'layer':_0x19832b,'matrixSet':_0x2429e8['tileMatrixSet'],'version':_0x436bab(0x1d9),'format':_0x2429e8['format'][0x0],'projection':_0x505923,'requestEncoding':_0x436bab(0x1d6)})}),this['id']=_0x2de4ee['id'],this['initialExtent']=_0x2429e8[_0x436bab(0x1cf)],this[_0x436bab(0x1d0)]=_0x2d5aef,this[_0x436bab(0x1cb)]=_0x2de4ee;}}
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
- function a64_0x387f(){const _0x28042f=['projection','_options','setProperties','interactionManager','2319iASsQn','7Bxeaqt','getGeoserverWMTSLayer','import','filter','getTarget','locationGeometrys','6414088ETBOIL','maxResolution','push','locationGeometry','getArcgisWmsLayer','getTempLayerById','getLayersByIds','maxScale','remove','layerIds','minZoom','tdt-c','getLayerByLayerTag','getPointTempLayer','refresh','3661064LqhHSI','getLayerById','1308905woRtJw','minScale','add','fitLayerById','getProjection','getType','maxZoom','removeLayer','all','rgba(255,\x200,\x200,\x200.2)','setGeometry','getGeoserverWFSLayer','locationWKTs','center','geoserver-wmts','getTempLayerByGeoType','getView','EPSG:4490','LineString','setStyle','tag','fitLayer','getDynamicLayer','getSize','getGeoserverWmsLayer','arcgis-tile','layerType','getTDTLayer','】服务类型','getArcgisTileLayer','removeLayerById','geoserver-wms','getZIndex','polygonTempLayer','setCenter','getLayers','setResolution','getPolygonTempLayer','pointTempLayer','getLength','rgba(255,\x200,\x200,\x201)','getCode','lineTempLayer','fromType','changelayer','EPSG:','setProjection','getExtent','addFeatures','zoom','includes','7603086IPvVod','MultiPoint','40HzVPtK','resetViewProjection','setMaxResolution','insertAt','暂不支持【','GeometryCollection','layerTag','getSource','18hstbSH','getArray','arcgis-wms','length','locationWKT','flashGeometrys','458339hQlOAA','dispatchEvent','getResolution','2854XFqKwt','minResolution','fit','setMinResolution','Polygon','layerInfo','MultiPolygon','addMapLayer','initialExtent','getMetersPerUnit','Point','constrainResolution','5858412GAOszr','geoserver-wfs','getLineTempLayer','extent','oncontextmenu'];a64_0x387f=function(){return _0x28042f;};return a64_0x387f();}const a64_0x5c9b20=a64_0x5b54;(function(_0x1b569c,_0x4fdbf4){const _0x578ff1=a64_0x5b54,_0x14bfce=_0x1b569c();while(!![]){try{const _0x389797=-parseInt(_0x578ff1(0xd9))/0x1+parseInt(_0x578ff1(0xdc))/0x2*(-parseInt(_0x578ff1(0x7e))/0x3)+-parseInt(_0x578ff1(0xe8))/0x4+-parseInt(_0x578ff1(0x96))/0x5+-parseInt(_0x578ff1(0xc9))/0x6*(-parseInt(_0x578ff1(0x7f))/0x7)+-parseInt(_0x578ff1(0x85))/0x8*(-parseInt(_0x578ff1(0xd3))/0x9)+parseInt(_0x578ff1(0xcb))/0xa*(parseInt(_0x578ff1(0x94))/0xb);if(_0x389797===_0x4fdbf4)break;else _0x14bfce['push'](_0x14bfce['shift']());}catch(_0x2aff7d){_0x14bfce['push'](_0x14bfce['shift']());}}}(a64_0x387f,0xdf31d));import'ol/ol.css';import'../assets/main.css';import a64_0x2f689f from'ol/Map';import a64_0x49d3d8 from'ol/events/Event';import{defaults as a64_0x43ee17}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a64_0x3e1bbd from'../layers/LayerManager';import a64_0x750b1b from'ol/layer/Vector';import a64_0x5db3b4 from'ol/source/Vector';import a64_0x576458 from'../controls/ControlManager';import a64_0x1338df from'../entity/Feature';import a64_0x36a188 from'../interaction/InteractionManager';import a64_0x5907cf from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a64_0x28946e from'../feature/FeatureManager';function a64_0x5b54(_0x109f35,_0x1d84e0){const _0x387f81=a64_0x387f();return a64_0x5b54=function(_0x5b549a,_0x52e590){_0x5b549a=_0x5b549a-0x78;let _0x5cea13=_0x387f81[_0x5b549a];return _0x5cea13;},a64_0x5b54(_0x109f35,_0x1d84e0);}import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a64_0x49d3d8{constructor(_0x24de9e,_0x1cee82,_0x518e23){const _0xfa5432=a64_0x5b54;super(_0x24de9e),this[_0xfa5432(0x8e)]=_0x1cee82,this['changetype']=_0x518e23;}}export default class OLMap extends a64_0x2f689f{constructor(_0x42e733,_0x131843,_0x1242e6){const _0x3ce1d6=a64_0x5b54;_0x131843=_0x131843?_0x131843:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x5d3a5a=_0x131843[_0x3ce1d6(0x7a)]?_0x3ce1d6(0xc3)+_0x131843['projection']:_0x3ce1d6(0xa7);_0x131843[_0x3ce1d6(0xc7)]=_0x131843[_0x3ce1d6(0xc7)]?_0x131843[_0x3ce1d6(0xc7)]:0xa,_0x131843['minZoom']=_0x131843[_0x3ce1d6(0x8f)]?_0x131843[_0x3ce1d6(0x8f)]:0x0,_0x131843[_0x3ce1d6(0x9c)]=_0x131843[_0x3ce1d6(0x9c)]?_0x131843['maxZoom']:0x1c,_0x131843[_0x3ce1d6(0xe7)]=_0x131843[_0x3ce1d6(0xe7)]?_0x131843[_0x3ce1d6(0xe7)]:![],_0x131843[_0x3ce1d6(0xa3)]=_0x131843['center']?_0x131843[_0x3ce1d6(0xa3)]:[117.22718,31.820386],registerProj(_0x5d3a5a);const _0x309548={'target':_0x42e733,'view':_0x1242e6?_0x1242e6:new a64_0x5907cf({'center':_0x131843[_0x3ce1d6(0xa3)],'zoom':_0x131843[_0x3ce1d6(0xc7)],'projection':_0x5d3a5a,'minZoom':_0x131843[_0x3ce1d6(0x8f)],'maxZoom':_0x131843[_0x3ce1d6(0x9c)],'minResolution':_0x131843[_0x3ce1d6(0xdd)],'maxResolution':_0x131843[_0x3ce1d6(0x86)],'constrainResolution':_0x131843[_0x3ce1d6(0xe7)]}),'controls':a64_0x43ee17({'zoom':![]})};super(_0x309548);_0x131843[_0x3ce1d6(0x78)]&&this['getView']()['fit'](_0x131843[_0x3ce1d6(0x78)]);const _0x48d298=this[_0x3ce1d6(0x83)]();if(_0x48d298 instanceof HTMLElement)_0x48d298[_0x3ce1d6(0x79)]=function(_0x48c7c3){return![];};else{const _0x5e64c4=document['getElementById'](_0x48d298);_0x5e64c4&&(_0x5e64c4['oncontextmenu']=function(_0x3dee3e){return![];});}this[_0x3ce1d6(0x7d)]=new a64_0x36a188(this),this['controlManager']=new a64_0x576458(this),this[_0x3ce1d6(0x7b)]=_0x131843;}[a64_0x5c9b20(0xa6)](){const _0x45feea=a64_0x5c9b20;return super[_0x45feea(0xa6)]();}[a64_0x5c9b20(0x93)](){const _0x299864=a64_0x5c9b20;let _0x2ebfc0=this[_0x299864(0xa6)]()[_0x299864(0xdb)]();_0x2ebfc0&&this[_0x299864(0xa6)]()[_0x299864(0xba)](_0x2ebfc0-1e-11);}[a64_0x5c9b20(0xab)](_0x5c74fa){const _0x1b32ee=a64_0x5c9b20;var _0x14855b;this['getView']()[_0x1b32ee(0xde)](transformExtent(_0x5c74fa[_0x1b32ee(0xe4)],(_0x14855b=_0x5c74fa[_0x1b32ee(0x7a)])===null||_0x14855b===void 0x0?void 0x0:_0x14855b[_0x1b32ee(0xbf)](),this[_0x1b32ee(0xa6)]()[_0x1b32ee(0x9a)]()[_0x1b32ee(0xbf)]()));}[a64_0x5c9b20(0x99)](_0x5a6ba6){const _0x4dcf7f=a64_0x5c9b20;let _0x18ae87=this['getLayerById'](_0x5a6ba6);_0x18ae87&&this[_0x4dcf7f(0xab)](_0x18ae87);}async[a64_0x5c9b20(0xe3)](_0x4b21a2){const _0xf8ed2d=a64_0x5c9b20;let _0x49ba09;switch(_0x4b21a2['layerType']){case'arcgis-feature':_0x49ba09=await a64_0x3e1bbd['getArcgisFeatureLayer'](_0x4b21a2);break;case'arcgis-dynamic':_0x49ba09=await a64_0x3e1bbd[_0xf8ed2d(0xac)](_0x4b21a2);break;case _0xf8ed2d(0xaf):_0x49ba09=await a64_0x3e1bbd[_0xf8ed2d(0xb3)](_0x4b21a2);break;case _0xf8ed2d(0xd5):_0x49ba09=await a64_0x3e1bbd[_0xf8ed2d(0x89)](_0x4b21a2);break;case'arcgis-wmts':_0x49ba09=await a64_0x3e1bbd['getArcgisWMTSLayer'](_0x4b21a2);break;case _0xf8ed2d(0xb5):_0x49ba09=await a64_0x3e1bbd[_0xf8ed2d(0xae)](_0x4b21a2);break;case _0xf8ed2d(0xe9):_0x49ba09=await a64_0x3e1bbd[_0xf8ed2d(0xa1)](_0x4b21a2);break;case _0xf8ed2d(0xa4):_0x49ba09=await a64_0x3e1bbd[_0xf8ed2d(0x80)](_0x4b21a2);break;case'geoserver-vector-tile':_0x49ba09=await a64_0x3e1bbd['getGeoserverVectorTileLayer'](_0x4b21a2);break;case _0xf8ed2d(0x90):_0x49ba09=await a64_0x3e1bbd[_0xf8ed2d(0xb1)](_0x4b21a2);break;default:throw new Error(_0xf8ed2d(0xcf)+_0x4b21a2[_0xf8ed2d(0xb0)]+_0xf8ed2d(0xb2));}return this['addLayer'](_0x49ba09),this[_0xf8ed2d(0xda)](new ChangeLayerEvent(_0xf8ed2d(0xc2),[_0x4b21a2['id']],_0xf8ed2d(0x98))),_0x49ba09;}async['addMapLayers'](_0x5092b4){const _0x1f15d1=a64_0x5c9b20;let _0x1cc468=[];const _0x1f52da=[];for(let _0x2b7883=0x0;_0x2b7883<_0x5092b4[_0x1f15d1(0xd6)];_0x2b7883++){const _0x5ab7a3=_0x5092b4[_0x2b7883];_0x1f52da[_0x1f15d1(0x87)](_0x5ab7a3['id']),_0x1cc468[_0x1f15d1(0x87)](this[_0x1f15d1(0xe3)](_0x5ab7a3));}const _0x2e9839=await Promise[_0x1f15d1(0x9e)](_0x1cc468);return this[_0x1f15d1(0xda)](new ChangeLayerEvent(_0x1f15d1(0xc2),_0x1f52da,_0x1f15d1(0x98))),_0x2e9839;}['addLayer'](_0xc2df84,_0x48255f=![]){const _0x3485cc=a64_0x5c9b20,_0x1fd814=_0xc2df84,_0x24d19e=this[_0x3485cc(0x95)](_0x1fd814['id']);if(_0x24d19e==null){const _0x4ffc7b=_0x1fd814[_0x3485cc(0xe1)]==undefined||_0x1fd814[_0x3485cc(0xe1)][_0x3485cc(0x97)]==undefined||_0x1fd814[_0x3485cc(0xe1)]['minScale']<0x0?undefined:calculateResolution(_0x1fd814[_0x3485cc(0xe1)]['minScale'],this['getView']()[_0x3485cc(0x9a)]()[_0x3485cc(0xe5)]()||0x0);_0xc2df84[_0x3485cc(0xdf)](_0x4ffc7b);const _0x4d5422=_0x1fd814[_0x3485cc(0xe1)]==undefined||_0x1fd814[_0x3485cc(0xe1)][_0x3485cc(0x8c)]==undefined||_0x1fd814[_0x3485cc(0xe1)][_0x3485cc(0x8c)]<0x0?undefined:calculateResolution(_0x1fd814[_0x3485cc(0xe1)]['maxScale'],this[_0x3485cc(0xa6)]()[_0x3485cc(0x9a)]()['getMetersPerUnit']()||0x0);_0xc2df84[_0x3485cc(0xcd)](_0x4d5422);const _0x463733=this[_0x3485cc(0xb9)]()[_0x3485cc(0xd4)]()[_0x3485cc(0xd6)];if(!this['_options']['projection']&&_0x463733==0x0&&_0x1fd814[_0x3485cc(0x7a)]&&_0x1fd814[_0x3485cc(0x7a)][_0x3485cc(0xbf)]()!=this[_0x3485cc(0xa6)]()['getProjection']()[_0x3485cc(0xbf)]()){}let _0x5a6362=_0xc2df84[_0x3485cc(0xb6)]();_0x5a6362!=undefined&&_0x5a6362>_0x463733&&(_0x5a6362=_0x463733),this[_0x3485cc(0xb9)]()[_0x3485cc(0xce)](_0x5a6362==undefined?_0x463733:_0x5a6362,_0xc2df84),_0x48255f&&this['fitLayer'](_0x1fd814);}}[a64_0x5c9b20(0xb4)](_0x1a5843){const _0x4ea9b2=a64_0x5c9b20,_0x492c91=this[_0x4ea9b2(0x95)](_0x1a5843);_0x492c91&&(this[_0x4ea9b2(0x9d)](_0x492c91),this[_0x4ea9b2(0xda)](new ChangeLayerEvent(_0x4ea9b2(0xc2),[_0x1a5843],_0x4ea9b2(0x8d))));}['getLayerById'](_0x1a6a8f){const _0x2d44b8=a64_0x5c9b20;let _0x2949fe,_0x262a20=this[_0x2d44b8(0xb9)]()[_0x2d44b8(0xd4)]();for(let _0xe2c28f=0x0;_0xe2c28f<_0x262a20['length'];_0xe2c28f++){let _0x4a8c15=_0x262a20[_0xe2c28f]['id'];if(_0x1a6a8f==_0x4a8c15){_0x2949fe=_0x262a20[_0xe2c28f];break;}}return _0x2949fe;}[a64_0x5c9b20(0x91)](_0x4f994c){const _0x198bcf=a64_0x5c9b20;let _0x268e3c,_0x326df5=this[_0x198bcf(0xb9)]()[_0x198bcf(0xd4)]();for(let _0xbe62f8=0x0;_0xbe62f8<_0x326df5[_0x198bcf(0xd6)];_0xbe62f8++){const _0x308ced=_0x326df5[_0xbe62f8][_0x198bcf(0xe1)];if(!_0x308ced)continue;let _0x1e9b04=_0x308ced[_0x198bcf(0xd1)];if(_0x1e9b04==_0x4f994c){_0x268e3c=_0x326df5[_0xbe62f8];break;}}return _0x268e3c;}[a64_0x5c9b20(0x8b)](_0x5c76fb){const _0x224d8b=a64_0x5c9b20;let _0x119626=this[_0x224d8b(0xb9)]()[_0x224d8b(0xd4)]();return _0x119626[_0x224d8b(0x82)](_0x1c7033=>_0x5c76fb[_0x224d8b(0xc8)](_0x1c7033['id']));}['getTempLayerById'](_0x2855cd){const _0x2e5e9a=a64_0x5c9b20;let _0x10aa82,_0x48234a=this[_0x2e5e9a(0xb9)]()[_0x2e5e9a(0xd4)]();for(let _0x83e9da=0x0;_0x83e9da<_0x48234a['length'];_0x83e9da++){const _0x1dff5b=_0x48234a[_0x83e9da];if(_0x1dff5b['id']===_0x2855cd){_0x10aa82=_0x1dff5b;break;}}if(!_0x10aa82){_0x10aa82=new a64_0x750b1b({'zIndex':0x270f,'source':new a64_0x5db3b4()}),_0x10aa82['id']=_0x2855cd;const _0x4c6371=this['getLayers']()[_0x2e5e9a(0xbd)]();switch(_0x2855cd){case _0x2e5e9a(0xc0):this['getLayers']()[_0x2e5e9a(0xce)](_0x4c6371-0x1>-0x1?_0x4c6371-0x1:0x0,_0x10aa82);break;case'polygonTempLayer':this[_0x2e5e9a(0xb9)]()['insertAt'](_0x4c6371-0x2>-0x1?_0x4c6371-0x2:0x0,_0x10aa82);break;case _0x2e5e9a(0xbc):this[_0x2e5e9a(0xb9)]()['insertAt'](_0x4c6371,_0x10aa82);break;default:break;}}return _0x10aa82;}[a64_0x5c9b20(0x92)](){return this['getTempLayerById']('pointTempLayer');}[a64_0x5c9b20(0xea)](){const _0x3b0ce2=a64_0x5c9b20;return this[_0x3b0ce2(0x8a)](_0x3b0ce2(0xc0));}[a64_0x5c9b20(0xbb)](){const _0x40c3c4=a64_0x5c9b20;return this[_0x40c3c4(0x8a)](_0x40c3c4(0xb7));}['getTempLayerByGeoType'](_0x1aa4c0){const _0x38e7cc=a64_0x5c9b20;let _0x46cfe9=this[_0x38e7cc(0x92)]();switch(_0x1aa4c0){case _0x38e7cc(0xe6):case _0x38e7cc(0xca):_0x46cfe9=this[_0x38e7cc(0x92)]();case _0x38e7cc(0xa8):case'MultiLineString':_0x46cfe9=this[_0x38e7cc(0xea)]();case'Polygon':case _0x38e7cc(0xe2):_0x46cfe9=this[_0x38e7cc(0xbb)]();}return _0x46cfe9;}[a64_0x5c9b20(0xcc)](_0x497934){const _0x3771d0=a64_0x5c9b20;let _0x2711c9=this['getView']()['getMinZoom'](),_0x321b1d=this[_0x3771d0(0xa6)]()['getMaxZoom']();registerProj(_0x497934),this[_0x3771d0(0xa6)]()[_0x3771d0(0xc4)](_0x497934);}['sortTemLayer'](){const _0x5a3bf4=a64_0x5c9b20;let _0x453759=[];_0x453759[_0x5a3bf4(0x87)](this[_0x5a3bf4(0x92)]()),_0x453759[_0x5a3bf4(0x87)](this[_0x5a3bf4(0xea)]()),_0x453759[_0x5a3bf4(0x87)](this[_0x5a3bf4(0xbb)]());const _0x2a80cf=this[_0x5a3bf4(0xb9)]()[_0x5a3bf4(0xd4)]()[_0x5a3bf4(0xd6)];for(let _0x487a17=0x0;_0x487a17<_0x453759[_0x5a3bf4(0xd6)];_0x487a17++){const _0x16d08e=_0x453759[_0x487a17];this[_0x5a3bf4(0xb9)]()['insertAt'](_0x2a80cf-_0x487a17-0x1,_0x16d08e);}}['getExtent'](){const _0x12e791=a64_0x5c9b20;return this[_0x12e791(0xa6)]()['calculateExtent'](this[_0x12e791(0xad)]());}['addWKT'](_0x537d4e,_0x5f47c8,_0x247372,_0x547908=!![],_0x252833,_0x26d762={'color':'rgba(255,\x200,\x200,\x200.2)','opacity':0.2,'outlineColor':a64_0x5c9b20(0xbe),'outlineWidth':0x2}){const _0x3934e1=a64_0x5c9b20;var _0x405ac3;const _0x3728ca=fromWKT(_0x537d4e,_0x5f47c8,this[_0x3934e1(0xa6)]()[_0x3934e1(0x9a)]()[_0x3934e1(0xbf)]());if(!_0x3728ca)return;const _0x15d849=this[_0x3934e1(0xa5)](_0x3728ca[_0x3934e1(0x9b)]()),_0x1a71d1=getStyle(_0x26d762),_0xc95c8=new a64_0x1338df();return _0xc95c8[_0x3934e1(0xa0)](_0x3728ca),_0xc95c8[_0x3934e1(0xa9)](_0x1a71d1),_0x252833?_0xc95c8[_0x3934e1(0x7c)](_0x252833):_0xc95c8[_0x3934e1(0x7c)]({}),_0xc95c8[_0x3934e1(0xaa)]=_0x247372,(_0x405ac3=_0x15d849[_0x3934e1(0xd2)]())===null||_0x405ac3===void 0x0?void 0x0:_0x405ac3['addFeature'](_0xc95c8),_0x547908&&this['locationGeometry'](_0x3728ca,undefined,1.2,![]),_0xc95c8;}['addWKTs'](_0x56b969,_0xb1a0f9,_0x144b1e,_0x3490ff=!![],_0x279aa3={'color':a64_0x5c9b20(0x9f),'opacity':0.2,'outlineColor':a64_0x5c9b20(0xbe),'outlineWidth':0x2},_0x1da55e){const _0x4c9877=a64_0x5c9b20;var _0x3e8855;const _0x3f9235=fromWKTs(_0x56b969,_0xb1a0f9,this['getView']()[_0x4c9877(0x9a)]()[_0x4c9877(0xbf)]());if(!_0x3f9235||_0x3f9235[_0x4c9877(0xd6)]==0x0)return;const _0x20d89b=this['getTempLayerByGeoType'](_0x3f9235[0x0][_0x4c9877(0x9b)]()),_0x29a0d5=getStyle(_0x279aa3);let _0x41ce0f=[];for(const _0xbcf6a3 of _0x3f9235){const _0x44cf3b=new a64_0x1338df();_0x44cf3b[_0x4c9877(0xa0)](_0xbcf6a3),_0x44cf3b[_0x4c9877(0xa9)](_0x29a0d5),_0x1da55e?_0x44cf3b[_0x4c9877(0x7c)](_0x1da55e):_0x44cf3b[_0x4c9877(0x7c)]({}),_0x44cf3b[_0x4c9877(0xc1)]=_0x4c9877(0x81),_0x44cf3b['isSelected']=!![],_0x44cf3b[_0x4c9877(0xaa)]=_0x144b1e,_0x41ce0f[_0x4c9877(0x87)](_0x44cf3b);}return(_0x3e8855=_0x20d89b[_0x4c9877(0xd2)]())===null||_0x3e8855===void 0x0?void 0x0:_0x3e8855[_0x4c9877(0xc6)](_0x41ce0f),_0x3490ff&&this[_0x4c9877(0x84)](_0x3f9235,undefined,1.2,![]),_0x41ce0f;}[a64_0x5c9b20(0xd7)](_0x7aebea,_0x8872d,_0x133327=1.2,_0x2594a3=!![]){const _0x16f545=a64_0x5c9b20;if(!_0x7aebea)return;let _0x21a566=fromWKT(_0x7aebea,_0x8872d,this['getView']()[_0x16f545(0x9a)]()[_0x16f545(0xbf)]());if(!_0x21a566)return;this[_0x16f545(0x88)](_0x21a566,_0x8872d,_0x133327,_0x2594a3);}[a64_0x5c9b20(0xa2)](_0x2eaad4,_0x1ed0a7,_0x49f8b1=1.2,_0x43235d=!![]){const _0x24f2a7=a64_0x5c9b20;if(!_0x2eaad4||_0x2eaad4[_0x24f2a7(0xd6)]===0x0)return;const _0x496a38=[];for(let _0x2b3c7e=0x0;_0x2b3c7e<_0x2eaad4[_0x24f2a7(0xd6)];_0x2b3c7e++){let _0x25504a=_0x2eaad4[_0x2b3c7e],_0x40e2dd=fromWKT(_0x25504a,_0x1ed0a7,this[_0x24f2a7(0xa6)]()['getProjection']()[_0x24f2a7(0xbf)]());if(!_0x40e2dd)continue;_0x496a38[_0x24f2a7(0x87)](_0x40e2dd);}this[_0x24f2a7(0x84)](_0x496a38,_0x1ed0a7,_0x49f8b1,_0x43235d);}[a64_0x5c9b20(0x88)](_0x26e712,_0x1a9e3b,_0xbd6f84=1.2,_0x338543=!![]){const _0x55013d=a64_0x5c9b20;if(!_0x26e712)return;let _0x4e5437=_0x26e712;_0x1a9e3b&&(_0x4e5437=_0x26e712['transform'](_0x1a9e3b,this[_0x55013d(0xa6)]()[_0x55013d(0x9a)]()));switch(_0x4e5437['getType']()){case _0x55013d(0xe6):this[_0x55013d(0xa6)]()[_0x55013d(0xb8)](_0x4e5437['getCoordinates']());break;case _0x55013d(0xe0):case'MultiPoint':case'MultiLineString':case _0x55013d(0xe2):case _0x55013d(0xd0):this[_0x55013d(0xa6)]()[_0x55013d(0xde)](expandExtent(_0x4e5437[_0x55013d(0xc5)](),_0xbd6f84));break;}if(_0x338543){const _0x1f2b97=new a64_0x28946e(this);_0x1f2b97[_0x55013d(0xd8)]([_0x4e5437],0x3);}}[a64_0x5c9b20(0x84)](_0x5df6e9,_0x7c4952,_0x18a77c=1.2,_0x490398=!![]){const _0x3e99ce=a64_0x5c9b20;if(!_0x5df6e9||_0x5df6e9['length']===0x0)return;let _0x3d1f2c=null;for(const _0x19aac9 of _0x5df6e9){_0x3d1f2c?_0x3d1f2c=union(_0x3d1f2c,_0x19aac9):_0x3d1f2c=_0x19aac9;}_0x3d1f2c&&this[_0x3e99ce(0x88)](_0x3d1f2c,_0x7c4952,_0x18a77c,![]);if(_0x490398){const _0x10d953=new a64_0x28946e(this);_0x10d953[_0x3e99ce(0xd8)](_0x5df6e9,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
- var a65_0x750e27=a65_0x1623;(function(_0x55ff25,_0x668797){var _0xf4698d=a65_0x1623,_0x4747b2=_0x55ff25();while(!![]){try{var _0x416e2c=parseInt(_0xf4698d(0x125))/0x1*(-parseInt(_0xf4698d(0x120))/0x2)+-parseInt(_0xf4698d(0x122))/0x3*(-parseInt(_0xf4698d(0x124))/0x4)+parseInt(_0xf4698d(0x127))/0x5*(parseInt(_0xf4698d(0x12b))/0x6)+parseInt(_0xf4698d(0x129))/0x7+-parseInt(_0xf4698d(0x121))/0x8*(-parseInt(_0xf4698d(0x123))/0x9)+-parseInt(_0xf4698d(0x128))/0xa+parseInt(_0xf4698d(0x12d))/0xb*(parseInt(_0xf4698d(0x12a))/0xc);if(_0x416e2c===_0x668797)break;else _0x4747b2['push'](_0x4747b2['shift']());}catch(_0x1c8af4){_0x4747b2['push'](_0x4747b2['shift']());}}}(a65_0x1182,0x33906));import a65_0x4357d2 from'ol/View';import{get}from'ol/proj';export default class OLView extends a65_0x4357d2{constructor(_0x172630){super(_0x172630);}[a65_0x750e27(0x12c)](_0x50f041){var _0x4fecc2=a65_0x750e27;this[_0x4fecc2(0x12e)]=get(_0x50f041),this[_0x4fecc2(0x126)]({'projection_':get(_0x50f041)});}}function a65_0x1623(_0x1dfeb3,_0x21d662){var _0x1182d4=a65_0x1182();return a65_0x1623=function(_0x162348,_0x43317a){_0x162348=_0x162348-0x120;var _0x338e21=_0x1182d4[_0x162348];return _0x338e21;},a65_0x1623(_0x1dfeb3,_0x21d662);}function a65_0x1182(){var _0x1dd912=['328KfRjxu','15453RPZDQW','44586eNAdOL','92yLmKuq','2ldvyOx','setProperties','74755UzpcXN','2253970ekDyJK','1760073IfaRPg','384588CqmLIv','12VfFFJw','setProjection','11hYDrpT','projection_','198374TpRETH'];a65_0x1182=function(){return _0x1dd912;};return a65_0x1182();}
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.35",
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 a73_0x5c88(){const _0x32e51c=['assign','7773056DtynSU','toLowerCase','9Qiquvu','Rectangle','ArrowPincerlike','Ellipse','42159hNocSu','Curve','6942220mcnQfF','Polygon','PolyLine','Ellipsoid','9tRvjYl','Point','MAX_VALUE','7lwLFxD','243784xzOtfW','9228LjnyLg','1167821iUbUwj','pointermove','2EnKOxp','Arrow','88602ZOyCkv','SurfaceClosed','495yNQPtA','Circle','ArrowAttack','AssemblySite','8753536XkwToJ'];a73_0x5c88=function(){return _0x32e51c;};return a73_0x5c88();}(function(_0xff30c4,_0x4d4a87){const _0x22c6e6=a73_0xcfa3,_0x154cc5=_0xff30c4();while(!![]){try{const _0x28846a=parseInt(_0x22c6e6(0xc5))/0x1*(-parseInt(_0x22c6e6(0xc7))/0x2)+-parseInt(_0x22c6e6(0xbf))/0x3*(parseInt(_0x22c6e6(0xc3))/0x4)+parseInt(_0x22c6e6(0xad))/0x5*(-parseInt(_0x22c6e6(0xc9))/0x6)+parseInt(_0x22c6e6(0xc2))/0x7*(parseInt(_0x22c6e6(0xb3))/0x8)+-parseInt(_0x22c6e6(0xb5))/0x9*(parseInt(_0x22c6e6(0xbb))/0xa)+parseInt(_0x22c6e6(0xb1))/0xb+parseInt(_0x22c6e6(0xc4))/0xc*(parseInt(_0x22c6e6(0xb9))/0xd);if(_0x28846a===_0x4d4a87)break;else _0x154cc5['push'](_0x154cc5['shift']());}catch(_0x5a5492){_0x154cc5['push'](_0x154cc5['shift']());}}}(a73_0x5c88,0xb831d));import a73_0x3a492f from'../entity/GeometryType';import a73_0x18e72d from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';import{getPolygonStyle}from'../style/PolygonStyleFormat';function a73_0xcfa3(_0x29063e,_0x50a893){const _0x5c883a=a73_0x5c88();return a73_0xcfa3=function(_0xcfa36,_0x6c6bc8){_0xcfa36=_0xcfa36-0xad;let _0x4dacd6=_0x5c883a[_0xcfa36];return _0x4dacd6;},a73_0xcfa3(_0x29063e,_0x50a893);}import a73_0x498d12 from'./geometry/polygon/RectAngle';import a73_0x208bc9 from'./geometry/polyline/Polyline';import a73_0x4599aa from'./geometry/point/Point';import a73_0x23f10b 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(_0x1291db,_0x310a88){const _0x257373=a73_0xcfa3;_0x1291db=_0x1291db[_0x257373(0xb4)]();switch(_0x1291db){case a73_0x3a492f[_0x257373(0xc0)]:case _0x257373(0xc6):return new a73_0x4599aa(_0x310a88);case a73_0x3a492f[_0x257373(0xbd)]:return new a73_0x208bc9(_0x310a88);case a73_0x3a492f[_0x257373(0xae)]:return new a73_0x23f10b(_0x310a88);case a73_0x3a492f[_0x257373(0xb6)]:return new a73_0x498d12(_0x310a88);case a73_0x3a492f[_0x257373(0xbc)]:return new a73_0x18e72d(_0x310a88);}}export function getPlotCount(_0x19969e){const _0x1b8a94=a73_0xcfa3;_0x19969e=_0x19969e[_0x1b8a94(0xb4)]();let _0x33c737={'fixPoint':0x0,'minPoint':0x0};switch(_0x19969e){case a73_0x3a492f[_0x1b8a94(0xc0)]:_0x33c737={'fixPoint':0x1,'minPoint':0x0};break;case a73_0x3a492f[_0x1b8a94(0xbd)]:_0x33c737={'fixPoint':Number[_0x1b8a94(0xc1)],'minPoint':0x1};break;case a73_0x3a492f[_0x1b8a94(0xbc)]:_0x33c737={'fixPoint':Number['MAX_VALUE'],'minPoint':0x2};break;case a73_0x3a492f[_0x1b8a94(0xb6)]:_0x33c737={'fixPoint':0x2,'minPoint':0x1};break;case a73_0x3a492f[_0x1b8a94(0xae)]:_0x33c737={'fixPoint':0x2,'minPoint':0x1};break;case a73_0x3a492f[_0x1b8a94(0xba)]:_0x33c737={'fixPoint':Number[_0x1b8a94(0xc1)],'minPoint':0x1};break;case a73_0x3a492f[_0x1b8a94(0xb8)]:case a73_0x3a492f[_0x1b8a94(0xbe)]:_0x33c737={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x33c737;}export function getStyle(_0x3c40b3,_0x8e4836,_0x5df29a){const _0x2ac3d7=a73_0xcfa3;_0x3c40b3=_0x3c40b3[_0x2ac3d7(0xb4)](),_0x8e4836=Object[_0x2ac3d7(0xb2)](Object[_0x2ac3d7(0xb2)]({},defaultStyle),_0x8e4836);switch(_0x3c40b3){case a73_0x3a492f[_0x2ac3d7(0xc0)]:return function(_0x36c348,_0x1e1340){return getPointSingleStyle(_0x3c40b3,_0x8e4836,_0x1e1340,_0x5df29a);};case a73_0x3a492f[_0x2ac3d7(0xbd)]:case a73_0x3a492f[_0x2ac3d7(0xba)]:return function(_0xf4547f,_0x1d0bf7){return getPolylineStyle(_0x8e4836,'',_0x1d0bf7,_0x5df29a);};case a73_0x3a492f[_0x2ac3d7(0xae)]:case a73_0x3a492f['Rectangle']:case a73_0x3a492f[_0x2ac3d7(0xb8)]:case a73_0x3a492f[_0x2ac3d7(0xbe)]:case a73_0x3a492f[_0x2ac3d7(0xca)]:case a73_0x3a492f[_0x2ac3d7(0xbc)]:case a73_0x3a492f[_0x2ac3d7(0xaf)]:case a73_0x3a492f[_0x2ac3d7(0xb7)]:case a73_0x3a492f[_0x2ac3d7(0xc8)]:case a73_0x3a492f[_0x2ac3d7(0xb0)]:return function(_0x2389c1,_0x5a3297){return getPolygonStyle(_0x8e4836,_0x8e4836['text'],_0x5a3297,_0x5df29a);};}}
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_0x4856(){var _0x4e2996=['371656aLNktL','isPlot','Point','generate','setPoints','20RAfgSo','type','117rtqDny','updateLastPoint','updatePoint','getMap','7SqnSfv','length','2CyusZd','11370UEuyyH','map','12wnukcX','5526070NfnZOV','getPlotType','points','587055PdOOTU','293052cKfLbg','setStyle','1103580mPufmz','传入的不是地图对象!','293668KRvhNI','parse'];a66_0x4856=function(){return _0x4e2996;};return a66_0x4856();}var a66_0x4c8acf=a66_0x425f;function a66_0x425f(_0x28da95,_0x2efa0c){var _0x4856d0=a66_0x4856();return a66_0x425f=function(_0x425fc7,_0x4a9ac4){_0x425fc7=_0x425fc7-0x11a;var _0x4e5175=_0x4856d0[_0x425fc7];return _0x4e5175;},a66_0x425f(_0x28da95,_0x2efa0c);}(function(_0x38ebab,_0x9c904c){var _0xb3cebb=a66_0x425f,_0x588a72=_0x38ebab();while(!![]){try{var _0x5162fd=-parseInt(_0xb3cebb(0x132))/0x1*(-parseInt(_0xb3cebb(0x123))/0x2)+-parseInt(_0xb3cebb(0x11e))/0x3+parseInt(_0xb3cebb(0x11f))/0x4*(-parseInt(_0xb3cebb(0x12a))/0x5)+-parseInt(_0xb3cebb(0x121))/0x6+-parseInt(_0xb3cebb(0x130))/0x7*(-parseInt(_0xb3cebb(0x125))/0x8)+-parseInt(_0xb3cebb(0x12c))/0x9*(parseInt(_0xb3cebb(0x133))/0xa)+parseInt(_0xb3cebb(0x11b))/0xb*(parseInt(_0xb3cebb(0x11a))/0xc);if(_0x5162fd===_0x9c904c)break;else _0x588a72['push'](_0x588a72['shift']());}catch(_0x577a9d){_0x588a72['push'](_0x588a72['shift']());}}}(a66_0x4856,0x25da7));import{Map}from'ol';import{Point as a66_0x2fac01}from'ol/geom';class Point extends a66_0x2fac01{constructor(_0x1c98fe){var _0x45e44f=a66_0x425f;super([]),this['type']=_0x45e44f(0x127),this[_0x45e44f(0x11d)]=_0x1c98fe,this[_0x45e44f(0x129)](_0x1c98fe);}[a66_0x4c8acf(0x11c)](){var _0x653dec=a66_0x4c8acf;return this[_0x653dec(0x12b)];}[a66_0x4c8acf(0x128)](){this['setCoordinates'](this['points'][0x0]);}['setMap'](_0x458d52){var _0x1633c7=a66_0x4c8acf;if(_0x458d52&&_0x458d52 instanceof Map)this[_0x1633c7(0x134)]=_0x458d52;else throw new Error(_0x1633c7(0x122));}[a66_0x4c8acf(0x12f)](){var _0x2038c6=a66_0x4c8acf;return this[_0x2038c6(0x134)];}[a66_0x4c8acf(0x126)](){return!![];}[a66_0x4c8acf(0x129)](_0x3b10ec){var _0xb6d25d=a66_0x4c8acf;_0x3b10ec&&_0x3b10ec[_0xb6d25d(0x131)]>=0x1&&(this[_0xb6d25d(0x11d)]=_0x3b10ec,this['generate']());}['getPoints'](){var _0x13f3a7=a66_0x4c8acf;return this[_0x13f3a7(0x11d)];}[a66_0x4c8acf(0x12e)](_0x401ed3,_0x5e9a82){var _0x1d5d6e=a66_0x4c8acf;_0x5e9a82>=0x0&&_0x5e9a82<this[_0x1d5d6e(0x11d)]['length']&&(this['points'][_0x5e9a82]=_0x401ed3,this[_0x1d5d6e(0x128)]());}[a66_0x4c8acf(0x12d)](_0x10b300){var _0x15d7a9=a66_0x4c8acf;this['updatePoint'](_0x10b300,this[_0x15d7a9(0x11d)][_0x15d7a9(0x131)]-0x1);}['finishDrawing'](){}[a66_0x4c8acf(0x120)](_0x236034){var _0x447ef8=a66_0x4c8acf;this['style']=JSON[_0x447ef8(0x124)](JSON['stringify'](_0x236034));}}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_0x102bdb=a67_0xfea1;(function(_0x446481,_0x4f9393){var _0xc185a4=a67_0xfea1,_0x88cef9=_0x446481();while(!![]){try{var _0x62792f=-parseInt(_0xc185a4(0x1d4))/0x1*(-parseInt(_0xc185a4(0x1c9))/0x2)+-parseInt(_0xc185a4(0x1d5))/0x3+-parseInt(_0xc185a4(0x1c6))/0x4*(-parseInt(_0xc185a4(0x1cc))/0x5)+-parseInt(_0xc185a4(0x1d1))/0x6+parseInt(_0xc185a4(0x1ca))/0x7*(parseInt(_0xc185a4(0x1c1))/0x8)+parseInt(_0xc185a4(0x1c2))/0x9*(-parseInt(_0xc185a4(0x1cf))/0xa)+-parseInt(_0xc185a4(0x1bf))/0xb*(-parseInt(_0xc185a4(0x1cb))/0xc);if(_0x62792f===_0x4f9393)break;else _0x88cef9['push'](_0x88cef9['shift']());}catch(_0x5f2210){_0x88cef9['push'](_0x88cef9['shift']());}}}(a67_0x7e22,0x49adc));import{Polygon}from'ol/geom';function a67_0xfea1(_0x2dcf0f,_0x2af635){var _0x7e22ec=a67_0x7e22();return a67_0xfea1=function(_0xfea1e7,_0xd337f8){_0xfea1e7=_0xfea1e7-0x1bf;var _0x132c37=_0x7e22ec[_0xfea1e7];return _0x132c37;},a67_0xfea1(_0x2dcf0f,_0x2af635);}import a67_0x5dc90b from'ol/format/GeoJSON';import a67_0x13148e from'../../../mapView/Map';class BasePolygon extends Polygon{constructor(){super([]),this['points']=[];}['getType'](){var _0x352e32=a67_0xfea1;return this[_0x352e32(0x1ce)]?this['type']:super[_0x352e32(0x1c0)]();}['getGeoJson'](){return new a67_0x5dc90b()['writeGeometryObject'](this);}[a67_0x102bdb(0x1d7)](_0x158c1b){var _0x5593cd=a67_0x102bdb;_0x158c1b&&(this['style']=JSON[_0x5593cd(0x1c4)](JSON[_0x5593cd(0x1d2)](_0x158c1b)));}[a67_0x102bdb(0x1d6)](_0x493adb){var _0x23a423=a67_0x102bdb;if(_0x493adb&&_0x493adb instanceof a67_0x13148e)this['map']=_0x493adb;else throw new Error(_0x23a423(0x1d0));}[a67_0x102bdb(0x1c5)](){var _0x436606=a67_0x102bdb;return this[_0x436606(0x1c3)];}[a67_0x102bdb(0x1d3)](){return!![];}['setPoints'](_0x2bf0c1){var _0x512494=a67_0x102bdb;this[_0x512494(0x1d8)]=!_0x2bf0c1?[]:_0x2bf0c1,this[_0x512494(0x1d8)]['length']>=0x1&&this['generate']();}['generate'](){}[a67_0x102bdb(0x1c8)](){var _0x5c2637=a67_0x102bdb;return this[_0x5c2637(0x1d8)][_0x5c2637(0x1c7)](0x0);}[a67_0x102bdb(0x1cd)](){var _0x33caa6=a67_0x102bdb;return this[_0x33caa6(0x1d8)]['length'];}['finishDrawing'](){}}function a67_0x7e22(){var _0x494d5f=['getType','7744TxfCoG','1591443TfKHQk','map','parse','getMap','12PAYGUe','slice','getPoints','16OYtiMJ','287ElJtFm','6516LtzVOJ','169185bokyWv','getPointCount','type','30kgqJnn','传入的不是地图对象!','1221354iUuhsA','stringify','isPlot','41428YdWvpq','833706IOWKfZ','setMap','setStyle','points','17039UuUchM'];a67_0x7e22=function(){return _0x494d5f;};return a67_0x7e22();}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;