ym-gis-2d 1.0.28 → 1.0.30
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.
- package/capabilities/index.d.ts.map +1 -1
- package/capabilities/index.js +1 -1
- package/capabilities/index.js.map +1 -1
- package/controls/ControlManager.js +1 -1
- package/controls/LegendControl.d.ts.map +1 -1
- package/controls/LegendControl.js +1 -1
- package/controls/LegendControl.js.map +1 -1
- package/controls/MousePositionControl.js +1 -1
- package/controls/SwipeLayerControl.js +1 -1
- package/conver/kml/geoJSONToKml.js +1 -1
- package/conver/kml/index.js +1 -1
- package/conver/kml/kmlToGeoJSON.js +1 -1
- package/entity/Feature.js +1 -1
- package/entity/GeometryType.js +1 -1
- package/entity/IDictionary.d.ts +14 -0
- package/entity/IDictionary.d.ts.map +1 -0
- package/entity/IDictionary.js +1 -0
- package/entity/IDictionary.js.map +1 -0
- package/entity/layer/ILayerField.d.ts +2 -1
- package/entity/layer/ILayerField.d.ts.map +1 -1
- package/entity/layer/IWFSLayerCapabilitiesInfo.d.ts +4 -0
- package/entity/layer/IWFSLayerCapabilitiesInfo.d.ts.map +1 -1
- package/entity/measure/AreaMeasureUnits.js +1 -1
- package/feature/FeatureManager.js +1 -1
- package/index.js +1 -1
- package/interaction/AreaMeasure.js +1 -1
- package/interaction/Draw.js +1 -1
- package/interaction/InteractionManager.js +1 -1
- package/interaction/Select.d.ts.map +1 -1
- package/interaction/Select.js +1 -1
- package/interaction/Select.js.map +1 -1
- package/layers/ArcgisDynamicLayer.js +1 -1
- package/layers/ArcgisFeatureLayer.js +1 -1
- package/layers/ArcgisTileLayer.js +1 -1
- package/layers/ArcgisWMSLayer.js +1 -1
- package/layers/ArcgisWMTSLayer.js +1 -1
- package/layers/GeoserverVectorTile.js +1 -1
- package/layers/GeoserverWFSLayer.js +1 -1
- package/layers/GeoserverWMSLayer.js +1 -1
- package/layers/GeoserverWMTSLayer.js +1 -1
- package/layers/LayerManager.js +1 -1
- package/layers/TDTLayer.js +1 -1
- package/mapView/Map.js +1 -1
- package/mapView/View.js +1 -1
- package/package.json +1 -1
- package/plot/Plot.js +1 -1
- package/plot/geometry/point/Point.js +1 -1
- package/plot/geometry/polygon/BasePolygon.js +1 -1
- package/plot/geometry/polygon/Circle.js +1 -1
- package/plot/geometry/polygon/Polygon.js +1 -1
- package/plot/geometry/polygon/RectAngle.js +1 -1
- package/plot/geometry/polyline/BaseLine.js +1 -1
- package/plot/geometry/polyline/Polyline.js +1 -1
- package/style/PointStyleFormat.js +1 -1
- package/style/PolygonStyleFormat.js +1 -1
- package/style/PolylineStyleFormat.js +1 -1
- package/style/StyleManager.js +1 -1
- package/style/common.js +1 -1
- package/utils/ArrayUtil.js +1 -1
- package/utils/AxiosUtil.js +1 -1
- package/utils/EsriUtil.js +1 -1
- package/utils/GeometryUtil.d.ts +6 -0
- package/utils/GeometryUtil.d.ts.map +1 -1
- package/utils/GeometryUtil.js +1 -1
- package/utils/GeometryUtil.js.map +1 -1
- package/utils/LayerUtil.js +1 -1
- package/utils/RegisterProjUtil.js +1 -1
- package/utils/ResolutionUtil.js +1 -1
- package/utils/StringUtil.js +1 -1
- package/utils/StyleUtil.js +1 -1
- package/utils/UrlUtil.js +1 -1
- package/utils/XmlUtil.js +1 -1
- package/utils/format/CQL.js +1 -1
- package/utils/format/IsMatchCql.js +1 -1
- package/utils/plug/canvas/ImageCache.js +1 -1
- package/utils/plug/canvas/PinBuilder.js +1 -1
- package/utils/plug/canvas/PinIcon.js +1 -1
- package/utils/plug/canvas/writeTextToCanvas.js +1 -1
- package/utils/tasks/esri/Identify.js +1 -1
- package/utils/tasks/esri/Query.js +1 -1
- package/utils/tasks/esri/Task.js +1 -1
- package/utils/tasks/geoserver/QueryTask.d.ts +7 -0
- package/utils/tasks/geoserver/QueryTask.d.ts.map +1 -1
- package/utils/tasks/geoserver/QueryTask.js +1 -1
- package/utils/tasks/geoserver/QueryTask.js.map +1 -1
- package/utils/tasks/index.d.ts +1 -1
- package/utils/tasks/index.d.ts.map +1 -1
- package/utils/tasks/index.js +1 -1
- package/utils/tasks/index.js.map +1 -1
- package/ym-gis-2d.es.js +1 -1
- package/ym-gis-2d.umd.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a49_0x1c09(_0x182674,_0xcffd83){const _0x408233=a49_0x4082();return a49_0x1c09=function(_0x1c0916,_0x1c6a36){_0x1c0916=_0x1c0916-0x156;let _0x2c3593=_0x408233[_0x1c0916];return _0x2c3593;},a49_0x1c09(_0x182674,_0xcffd83);}const a49_0x973fcb=a49_0x1c09;(function(_0x107a09,_0x1d159f){const _0x1b31f9=a49_0x1c09,_0x440d55=_0x107a09();while(!![]){try{const _0x446f93=-parseInt(_0x1b31f9(0x15d))/0x1*(-parseInt(_0x1b31f9(0x174))/0x2)+-parseInt(_0x1b31f9(0x168))/0x3*(-parseInt(_0x1b31f9(0x16c))/0x4)+parseInt(_0x1b31f9(0x178))/0x5+parseInt(_0x1b31f9(0x15c))/0x6*(parseInt(_0x1b31f9(0x166))/0x7)+parseInt(_0x1b31f9(0x164))/0x8+-parseInt(_0x1b31f9(0x15a))/0x9*(parseInt(_0x1b31f9(0x179))/0xa)+-parseInt(_0x1b31f9(0x15e))/0xb*(parseInt(_0x1b31f9(0x16f))/0xc);if(_0x446f93===_0x1d159f)break;else _0x440d55['push'](_0x440d55['shift']());}catch(_0x59c51e){_0x440d55['push'](_0x440d55['shift']());}}}(a49_0x4082,0xe63ce));import a49_0x36fa94 from'ol/source/ImageArcGISRest';import{Image as a49_0x17b014}from'ol/layer';function a49_0x4082(){const _0x326807=['308YoGKzc','mapIndex','sublayers','spatialReference','join','setFilter','5851136ANlXwi','url','1308104DLevcL','stringify','770652WtfcTq','selectIndex','getSource','layerDefs','12DicJwY','wkid','wkt','980112dMEahP','opacity','fullExtent','ymin','initialExtent','3790ZKLkYj','xmax','EPSG:','show:','4676505RAzvJQ','11154490ojkkaM','layerInfo','xmin','anonymous','ymax','9nSxQeN','loadFilter','48zdjDLS','218Ehkdja'];a49_0x4082=function(){return _0x326807;};return a49_0x4082();}import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisDynamicLayer extends a49_0x17b014{constructor(_0x37eb51,_0x57ee6d){const _0x1da28a=a49_0x1c09;var _0x3f6570;let _0x42a745={'LAYERS':_0x1da28a(0x177)+((_0x3f6570=_0x37eb51[_0x1da28a(0x160)])===null||_0x3f6570===void 0x0?void 0x0:_0x3f6570[_0x1da28a(0x162)](','))};if(_0x37eb51[_0x1da28a(0x15b)]&&_0x37eb51['selectIndex']){const _0x16648e={};_0x16648e[_0x37eb51[_0x1da28a(0x169)]]=_0x37eb51[_0x1da28a(0x15b)],_0x42a745[_0x1da28a(0x16b)]=JSON[_0x1da28a(0x167)](_0x16648e);}const _0x393b05=[_0x57ee6d[_0x1da28a(0x173)][_0x1da28a(0x157)],_0x57ee6d[_0x1da28a(0x173)]['ymin'],_0x57ee6d['initialExtent'][_0x1da28a(0x175)],_0x57ee6d[_0x1da28a(0x173)][_0x1da28a(0x159)]],_0x5c1d0c=[_0x57ee6d['fullExtent']['xmin'],_0x57ee6d['fullExtent'][_0x1da28a(0x172)],_0x57ee6d[_0x1da28a(0x171)][_0x1da28a(0x175)],_0x57ee6d[_0x1da28a(0x171)][_0x1da28a(0x159)]];let _0x506f7b;_0x57ee6d[_0x1da28a(0x161)][_0x1da28a(0x16d)]?_0x506f7b=registerProj(_0x1da28a(0x176)+_0x57ee6d[_0x1da28a(0x161)]['wkid'],_0x5c1d0c):_0x506f7b=registerProj(_0x57ee6d[_0x1da28a(0x161)][_0x1da28a(0x16e)],_0x5c1d0c),super({'opacity':_0x37eb51[_0x1da28a(0x170)],'zIndex':_0x37eb51[_0x1da28a(0x15f)],'source':new a49_0x36fa94({'crossOrigin':_0x1da28a(0x158),'projection':_0x506f7b,'ratio':0x1,'url':_0x37eb51[_0x1da28a(0x165)],'params':_0x42a745})}),this['id']=_0x37eb51['id'],this[_0x1da28a(0x173)]=_0x393b05,this['projection']=_0x506f7b,this[_0x1da28a(0x156)]=_0x37eb51;}[a49_0x973fcb(0x163)](_0x4cf093){const _0x1f7bb5=a49_0x973fcb;var _0x431543;const _0x445f0e={};this[_0x1f7bb5(0x156)][_0x1f7bb5(0x169)]&&(_0x445f0e[this[_0x1f7bb5(0x156)][_0x1f7bb5(0x169)]]=_0x4cf093),(_0x431543=this[_0x1f7bb5(0x16a)]())===null||_0x431543===void 0x0?void 0x0:_0x431543['updateParams']({'layerDefs':JSON[_0x1f7bb5(0x167)](_0x4cf093)});}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a50_0x5a0697=a50_0x4633;(function(_0x7a255b,_0x444c55){const _0x36c368=a50_0x4633,_0x5bb7ff=_0x7a255b();while(!![]){try{const _0x1e7849=parseInt(_0x36c368(0xd3))/0x1+-parseInt(_0x36c368(0xbb))/0x2+-parseInt(_0x36c368(0xdb))/0x3*(-parseInt(_0x36c368(0xce))/0x4)+-parseInt(_0x36c368(0xc1))/0x5*(parseInt(_0x36c368(0xa5))/0x6)+parseInt(_0x36c368(0xb7))/0x7+-parseInt(_0x36c368(0xc3))/0x8+parseInt(_0x36c368(0xa3))/0x9;if(_0x1e7849===_0x444c55)break;else _0x5bb7ff['push'](_0x5bb7ff['shift']());}catch(_0x583b60){_0x5bb7ff['push'](_0x5bb7ff['shift']());}}}(a50_0x4f1c,0x42a53));import a50_0x490f7d from'ol/format/EsriJSON';import a50_0x4ac8ea from'ol/source/Vector';function a50_0x4f1c(){const _0x34a58b=['loadFilter',',\x22spatialReference\x22:{\x22wkid\x22:','setStyle','/query','log','createArcGISFeatureLayer','initialExtent','4EgLmdo','&outSR=','1=1','get','&outFields=*','478442MfEXqK','getCode','forEach','EPSG:','setFilter','xmax','symbol','addFeatures','257457viIfYy','spatialReference','where=','5072274PUyRuo','f\x20=\x20json\x20&\x20','6NjMsIM','value','push','type','returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry=','find','projection','ymin','field1','url',',\x22ymin\x22:','drawingInfo','xmin','ymax','error','wkt','uniqueValue','string','321111icTZUJ','showIndex','simple','renderer','951058rybiHK','wkid','split','mapIndex',',\x22xmax\x22:','uniqueValueInfos','868895PIqdfK','setLayers','2011464LyPBwT','layerInfo','&geometryType=esriGeometryEnvelope&inSR=','fullExtent'];a50_0x4f1c=function(){return _0x34a58b;};return a50_0x4f1c();}import{Vector as a50_0x48fbd4}from'ol/layer';import{jsonp}from'../utils/AxiosUtil';import{createXYZ}from'ol/tilegrid';import{tile as a50_0x56b7c9}from'ol/loadingstrategy';import a50_0x4c31bc from'ol/layer/Group';import{registerProj}from'../utils/RegisterProjUtil';import{transformedEsriStyle}from'../utils/StyleUtil';import a50_0x52c2d7 from'ol/Collection';import{appendParam,appendPath}from'../utils/UrlUtil';function a50_0x4633(_0x36d752,_0x27cff0){const _0x4f1cdc=a50_0x4f1c();return a50_0x4633=function(_0x4633c1,_0x14a7cc){_0x4633c1=_0x4633c1-0xa1;let _0x51de03=_0x4f1cdc[_0x4633c1];return _0x51de03;},a50_0x4633(_0x36d752,_0x27cff0);}export default class ArcgisFeatureLayer extends a50_0x4c31bc{constructor(_0xec0e51,_0x5d27f7,_0x26f58a){const _0x1387f3=a50_0x4633,_0x392e4a=[_0x5d27f7[_0x1387f3(0xcd)][_0x1387f3(0xb1)],_0x5d27f7[_0x1387f3(0xcd)][_0x1387f3(0xac)],_0x5d27f7[_0x1387f3(0xcd)]['xmax'],_0x5d27f7['initialExtent'][_0x1387f3(0xb2)]],_0x1fadd1=[_0x5d27f7[_0x1387f3(0xc6)]['xmin'],_0x5d27f7['fullExtent'][_0x1387f3(0xac)],_0x5d27f7[_0x1387f3(0xc6)][_0x1387f3(0xd8)],_0x5d27f7[_0x1387f3(0xc6)][_0x1387f3(0xb2)]];let _0xfe224e;_0x5d27f7[_0x1387f3(0xa1)][_0x1387f3(0xbc)]?_0xfe224e=registerProj(_0x1387f3(0xd6)+_0x5d27f7['spatialReference'][_0x1387f3(0xbc)],_0x1fadd1):_0xfe224e=registerProj(_0x5d27f7[_0x1387f3(0xa1)][_0x1387f3(0xb4)],_0x1fadd1);let _0x275130=[];super({'zIndex':_0xec0e51[_0x1387f3(0xbe)]});for(let _0x145117 of _0x26f58a){let _0x1280eb=this[_0x1387f3(0xcc)](_0xec0e51,_0x145117);_0x275130[_0x1387f3(0xa7)](_0x1280eb);}this[_0x1387f3(0xc2)](new a50_0x52c2d7(_0x275130)),this['id']=_0xec0e51['id'],this[_0x1387f3(0xcd)]=_0x392e4a,this[_0x1387f3(0xab)]=_0xfe224e,this[_0x1387f3(0xc4)]=_0xec0e51;}[a50_0x5a0697(0xcc)](_0x4065dd,_0x446034){const _0x5a090f=a50_0x5a0697;var _0x53dd1c=new a50_0x490f7d();let _0x430f9c=new a50_0x4ac8ea({'loader':function(_0x529254,_0x34748e,_0x4e4d82){const _0x2423e0=a50_0x4633;let _0x21d0a1=_0x2423e0(0xd0);_0x4065dd[_0x2423e0(0xc7)]&&(_0x21d0a1=typeof _0x4065dd['loadFilter']===_0x2423e0(0xb6)?_0x4065dd[_0x2423e0(0xc7)]:JSON['stringify'](_0x4065dd['loadFilter']));let _0x22b0d3=_0x4e4d82[_0x2423e0(0xd4)](),_0x481b63=_0x22b0d3[_0x2423e0(0xbd)](':')[0x1];var _0x16c93d=appendPath(_0x446034[_0x2423e0(0xae)],_0x2423e0(0xca));_0x16c93d=appendParam(_0x16c93d,_0x2423e0(0xa4)+_0x2423e0(0xa2)+encodeURIComponent(_0x21d0a1)+_0x2423e0(0xa9)+encodeURIComponent('{\x22xmin\x22:'+_0x529254[0x0]+_0x2423e0(0xaf)+_0x529254[0x1]+_0x2423e0(0xbf)+_0x529254[0x2]+',\x22ymax\x22:'+_0x529254[0x3]+_0x2423e0(0xc8)+_0x481b63+'}}')+_0x2423e0(0xc5)+_0x481b63+_0x2423e0(0xd2)+_0x2423e0(0xcf)+_0x481b63),jsonp(_0x16c93d)['then'](_0x48b10d=>{const _0x5bdf5b=_0x2423e0;if(_0x48b10d[_0x5bdf5b(0xb3)])console[_0x5bdf5b(0xcb)](_0x48b10d);else{var _0x543002=_0x53dd1c['readFeatures'](_0x48b10d,{'featureProjection':_0x4e4d82});_0x543002['length']>0x0&&(_0x446034[_0x5bdf5b(0xb0)][_0x5bdf5b(0xba)][_0x5bdf5b(0xa8)]==_0x5bdf5b(0xb5)&&_0x543002[_0x5bdf5b(0xd5)](function(_0x12d73c){const _0x1c8cf=_0x5bdf5b;var _0x90fcba=_0x12d73c[_0x1c8cf(0xd1)](_0x446034[_0x1c8cf(0xb0)][_0x1c8cf(0xba)][_0x1c8cf(0xad)]);const _0x5afe63=_0x446034['drawingInfo']['renderer'][_0x1c8cf(0xc0)][_0x1c8cf(0xaa)](_0x49f400=>_0x49f400[_0x1c8cf(0xa6)]==_0x90fcba);let _0x54c382;_0x5afe63?_0x54c382=transformedEsriStyle(_0x5afe63[_0x1c8cf(0xd9)]):_0x54c382=transformedEsriStyle(_0x446034[_0x1c8cf(0xb0)][_0x1c8cf(0xba)]['defaultSymbol']),_0x12d73c[_0x1c8cf(0xc9)](_0x54c382);}),_0x430f9c[_0x5bdf5b(0xda)](_0x543002));}});},'strategy':a50_0x56b7c9(createXYZ({'tileSize':0x200}))}),_0x2bbb43=new a50_0x48fbd4({'source':_0x430f9c,'zIndex':_0x4065dd[_0x5a090f(0xb8)]});if(_0x446034[_0x5a090f(0xb0)][_0x5a090f(0xba)][_0x5a090f(0xa8)]==_0x5a090f(0xb9)&&_0x446034[_0x5a090f(0xb0)][_0x5a090f(0xba)][_0x5a090f(0xd9)]){let _0x4a4479=transformedEsriStyle(_0x446034[_0x5a090f(0xb0)][_0x5a090f(0xba)][_0x5a090f(0xd9)]);_0x2bbb43[_0x5a090f(0xc9)](_0x4a4479);}return _0x2bbb43;}[a50_0x5a0697(0xd7)](_0x4b010e){const _0x243f92=a50_0x5a0697;this['layerInfo'][_0x243f92(0xc7)]=_0x4b010e;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a51_0x2fee(_0x4d34ba,_0x15b717){const _0x31dfbd=a51_0x31df();return a51_0x2fee=function(_0x2fee98,_0x2d1475){_0x2fee98=_0x2fee98-0x17c;let _0x472892=_0x31dfbd[_0x2fee98];return _0x472892;},a51_0x2fee(_0x4d34ba,_0x15b717);}(function(_0x295606,_0x3a8153){const _0x275ee3=a51_0x2fee,_0x50d989=_0x295606();while(!![]){try{const _0x28f410=parseInt(_0x275ee3(0x183))/0x1+parseInt(_0x275ee3(0x182))/0x2+-parseInt(_0x275ee3(0x18e))/0x3*(parseInt(_0x275ee3(0x18f))/0x4)+parseInt(_0x275ee3(0x187))/0x5*(-parseInt(_0x275ee3(0x192))/0x6)+-parseInt(_0x275ee3(0x180))/0x7+-parseInt(_0x275ee3(0x191))/0x8+parseInt(_0x275ee3(0x18d))/0x9;if(_0x28f410===_0x3a8153)break;else _0x50d989['push'](_0x50d989['shift']());}catch(_0x1eabea){_0x50d989['push'](_0x50d989['shift']());}}}(a51_0x31df,0xdad58));import a51_0x539208 from'ol/layer/Tile';import a51_0x14e646 from'ol/source/XYZ';import a51_0x856aee from'ol/tilegrid/TileGrid';function a51_0x31df(){const _0x20be61=['4745937nPYjtm','resolution','3181246zcIZsp','1489645VpeUKc','xmin','cols','origin','33365ZJxEnU','url','tileInfo','spatialReference','EPSG:','push','15899013NmGSag','3QKCuhp','2811932TTEGme','anonymous','6996520giGdPg','1524AwGHjQ','ymax','rows','ymin','xmax','initialExtent','mapIndex','layerInfo','length','wkt','lods','fullExtent'];a51_0x31df=function(){return _0x20be61;};return a51_0x31df();}import{registerProj}from'../utils/RegisterProjUtil';import{appendPath}from'../utils/UrlUtil';export default class ArcgisTileLayer extends a51_0x539208{constructor(_0xfa2822,_0x1f7625){const _0xec29ee=a51_0x2fee,_0x5e5e5a=_0xfa2822[_0xec29ee(0x188)]?_0xfa2822['url']:'',_0x3a7298=appendPath(_0x5e5e5a,'/tile/{z}/{y}/{x}'),_0x4e0c07=[_0x1f7625[_0xec29ee(0x197)][_0xec29ee(0x184)],_0x1f7625['initialExtent'][_0xec29ee(0x195)],_0x1f7625[_0xec29ee(0x197)][_0xec29ee(0x196)],_0x1f7625[_0xec29ee(0x197)]['ymax']],_0x115342=[_0x1f7625[_0xec29ee(0x17f)][_0xec29ee(0x184)],_0x1f7625[_0xec29ee(0x17f)][_0xec29ee(0x195)],_0x1f7625[_0xec29ee(0x17f)]['xmax'],_0x1f7625[_0xec29ee(0x17f)][_0xec29ee(0x193)]];let _0x5d8b8e;_0x1f7625[_0xec29ee(0x18a)]['wkid']?_0x5d8b8e=registerProj(_0xec29ee(0x18b)+_0x1f7625[_0xec29ee(0x18a)]['wkid'],_0x115342):_0x5d8b8e=registerProj(_0x1f7625[_0xec29ee(0x18a)][_0xec29ee(0x17d)],_0x115342);let _0x4a3b7=[];for(let _0x2fb97c=0x0,_0x3c42e6=_0x1f7625[_0xec29ee(0x189)][_0xec29ee(0x17e)][_0xec29ee(0x17c)];_0x2fb97c<_0x3c42e6;_0x2fb97c++){_0x4a3b7[_0xec29ee(0x18c)](_0x1f7625[_0xec29ee(0x189)][_0xec29ee(0x17e)][_0x2fb97c][_0xec29ee(0x181)]);}super({'opacity':_0xfa2822['opacity'],'zIndex':_0xfa2822[_0xec29ee(0x198)],'maxResolution':_0x4a3b7[0x0]*0x2,'source':new a51_0x14e646({'url':_0x3a7298,'projection':_0x5d8b8e,'crossOrigin':_0xec29ee(0x190),'tileGrid':new a51_0x856aee({'extent':_0x115342,'origin':[_0x1f7625['tileInfo'][_0xec29ee(0x186)]['x'],_0x1f7625['tileInfo'][_0xec29ee(0x186)]['y']],'resolutions':_0x4a3b7,'tileSize':[_0x1f7625[_0xec29ee(0x189)][_0xec29ee(0x194)],_0x1f7625[_0xec29ee(0x189)][_0xec29ee(0x185)]]})})}),this['id']=_0xfa2822['id'],this['initialExtent']=_0x4e0c07,this['projection']=_0x5d8b8e,this[_0xec29ee(0x199)]=_0xfa2822;}}
|
package/layers/ArcgisWMSLayer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a52_0x3e9296=a52_0x113f;(function(_0x3a2e1f,_0x122061){const _0x23dc8f=a52_0x113f,_0x48440c=_0x3a2e1f();while(!![]){try{const _0xa6d7fd=-parseInt(_0x23dc8f(0x10f))/0x1*(parseInt(_0x23dc8f(0x114))/0x2)+parseInt(_0x23dc8f(0x10b))/0x3+parseInt(_0x23dc8f(0x115))/0x4+parseInt(_0x23dc8f(0x10d))/0x5+-parseInt(_0x23dc8f(0x102))/0x6+-parseInt(_0x23dc8f(0x109))/0x7+-parseInt(_0x23dc8f(0x107))/0x8;if(_0xa6d7fd===_0x122061)break;else _0x48440c['push'](_0x48440c['shift']());}catch(_0x112b0c){_0x48440c['push'](_0x48440c['shift']());}}}(a52_0x3a4d,0x8d1c0));function a52_0x113f(_0x31b465,_0x24ac0e){const _0x3a4d9a=a52_0x3a4d();return a52_0x113f=function(_0x113f36,_0x4714ab){_0x113f36=_0x113f36-0x100;let _0x17a5cd=_0x3a4d9a[_0x113f36];return _0x17a5cd;},a52_0x113f(_0x31b465,_0x24ac0e);}function a52_0x3a4d(){const _0x1e3f21=['784532ShmukR','initialExtent','1492263icZsAK','anonymous','5409785FeOqVC','initExtent','37dqRahA','1.1.0','EPSG:','url','CQL_FILTER','14672BlkXoW','4429484XLuXlV','refresh','mapIndex','50058tKdzFZ','loadFilter','wkid','opacity','setFilter','13735312UDpuat','projection'];a52_0x3a4d=function(){return _0x1e3f21;};return a52_0x3a4d();}import{ImageWMS as a52_0x4a0f12}from'ol/source';import{Image as a52_0x424d99}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisWMSLayer extends a52_0x424d99{constructor(_0x1cf4a5,_0x1943f8){const _0x326514=a52_0x113f;var _0x3577ab;let _0x3a9c45=registerProj(_0x326514(0x111)+_0x1943f8[_0x326514(0x104)],undefined),_0xd95d90={'LAYERS':(_0x3577ab=_0x1cf4a5['sublayers'])===null||_0x3577ab===void 0x0?void 0x0:_0x3577ab['join'](','),'VERSION':_0x326514(0x110)};_0x1cf4a5[_0x326514(0x103)]&&(_0xd95d90[_0x326514(0x113)]=_0x1cf4a5['loadFilter']),super({'opacity':_0x1cf4a5[_0x326514(0x105)],'zIndex':_0x1cf4a5[_0x326514(0x101)],'source':new a52_0x4a0f12({'crossOrigin':_0x326514(0x10c),'url':_0x1cf4a5[_0x326514(0x112)],'params':_0xd95d90})}),this['id']=_0x1cf4a5['id'],this[_0x326514(0x10a)]=_0x1943f8[_0x326514(0x10e)],this[_0x326514(0x108)]=_0x3a9c45,this['layerInfo']=_0x1cf4a5;}[a52_0x3e9296(0x100)](){}[a52_0x3e9296(0x106)](_0xf12941){var _0x167cd2;(_0x167cd2=this['getSource']())===null||_0x167cd2===void 0x0?void 0x0:_0x167cd2['updateParams']({'CQL_FILTER':_0xf12941});}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5f1adf,_0x42243b){const _0x3574ba=a53_0x147a,_0x1f15b8=_0x5f1adf();while(!![]){try{const _0x39a61=-parseInt(_0x3574ba(0x19a))/0x1+parseInt(_0x3574ba(0x1a7))/0x2+-parseInt(_0x3574ba(0x1a4))/0x3*(-parseInt(_0x3574ba(0x1a9))/0x4)+parseInt(_0x3574ba(0x1aa))/0x5+-parseInt(_0x3574ba(0x18f))/0x6+-parseInt(_0x3574ba(0x197))/0x7*(parseInt(_0x3574ba(0x1a8))/0x8)+-parseInt(_0x3574ba(0x193))/0x9*(parseInt(_0x3574ba(0x1a3))/0xa);if(_0x39a61===_0x42243b)break;else _0x1f15b8['push'](_0x1f15b8['shift']());}catch(_0x20b102){_0x1f15b8['push'](_0x1f15b8['shift']());}}}(a53_0x38b3,0xc2180));function a53_0x147a(_0x12e803,_0x2c311a){const _0x38b333=a53_0x38b3();return a53_0x147a=function(_0x147acc,_0x4ff248){_0x147acc=_0x147acc-0x187;let _0x4cdbf8=_0x38b333[_0x147acc];return _0x4cdbf8;},a53_0x147a(_0x12e803,_0x2c311a);}import a53_0x2c46cc from'ol/layer/Tile';import a53_0x47d859,{optionsFromCapabilities}from'ol/source/WMTS.js';import a53_0x226358 from'ol/tilegrid/WMTS';function a53_0x38b3(){const _0x30fd91=['boundingBoxExtent','7SaXESY','token','length','225840jESppi','layerInfo','?http','initialExtent','format','urls','image/png','indexOf','getImage','44330uGEmuH','171DqpeuB','mapIndex','EPSG:','285458vStTFr','8375600eyyPgh','73196iMRDdL','5633865Zytgbe','style','layer','url','sublayers','getResolutions','replace','name','wkid','projection','138582VpvaFx','tileGrid','src','origins_','450pJgZfg','opacity','join'];a53_0x38b3=function(){return _0x30fd91;};return a53_0x38b3();}import{registerProj}from'../utils/RegisterProjUtil';import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a53_0x2c46cc{constructor(_0x419fe6,_0x55e09f){const _0x372afc=a53_0x147a;var _0x5cd803;let _0x37b512='';_0x419fe6[_0x372afc(0x189)]&&_0x419fe6['sublayers'][_0x372afc(0x199)]>0x0&&(_0x37b512=_0x419fe6[_0x372afc(0x189)][_0x372afc(0x195)](','));const _0x1f03e9=_0x372afc(0x1a6)+_0x55e09f[_0x372afc(0x18d)];let _0x5cd7a4=registerProj(_0x1f03e9);const _0x521216=optionsFromCapabilities(_0x55e09f['sourceXml'],{'layer':(_0x5cd803=_0x419fe6[_0x372afc(0x189)])===null||_0x5cd803===void 0x0?void 0x0:_0x5cd803[0x0],'matrixSet':_0x55e09f['tileMatrixSet'],'format':_0x372afc(0x1a0)});let _0x55e46a=_0x521216[_0x372afc(0x190)][_0x372afc(0x192)][0x0];_0x55e46a[0x0]===0x5a&&_0x55e46a[0x1]===-0xb4&&(_0x55e46a=[_0x55e46a[0x1],_0x55e46a[0x0]]),super({'opacity':_0x419fe6[_0x372afc(0x194)],'zIndex':_0x419fe6[_0x372afc(0x1a5)],'source':new a53_0x47d859({'urls':_0x521216[_0x372afc(0x19f)],'requestEncoding':_0x521216['requestEncoding'],'layer':_0x521216[_0x372afc(0x187)],'tileLoadFunction':function(_0xc130e,_0x291b2d){const _0x138a94=_0x372afc,_0x3920d1=_0x419fe6[_0x138a94(0x188)]?_0x419fe6[_0x138a94(0x188)]:'';let _0x30a6c1=getUrlParams(_0x3920d1);if((_0x30a6c1===null||_0x30a6c1===void 0x0?void 0x0:_0x30a6c1[_0x138a94(0x199)])>0x0)for(let _0x41199f of _0x30a6c1){_0x291b2d=addArgument(_0x291b2d,_0x41199f[_0x138a94(0x18c)],_0x41199f['value']);}let _0x2cae3c=_0x291b2d[_0x138a94(0x1a1)](_0x138a94(0x19c));_0x2cae3c!==-0x1?_0x291b2d[_0x138a94(0x1a1)](_0x138a94(0x198))===-0x1&&_0x291b2d[_0x138a94(0x1a1)]('tk')===-0x1?_0xc130e[_0x138a94(0x1a2)]()[_0x138a94(0x191)]=_0x291b2d[_0x138a94(0x18b)]('&','?'):_0xc130e[_0x138a94(0x1a2)]()[_0x138a94(0x191)]=_0x291b2d:_0xc130e[_0x138a94(0x1a2)]()['src']=_0x291b2d;},'matrixSet':_0x521216['matrixSet'],'format':_0x521216[_0x372afc(0x19e)],'projection':_0x521216[_0x372afc(0x18e)],'tileGrid':new a53_0x226358({'origin':_0x55e46a,'resolutions':_0x521216[_0x372afc(0x190)][_0x372afc(0x18a)](),'matrixIds':_0x521216[_0x372afc(0x190)]['getMatrixIds'](),'extent':_0x55e09f[_0x372afc(0x196)]}),'style':_0x55e09f[_0x372afc(0x1ab)],'wrapX':!![]})}),this['id']=_0x419fe6['id'],this[_0x372afc(0x19d)]=_0x55e09f[_0x372afc(0x196)],this[_0x372afc(0x18e)]=_0x5cd7a4,this[_0x372afc(0x19b)]=_0x419fe6;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a54_0x347f(){const _0xec0dc0=['GetTile','getMatrixIds','1.0.0','toString','7641504McARJf','10WBUucz','tileGrid','url','10507032HRrkFD','7297015iKchPR',':{z}','length','image/png','EPSG:','7740854qjrwCt','initialExtent','application/vnd.mapbox-vector-tile','wkid','222GyFsLG','style','getResolutions','tileMatrixSet','{x}','38058JJLYHt','opacity','36320rEGZfu','8TYlSAV','sublayers','26GqpzjR','sourceXml','boundingBoxExtent','8690423UUgYaW'];a54_0x347f=function(){return _0xec0dc0;};return a54_0x347f();}function a54_0x4db6(_0x10566b,_0x43fb99){const _0x347f81=a54_0x347f();return a54_0x4db6=function(_0x4db6c2,_0x2f580e){_0x4db6c2=_0x4db6c2-0x16a;let _0x32b857=_0x347f81[_0x4db6c2];return _0x32b857;},a54_0x4db6(_0x10566b,_0x43fb99);}(function(_0x1e77fc,_0x4c7a65){const _0x46d865=a54_0x4db6,_0x180fbe=_0x1e77fc();while(!![]){try{const _0x53ce55=-parseInt(_0x46d865(0x16f))/0x1*(-parseInt(_0x46d865(0x174))/0x2)+parseInt(_0x46d865(0x16a))/0x3*(-parseInt(_0x46d865(0x171))/0x4)+parseInt(_0x46d865(0x181))/0x5+-parseInt(_0x46d865(0x17c))/0x6+parseInt(_0x46d865(0x177))/0x7*(parseInt(_0x46d865(0x172))/0x8)+parseInt(_0x46d865(0x180))/0x9*(-parseInt(_0x46d865(0x17d))/0xa)+parseInt(_0x46d865(0x186))/0xb;if(_0x53ce55===_0x4c7a65)break;else _0x180fbe['push'](_0x180fbe['shift']());}catch(_0xb125b5){_0x180fbe['push'](_0x180fbe['shift']());}}}(a54_0x347f,0xbffe8));import a54_0x3c06f1 from'ol/layer/VectorTile';import a54_0x42c539 from'ol/source/VectorTile';import a54_0x3cca22 from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a54_0x3071b8 from'ol/tilegrid/WMTS';import{optionsFromCapabilities}from'ol/source/WMTS';import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a54_0x3c06f1{constructor(_0x2ce541,_0x4c8438){const _0x2e208a=a54_0x4db6;var _0x2dedff;let _0x1bce54=registerProj(_0x2e208a(0x185)+_0x4c8438['wkid']);const _0x9de5b5=optionsFromCapabilities(_0x4c8438[_0x2e208a(0x175)],{'layer':(_0x2dedff=_0x2ce541['sublayers'])===null||_0x2dedff===void 0x0?void 0x0:_0x2dedff[0x0],'matrixSet':_0x4c8438[_0x2e208a(0x16d)],'format':_0x2e208a(0x184)});let _0x537628=_0x2ce541['sublayers']&&_0x2ce541[_0x2e208a(0x173)][_0x2e208a(0x183)]>0x0?_0x2ce541[_0x2e208a(0x173)][0x0]:'';const _0x493334={'REQUEST':_0x2e208a(0x178),'SERVICE':'WMTS','VERSION':_0x2e208a(0x17a),'LAYER':_0x537628,'STYLE':_0x4c8438[_0x2e208a(0x16b)][_0x2e208a(0x17b)](),'TILEMATRIX':_0x4c8438[_0x2e208a(0x16d)]+_0x2e208a(0x182),'TILEMATRIXSET':_0x4c8438[_0x2e208a(0x16d)][_0x2e208a(0x17b)](),'FORMAT':_0x2e208a(0x188),'TILECOL':_0x2e208a(0x16e),'TILEROW':'{y}'};let _0x55a9c9=_0x2ce541[_0x2e208a(0x17f)]?_0x2ce541[_0x2e208a(0x17f)]:'';for(const _0x32e13b in _0x493334){_0x55a9c9=addArgument(_0x55a9c9,_0x32e13b,_0x493334[_0x32e13b]);}super({'opacity':_0x2ce541[_0x2e208a(0x170)],'zIndex':_0x2ce541['mapIndex'],'declutter':!![],'source':new a54_0x42c539({'projection':'EPSG:'+_0x4c8438[_0x2e208a(0x189)],'format':new a54_0x3cca22(),'wrapX':!![],'extent':_0x4c8438[_0x2e208a(0x176)],'tileGrid':new a54_0x3071b8({'tileSize':_0x9de5b5[_0x2e208a(0x17e)]['tileSizes_'][0x0],'origin':_0x9de5b5[_0x2e208a(0x17e)]['origins_'][0x0],'resolutions':_0x9de5b5[_0x2e208a(0x17e)][_0x2e208a(0x16c)](),'matrixIds':_0x9de5b5['tileGrid'][_0x2e208a(0x179)]()}),'url':_0x55a9c9})}),this['id']=_0x2ce541['id'],this[_0x2e208a(0x187)]=_0x4c8438[_0x2e208a(0x176)],this['projection']=_0x1bce54,this['layerInfo']=_0x2ce541;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a55_0x5ce8c8=a55_0x281e;(function(_0xcb0c7d,_0x6e7d9){const _0x585fe4=a55_0x281e,_0x449137=_0xcb0c7d();while(!![]){try{const _0x207d74=parseInt(_0x585fe4(0x139))/0x1*(-parseInt(_0x585fe4(0x122))/0x2)+parseInt(_0x585fe4(0x13c))/0x3*(parseInt(_0x585fe4(0x138))/0x4)+-parseInt(_0x585fe4(0x143))/0x5+parseInt(_0x585fe4(0x13b))/0x6+-parseInt(_0x585fe4(0x131))/0x7+parseInt(_0x585fe4(0x12d))/0x8+parseInt(_0x585fe4(0x11c))/0x9;if(_0x207d74===_0x6e7d9)break;else _0x449137['push'](_0x449137['shift']());}catch(_0x41d0cd){_0x449137['push'](_0x449137['shift']());}}}(a55_0x4c62,0x86d58));import a55_0x47d1f6 from'ol/source/Vector';import a55_0x2fa430 from'ol/format/GeoJSON';import{Vector as a55_0x3c6f3b}from'ol/layer';import a55_0x29702d from'ol/format/WFS';function a55_0x4c62(){const _0x55e81a=['warn','2sxLBRh','EPSG:','name','!==','find','serializeToString','type','param','length','lessThan','lessThanOrEqualTo','514768JVQdLb','projection','notEqualTo','layerFields','6208545KuOTxu','toLowerCase','removeLoadedExtent','param字段不存在','mapIndex','layerInfo','getSource','876qVTwhw','616119DgQpZV','wkid','6510210oYrSBd','9AGcjJR','type字段不存在','not','push','greaterThanOrEqualTo','apply','fieldType','4150430YWcHgF','readFeatures','loadFilter','initExtent','then','between','parseFilter','greaterThan','sublayers','getCode','filter','15618438nfOQTJ','writeGetFeature','POST','equalTo','initialExtent'];a55_0x4c62=function(){return _0x55e81a;};return a55_0x4c62();}import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a55_0x19015f from'../utils/format/CQL';function a55_0x281e(_0x407af5,_0x1d0db6){const _0x4c629c=a55_0x4c62();return a55_0x281e=function(_0x281e1c,_0x5c829c){_0x281e1c=_0x281e1c-0x117;let _0x13e439=_0x4c629c[_0x281e1c];return _0x13e439;},a55_0x281e(_0x407af5,_0x1d0db6);}import*as a55_0x5a0188 from'ol/format/filter';export default class GeoserverWFSLayer extends a55_0x3c6f3b{constructor(_0x1daa65,_0xd858e3){const _0xd7fd63=a55_0x281e;let _0x9af1dd=registerProj(_0xd7fd63(0x123)+_0xd858e3[_0xd7fd63(0x13a)]);const _0x34ce59=_0xd858e3[_0xd7fd63(0x130)][_0xd7fd63(0x126)](_0x53c0c1=>_0x53c0c1[_0xd7fd63(0x142)]==0x6);super({'zIndex':_0x1daa65[_0xd7fd63(0x135)],'source':new a55_0x47d1f6({'format':new a55_0x2fa430(),'loader':(_0x5068ed,_0x4676ee,_0x5b43bb,_0x49868e,_0x3ede8d)=>{const _0x49107a=_0xd7fd63;let _0x4b1e77=_0x1daa65[_0x49107a(0x145)],_0x450c0a={'srsName':_0x5b43bb[_0x49107a(0x11a)](),'featureTypes':_0x1daa65[_0x49107a(0x119)],'bbox':_0x5068ed,'geometryName':_0x34ce59?_0x34ce59[_0x49107a(0x124)]:'','outputFormat':'application/json'};_0x4b1e77&&(typeof _0x4b1e77==='string'?_0x450c0a[_0x49107a(0x11b)]=new a55_0x19015f()['read'](_0x4b1e77):_0x450c0a['filter']=this[_0x49107a(0x117)](_0x4b1e77));var _0x104072=new a55_0x29702d()[_0x49107a(0x11d)](_0x450c0a);let _0xcafbb2=_0x1daa65['url']?_0x1daa65['url']:'';fetch(_0xcafbb2,{'method':_0x49107a(0x11e),'body':new XMLSerializer()[_0x49107a(0x127)](_0x104072)})[_0x49107a(0x147)](_0x484af4=>{return _0x484af4['json']();})[_0x49107a(0x147)](_0x5730d8=>{const _0x5b177a=_0x49107a,_0x157fee=new a55_0x2fa430()[_0x5b177a(0x144)](_0x5730d8);let _0x4fb79f=this[_0x5b177a(0x137)]();_0x4fb79f&&_0x4fb79f['addFeatures'](_0x157fee);if(_0x49868e)_0x49868e(_0x157fee);})['catch'](()=>{const _0x57ec2f=_0x49107a;let _0x2f366f=this[_0x57ec2f(0x137)]();_0x2f366f&&_0x2f366f[_0x57ec2f(0x133)](_0x5068ed);if(_0x3ede8d)_0x3ede8d();});},'strategy':bbox})}),this['id']=_0x1daa65['id'],this[_0xd7fd63(0x120)]=_0xd858e3[_0xd7fd63(0x146)],this[_0xd7fd63(0x12e)]=_0x9af1dd,this[_0xd7fd63(0x136)]=_0x1daa65;}[a55_0x5ce8c8(0x117)](_0x2f2391){const _0x2bb6a5=a55_0x5ce8c8;if(!_0x2f2391[_0x2bb6a5(0x128)]){console[_0x2bb6a5(0x121)](_0x2bb6a5(0x13d));return;}if(!_0x2f2391[_0x2bb6a5(0x129)]){console['warn'](_0x2bb6a5(0x134));return;}let _0x55caea=[];switch(_0x2f2391[_0x2bb6a5(0x128)][_0x2bb6a5(0x132)]()){case'and':for(let _0x47e29f=0x0;_0x47e29f<_0x2f2391[_0x2bb6a5(0x129)]['length'];_0x47e29f++){let _0x5f3952=this['parseFilter'](_0x2f2391[_0x2bb6a5(0x129)][_0x47e29f]);_0x55caea[_0x2bb6a5(0x13f)](_0x5f3952);}return a55_0x5a0188['and'][_0x2bb6a5(0x141)](null,_0x55caea);case'or':for(let _0x49d0e0=0x0;_0x49d0e0<_0x2f2391[_0x2bb6a5(0x129)][_0x2bb6a5(0x12a)];_0x49d0e0++){let _0x29ba31=this[_0x2bb6a5(0x117)](_0x2f2391[_0x2bb6a5(0x129)][_0x49d0e0]);_0x55caea[_0x2bb6a5(0x13f)](_0x29ba31);}return a55_0x5a0188['or'][_0x2bb6a5(0x141)](null,_0x55caea);case _0x2bb6a5(0x13e):for(let _0x4f4a07=0x0;_0x4f4a07<_0x2f2391[_0x2bb6a5(0x129)][_0x2bb6a5(0x12a)];_0x4f4a07++){let _0x1646e4=this['parseFilter'](_0x2f2391[_0x2bb6a5(0x129)][_0x4f4a07]);_0x55caea[_0x2bb6a5(0x13f)](_0x1646e4);}return a55_0x5a0188[_0x2bb6a5(0x13e)]['apply'](null,_0x55caea);case'=':return a55_0x5a0188[_0x2bb6a5(0x11f)](_0x2f2391[_0x2bb6a5(0x129)][0x0],_0x2f2391[_0x2bb6a5(0x129)][0x1]);case _0x2bb6a5(0x125):return a55_0x5a0188[_0x2bb6a5(0x12f)](_0x2f2391[_0x2bb6a5(0x129)][0x0],_0x2f2391[_0x2bb6a5(0x129)][0x1]);case'>':return a55_0x5a0188[_0x2bb6a5(0x118)](_0x2f2391[_0x2bb6a5(0x129)][0x0],_0x2f2391[_0x2bb6a5(0x129)][0x1]);case'<':return a55_0x5a0188[_0x2bb6a5(0x12b)](_0x2f2391['param'][0x0],_0x2f2391[_0x2bb6a5(0x129)][0x1]);case'>=':return a55_0x5a0188[_0x2bb6a5(0x140)](_0x2f2391['param'][0x0],_0x2f2391['param'][0x1]);case'<=':return a55_0x5a0188[_0x2bb6a5(0x12c)](_0x2f2391['param'][0x0],_0x2f2391[_0x2bb6a5(0x129)][0x1]);case'between':return a55_0x5a0188[_0x2bb6a5(0x148)](_0x2f2391[_0x2bb6a5(0x129)][0x0],_0x2f2391[_0x2bb6a5(0x129)][0x1],_0x2f2391['param'][0x2]);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a56_0x5738ce=a56_0x2d07;(function(_0x56351f,_0x4559da){const _0x2479ca=a56_0x2d07,_0x945eb8=_0x56351f();while(!![]){try{const _0x255a05=parseInt(_0x2479ca(0x101))/0x1*(-parseInt(_0x2479ca(0xfd))/0x2)+-parseInt(_0x2479ca(0x100))/0x3*(-parseInt(_0x2479ca(0xfe))/0x4)+-parseInt(_0x2479ca(0xf1))/0x5+-parseInt(_0x2479ca(0x102))/0x6+parseInt(_0x2479ca(0xed))/0x7*(-parseInt(_0x2479ca(0xf3))/0x8)+-parseInt(_0x2479ca(0xf0))/0x9+parseInt(_0x2479ca(0xf7))/0xa*(parseInt(_0x2479ca(0xf8))/0xb);if(_0x255a05===_0x4559da)break;else _0x945eb8['push'](_0x945eb8['shift']());}catch(_0x2a1bcb){_0x945eb8['push'](_0x945eb8['shift']());}}}(a56_0x111c,0x1968f));function a56_0x2d07(_0x5e1d7d,_0x59063b){const _0x111c83=a56_0x111c();return a56_0x2d07=function(_0x2d07e4,_0x654d52){_0x2d07e4=_0x2d07e4-0xec;let _0x867a9a=_0x111c83[_0x2d07e4];return _0x867a9a;},a56_0x2d07(_0x5e1d7d,_0x59063b);}import{ImageWMS as a56_0x54191c}from'ol/source';import{Image as a56_0x4c3d90}from'ol/layer';function a56_0x111c(){const _0x5c7f05=['initialExtent','refresh','21qqEchI','CQL_FILTER','updateParams','1482174WlBaPi','80015dYevNH','projection','72424ecVDml','join','url','initExtent','6420xTAYiK','6963ezSqug','sublayers','EPSG:','getSource','wkid','3068zAbyXw','424076QnVmeP','loadFilter','3QjWrZK','101GNGxQU','273264vBEUOh'];a56_0x111c=function(){return _0x5c7f05;};return a56_0x111c();}import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a56_0x4c3d90{constructor(_0x4dc622,_0x3d0bb0){const _0x4df142=a56_0x2d07;var _0x5c8545;let _0x5acca3=registerProj(_0x4df142(0xfa)+_0x3d0bb0[_0x4df142(0xfc)]),_0xf07079={'LAYERS':(_0x5c8545=_0x4dc622[_0x4df142(0xf9)])===null||_0x5c8545===void 0x0?void 0x0:_0x5c8545[_0x4df142(0xf4)](','),'VERSION':'1.1.0'};_0x4dc622[_0x4df142(0xff)]&&(_0xf07079[_0x4df142(0xee)]=_0x4dc622['loadFilter']),super({'opacity':_0x4dc622['opacity'],'zIndex':_0x4dc622['mapIndex'],'source':new a56_0x54191c({'crossOrigin':'anonymous','url':_0x4dc622[_0x4df142(0xf5)],'params':_0xf07079})}),this['id']=_0x4dc622['id'],this[_0x4df142(0x103)]=_0x3d0bb0[_0x4df142(0xf6)],this[_0x4df142(0xf2)]=_0x5acca3,this['layerInfo']=_0x4dc622;}[a56_0x5738ce(0xec)](){}['setFilter'](_0x2ee18f){const _0x581411=a56_0x5738ce;var _0xa173db;(_0xa173db=this[_0x581411(0xfb)]())===null||_0xa173db===void 0x0?void 0x0:_0xa173db[_0x581411(0xef)]({'CQL_FILTER':_0x2ee18f});}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x59fd61,_0x501006){const _0x16ab20=a57_0x5762,_0x44c8f8=_0x59fd61();while(!![]){try{const _0x25910d=-parseInt(_0x16ab20(0x134))/0x1*(-parseInt(_0x16ab20(0x141))/0x2)+-parseInt(_0x16ab20(0x145))/0x3*(-parseInt(_0x16ab20(0x135))/0x4)+-parseInt(_0x16ab20(0x13e))/0x5+parseInt(_0x16ab20(0x131))/0x6*(-parseInt(_0x16ab20(0x138))/0x7)+parseInt(_0x16ab20(0x136))/0x8*(parseInt(_0x16ab20(0x137))/0x9)+-parseInt(_0x16ab20(0x133))/0xa+-parseInt(_0x16ab20(0x143))/0xb;if(_0x25910d===_0x501006)break;else _0x44c8f8['push'](_0x44c8f8['shift']());}catch(_0x39441c){_0x44c8f8['push'](_0x44c8f8['shift']());}}}(a57_0x4ba2,0x86594));import a57_0x865b62 from'ol/layer/Tile';import a57_0x1b04d4,{optionsFromCapabilities}from'ol/source/WMTS.js';function a57_0x4ba2(){const _0x19431c=['65954dXYQQW','EPSG:','initialExtent','未找到投影信息','解析元数据失败','image/png','1779435CjRhxk','opacity','sublayers','1328ewqDlW','mapIndex','1192994tSkvwe','sourceXml','1539483SJMYmL','boundingBoxExtent','layerInfo','tileMatrixSet','390NEfxCH','wkid','6587100HPCsxx','1427QqmvpU','4rhLCFw','1650168PvyaEp','36JRCivA'];a57_0x4ba2=function(){return _0x19431c;};return a57_0x4ba2();}import{registerProj}from'../utils/RegisterProjUtil';function a57_0x5762(_0x3f7033,_0x377532){const _0x4ba272=a57_0x4ba2();return a57_0x5762=function(_0x57624c,_0x31d767){_0x57624c=_0x57624c-0x12f;let _0x370f5f=_0x4ba272[_0x57624c];return _0x370f5f;},a57_0x5762(_0x3f7033,_0x377532);}export default class GeoserverWMTSLayer extends a57_0x865b62{constructor(_0x40dc1b,_0x533f69){const _0x309c9b=a57_0x5762;var _0x2cc99a;const _0x4fc000=_0x309c9b(0x139)+_0x533f69[_0x309c9b(0x132)];let _0x1a37be=registerProj(_0x4fc000);if(!_0x1a37be)throw new Error(_0x309c9b(0x13b));const _0x4b55fc=optionsFromCapabilities(_0x533f69[_0x309c9b(0x144)],{'layer':(_0x2cc99a=_0x40dc1b[_0x309c9b(0x140)])===null||_0x2cc99a===void 0x0?void 0x0:_0x2cc99a[0x0],'matrixSet':_0x533f69[_0x309c9b(0x130)],'format':_0x309c9b(0x13d)});if(!_0x4b55fc)throw new Error(_0x309c9b(0x13c));super({'opacity':_0x40dc1b[_0x309c9b(0x13f)],'zIndex':_0x40dc1b[_0x309c9b(0x142)],'source':new a57_0x1b04d4(_0x4b55fc)}),this['id']=_0x40dc1b['id'],this[_0x309c9b(0x13a)]=_0x533f69[_0x309c9b(0x146)],this['projection']=_0x1a37be,this[_0x309c9b(0x12f)]=_0x40dc1b;}}
|
package/layers/LayerManager.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a59_0x4b5d(_0x1c6266,_0x5af256){const _0x27cecc=a59_0x27ce();return a59_0x4b5d=function(_0x4b5de9,_0x28443e){_0x4b5de9=_0x4b5de9-0x167;let _0x1c6e29=_0x27cecc[_0x4b5de9];return _0x1c6e29;},a59_0x4b5d(_0x1c6266,_0x5af256);}const a59_0xcbd114=a59_0x4b5d;(function(_0x5be93e,_0x17604a){const _0x1a1dc6=a59_0x4b5d,_0x59f624=_0x5be93e();while(!![]){try{const _0x5717cf=-parseInt(_0x1a1dc6(0x169))/0x1+-parseInt(_0x1a1dc6(0x178))/0x2*(-parseInt(_0x1a1dc6(0x16d))/0x3)+-parseInt(_0x1a1dc6(0x175))/0x4+parseInt(_0x1a1dc6(0x16f))/0x5+-parseInt(_0x1a1dc6(0x16e))/0x6+parseInt(_0x1a1dc6(0x177))/0x7*(-parseInt(_0x1a1dc6(0x170))/0x8)+parseInt(_0x1a1dc6(0x173))/0x9;if(_0x5717cf===_0x17604a)break;else _0x59f624['push'](_0x59f624['shift']());}catch(_0xbc420a){_0x59f624['push'](_0x59f624['shift']());}}}(a59_0x27ce,0x38f37));import a59_0x1b6a4c from'./ArcgisDynamicLayer';import a59_0x535599 from'./ArcgisFeatureLayer';import a59_0x237c56 from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a59_0x4d1020 from'./ArcgisTileLayer';import a59_0x48fc8d from'./GeoserverWMSLayer';import a59_0x2b9156 from'./GeoserverWMTSLayer';import a59_0x31ee41 from'./ArcgisWMSLayer';import a59_0x50cffb from'./ArcgisWMTSLayer';import a59_0xde23c3 from'./GeoserverWFSLayer';function a59_0x27ce(){const _0x2a92cd=['getArcgisWmsLayer','9107730ACiaQS','length','1741304TJvewc','getTDTLayer','2219889FrzsAr','414630yZRHPO','getDynamicLayer','getArcgisFeatureLayer','getArcgisTileLayer','getGeoserverWMTSLayer','286565azlzut','url','push','getGeoserverWFSLayer','3HtMbUp','1316574vQBzVl','1362165oGOJYH','8BkgwTB','sublayers'];a59_0x27ce=function(){return _0x2a92cd;};return a59_0x27ce();}import a59_0x5c5082 from'./GeoserverVectorTile';export default class LayerManagement{static async[a59_0xcbd114(0x179)](_0x41b19d){const _0xd64d51=a59_0xcbd114,_0x591a14=await getDynamicLayerInfo(_0x41b19d[_0xd64d51(0x16a)]?_0x41b19d[_0xd64d51(0x16a)]:'');let _0x438148=new a59_0x1b6a4c(_0x41b19d,_0x591a14);return _0x438148;}static async[a59_0xcbd114(0x167)](_0x5a06d8){const _0x1caf04=await getDynamicLayerInfo(_0x5a06d8['url']?_0x5a06d8['url']:'');let _0x526725=new a59_0x4d1020(_0x5a06d8,_0x1caf04);return _0x526725;}static async[a59_0xcbd114(0x17a)](_0x14949b){const _0x37d6e1=a59_0xcbd114,_0x5718ac=await getDynamicLayerInfo(_0x14949b[_0x37d6e1(0x16a)]?_0x14949b[_0x37d6e1(0x16a)]:'');let _0x51d569=[];if(_0x14949b[_0x37d6e1(0x171)])for(let _0x5c0c8c=0x0;_0x5c0c8c<_0x14949b[_0x37d6e1(0x171)][_0x37d6e1(0x174)];_0x5c0c8c++){const _0x12784a=_0x14949b[_0x37d6e1(0x171)][_0x5c0c8c];_0x51d569[_0x37d6e1(0x16b)](await getFeatureLayerInfo(_0x14949b[_0x37d6e1(0x16a)]?_0x14949b['url']:'',_0x12784a));}let _0x3208f7=new a59_0x535599(_0x14949b,_0x5718ac,_0x51d569);return _0x3208f7;}static async[a59_0xcbd114(0x172)](_0x5beacd){const _0x5e0c8c=a59_0xcbd114;var _0x3c270e;const _0x2877bd=(_0x3c270e=_0x5beacd[_0x5e0c8c(0x171)])===null||_0x3c270e===void 0x0?void 0x0:_0x3c270e[0x0],_0x523620=await getWMSLayerCapabilities(_0x5beacd[_0x5e0c8c(0x16a)]?_0x5beacd[_0x5e0c8c(0x16a)]:'',_0x2877bd==null?'':_0x2877bd);let _0x33e34d=new a59_0x31ee41(_0x5beacd,_0x523620);return _0x33e34d;}static async['getArcgisWMTSLayer'](_0x55f609){const _0x50a286=a59_0xcbd114;var _0x4c8033;const _0x3720a1=(_0x4c8033=_0x55f609['sublayers'])===null||_0x4c8033===void 0x0?void 0x0:_0x4c8033[0x0],_0x2f4153=await getWMTSLayerCapabilities(_0x55f609[_0x50a286(0x16a)]?_0x55f609[_0x50a286(0x16a)]:'',_0x3720a1==null?'':_0x3720a1);let _0x588270=new a59_0x50cffb(_0x55f609,_0x2f4153);return _0x588270;}static async['getGeoserverWmsLayer'](_0x225f95){const _0x2a3849=a59_0xcbd114;var _0x29dd8e;const _0x29315f=(_0x29dd8e=_0x225f95[_0x2a3849(0x171)])===null||_0x29dd8e===void 0x0?void 0x0:_0x29dd8e[0x0],_0x57a704=await getWMSLayerCapabilities(_0x225f95[_0x2a3849(0x16a)]?_0x225f95['url']:'',_0x29315f==null?'':_0x29315f);let _0x5eec68=new a59_0x48fc8d(_0x225f95,_0x57a704);return _0x5eec68;}static async[a59_0xcbd114(0x168)](_0x32c2cf){const _0x250ef4=a59_0xcbd114;var _0x482b75;const _0x5ec537=(_0x482b75=_0x32c2cf[_0x250ef4(0x171)])===null||_0x482b75===void 0x0?void 0x0:_0x482b75[0x0],_0x4431b3=await getWMTSLayerCapabilities(_0x32c2cf['url']?_0x32c2cf['url']:'',_0x5ec537==null?'':_0x5ec537);let _0x53045b=new a59_0x2b9156(_0x32c2cf,_0x4431b3);return _0x53045b;}static async[a59_0xcbd114(0x16c)](_0x1b9d8f){const _0xfab93e=a59_0xcbd114;var _0x4ccaa8;const _0x1fdc5c=(_0x4ccaa8=_0x1b9d8f['sublayers'])===null||_0x4ccaa8===void 0x0?void 0x0:_0x4ccaa8[0x0],_0x432503=await getWFSLayerCapabilities(_0x1b9d8f[_0xfab93e(0x16a)]?_0x1b9d8f['url']:'',_0x1fdc5c==null?'':_0x1fdc5c);let _0x138d52=new a59_0xde23c3(_0x1b9d8f,_0x432503);return _0x138d52;}static async['getGeoserverVectorTileLayer'](_0x489b7c){const _0x3989da=a59_0xcbd114;var _0x4066ea;const _0x208cdd=(_0x4066ea=_0x489b7c['sublayers'])===null||_0x4066ea===void 0x0?void 0x0:_0x4066ea[0x0],_0x3cb759=await getWMTSLayerCapabilities(_0x489b7c[_0x3989da(0x16a)]?_0x489b7c['url']:'',_0x208cdd==null?'':_0x208cdd);let _0x2c5f3b=new a59_0x5c5082(_0x489b7c,_0x3cb759);return _0x2c5f3b;}static async[a59_0xcbd114(0x176)](_0x2aa284){const _0x19dc12=a59_0xcbd114;var _0x460b1c;const _0x3d7c80=(_0x460b1c=_0x2aa284[_0x19dc12(0x171)])===null||_0x460b1c===void 0x0?void 0x0:_0x460b1c[0x0],_0x4eb16c=await getWMTSLayerCapabilities(_0x2aa284[_0x19dc12(0x16a)]?_0x2aa284[_0x19dc12(0x16a)]:'',_0x3d7c80==null?'':_0x3d7c80);let _0x4181c4=new a59_0x237c56(_0x2aa284,_0x4eb16c);return _0x4181c4;}}
|
package/layers/TDTLayer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5d63c7,_0x50863d){const _0x2244e2=a60_0x27d4,_0x32f612=_0x5d63c7();while(!![]){try{const _0x2d2428=-parseInt(_0x2244e2(0x7d))/0x1*(-parseInt(_0x2244e2(0x76))/0x2)+parseInt(_0x2244e2(0x72))/0x3*(-parseInt(_0x2244e2(0x7f))/0x4)+-parseInt(_0x2244e2(0x85))/0x5*(parseInt(_0x2244e2(0x82))/0x6)+-parseInt(_0x2244e2(0x7e))/0x7*(parseInt(_0x2244e2(0x73))/0x8)+parseInt(_0x2244e2(0x78))/0x9*(parseInt(_0x2244e2(0x7b))/0xa)+parseInt(_0x2244e2(0x84))/0xb+-parseInt(_0x2244e2(0x80))/0xc*(parseInt(_0x2244e2(0x77))/0xd);if(_0x2d2428===_0x50863d)break;else _0x32f612['push'](_0x32f612['shift']());}catch(_0x2d1be1){_0x32f612['push'](_0x32f612['shift']());}}}(a60_0x2fed,0xbf997));import a60_0x5a69e4 from'ol/layer/Tile';import{WMTS as a60_0x15392a}from'ol/source';function a60_0x2fed(){const _0x166f75=['68774FVlQGx','964197hZyBOr','27gddBKY','layerInfo','1.0.0','3426630zvSWSv','pow','39fIQyeV','91343gTMzLS','740TtoxEs','84bCCRmi','join','29730WXTrYW','opacity','16803611QxRoxq','925NiAwhb','projection','style','tileMatrixSet','sublayers','14271UogMCJ','488TIrhdW','EPSG:4490','boundingBoxExtent'];a60_0x2fed=function(){return _0x166f75;};return a60_0x2fed();}import a60_0x1bced4 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';function a60_0x27d4(_0xa7a370,_0x34e789){const _0x2fed89=a60_0x2fed();return a60_0x27d4=function(_0x27d47e,_0x4e5603){_0x27d47e=_0x27d47e-0x70;let _0x8ab5ed=_0x2fed89[_0x27d47e];return _0x8ab5ed;},a60_0x27d4(_0xa7a370,_0x34e789);}import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a60_0x5a69e4{constructor(_0x3a537a,_0x379d87){const _0x278c1c=a60_0x27d4;let _0x4b68de='';_0x3a537a[_0x278c1c(0x71)]&&_0x3a537a['sublayers']['length']>0x0&&(_0x4b68de=_0x3a537a[_0x278c1c(0x71)][_0x278c1c(0x81)](','));const _0x3aca51=_0x278c1c(0x74);let _0x23abc4=registerProj(_0x3aca51);const _0x16f277=[],_0x5f5da8=[];for(let _0x5cad71=0x1;_0x5cad71<0x13;_0x5cad71++){_0x16f277[_0x5cad71]=getWidth(_0x379d87[_0x278c1c(0x75)])/(0x100*Math[_0x278c1c(0x7c)](0x2,_0x5cad71)),_0x5f5da8[_0x5cad71]=_0x5cad71+'';}super({'opacity':_0x3a537a[_0x278c1c(0x83)],'zIndex':_0x3a537a['mapIndex'],'source':new a60_0x15392a({'style':_0x379d87[_0x278c1c(0x87)],'url':_0x3a537a['url'],'tileGrid':new a60_0x1bced4({'origin':getTopLeft(_0x379d87['boundingBoxExtent']),'resolutions':_0x16f277,'matrixIds':_0x5f5da8}),'layer':_0x4b68de,'matrixSet':_0x379d87[_0x278c1c(0x70)],'version':_0x278c1c(0x7a),'format':_0x379d87['format'][0x0],'projection':_0x3aca51,'requestEncoding':'KVP'})}),this['id']=_0x3a537a['id'],this['initialExtent']=_0x379d87['boundingBoxExtent'],this[_0x278c1c(0x86)]=_0x23abc4,this[_0x278c1c(0x79)]=_0x3a537a;}}
|
package/mapView/Map.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a60_0x536eb7=a60_0x47e0;(function(_0xda1885,_0xb2d3ac){const _0x3958a9=a60_0x47e0,_0x33b323=_0xda1885();while(!![]){try{const _0x348913=parseInt(_0x3958a9(0x96))/0x1+-parseInt(_0x3958a9(0x7f))/0x2+-parseInt(_0x3958a9(0x81))/0x3*(parseInt(_0x3958a9(0xbe))/0x4)+parseInt(_0x3958a9(0xc8))/0x5*(parseInt(_0x3958a9(0x89))/0x6)+parseInt(_0x3958a9(0xaa))/0x7+parseInt(_0x3958a9(0x8d))/0x8*(parseInt(_0x3958a9(0xca))/0x9)+-parseInt(_0x3958a9(0x73))/0xa;if(_0x348913===_0xb2d3ac)break;else _0x33b323['push'](_0x33b323['shift']());}catch(_0x3a6a8b){_0x33b323['push'](_0x33b323['shift']());}}}(a60_0x2de3,0xe2f8a));import'ol/ol.css';import'../assets/main.css';import a60_0x26df53 from'ol/Map';import a60_0x179187 from'ol/events/Event';import{defaults as a60_0x11a93f}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a60_0x143dc7 from'../layers/LayerManager';import a60_0x2a29a9 from'ol/layer/Vector';import a60_0x570253 from'ol/source/Vector';import a60_0x1787b6 from'../controls/ControlManager';import a60_0x52b32b from'../entity/Feature';import a60_0x3670d9 from'../interaction/InteractionManager';function a60_0x47e0(_0x5bd4c6,_0xdb2059){const _0x2de3d5=a60_0x2de3();return a60_0x47e0=function(_0x47e000,_0x3a32f5){_0x47e000=_0x47e000-0x6b;let _0x30c226=_0x2de3d5[_0x47e000];return _0x30c226;},a60_0x47e0(_0x5bd4c6,_0xdb2059);}import a60_0x583e6e from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a60_0x4e0722 from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a60_0x179187{constructor(_0x13f456,_0x298c83,_0x308305){const _0x389375=a60_0x47e0;super(_0x13f456),this[_0x389375(0x95)]=_0x298c83,this[_0x389375(0x8c)]=_0x308305;}}function a60_0x2de3(){const _0x59b51e=['getTempLayerByGeoType','getType','rgba(255,\x200,\x200,\x200.2)','locationWKTs','layerIds','28422DBLpTV','import','getArray','oncontextmenu','getExtent','isSelected','layerType','addMapLayer','maxResolution','getView','projection','getTDTLayer','setProjection','pointTempLayer','getLayers','add','center','addMapLayers','getArcgisFeatureLayer','includes','10732407aXdLcB','arcgis-wmts','getArcgisTileLayer','getCoordinates','removeLayerById','EPSG:4490','addFeature','zoom','getLayersByIds','layerInfo','fit','getZIndex','getMetersPerUnit','geoserver-vector-tile','arcgis-wms','getPolygonTempLayer','locationWKT','暂不支持【','getSource','maxZoom','1412qcBeuV','polygonTempLayer','Point','transform','MultiPoint','getGeoserverWmsLayer','maxScale','setMaxResolution','getGeoserverWFSLayer','addWKT','5fCqLoG','getArcgisWmsLayer','891EnNrQE','getLineTempLayer','setGeometry','getGeoserverVectorTileLayer','all','flashGeometrys','Polygon','getSize','geoserver-wms','setStyle','dispatchEvent','filter','arcgis-tile','fromType','】服务类型','minResolution','constrainResolution','setProperties','extent','getTempLayerById','getLayerByLayerTag','remove','tdt-c','MultiPolygon','getDynamicLayer','push','locationGeometry','getMinZoom','_options','MultiLineString','5053860BucMiD','lineTempLayer','fitLayer','setMinResolution','tag','EPSG:','getTarget','getCode','resetViewProjection','geoserver-wfs','GeometryCollection','getLength','1174320izcksD','length','2367stFBgG','arcgis-feature','getLayerById','fitLayerById','rgba(255,\x200,\x200,\x201)','addLayer','getPointTempLayer','changelayer','2161446jEXFeJ','geoserver-wmts','locationGeometrys','changetype','30616bVhdIM','minZoom','getProjection','insertAt'];a60_0x2de3=function(){return _0x59b51e;};return a60_0x2de3();}export default class OLMap extends a60_0x26df53{constructor(_0x1510ce,_0x384b68,_0x4f07ba){const _0x5f5997=a60_0x47e0;_0x384b68=_0x384b68?_0x384b68:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x238189=_0x384b68[_0x5f5997(0xa0)]?_0x5f5997(0x78)+_0x384b68['projection']:_0x5f5997(0xaf);_0x384b68[_0x5f5997(0xb1)]=_0x384b68[_0x5f5997(0xb1)]?_0x384b68[_0x5f5997(0xb1)]:0xa,_0x384b68[_0x5f5997(0x8e)]=_0x384b68[_0x5f5997(0x8e)]?_0x384b68[_0x5f5997(0x8e)]:0x0,_0x384b68[_0x5f5997(0xbd)]=_0x384b68['maxZoom']?_0x384b68[_0x5f5997(0xbd)]:0x1c,_0x384b68[_0x5f5997(0xda)]=_0x384b68[_0x5f5997(0xda)]?_0x384b68['constrainResolution']:![],_0x384b68[_0x5f5997(0xa6)]=_0x384b68[_0x5f5997(0xa6)]?_0x384b68[_0x5f5997(0xa6)]:[117.22718,31.820386],registerProj(_0x238189);const _0x49f6b3={'target':_0x1510ce,'view':_0x4f07ba?_0x4f07ba:new a60_0x583e6e({'center':_0x384b68[_0x5f5997(0xa6)],'zoom':_0x384b68[_0x5f5997(0xb1)],'projection':_0x238189,'minZoom':_0x384b68[_0x5f5997(0x8e)],'maxZoom':_0x384b68[_0x5f5997(0xbd)],'minResolution':_0x384b68[_0x5f5997(0xd9)],'maxResolution':_0x384b68[_0x5f5997(0x9e)],'constrainResolution':_0x384b68[_0x5f5997(0xda)]}),'controls':a60_0x11a93f({'zoom':![]})};super(_0x49f6b3);_0x384b68[_0x5f5997(0xdc)]&&this[_0x5f5997(0x9f)]()['fit'](_0x384b68[_0x5f5997(0xdc)]);const _0x2a3305=this[_0x5f5997(0x79)]();if(_0x2a3305 instanceof HTMLElement)_0x2a3305[_0x5f5997(0x99)]=function(_0x691c08){return![];};else{const _0x1c3cb0=document['getElementById'](_0x2a3305);_0x1c3cb0&&(_0x1c3cb0[_0x5f5997(0x99)]=function(_0x131160){return![];});}this['interactionManager']=new a60_0x3670d9(this),this['controlManager']=new a60_0x1787b6(this),this[_0x5f5997(0x71)]=_0x384b68;}[a60_0x536eb7(0x9f)](){const _0x3ebbf5=a60_0x536eb7;return super[_0x3ebbf5(0x9f)]();}[a60_0x536eb7(0x75)](_0x4fda7e){const _0x4b1cc7=a60_0x536eb7;var _0xdd61cf;this[_0x4b1cc7(0x9f)]()[_0x4b1cc7(0xb4)](transformExtent(_0x4fda7e['initialExtent'],(_0xdd61cf=_0x4fda7e['projection'])===null||_0xdd61cf===void 0x0?void 0x0:_0xdd61cf[_0x4b1cc7(0x7a)](),this['getView']()['getProjection']()[_0x4b1cc7(0x7a)]()));}[a60_0x536eb7(0x84)](_0x5c6d29){const _0xd8a060=a60_0x536eb7;let _0x15d83a=this[_0xd8a060(0x83)](_0x5c6d29);_0x15d83a&&this[_0xd8a060(0x75)](_0x15d83a);}async[a60_0x536eb7(0x9d)](_0xd0a87a){const _0x2e8032=a60_0x536eb7;let _0x2e255a;switch(_0xd0a87a[_0x2e8032(0x9c)]){case _0x2e8032(0x82):_0x2e255a=await a60_0x143dc7[_0x2e8032(0xa8)](_0xd0a87a);break;case'arcgis-dynamic':_0x2e255a=await a60_0x143dc7[_0x2e8032(0x6d)](_0xd0a87a);break;case _0x2e8032(0xd6):_0x2e255a=await a60_0x143dc7[_0x2e8032(0xac)](_0xd0a87a);break;case _0x2e8032(0xb8):_0x2e255a=await a60_0x143dc7[_0x2e8032(0xc9)](_0xd0a87a);break;case _0x2e8032(0xab):_0x2e255a=await a60_0x143dc7['getArcgisWMTSLayer'](_0xd0a87a);break;case _0x2e8032(0xd2):_0x2e255a=await a60_0x143dc7[_0x2e8032(0xc3)](_0xd0a87a);break;case _0x2e8032(0x7c):_0x2e255a=await a60_0x143dc7[_0x2e8032(0xc6)](_0xd0a87a);break;case _0x2e8032(0x8a):_0x2e255a=await a60_0x143dc7['getGeoserverWMTSLayer'](_0xd0a87a);break;case _0x2e8032(0xb7):_0x2e255a=await a60_0x143dc7[_0x2e8032(0xcd)](_0xd0a87a);break;case _0x2e8032(0x6b):_0x2e255a=await a60_0x143dc7[_0x2e8032(0xa1)](_0xd0a87a);break;default:throw new Error(_0x2e8032(0xbb)+_0xd0a87a['layerType']+_0x2e8032(0xd8));}return this[_0x2e8032(0x86)](_0x2e255a),this[_0x2e8032(0xd4)](new ChangeLayerEvent(_0x2e8032(0x88),[_0xd0a87a['id']],_0x2e8032(0xa5))),_0x2e255a;}async[a60_0x536eb7(0xa7)](_0x5b47c6){const _0x503da5=a60_0x536eb7;let _0x468393=[];const _0x1f8053=[];for(let _0x283267=0x0;_0x283267<_0x5b47c6[_0x503da5(0x80)];_0x283267++){const _0x2740a5=_0x5b47c6[_0x283267];_0x1f8053[_0x503da5(0x6e)](_0x2740a5['id']),_0x468393[_0x503da5(0x6e)](this[_0x503da5(0x9d)](_0x2740a5));}const _0x25203a=await Promise[_0x503da5(0xce)](_0x468393);return this[_0x503da5(0xd4)](new ChangeLayerEvent(_0x503da5(0x88),_0x1f8053,_0x503da5(0xa5))),_0x25203a;}[a60_0x536eb7(0x86)](_0x47de3d,_0x2b6947=![]){const _0x490c0c=a60_0x536eb7,_0x4dbc0f=_0x47de3d,_0x534724=this['getLayerById'](_0x4dbc0f['id']);if(_0x534724==null){const _0x1fc763=_0x4dbc0f[_0x490c0c(0xb3)]==undefined||_0x4dbc0f[_0x490c0c(0xb3)]['minScale']==undefined||_0x4dbc0f[_0x490c0c(0xb3)]['minScale']<0x0?undefined:calculateResolution(_0x4dbc0f['layerInfo']['minScale'],this[_0x490c0c(0x9f)]()[_0x490c0c(0x8f)]()[_0x490c0c(0xb6)]()||0x0);_0x47de3d[_0x490c0c(0x76)](_0x1fc763);const _0x494884=_0x4dbc0f['layerInfo']==undefined||_0x4dbc0f[_0x490c0c(0xb3)][_0x490c0c(0xc4)]==undefined||_0x4dbc0f[_0x490c0c(0xb3)][_0x490c0c(0xc4)]<0x0?undefined:calculateResolution(_0x4dbc0f[_0x490c0c(0xb3)][_0x490c0c(0xc4)],this[_0x490c0c(0x9f)]()['getProjection']()[_0x490c0c(0xb6)]()||0x0);_0x47de3d[_0x490c0c(0xc5)](_0x494884);const _0x51208e=this['getLayers']()[_0x490c0c(0x98)]()[_0x490c0c(0x80)];if(!this['_options'][_0x490c0c(0xa0)]&&_0x51208e==0x0&&_0x4dbc0f[_0x490c0c(0xa0)]&&_0x4dbc0f[_0x490c0c(0xa0)][_0x490c0c(0x7a)]()!=this[_0x490c0c(0x9f)]()[_0x490c0c(0x8f)]()[_0x490c0c(0x7a)]()){}let _0x4e524b=_0x47de3d[_0x490c0c(0xb5)]();_0x4e524b!=undefined&&_0x4e524b>_0x51208e&&(_0x4e524b=_0x51208e),this['getLayers']()['insertAt'](_0x4e524b==undefined?_0x51208e:_0x4e524b,_0x47de3d),_0x2b6947&&this[_0x490c0c(0x75)](_0x4dbc0f);}}[a60_0x536eb7(0xae)](_0x268eaf){const _0x121e09=a60_0x536eb7,_0x2f8691=this['getLayerById'](_0x268eaf);_0x2f8691&&(this['removeLayer'](_0x2f8691),this['dispatchEvent'](new ChangeLayerEvent('changelayer',[_0x268eaf],_0x121e09(0xdf))));}['getLayerById'](_0x10ce92){const _0x38bb6a=a60_0x536eb7;let _0xf16e3c,_0x3e4399=this[_0x38bb6a(0xa4)]()[_0x38bb6a(0x98)]();for(let _0x2f31a1=0x0;_0x2f31a1<_0x3e4399[_0x38bb6a(0x80)];_0x2f31a1++){let _0x262baf=_0x3e4399[_0x2f31a1]['id'];if(_0x10ce92==_0x262baf){_0xf16e3c=_0x3e4399[_0x2f31a1];break;}}return _0xf16e3c;}[a60_0x536eb7(0xde)](_0x558c8c){const _0x541925=a60_0x536eb7;let _0x57f4db,_0x1e8206=this['getLayers']()['getArray']();for(let _0x2ab768=0x0;_0x2ab768<_0x1e8206['length'];_0x2ab768++){const _0x112a6f=_0x1e8206[_0x2ab768][_0x541925(0xb3)];if(!_0x112a6f)continue;let _0x12db80=_0x112a6f['layerTag'];if(_0x12db80==_0x558c8c){_0x57f4db=_0x1e8206[_0x2ab768];break;}}return _0x57f4db;}[a60_0x536eb7(0xb2)](_0x2b6b4d){const _0x59fb04=a60_0x536eb7;let _0x225da5=this['getLayers']()[_0x59fb04(0x98)]();return _0x225da5[_0x59fb04(0xd5)](_0x310d72=>_0x2b6b4d[_0x59fb04(0xa9)](_0x310d72['id']));}['getTempLayerById'](_0x7b7f13){const _0x1a6d5b=a60_0x536eb7;let _0x1cf9bd,_0x223b68=this[_0x1a6d5b(0xa4)]()['getArray']();for(let _0x225f8f=0x0;_0x225f8f<_0x223b68[_0x1a6d5b(0x80)];_0x225f8f++){const _0x3f8c0e=_0x223b68[_0x225f8f];if(_0x3f8c0e['id']===_0x7b7f13){_0x1cf9bd=_0x3f8c0e;break;}}if(!_0x1cf9bd){_0x1cf9bd=new a60_0x2a29a9({'zIndex':0x270f,'source':new a60_0x570253()}),_0x1cf9bd['id']=_0x7b7f13;const _0x468f46=this['getLayers']()[_0x1a6d5b(0x7e)]();switch(_0x7b7f13){case _0x1a6d5b(0x74):this['getLayers']()['insertAt'](_0x468f46-0x1>-0x1?_0x468f46-0x1:0x0,_0x1cf9bd);break;case _0x1a6d5b(0xbf):this[_0x1a6d5b(0xa4)]()[_0x1a6d5b(0x90)](_0x468f46-0x2>-0x1?_0x468f46-0x2:0x0,_0x1cf9bd);break;case'pointTempLayer':this['getLayers']()['insertAt'](_0x468f46,_0x1cf9bd);break;default:break;}}return _0x1cf9bd;}['getPointTempLayer'](){const _0x455bd9=a60_0x536eb7;return this[_0x455bd9(0xdd)](_0x455bd9(0xa3));}[a60_0x536eb7(0xcb)](){const _0x2e620f=a60_0x536eb7;return this[_0x2e620f(0xdd)](_0x2e620f(0x74));}[a60_0x536eb7(0xb9)](){const _0x2b6210=a60_0x536eb7;return this[_0x2b6210(0xdd)](_0x2b6210(0xbf));}[a60_0x536eb7(0x91)](_0x265a6){const _0x1588b9=a60_0x536eb7;let _0x58b067=this[_0x1588b9(0x87)]();switch(_0x265a6){case _0x1588b9(0xc0):case _0x1588b9(0xc2):_0x58b067=this[_0x1588b9(0x87)]();case'LineString':case _0x1588b9(0x72):_0x58b067=this[_0x1588b9(0xcb)]();case _0x1588b9(0xd0):case _0x1588b9(0x6c):_0x58b067=this[_0x1588b9(0xb9)]();}return _0x58b067;}[a60_0x536eb7(0x7b)](_0x3034a4){const _0x218861=a60_0x536eb7;let _0x2f9eef=this['getView']()[_0x218861(0x70)](),_0x3bcacf=this['getView']()['getMaxZoom']();registerProj(_0x3034a4),this[_0x218861(0x9f)]()[_0x218861(0xa2)](_0x3034a4);}['sortTemLayer'](){const _0x822c41=a60_0x536eb7;let _0x2867e6=[];_0x2867e6[_0x822c41(0x6e)](this['getPointTempLayer']()),_0x2867e6['push'](this[_0x822c41(0xcb)]()),_0x2867e6[_0x822c41(0x6e)](this['getPolygonTempLayer']());const _0x4c5fbb=this[_0x822c41(0xa4)]()[_0x822c41(0x98)]()['length'];for(let _0x17d7d3=0x0;_0x17d7d3<_0x2867e6[_0x822c41(0x80)];_0x17d7d3++){const _0x3d3491=_0x2867e6[_0x17d7d3];this['getLayers']()[_0x822c41(0x90)](_0x4c5fbb-_0x17d7d3-0x1,_0x3d3491);}}['getExtent'](){const _0x2a69aa=a60_0x536eb7;return this['getView']()['calculateExtent'](this[_0x2a69aa(0xd1)]());}[a60_0x536eb7(0xc7)](_0x43d6ce,_0x1aa1c3,_0x55c9c2,_0x2fd9ab=!![],_0x9c57ec,_0x5a177f={'color':'rgba(255,\x200,\x200,\x200.2)','opacity':0.2,'outlineColor':a60_0x536eb7(0x85),'outlineWidth':0x2}){const _0x21f8de=a60_0x536eb7;var _0x2d6eb8;const _0x46acc7=fromWKT(_0x43d6ce,_0x1aa1c3,this[_0x21f8de(0x9f)]()[_0x21f8de(0x8f)]()[_0x21f8de(0x7a)]());if(!_0x46acc7)return;const _0x4ef8bf=this[_0x21f8de(0x91)](_0x46acc7[_0x21f8de(0x92)]()),_0x5684ec=getStyle(_0x5a177f),_0x55edaa=new a60_0x52b32b();return _0x55edaa[_0x21f8de(0xcc)](_0x46acc7),_0x55edaa[_0x21f8de(0xd3)](_0x5684ec),_0x9c57ec?_0x55edaa[_0x21f8de(0xdb)](_0x9c57ec):_0x55edaa[_0x21f8de(0xdb)]({}),_0x55edaa[_0x21f8de(0x77)]=_0x55c9c2,(_0x2d6eb8=_0x4ef8bf[_0x21f8de(0xbc)]())===null||_0x2d6eb8===void 0x0?void 0x0:_0x2d6eb8[_0x21f8de(0xb0)](_0x55edaa),_0x2fd9ab&&this[_0x21f8de(0x6f)](_0x46acc7,undefined,1.2,![]),_0x55edaa;}['addWKTs'](_0x5288d9,_0x2a868b,_0x2e42b2,_0x3e144e=!![],_0x4d63d1={'color':a60_0x536eb7(0x93),'opacity':0.2,'outlineColor':a60_0x536eb7(0x85),'outlineWidth':0x2},_0x2c72f8){const _0x20aed0=a60_0x536eb7;var _0x559a6d;const _0x334c46=fromWKTs(_0x5288d9,_0x2a868b,this['getView']()[_0x20aed0(0x8f)]()[_0x20aed0(0x7a)]());if(!_0x334c46||_0x334c46[_0x20aed0(0x80)]==0x0)return;const _0x49e500=this[_0x20aed0(0x91)](_0x334c46[0x0][_0x20aed0(0x92)]()),_0x4cc32f=getStyle(_0x4d63d1);let _0x22ed58=[];for(const _0x3a65c9 of _0x334c46){const _0x230f34=new a60_0x52b32b();_0x230f34[_0x20aed0(0xcc)](_0x3a65c9),_0x230f34[_0x20aed0(0xd3)](_0x4cc32f),_0x2c72f8?_0x230f34[_0x20aed0(0xdb)](_0x2c72f8):_0x230f34[_0x20aed0(0xdb)]({}),_0x230f34[_0x20aed0(0xd7)]=_0x20aed0(0x97),_0x230f34[_0x20aed0(0x9b)]=!![],_0x230f34[_0x20aed0(0x77)]=_0x2e42b2,_0x22ed58[_0x20aed0(0x6e)](_0x230f34);}return(_0x559a6d=_0x49e500[_0x20aed0(0xbc)]())===null||_0x559a6d===void 0x0?void 0x0:_0x559a6d['addFeatures'](_0x22ed58),_0x3e144e&&this[_0x20aed0(0x8b)](_0x334c46,undefined,1.2,![]),_0x22ed58;}[a60_0x536eb7(0xba)](_0x2854cc,_0x520362,_0x26ba75=1.2,_0x18cb59=!![]){const _0x5b59d8=a60_0x536eb7;if(!_0x2854cc)return;let _0x3eedb9=fromWKT(_0x2854cc,_0x520362,this[_0x5b59d8(0x9f)]()['getProjection']()[_0x5b59d8(0x7a)]());if(!_0x3eedb9)return;this[_0x5b59d8(0x6f)](_0x3eedb9,_0x520362,_0x26ba75,_0x18cb59);}[a60_0x536eb7(0x94)](_0x14ab89,_0x536513,_0x3004d3=1.2,_0xc0bd2b=!![]){const _0xc16316=a60_0x536eb7;if(!_0x14ab89||_0x14ab89['length']===0x0)return;const _0x4703eb=[];for(let _0x56c7ab=0x0;_0x56c7ab<_0x14ab89['length'];_0x56c7ab++){let _0x21fb3b=_0x14ab89[_0x56c7ab],_0x18f96c=fromWKT(_0x21fb3b,_0x536513,this[_0xc16316(0x9f)]()[_0xc16316(0x8f)]()[_0xc16316(0x7a)]());if(!_0x18f96c)continue;_0x4703eb[_0xc16316(0x6e)](_0x18f96c);}this[_0xc16316(0x8b)](_0x4703eb,_0x536513,_0x3004d3,_0xc0bd2b);}[a60_0x536eb7(0x6f)](_0xb1550,_0x30fa4b,_0x5e6d2e=1.2,_0x260111=!![]){const _0x49e690=a60_0x536eb7;if(!_0xb1550)return;let _0x4d2952=_0xb1550;_0x30fa4b&&(_0x4d2952=_0xb1550[_0x49e690(0xc1)](_0x30fa4b,this[_0x49e690(0x9f)]()[_0x49e690(0x8f)]()));switch(_0x4d2952[_0x49e690(0x92)]()){case _0x49e690(0xc0):this[_0x49e690(0x9f)]()['setCenter'](_0x4d2952[_0x49e690(0xad)]());break;case _0x49e690(0xd0):case _0x49e690(0xc2):case _0x49e690(0x72):case _0x49e690(0x6c):case _0x49e690(0x7d):this[_0x49e690(0x9f)]()[_0x49e690(0xb4)](expandExtent(_0x4d2952[_0x49e690(0x9a)](),_0x5e6d2e));break;}if(_0x260111){const _0x3fa56d=new a60_0x4e0722(this);_0x3fa56d[_0x49e690(0xcf)]([_0x4d2952],0x3);}}['locationGeometrys'](_0x1acc30,_0x3b14a0,_0x52b99a=1.2,_0x3be994=!![]){const _0x582a66=a60_0x536eb7;if(!_0x1acc30||_0x1acc30['length']===0x0)return;let _0x4245e0=null;for(const _0x5b6c67 of _0x1acc30){_0x4245e0?_0x4245e0=union(_0x4245e0,_0x5b6c67):_0x4245e0=_0x5b6c67;}_0x4245e0&&this[_0x582a66(0x6f)](_0x4245e0,_0x3b14a0,_0x52b99a,![]);if(_0x3be994){const _0x1988f4=new a60_0x4e0722(this);_0x1988f4['flashGeometrys'](_0x1acc30,0x3);}}}
|
|
1
|
+
const a61_0x3ae1c9=a61_0x4d0a;(function(_0x2ba936,_0x152f34){const _0x212a70=a61_0x4d0a,_0x4d8eaa=_0x2ba936();while(!![]){try{const _0x5d46a8=parseInt(_0x212a70(0x1b5))/0x1+parseInt(_0x212a70(0x18a))/0x2*(parseInt(_0x212a70(0x168))/0x3)+parseInt(_0x212a70(0x194))/0x4+parseInt(_0x212a70(0x16d))/0x5*(-parseInt(_0x212a70(0x15f))/0x6)+parseInt(_0x212a70(0x14e))/0x7*(parseInt(_0x212a70(0x173))/0x8)+parseInt(_0x212a70(0x1ad))/0x9+-parseInt(_0x212a70(0x16b))/0xa;if(_0x5d46a8===_0x152f34)break;else _0x4d8eaa['push'](_0x4d8eaa['shift']());}catch(_0x279fa5){_0x4d8eaa['push'](_0x4d8eaa['shift']());}}}(a61_0x48d4,0xeab24));import'ol/ol.css';import'../assets/main.css';import a61_0x1f9713 from'ol/Map';import a61_0x1efb4e from'ol/events/Event';import{defaults as a61_0x20c877}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a61_0x232867 from'../layers/LayerManager';import a61_0xff18c9 from'ol/layer/Vector';import a61_0x2feeb3 from'ol/source/Vector';function a61_0x48d4(){const _0x9ffca2=['geoserver-vector-tile','getArray','setMaxResolution','getCode','getLayerById','geoserver-wms','MultiPolygon','addFeature','constrainResolution','removeLayerById','getTDTLayer','arcgis-feature','6295569woqCNl','layerInfo','removeLayer','setProjection','addMapLayer','calculateExtent','getGeoserverWFSLayer','locationWKTs','getArcgisTileLayer','getMinZoom','isSelected','getLayerByLayerTag','getZIndex','length','transform','getExtent','EPSG:4490','206322TjquFS','locationWKT','remove','initialExtent','getTempLayerByGeoType','getMaxZoom','oncontextmenu','getLength','lineTempLayer','19446rTfOUz','maxScale','getLayers','19151540LEidsf','projection','185fauPLA','minScale','GeometryCollection','getArcgisFeatureLayer','rgba(255,\x200,\x200,\x201)','getSource','8LtMIYR','zoom','changetype','getProjection','暂不支持【','getLineTempLayer','maxResolution','getDynamicLayer','getPointTempLayer','layerType','polygonTempLayer','addWKTs','setCenter','getLayersByIds','all','Point','maxZoom','pointTempLayer','setGeometry','changelayer','insertAt','getGeoserverVectorTileLayer','push','20EWLVoe','center','addFeatures','getType','tdt-c','geoserver-wmts','getSize','getCoordinates','sortTemLayer','layerIds','5181596VIrZJc','EPSG:','fitLayer','arcgis-tile','getTempLayerById','getPolygonTempLayer','Polygon','fit','setProperties','arcgis-wmts','minResolution','flashGeometrys','filter','locationGeometry','resetViewProjection','add','layerTag','getMetersPerUnit','dispatchEvent','minZoom','rgba(255,\x200,\x200,\x200.2)','_options','interactionManager','MultiLineString','LineString','8776134lmUUvk','MultiPoint','addLayer','】服务类型','extent','addMapLayers','getView','getArcgisWmsLayer','914077SUkjhe','fitLayerById'];a61_0x48d4=function(){return _0x9ffca2;};return a61_0x48d4();}import a61_0x1e6b9d from'../controls/ControlManager';import a61_0x995145 from'../entity/Feature';import a61_0x54fa25 from'../interaction/InteractionManager';import a61_0x4437af from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';function a61_0x4d0a(_0x4de3f8,_0x4858df){const _0x48d482=a61_0x48d4();return a61_0x4d0a=function(_0x4d0af8,_0x5f2899){_0x4d0af8=_0x4d0af8-0x143;let _0x38e00f=_0x48d482[_0x4d0af8];return _0x38e00f;},a61_0x4d0a(_0x4de3f8,_0x4858df);}import a61_0x267a99 from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a61_0x1efb4e{constructor(_0x2343e9,_0x56ca11,_0x5cec18){const _0x4e8bf6=a61_0x4d0a;super(_0x2343e9),this[_0x4e8bf6(0x193)]=_0x56ca11,this[_0x4e8bf6(0x175)]=_0x5cec18;}}export default class OLMap extends a61_0x1f9713{constructor(_0x4258fb,_0x50ec64,_0x15a831){const _0x1033af=a61_0x4d0a;_0x50ec64=_0x50ec64?_0x50ec64:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0xc057d3=_0x50ec64['projection']?_0x1033af(0x195)+_0x50ec64[_0x1033af(0x16c)]:_0x1033af(0x15e);_0x50ec64[_0x1033af(0x174)]=_0x50ec64[_0x1033af(0x174)]?_0x50ec64[_0x1033af(0x174)]:0xa,_0x50ec64[_0x1033af(0x1a7)]=_0x50ec64[_0x1033af(0x1a7)]?_0x50ec64[_0x1033af(0x1a7)]:0x0,_0x50ec64[_0x1033af(0x183)]=_0x50ec64[_0x1033af(0x183)]?_0x50ec64[_0x1033af(0x183)]:0x1c,_0x50ec64[_0x1033af(0x14a)]=_0x50ec64[_0x1033af(0x14a)]?_0x50ec64[_0x1033af(0x14a)]:![],_0x50ec64[_0x1033af(0x18b)]=_0x50ec64['center']?_0x50ec64[_0x1033af(0x18b)]:[117.22718,31.820386],registerProj(_0xc057d3);const _0x44d8a4={'target':_0x4258fb,'view':_0x15a831?_0x15a831:new a61_0x4437af({'center':_0x50ec64[_0x1033af(0x18b)],'zoom':_0x50ec64[_0x1033af(0x174)],'projection':_0xc057d3,'minZoom':_0x50ec64[_0x1033af(0x1a7)],'maxZoom':_0x50ec64['maxZoom'],'minResolution':_0x50ec64[_0x1033af(0x19e)],'maxResolution':_0x50ec64[_0x1033af(0x179)],'constrainResolution':_0x50ec64[_0x1033af(0x14a)]}),'controls':a61_0x20c877({'zoom':![]})};super(_0x44d8a4);_0x50ec64[_0x1033af(0x1b1)]&&this[_0x1033af(0x1b3)]()['fit'](_0x50ec64['extent']);const _0x2d6b1c=this['getTarget']();if(_0x2d6b1c instanceof HTMLElement)_0x2d6b1c[_0x1033af(0x165)]=function(_0x23ee2f){return![];};else{const _0x134f9c=document['getElementById'](_0x2d6b1c);_0x134f9c&&(_0x134f9c[_0x1033af(0x165)]=function(_0x53d847){return![];});}this[_0x1033af(0x1aa)]=new a61_0x54fa25(this),this['controlManager']=new a61_0x1e6b9d(this),this[_0x1033af(0x1a9)]=_0x50ec64;}['getView'](){const _0x3ccfb6=a61_0x4d0a;return super[_0x3ccfb6(0x1b3)]();}['fitLayer'](_0x54b159){const _0xeaff82=a61_0x4d0a;var _0x2d82b4;this[_0xeaff82(0x1b3)]()[_0xeaff82(0x19b)](transformExtent(_0x54b159[_0xeaff82(0x162)],(_0x2d82b4=_0x54b159[_0xeaff82(0x16c)])===null||_0x2d82b4===void 0x0?void 0x0:_0x2d82b4['getCode'](),this['getView']()['getProjection']()[_0xeaff82(0x145)]()));}[a61_0x3ae1c9(0x1b6)](_0x364293){const _0x31d416=a61_0x3ae1c9;let _0x2da0cc=this[_0x31d416(0x146)](_0x364293);_0x2da0cc&&this[_0x31d416(0x196)](_0x2da0cc);}async[a61_0x3ae1c9(0x152)](_0x556890){const _0x453fe7=a61_0x3ae1c9;let _0x1a5648;switch(_0x556890[_0x453fe7(0x17c)]){case _0x453fe7(0x14d):_0x1a5648=await a61_0x232867[_0x453fe7(0x170)](_0x556890);break;case'arcgis-dynamic':_0x1a5648=await a61_0x232867[_0x453fe7(0x17a)](_0x556890);break;case _0x453fe7(0x197):_0x1a5648=await a61_0x232867[_0x453fe7(0x156)](_0x556890);break;case'arcgis-wms':_0x1a5648=await a61_0x232867[_0x453fe7(0x1b4)](_0x556890);break;case _0x453fe7(0x19d):_0x1a5648=await a61_0x232867['getArcgisWMTSLayer'](_0x556890);break;case _0x453fe7(0x147):_0x1a5648=await a61_0x232867['getGeoserverWmsLayer'](_0x556890);break;case'geoserver-wfs':_0x1a5648=await a61_0x232867[_0x453fe7(0x154)](_0x556890);break;case _0x453fe7(0x18f):_0x1a5648=await a61_0x232867['getGeoserverWMTSLayer'](_0x556890);break;case _0x453fe7(0x1b7):_0x1a5648=await a61_0x232867[_0x453fe7(0x188)](_0x556890);break;case _0x453fe7(0x18e):_0x1a5648=await a61_0x232867[_0x453fe7(0x14c)](_0x556890);break;default:throw new Error(_0x453fe7(0x177)+_0x556890['layerType']+_0x453fe7(0x1b0));}return this[_0x453fe7(0x1af)](_0x1a5648),this[_0x453fe7(0x1a6)](new ChangeLayerEvent(_0x453fe7(0x186),[_0x556890['id']],'add')),_0x1a5648;}async[a61_0x3ae1c9(0x1b2)](_0x327d48){const _0x16452a=a61_0x3ae1c9;let _0x3e7352=[];const _0x57c8d1=[];for(let _0x169c29=0x0;_0x169c29<_0x327d48[_0x16452a(0x15b)];_0x169c29++){const _0x224143=_0x327d48[_0x169c29];_0x57c8d1[_0x16452a(0x189)](_0x224143['id']),_0x3e7352[_0x16452a(0x189)](this['addMapLayer'](_0x224143));}const _0x5b2900=await Promise[_0x16452a(0x181)](_0x3e7352);return this[_0x16452a(0x1a6)](new ChangeLayerEvent('changelayer',_0x57c8d1,_0x16452a(0x1a3))),_0x5b2900;}[a61_0x3ae1c9(0x1af)](_0x3ac9f5,_0x21eb95=![]){const _0xf58cda=a61_0x3ae1c9,_0x15a400=_0x3ac9f5,_0x5e64cb=this[_0xf58cda(0x146)](_0x15a400['id']);if(_0x5e64cb==null){const _0x2f72cc=_0x15a400['layerInfo']==undefined||_0x15a400['layerInfo'][_0xf58cda(0x16e)]==undefined||_0x15a400[_0xf58cda(0x14f)][_0xf58cda(0x16e)]<0x0?undefined:calculateResolution(_0x15a400[_0xf58cda(0x14f)][_0xf58cda(0x16e)],this[_0xf58cda(0x1b3)]()[_0xf58cda(0x176)]()[_0xf58cda(0x1a5)]()||0x0);_0x3ac9f5['setMinResolution'](_0x2f72cc);const _0x3c09a8=_0x15a400[_0xf58cda(0x14f)]==undefined||_0x15a400[_0xf58cda(0x14f)][_0xf58cda(0x169)]==undefined||_0x15a400[_0xf58cda(0x14f)][_0xf58cda(0x169)]<0x0?undefined:calculateResolution(_0x15a400[_0xf58cda(0x14f)][_0xf58cda(0x169)],this['getView']()[_0xf58cda(0x176)]()[_0xf58cda(0x1a5)]()||0x0);_0x3ac9f5[_0xf58cda(0x144)](_0x3c09a8);const _0x16857a=this[_0xf58cda(0x16a)]()[_0xf58cda(0x143)]()[_0xf58cda(0x15b)];if(!this[_0xf58cda(0x1a9)][_0xf58cda(0x16c)]&&_0x16857a==0x0&&_0x15a400[_0xf58cda(0x16c)]&&_0x15a400['projection'][_0xf58cda(0x145)]()!=this[_0xf58cda(0x1b3)]()['getProjection']()[_0xf58cda(0x145)]()){}let _0x2fecbb=_0x3ac9f5[_0xf58cda(0x15a)]();_0x2fecbb!=undefined&&_0x2fecbb>_0x16857a&&(_0x2fecbb=_0x16857a),this[_0xf58cda(0x16a)]()[_0xf58cda(0x187)](_0x2fecbb==undefined?_0x16857a:_0x2fecbb,_0x3ac9f5),_0x21eb95&&this[_0xf58cda(0x196)](_0x15a400);}}[a61_0x3ae1c9(0x14b)](_0x21388d){const _0x246ce3=a61_0x3ae1c9,_0x154a61=this[_0x246ce3(0x146)](_0x21388d);_0x154a61&&(this[_0x246ce3(0x150)](_0x154a61),this['dispatchEvent'](new ChangeLayerEvent(_0x246ce3(0x186),[_0x21388d],_0x246ce3(0x161))));}[a61_0x3ae1c9(0x146)](_0x280b81){const _0xda58c8=a61_0x3ae1c9;let _0x36ad1f,_0x532358=this[_0xda58c8(0x16a)]()[_0xda58c8(0x143)]();for(let _0x2138ea=0x0;_0x2138ea<_0x532358[_0xda58c8(0x15b)];_0x2138ea++){let _0xc0d13a=_0x532358[_0x2138ea]['id'];if(_0x280b81==_0xc0d13a){_0x36ad1f=_0x532358[_0x2138ea];break;}}return _0x36ad1f;}[a61_0x3ae1c9(0x159)](_0x3ef860){const _0x4a3544=a61_0x3ae1c9;let _0x52faf0,_0x2e5e97=this[_0x4a3544(0x16a)]()[_0x4a3544(0x143)]();for(let _0x4e8464=0x0;_0x4e8464<_0x2e5e97['length'];_0x4e8464++){const _0x545e56=_0x2e5e97[_0x4e8464][_0x4a3544(0x14f)];if(!_0x545e56)continue;let _0x5d7576=_0x545e56[_0x4a3544(0x1a4)];if(_0x5d7576==_0x3ef860){_0x52faf0=_0x2e5e97[_0x4e8464];break;}}return _0x52faf0;}[a61_0x3ae1c9(0x180)](_0xfd871d){const _0x3f20af=a61_0x3ae1c9;let _0x5258e6=this[_0x3f20af(0x16a)]()[_0x3f20af(0x143)]();return _0x5258e6[_0x3f20af(0x1a0)](_0x534fc4=>_0xfd871d['includes'](_0x534fc4['id']));}['getTempLayerById'](_0x2b25e0){const _0x5cbb5b=a61_0x3ae1c9;let _0x4f3fb5,_0x5bad53=this['getLayers']()[_0x5cbb5b(0x143)]();for(let _0x58d52a=0x0;_0x58d52a<_0x5bad53[_0x5cbb5b(0x15b)];_0x58d52a++){const _0x5bbb48=_0x5bad53[_0x58d52a];if(_0x5bbb48['id']===_0x2b25e0){_0x4f3fb5=_0x5bbb48;break;}}if(!_0x4f3fb5){_0x4f3fb5=new a61_0xff18c9({'zIndex':0x270f,'source':new a61_0x2feeb3()}),_0x4f3fb5['id']=_0x2b25e0;const _0x3fff9e=this[_0x5cbb5b(0x16a)]()[_0x5cbb5b(0x166)]();switch(_0x2b25e0){case _0x5cbb5b(0x167):this[_0x5cbb5b(0x16a)]()['insertAt'](_0x3fff9e-0x1>-0x1?_0x3fff9e-0x1:0x0,_0x4f3fb5);break;case _0x5cbb5b(0x17d):this['getLayers']()[_0x5cbb5b(0x187)](_0x3fff9e-0x2>-0x1?_0x3fff9e-0x2:0x0,_0x4f3fb5);break;case _0x5cbb5b(0x184):this['getLayers']()['insertAt'](_0x3fff9e,_0x4f3fb5);break;default:break;}}return _0x4f3fb5;}[a61_0x3ae1c9(0x17b)](){const _0x55cba5=a61_0x3ae1c9;return this[_0x55cba5(0x198)](_0x55cba5(0x184));}['getLineTempLayer'](){const _0x3c419c=a61_0x3ae1c9;return this[_0x3c419c(0x198)](_0x3c419c(0x167));}[a61_0x3ae1c9(0x199)](){const _0x11e2e5=a61_0x3ae1c9;return this[_0x11e2e5(0x198)](_0x11e2e5(0x17d));}['getTempLayerByGeoType'](_0x28d26f){const _0x27e3de=a61_0x3ae1c9;let _0x7e2d0b=this[_0x27e3de(0x17b)]();switch(_0x28d26f){case _0x27e3de(0x182):case _0x27e3de(0x1ae):_0x7e2d0b=this[_0x27e3de(0x17b)]();case _0x27e3de(0x1ac):case _0x27e3de(0x1ab):_0x7e2d0b=this[_0x27e3de(0x178)]();case _0x27e3de(0x19a):case _0x27e3de(0x148):_0x7e2d0b=this[_0x27e3de(0x199)]();}return _0x7e2d0b;}[a61_0x3ae1c9(0x1a2)](_0x4d36bd){const _0x5e478e=a61_0x3ae1c9;let _0x49d3e3=this[_0x5e478e(0x1b3)]()[_0x5e478e(0x157)](),_0x450740=this[_0x5e478e(0x1b3)]()[_0x5e478e(0x164)]();registerProj(_0x4d36bd),this[_0x5e478e(0x1b3)]()[_0x5e478e(0x151)](_0x4d36bd);}[a61_0x3ae1c9(0x192)](){const _0x23043f=a61_0x3ae1c9;let _0x3bccce=[];_0x3bccce['push'](this[_0x23043f(0x17b)]()),_0x3bccce[_0x23043f(0x189)](this[_0x23043f(0x178)]()),_0x3bccce[_0x23043f(0x189)](this['getPolygonTempLayer']());const _0x1c2cad=this['getLayers']()['getArray']()[_0x23043f(0x15b)];for(let _0x2ff3fe=0x0;_0x2ff3fe<_0x3bccce['length'];_0x2ff3fe++){const _0x2e7f3c=_0x3bccce[_0x2ff3fe];this[_0x23043f(0x16a)]()[_0x23043f(0x187)](_0x1c2cad-_0x2ff3fe-0x1,_0x2e7f3c);}}[a61_0x3ae1c9(0x15d)](){const _0x3a5df7=a61_0x3ae1c9;return this[_0x3a5df7(0x1b3)]()[_0x3a5df7(0x153)](this[_0x3a5df7(0x190)]());}['addWKT'](_0x327038,_0x180c74,_0x48e676,_0x16b688=!![],_0x42219e,_0x161568={'color':a61_0x3ae1c9(0x1a8),'opacity':0.2,'outlineColor':a61_0x3ae1c9(0x171),'outlineWidth':0x2}){const _0xb38f5=a61_0x3ae1c9;var _0x2f76e9;const _0x294540=fromWKT(_0x327038,_0x180c74,this[_0xb38f5(0x1b3)]()[_0xb38f5(0x176)]()[_0xb38f5(0x145)]());if(!_0x294540)return;const _0x20c099=this['getTempLayerByGeoType'](_0x294540[_0xb38f5(0x18d)]()),_0x16307c=getStyle(_0x161568),_0x2e9afa=new a61_0x995145();return _0x2e9afa[_0xb38f5(0x185)](_0x294540),_0x2e9afa['setStyle'](_0x16307c),_0x42219e?_0x2e9afa[_0xb38f5(0x19c)](_0x42219e):_0x2e9afa[_0xb38f5(0x19c)]({}),_0x2e9afa['tag']=_0x48e676,(_0x2f76e9=_0x20c099[_0xb38f5(0x172)]())===null||_0x2f76e9===void 0x0?void 0x0:_0x2f76e9[_0xb38f5(0x149)](_0x2e9afa),_0x16b688&&this[_0xb38f5(0x1a1)](_0x294540,undefined,1.2,![]),_0x2e9afa;}[a61_0x3ae1c9(0x17e)](_0x2096a7,_0x18fdad,_0x47b07a,_0x364cd6=!![],_0x5130b2={'color':a61_0x3ae1c9(0x1a8),'opacity':0.2,'outlineColor':a61_0x3ae1c9(0x171),'outlineWidth':0x2},_0x3d9bf2){const _0x2b20d2=a61_0x3ae1c9;var _0x556997;const _0x252d98=fromWKTs(_0x2096a7,_0x18fdad,this[_0x2b20d2(0x1b3)]()['getProjection']()[_0x2b20d2(0x145)]());if(!_0x252d98||_0x252d98[_0x2b20d2(0x15b)]==0x0)return;const _0x218308=this[_0x2b20d2(0x163)](_0x252d98[0x0][_0x2b20d2(0x18d)]()),_0x292642=getStyle(_0x5130b2);let _0x515046=[];for(const _0x2d394b of _0x252d98){const _0x4d14b3=new a61_0x995145();_0x4d14b3[_0x2b20d2(0x185)](_0x2d394b),_0x4d14b3['setStyle'](_0x292642),_0x3d9bf2?_0x4d14b3[_0x2b20d2(0x19c)](_0x3d9bf2):_0x4d14b3[_0x2b20d2(0x19c)]({}),_0x4d14b3['fromType']='import',_0x4d14b3[_0x2b20d2(0x158)]=!![],_0x4d14b3['tag']=_0x47b07a,_0x515046['push'](_0x4d14b3);}return(_0x556997=_0x218308[_0x2b20d2(0x172)]())===null||_0x556997===void 0x0?void 0x0:_0x556997[_0x2b20d2(0x18c)](_0x515046),_0x364cd6&&this['locationGeometrys'](_0x252d98,undefined,1.2,![]),_0x515046;}[a61_0x3ae1c9(0x160)](_0x3723fd,_0xc33887,_0x4cdf0b=1.2,_0x378ea0=!![]){const _0x315b5b=a61_0x3ae1c9;if(!_0x3723fd)return;let _0x1f2ce2=fromWKT(_0x3723fd,_0xc33887,this[_0x315b5b(0x1b3)]()[_0x315b5b(0x176)]()[_0x315b5b(0x145)]());if(!_0x1f2ce2)return;this[_0x315b5b(0x1a1)](_0x1f2ce2,_0xc33887,_0x4cdf0b,_0x378ea0);}[a61_0x3ae1c9(0x155)](_0x48a22f,_0x544b73,_0x58480d=1.2,_0xd22988=!![]){const _0x24501e=a61_0x3ae1c9;if(!_0x48a22f||_0x48a22f[_0x24501e(0x15b)]===0x0)return;const _0x571a16=[];for(let _0x3c0d98=0x0;_0x3c0d98<_0x48a22f[_0x24501e(0x15b)];_0x3c0d98++){let _0x1da429=_0x48a22f[_0x3c0d98],_0x31b026=fromWKT(_0x1da429,_0x544b73,this[_0x24501e(0x1b3)]()[_0x24501e(0x176)]()[_0x24501e(0x145)]());if(!_0x31b026)continue;_0x571a16[_0x24501e(0x189)](_0x31b026);}this['locationGeometrys'](_0x571a16,_0x544b73,_0x58480d,_0xd22988);}[a61_0x3ae1c9(0x1a1)](_0x45d1b6,_0x492c45,_0x3b1433=1.2,_0x44c4d9=!![]){const _0x4ac642=a61_0x3ae1c9;if(!_0x45d1b6)return;let _0xcaacb5=_0x45d1b6;_0x492c45&&(_0xcaacb5=_0x45d1b6[_0x4ac642(0x15c)](_0x492c45,this[_0x4ac642(0x1b3)]()['getProjection']()));switch(_0xcaacb5[_0x4ac642(0x18d)]()){case _0x4ac642(0x182):this[_0x4ac642(0x1b3)]()[_0x4ac642(0x17f)](_0xcaacb5[_0x4ac642(0x191)]());break;case _0x4ac642(0x19a):case _0x4ac642(0x1ae):case _0x4ac642(0x1ab):case _0x4ac642(0x148):case _0x4ac642(0x16f):this['getView']()[_0x4ac642(0x19b)](expandExtent(_0xcaacb5[_0x4ac642(0x15d)](),_0x3b1433));break;}if(_0x44c4d9){const _0x32a75f=new a61_0x267a99(this);_0x32a75f[_0x4ac642(0x19f)]([_0xcaacb5],0x3);}}['locationGeometrys'](_0x246141,_0x5a8e8c,_0x26e719=1.2,_0x540a02=!![]){const _0x1c859c=a61_0x3ae1c9;if(!_0x246141||_0x246141[_0x1c859c(0x15b)]===0x0)return;let _0x1c9a46=null;for(const _0x1726d2 of _0x246141){_0x1c9a46?_0x1c9a46=union(_0x1c9a46,_0x1726d2):_0x1c9a46=_0x1726d2;}_0x1c9a46&&this[_0x1c859c(0x1a1)](_0x1c9a46,_0x5a8e8c,_0x26e719,![]);if(_0x540a02){const _0x4a95b1=new a61_0x267a99(this);_0x4a95b1[_0x1c859c(0x19f)](_0x246141,0x3);}}}
|
package/mapView/View.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a62_0x3054d3=a62_0x50c9;(function(_0x4ca13a,_0x2c1397){var _0x145c24=a62_0x50c9,_0x35bebf=_0x4ca13a();while(!![]){try{var _0x4b4aae=-parseInt(_0x145c24(0x1b5))/0x1+parseInt(_0x145c24(0x1ae))/0x2*(-parseInt(_0x145c24(0x1ac))/0x3)+-parseInt(_0x145c24(0x1ab))/0x4*(-parseInt(_0x145c24(0x1b4))/0x5)+parseInt(_0x145c24(0x1a9))/0x6*(-parseInt(_0x145c24(0x1aa))/0x7)+parseInt(_0x145c24(0x1b0))/0x8*(-parseInt(_0x145c24(0x1b2))/0x9)+-parseInt(_0x145c24(0x1b1))/0xa+parseInt(_0x145c24(0x1af))/0xb;if(_0x4b4aae===_0x2c1397)break;else _0x35bebf['push'](_0x35bebf['shift']());}catch(_0x30c1c6){_0x35bebf['push'](_0x35bebf['shift']());}}}(a62_0xfb64,0x1df0c));function a62_0x50c9(_0x44859c,_0x51f5bd){var _0xfb64f5=a62_0xfb64();return a62_0x50c9=function(_0x50c93c,_0x21a152){_0x50c93c=_0x50c93c-0x1a9;var _0x86aebe=_0xfb64f5[_0x50c93c];return _0x86aebe;},a62_0x50c9(_0x44859c,_0x51f5bd);}import a62_0x4edf59 from'ol/View';import{get}from'ol/proj';function a62_0xfb64(){var _0x45f7aa=['134419LsQuZN','setProjection','27678kGWJYa','161DzNsEx','4SsQajp','2688LEJRpu','projection_','302klWhQh','9550541RjigKp','8FMKpCk','2170610zFXgON','2003013VUIqAk','setProperties','349185GbtGCk'];a62_0xfb64=function(){return _0x45f7aa;};return a62_0xfb64();}export default class OLView extends a62_0x4edf59{constructor(_0x1d8337){super(_0x1d8337);}[a62_0x3054d3(0x1b6)](_0x40b1b1){var _0x23f37a=a62_0x3054d3;this[_0x23f37a(0x1ad)]=get(_0x40b1b1),this[_0x23f37a(0x1b3)]({'projection_':get(_0x40b1b1)});}}
|
package/package.json
CHANGED
package/plot/Plot.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x57d566,_0xabeadb){const _0x42a45b=a70_0x2826,_0x3b62f0=_0x57d566();while(!![]){try{const _0x211323=-parseInt(_0x42a45b(0x12a))/0x1+parseInt(_0x42a45b(0x128))/0x2+parseInt(_0x42a45b(0x124))/0x3+parseInt(_0x42a45b(0x117))/0x4*(-parseInt(_0x42a45b(0x119))/0x5)+parseInt(_0x42a45b(0x126))/0x6*(parseInt(_0x42a45b(0x125))/0x7)+-parseInt(_0x42a45b(0x120))/0x8*(parseInt(_0x42a45b(0x11f))/0x9)+parseInt(_0x42a45b(0x11b))/0xa;if(_0x211323===_0xabeadb)break;else _0x3b62f0['push'](_0x3b62f0['shift']());}catch(_0x3f3a26){_0x3b62f0['push'](_0x3b62f0['shift']());}}}(a70_0x44e1,0x2a602));function a70_0x2826(_0x407d4d,_0xcef2f9){const _0x44e1df=a70_0x44e1();return a70_0x2826=function(_0x28268a,_0x5f2689){_0x28268a=_0x28268a-0x111;let _0x24c27d=_0x44e1df[_0x28268a];return _0x24c27d;},a70_0x2826(_0x407d4d,_0xcef2f9);}import a70_0x595f4b from'../entity/GeometryType';import a70_0x356f55 from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';import{getPolygonStyle}from'../style/PolygonStyleFormat';import a70_0x4b1a29 from'./geometry/polygon/RectAngle';import a70_0x151e0a from'./geometry/polyline/Polyline';import a70_0x1107e8 from'./geometry/point/Point';import a70_0x1202d4 from'./geometry/polygon/Circle';function a70_0x44e1(){const _0x5ed056=['104172wlPUjL','MAX_VALUE','Ellipsoid','Curve','ArrowPincerlike','Polygon','Ellipse','3684RXHiGX','Point','1595ASLqAa','pointermove','1126660mKwKOl','ArrowAttack','Rectangle','toLowerCase','9EqbZXt','2032152MTgAZz','Arrow','AssemblySite','SurfaceClosed','693087zjWPZy','91XKQQLX','65202tWIzzk','PolyLine','681188vxPdhB','Circle'];a70_0x44e1=function(){return _0x5ed056;};return a70_0x44e1();}const defaultStyle={'color':[0x40,0xaf,0xc1],'fill':!![],'opacity':0.6,'outline':!![],'outlineColor':[0x40,0xaf,0xc1],'outlineOpacity':0.6,'outlineWidth':0x2};export function createPlot(_0x511bf3,_0x175c6a){const _0x1282f6=a70_0x2826;_0x511bf3=_0x511bf3[_0x1282f6(0x11e)]();switch(_0x511bf3){case a70_0x595f4b[_0x1282f6(0x118)]:case _0x1282f6(0x11a):return new a70_0x1107e8(_0x175c6a);case a70_0x595f4b[_0x1282f6(0x127)]:return new a70_0x151e0a(_0x175c6a);case a70_0x595f4b[_0x1282f6(0x129)]:return new a70_0x1202d4(_0x175c6a);case a70_0x595f4b['Rectangle']:return new a70_0x4b1a29(_0x175c6a);case a70_0x595f4b[_0x1282f6(0x115)]:return new a70_0x356f55(_0x175c6a);}}export function getPlotCount(_0x102053){const _0x17a561=a70_0x2826;_0x102053=_0x102053[_0x17a561(0x11e)]();let _0x33544c={'fixPoint':0x0,'minPoint':0x0};switch(_0x102053){case a70_0x595f4b[_0x17a561(0x118)]:_0x33544c={'fixPoint':0x1,'minPoint':0x0};break;case a70_0x595f4b['PolyLine']:_0x33544c={'fixPoint':Number[_0x17a561(0x111)],'minPoint':0x1};break;case a70_0x595f4b[_0x17a561(0x115)]:_0x33544c={'fixPoint':Number[_0x17a561(0x111)],'minPoint':0x2};break;case a70_0x595f4b[_0x17a561(0x11d)]:_0x33544c={'fixPoint':0x2,'minPoint':0x1};break;case a70_0x595f4b['Circle']:_0x33544c={'fixPoint':0x2,'minPoint':0x1};break;case a70_0x595f4b[_0x17a561(0x113)]:_0x33544c={'fixPoint':Number[_0x17a561(0x111)],'minPoint':0x1};break;case a70_0x595f4b[_0x17a561(0x116)]:case a70_0x595f4b[_0x17a561(0x112)]:_0x33544c={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x33544c;}export function getStyle(_0x2de0d8,_0x1f92f7,_0x24416e){const _0x4e77e3=a70_0x2826;_0x2de0d8=_0x2de0d8['toLowerCase'](),_0x1f92f7=Object['assign'](Object['assign']({},defaultStyle),_0x1f92f7);switch(_0x2de0d8){case a70_0x595f4b[_0x4e77e3(0x118)]:return function(_0x126509,_0x1982f){return getPointSingleStyle(_0x2de0d8,_0x1f92f7,_0x1982f,_0x24416e);};case a70_0x595f4b[_0x4e77e3(0x127)]:case a70_0x595f4b[_0x4e77e3(0x113)]:return function(_0x1fdf5d,_0x228419){return getPolylineStyle(_0x1f92f7,'',_0x228419,_0x24416e);};case a70_0x595f4b[_0x4e77e3(0x129)]:case a70_0x595f4b[_0x4e77e3(0x11d)]:case a70_0x595f4b[_0x4e77e3(0x116)]:case a70_0x595f4b[_0x4e77e3(0x112)]:case a70_0x595f4b[_0x4e77e3(0x123)]:case a70_0x595f4b[_0x4e77e3(0x115)]:case a70_0x595f4b[_0x4e77e3(0x11c)]:case a70_0x595f4b[_0x4e77e3(0x114)]:case a70_0x595f4b[_0x4e77e3(0x121)]:case a70_0x595f4b[_0x4e77e3(0x122)]:return function(_0x34f679,_0xee05f0){return getPolygonStyle(_0x1f92f7,_0x1f92f7['text'],_0xee05f0,_0x24416e);};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a63_0x22a589=a63_0x5aa4;(function(_0x3ead15,_0x656a5d){var _0x2e3f1=a63_0x5aa4,_0x12ad97=_0x3ead15();while(!![]){try{var _0x3b7e59=-parseInt(_0x2e3f1(0x132))/0x1*(-parseInt(_0x2e3f1(0x134))/0x2)+parseInt(_0x2e3f1(0x13d))/0x3+-parseInt(_0x2e3f1(0x131))/0x4+parseInt(_0x2e3f1(0x133))/0x5*(parseInt(_0x2e3f1(0x125))/0x6)+parseInt(_0x2e3f1(0x140))/0x7+-parseInt(_0x2e3f1(0x139))/0x8*(parseInt(_0x2e3f1(0x12a))/0x9)+parseInt(_0x2e3f1(0x12e))/0xa*(-parseInt(_0x2e3f1(0x138))/0xb);if(_0x3b7e59===_0x656a5d)break;else _0x12ad97['push'](_0x12ad97['shift']());}catch(_0x8fa375){_0x12ad97['push'](_0x12ad97['shift']());}}}(a63_0x29c8,0x2af43));import{Map}from'ol';function a63_0x5aa4(_0x19ada0,_0x5ac7e5){var _0x29c8d1=a63_0x29c8();return a63_0x5aa4=function(_0x5aa41c,_0x45b8a3){_0x5aa41c=_0x5aa41c-0x124;var _0x3d312c=_0x29c8d1[_0x5aa41c];return _0x3d312c;},a63_0x5aa4(_0x19ada0,_0x5ac7e5);}import{Point as a63_0x413d57}from'ol/geom';function a63_0x29c8(){var _0x45108b=['setPoints','points','1178504teHgPK','2336NHnSjD','2335CKklXL','74EfeBYl','传入的不是地图对象!','getMap','Point','55rGHOay','4968FLPntu','setMap','getPlotType','finishDrawing','753096ilRaBb','updatePoint','setCoordinates','942879GqQfjn','parse','3372lFtphq','generate','type','stringify','length','1035JGtSwy','isPlot','style','setStyle','385270hdAZJB'];a63_0x29c8=function(){return _0x45108b;};return a63_0x29c8();}class Point extends a63_0x413d57{constructor(_0x4c1688){var _0x517d36=a63_0x5aa4;super([]),this[_0x517d36(0x127)]=_0x517d36(0x137),this['points']=_0x4c1688,this[_0x517d36(0x12f)](_0x4c1688);}[a63_0x22a589(0x13b)](){var _0x27b2b8=a63_0x22a589;return this[_0x27b2b8(0x127)];}[a63_0x22a589(0x126)](){var _0x45b6b7=a63_0x22a589;this[_0x45b6b7(0x13f)](this['points'][0x0]);}[a63_0x22a589(0x13a)](_0x58e09d){var _0x583333=a63_0x22a589;if(_0x58e09d&&_0x58e09d instanceof Map)this['map']=_0x58e09d;else throw new Error(_0x583333(0x135));}[a63_0x22a589(0x136)](){return this['map'];}[a63_0x22a589(0x12b)](){return!![];}[a63_0x22a589(0x12f)](_0x34fcec){var _0x3f71f2=a63_0x22a589;_0x34fcec&&_0x34fcec[_0x3f71f2(0x129)]>=0x1&&(this[_0x3f71f2(0x130)]=_0x34fcec,this[_0x3f71f2(0x126)]());}['getPoints'](){return this['points'];}[a63_0x22a589(0x13e)](_0x5f2d27,_0x43e264){var _0x163439=a63_0x22a589;_0x43e264>=0x0&&_0x43e264<this['points']['length']&&(this['points'][_0x43e264]=_0x5f2d27,this[_0x163439(0x126)]());}['updateLastPoint'](_0x485c1a){var _0x366c5f=a63_0x22a589;this[_0x366c5f(0x13e)](_0x485c1a,this['points'][_0x366c5f(0x129)]-0x1);}[a63_0x22a589(0x13c)](){}[a63_0x22a589(0x12d)](_0x490518){var _0x5eb43a=a63_0x22a589;this[_0x5eb43a(0x12c)]=JSON[_0x5eb43a(0x124)](JSON[_0x5eb43a(0x128)](_0x490518));}}export default Point;
|