ym-gis-2d 1.0.25 → 1.0.26

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 (71) 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/feature/FeatureManager.js +1 -1
  12. package/index.js +1 -1
  13. package/interaction/Draw.js +1 -1
  14. package/interaction/InteractionManager.js +1 -1
  15. package/interaction/Select.js +1 -1
  16. package/layers/ArcgisDynamicLayer.js +1 -1
  17. package/layers/ArcgisFeatureLayer.js +1 -1
  18. package/layers/ArcgisTileLayer.js +1 -1
  19. package/layers/ArcgisWMSLayer.js +1 -1
  20. package/layers/ArcgisWMTSLayer.js +1 -1
  21. package/layers/GeoserverVectorTile.js +1 -1
  22. package/layers/GeoserverWFSLayer.js +1 -1
  23. package/layers/GeoserverWMSLayer.js +1 -1
  24. package/layers/GeoserverWMTSLayer.js +1 -1
  25. package/layers/LayerManager.js +1 -1
  26. package/layers/TDTLayer.js +1 -1
  27. package/mapView/Map.js +1 -1
  28. package/mapView/View.js +1 -1
  29. package/package.json +1 -1
  30. package/plot/Plot.js +1 -1
  31. package/plot/geometry/point/Point.js +1 -1
  32. package/plot/geometry/polygon/BasePolygon.js +1 -1
  33. package/plot/geometry/polygon/Circle.js +1 -1
  34. package/plot/geometry/polygon/Polygon.js +1 -1
  35. package/plot/geometry/polygon/RectAngle.js +1 -1
  36. package/plot/geometry/polyline/BaseLine.js +1 -1
  37. package/plot/geometry/polyline/Polyline.js +1 -1
  38. package/style/PointStyleFormat.js +1 -1
  39. package/style/PolygonStyleFormat.js +1 -1
  40. package/style/PolylineStyleFormat.js +1 -1
  41. package/style/StyleManager.js +1 -1
  42. package/style/common.js +1 -1
  43. package/utils/ArrayUtil.js +1 -1
  44. package/utils/AxiosUtil.js +1 -1
  45. package/utils/EsriUtil.js +1 -1
  46. package/utils/GeometryUtil.d.ts +11 -3
  47. package/utils/GeometryUtil.d.ts.map +1 -1
  48. package/utils/GeometryUtil.js +1 -1
  49. package/utils/GeometryUtil.js.map +1 -1
  50. package/utils/LayerUtil.js +1 -1
  51. package/utils/RegisterProjUtil.js +1 -1
  52. package/utils/ResolutionUtil.js +1 -1
  53. package/utils/StringUtil.js +1 -1
  54. package/utils/StyleUtil.js +1 -1
  55. package/utils/UrlUtil.js +1 -1
  56. package/utils/XmlUtil.js +1 -1
  57. package/utils/format/CQL.js +1 -1
  58. package/utils/format/IsMatchCql.js +1 -1
  59. package/utils/plug/canvas/ImageCache.js +1 -1
  60. package/utils/plug/canvas/PinBuilder.js +1 -1
  61. package/utils/plug/canvas/PinIcon.js +1 -1
  62. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  63. package/utils/tasks/esri/Identify.js +1 -1
  64. package/utils/tasks/esri/Query.js +1 -1
  65. package/utils/tasks/esri/Task.js +1 -1
  66. package/utils/tasks/geoserver/QueryTask.js +1 -1
  67. package/utils/tasks/index.d.ts.map +1 -1
  68. package/utils/tasks/index.js +1 -1
  69. package/utils/tasks/index.js.map +1 -1
  70. package/ym-gis-2d.es.js +1 -1
  71. package/ym-gis-2d.umd.js +1 -1
package/mapView/Map.js CHANGED
@@ -1 +1 @@
1
- const a52_0x10e138=a52_0x40a0;(function(_0x2830bc,_0x29048a){const _0x127902=a52_0x40a0,_0x123240=_0x2830bc();while(!![]){try{const _0x728435=-parseInt(_0x127902(0xfb))/0x1+parseInt(_0x127902(0xeb))/0x2*(-parseInt(_0x127902(0xdc))/0x3)+-parseInt(_0x127902(0xb6))/0x4*(parseInt(_0x127902(0xde))/0x5)+-parseInt(_0x127902(0x110))/0x6+-parseInt(_0x127902(0xdd))/0x7*(parseInt(_0x127902(0xd1))/0x8)+-parseInt(_0x127902(0xba))/0x9*(parseInt(_0x127902(0xec))/0xa)+parseInt(_0x127902(0x115))/0xb;if(_0x728435===_0x29048a)break;else _0x123240['push'](_0x123240['shift']());}catch(_0x2a9bb2){_0x123240['push'](_0x123240['shift']());}}}(a52_0x5955,0x3c6b1));function a52_0x5955(){const _0x29724e=['getArcgisFeatureLayer','changelayer','includes','addLayer','MultiPolygon','transform','addFeature','pointTempLayer','_options','interactionManager','1757868rmSteh','sortTemLayer','getArcgisWMTSLayer','MultiLineString','tag','28706953WKRHsY','constrainResolution','getArcgisWmsLayer','zoom','removeLayerById','getProjection','fromType','getGeoserverWFSLayer','push','getPolygonTempLayer','Polygon','locationWKTs','1666856FajOkD','addWKTs','insertAt','setProjection','27dhNHCL','layerTag','projection','Point','fit','getLayerByLayerTag','setCenter','getTempLayerByGeoType','flashGeometrys','center','getGeoserverWmsLayer','GeometryCollection','getArray','getSource','getMaxZoom','addWKT','getCode','arcgis-tile','filter','maxScale','controlManager','all','addMapLayer','169080AgWvCv','locationGeometry','layerInfo','import','locationGeometrys','geoserver-wmts','fitLayerById','MultiPoint','tdt-c','extent','calculateExtent','1899DsGqbc','133DxiBRW','5NsaoEf','add','locationWKT','setStyle','lineTempLayer','getSize','getType','getLayersByIds','getZIndex','fitLayer','暂不支持【','minScale','getLayers','934nlXFun','1606340eTUHnE','getView','getMinZoom','geoserver-wms','setProperties','minZoom','getExtent','length','getLineTempLayer','minResolution','initialExtent','getPointTempLayer','getCoordinates','getTDTLayer','setMinResolution','473480ORnkOM','getArcgisTileLayer','addFeatures','geoserver-wfs','rgba(255,\x200,\x200,\x201)','getTempLayerById','dispatchEvent','getLayerById','maxResolution','LineString','remove'];a52_0x5955=function(){return _0x29724e;};return a52_0x5955();}import'ol/ol.css';import'../assets/main.css';import a52_0x5aeb9b from'ol/Map';import a52_0x4e6002 from'ol/events/Event';import{defaults as a52_0x24ad76}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a52_0x3e21b3 from'../layers/LayerManager';import a52_0x2d02b2 from'ol/layer/Vector';import a52_0x5400f5 from'ol/source/Vector';import a52_0x188df7 from'../controls/ControlManager';function a52_0x40a0(_0x1f2870,_0x43f74c){const _0x595531=a52_0x5955();return a52_0x40a0=function(_0x40a043,_0x1606b2){_0x40a043=_0x40a043-0xb1;let _0x115955=_0x595531[_0x40a043];return _0x115955;},a52_0x40a0(_0x1f2870,_0x43f74c);}import a52_0x5748d1 from'../entity/Feature';import a52_0x5db4bf from'../interaction/InteractionManager';import a52_0x3e0592 from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a52_0x143203 from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a52_0x4e6002{constructor(_0x124282,_0x4c6586,_0x80e080){super(_0x124282),this['layerIds']=_0x4c6586,this['changetype']=_0x80e080;}}export default class OLMap extends a52_0x5aeb9b{constructor(_0x1be093,_0x390c67,_0x20e6ca){const _0x292607=a52_0x40a0;_0x390c67=_0x390c67?_0x390c67:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x2880bc=_0x390c67[_0x292607(0xbc)]?'EPSG:'+_0x390c67[_0x292607(0xbc)]:'EPSG:4490';_0x390c67[_0x292607(0x118)]=_0x390c67['zoom']?_0x390c67[_0x292607(0x118)]:0xa,_0x390c67[_0x292607(0xf1)]=_0x390c67['minZoom']?_0x390c67['minZoom']:0x0,_0x390c67['maxZoom']=_0x390c67['maxZoom']?_0x390c67['maxZoom']:0x1c,_0x390c67['constrainResolution']=_0x390c67[_0x292607(0x116)]?_0x390c67['constrainResolution']:![],_0x390c67[_0x292607(0xc3)]=_0x390c67[_0x292607(0xc3)]?_0x390c67['center']:[117.22718,31.820386],registerProj(_0x2880bc);const _0x283b76={'target':_0x1be093,'view':_0x20e6ca?_0x20e6ca:new a52_0x3e0592({'center':_0x390c67[_0x292607(0xc3)],'zoom':_0x390c67['zoom'],'projection':_0x2880bc,'minZoom':_0x390c67[_0x292607(0xf1)],'maxZoom':_0x390c67['maxZoom'],'minResolution':_0x390c67[_0x292607(0xf5)],'maxResolution':_0x390c67[_0x292607(0x103)],'constrainResolution':_0x390c67[_0x292607(0x116)]}),'controls':a52_0x24ad76({'zoom':![]})};super(_0x283b76),_0x390c67[_0x292607(0xda)]&&this[_0x292607(0xed)]()[_0x292607(0xbe)](_0x390c67[_0x292607(0xda)]),this[_0x292607(0x10f)]=new a52_0x5db4bf(this),this[_0x292607(0xce)]=new a52_0x188df7(this),this[_0x292607(0x10e)]=_0x390c67;}[a52_0x10e138(0xed)](){const _0xeb77b1=a52_0x10e138;return super[_0xeb77b1(0xed)]();}[a52_0x10e138(0xe7)](_0x5f2988){const _0x1754bd=a52_0x10e138;var _0x2f369b;this[_0x1754bd(0xed)]()[_0x1754bd(0xbe)](transformExtent(_0x5f2988[_0x1754bd(0xf6)],(_0x2f369b=_0x5f2988['projection'])===null||_0x2f369b===void 0x0?void 0x0:_0x2f369b[_0x1754bd(0xca)](),this[_0x1754bd(0xed)]()['getProjection']()[_0x1754bd(0xca)]()));}[a52_0x10e138(0xd7)](_0x7bd6a5){const _0x23cf99=a52_0x10e138;let _0x39f2b6=this[_0x23cf99(0x102)](_0x7bd6a5);_0x39f2b6&&this[_0x23cf99(0xe7)](_0x39f2b6);}async[a52_0x10e138(0xd0)](_0x217aac){const _0x5c0ee6=a52_0x10e138;let _0x54e106;switch(_0x217aac['layerType']){case'arcgis-feature':_0x54e106=await a52_0x3e21b3[_0x5c0ee6(0x106)](_0x217aac);break;case'arcgis-dynamic':_0x54e106=await a52_0x3e21b3['getDynamicLayer'](_0x217aac);break;case _0x5c0ee6(0xcb):_0x54e106=await a52_0x3e21b3[_0x5c0ee6(0xfc)](_0x217aac);break;case'arcgis-wms':_0x54e106=await a52_0x3e21b3[_0x5c0ee6(0x117)](_0x217aac);break;case'arcgis-wmts':_0x54e106=await a52_0x3e21b3[_0x5c0ee6(0x112)](_0x217aac);break;case _0x5c0ee6(0xef):_0x54e106=await a52_0x3e21b3[_0x5c0ee6(0xc4)](_0x217aac);break;case _0x5c0ee6(0xfe):_0x54e106=await a52_0x3e21b3[_0x5c0ee6(0xb1)](_0x217aac);break;case _0x5c0ee6(0xd6):_0x54e106=await a52_0x3e21b3['getGeoserverWMTSLayer'](_0x217aac);break;case'geoserver-vector-tile':_0x54e106=await a52_0x3e21b3['getGeoserverVectorTileLayer'](_0x217aac);break;case _0x5c0ee6(0xd9):_0x54e106=await a52_0x3e21b3[_0x5c0ee6(0xf9)](_0x217aac);break;default:throw new Error(_0x5c0ee6(0xe8)+_0x217aac['layerType']+'】服务类型');}return this[_0x5c0ee6(0x109)](_0x54e106),this[_0x5c0ee6(0x101)](new ChangeLayerEvent(_0x5c0ee6(0x107),[_0x217aac['id']],_0x5c0ee6(0xdf))),_0x54e106;}async['addMapLayers'](_0x9bc08a){const _0x28a6f4=a52_0x10e138;let _0x158836=[];const _0x11707e=[];for(let _0x176c17=0x0;_0x176c17<_0x9bc08a[_0x28a6f4(0xf3)];_0x176c17++){const _0x4e07e5=_0x9bc08a[_0x176c17];_0x11707e[_0x28a6f4(0xb2)](_0x4e07e5['id']),_0x158836[_0x28a6f4(0xb2)](this[_0x28a6f4(0xd0)](_0x4e07e5));}const _0x479e00=await Promise[_0x28a6f4(0xcf)](_0x158836);return this[_0x28a6f4(0x101)](new ChangeLayerEvent(_0x28a6f4(0x107),_0x11707e,'add')),_0x479e00;}['addLayer'](_0x21f9a8,_0x1111e2=![]){const _0x511754=a52_0x10e138,_0x4158dd=_0x21f9a8,_0x51ea89=this[_0x511754(0x102)](_0x4158dd['id']);if(_0x51ea89==null){const _0x506700=_0x4158dd[_0x511754(0xd3)]==undefined||_0x4158dd['layerInfo'][_0x511754(0xe9)]==undefined||_0x4158dd['layerInfo'][_0x511754(0xe9)]<0x0?undefined:calculateResolution(_0x4158dd[_0x511754(0xd3)][_0x511754(0xe9)],this[_0x511754(0xed)]()[_0x511754(0x11a)]()['getMetersPerUnit']()||0x0);_0x21f9a8[_0x511754(0xfa)](_0x506700);const _0x90ad8c=_0x4158dd['layerInfo']==undefined||_0x4158dd[_0x511754(0xd3)][_0x511754(0xcd)]==undefined||_0x4158dd['layerInfo'][_0x511754(0xcd)]<0x0?undefined:calculateResolution(_0x4158dd[_0x511754(0xd3)][_0x511754(0xcd)],this[_0x511754(0xed)]()[_0x511754(0x11a)]()['getMetersPerUnit']()||0x0);_0x21f9a8['setMaxResolution'](_0x90ad8c);const _0x39b259=this[_0x511754(0xea)]()['getArray']()[_0x511754(0xf3)];if(!this['_options'][_0x511754(0xbc)]&&_0x39b259==0x0&&_0x4158dd[_0x511754(0xbc)]&&_0x4158dd[_0x511754(0xbc)][_0x511754(0xca)]()!=this[_0x511754(0xed)]()['getProjection']()[_0x511754(0xca)]()){}let _0x10edb4=_0x21f9a8[_0x511754(0xe6)]();_0x10edb4!=undefined&&_0x10edb4>_0x39b259&&(_0x10edb4=_0x39b259),this[_0x511754(0xea)]()['insertAt'](_0x10edb4==undefined?_0x39b259:_0x10edb4,_0x21f9a8),_0x1111e2&&this[_0x511754(0xe7)](_0x4158dd);}}[a52_0x10e138(0x119)](_0x4b7c3f){const _0x168a69=a52_0x10e138,_0x56facd=this[_0x168a69(0x102)](_0x4b7c3f);_0x56facd&&(this['removeLayer'](_0x56facd),this['dispatchEvent'](new ChangeLayerEvent(_0x168a69(0x107),[_0x4b7c3f],_0x168a69(0x105))));}['getLayerById'](_0x4ed4eb){const _0x4d19a=a52_0x10e138;let _0x3e9749,_0x1a663e=this[_0x4d19a(0xea)]()['getArray']();for(let _0x55e07b=0x0;_0x55e07b<_0x1a663e['length'];_0x55e07b++){let _0x3f6834=_0x1a663e[_0x55e07b]['id'];if(_0x4ed4eb==_0x3f6834){_0x3e9749=_0x1a663e[_0x55e07b];break;}}return _0x3e9749;}[a52_0x10e138(0xbf)](_0x87bce4){const _0x430d17=a52_0x10e138;let _0x1cbe95,_0x1a2255=this[_0x430d17(0xea)]()['getArray']();for(let _0x3752df=0x0;_0x3752df<_0x1a2255['length'];_0x3752df++){const _0x1fe83a=_0x1a2255[_0x3752df]['layerInfo'];if(!_0x1fe83a)continue;let _0xe1fb5e=_0x1fe83a[_0x430d17(0xbb)];if(_0xe1fb5e==_0x87bce4){_0x1cbe95=_0x1a2255[_0x3752df];break;}}return _0x1cbe95;}[a52_0x10e138(0xe5)](_0x1a201b){const _0x558e49=a52_0x10e138;let _0x17adcf=this[_0x558e49(0xea)]()[_0x558e49(0xc6)]();return _0x17adcf[_0x558e49(0xcc)](_0xddfb06=>_0x1a201b[_0x558e49(0x108)](_0xddfb06['id']));}['getTempLayerById'](_0x5e9064){const _0x26feea=a52_0x10e138;let _0x448249,_0x5787c5=this[_0x26feea(0xea)]()[_0x26feea(0xc6)]();for(let _0x1dafef=0x0;_0x1dafef<_0x5787c5[_0x26feea(0xf3)];_0x1dafef++){const _0x18bbc1=_0x5787c5[_0x1dafef];if(_0x18bbc1['id']===_0x5e9064){_0x448249=_0x18bbc1;break;}}if(!_0x448249){_0x448249=new a52_0x2d02b2({'zIndex':0x270f,'source':new a52_0x5400f5()}),_0x448249['id']=_0x5e9064;const _0x22e223=this[_0x26feea(0xea)]()['getLength']();switch(_0x5e9064){case _0x26feea(0xe2):this[_0x26feea(0xea)]()[_0x26feea(0xb8)](_0x22e223-0x1>-0x1?_0x22e223-0x1:0x0,_0x448249);break;case'polygonTempLayer':this[_0x26feea(0xea)]()['insertAt'](_0x22e223-0x2>-0x1?_0x22e223-0x2:0x0,_0x448249);break;case _0x26feea(0x10d):this['getLayers']()[_0x26feea(0xb8)](_0x22e223,_0x448249);break;default:break;}}return _0x448249;}[a52_0x10e138(0xf7)](){const _0x5518fc=a52_0x10e138;return this[_0x5518fc(0x100)]('pointTempLayer');}['getLineTempLayer'](){const _0x4fcbf2=a52_0x10e138;return this[_0x4fcbf2(0x100)](_0x4fcbf2(0xe2));}[a52_0x10e138(0xb3)](){return this['getTempLayerById']('polygonTempLayer');}[a52_0x10e138(0xc1)](_0x546e91){const _0x2aca5d=a52_0x10e138;let _0x2fae8b=this[_0x2aca5d(0xf7)]();switch(_0x546e91){case _0x2aca5d(0xbd):case _0x2aca5d(0xd8):_0x2fae8b=this['getPointTempLayer']();case _0x2aca5d(0x104):case _0x2aca5d(0x113):_0x2fae8b=this[_0x2aca5d(0xf4)]();case _0x2aca5d(0xb4):case _0x2aca5d(0x10a):_0x2fae8b=this[_0x2aca5d(0xb3)]();}return _0x2fae8b;}['resetViewProjection'](_0x4eaf5e){const _0x1d18e3=a52_0x10e138;let _0x1bbbd2=this[_0x1d18e3(0xed)]()[_0x1d18e3(0xee)](),_0x2b470f=this[_0x1d18e3(0xed)]()[_0x1d18e3(0xc8)]();registerProj(_0x4eaf5e),this['getView']()[_0x1d18e3(0xb9)](_0x4eaf5e);}[a52_0x10e138(0x111)](){const _0x2d4360=a52_0x10e138;let _0x1ca41c=[];_0x1ca41c[_0x2d4360(0xb2)](this[_0x2d4360(0xf7)]()),_0x1ca41c[_0x2d4360(0xb2)](this['getLineTempLayer']()),_0x1ca41c[_0x2d4360(0xb2)](this[_0x2d4360(0xb3)]());const _0x52cc3a=this[_0x2d4360(0xea)]()[_0x2d4360(0xc6)]()[_0x2d4360(0xf3)];for(let _0xad3349=0x0;_0xad3349<_0x1ca41c[_0x2d4360(0xf3)];_0xad3349++){const _0x368eed=_0x1ca41c[_0xad3349];this[_0x2d4360(0xea)]()['insertAt'](_0x52cc3a-_0xad3349-0x1,_0x368eed);}}[a52_0x10e138(0xf2)](){const _0x3287b8=a52_0x10e138;return this[_0x3287b8(0xed)]()[_0x3287b8(0xdb)](this[_0x3287b8(0xe3)]());}[a52_0x10e138(0xc9)](_0x273bdc,_0x2284c0,_0x550a46,_0x2129d6=!![],_0x3c1fb5,_0x5a7776={'color':'rgba(255,\x200,\x200,\x200.2)','opacity':0.2,'outlineColor':a52_0x10e138(0xff),'outlineWidth':0x2}){const _0x725aae=a52_0x10e138;var _0x5983a2;const _0x12c156=fromWKT(_0x273bdc,_0x2284c0,this['getView']()[_0x725aae(0x11a)]()[_0x725aae(0xca)]());if(!_0x12c156)return;const _0x1edeb9=this[_0x725aae(0xc1)](_0x12c156[_0x725aae(0xe4)]()),_0x402cc9=getStyle(_0x5a7776),_0x3c995c=new a52_0x5748d1();return _0x3c995c['setGeometry'](_0x12c156),_0x3c995c['setStyle'](_0x402cc9),_0x3c1fb5?_0x3c995c[_0x725aae(0xf0)](_0x3c1fb5):_0x3c995c['setProperties']({}),_0x3c995c[_0x725aae(0x114)]=_0x550a46,(_0x5983a2=_0x1edeb9[_0x725aae(0xc7)]())===null||_0x5983a2===void 0x0?void 0x0:_0x5983a2[_0x725aae(0x10c)](_0x3c995c),_0x2129d6&&this['locationGeometry'](_0x12c156,undefined,1.2,![]),_0x3c995c;}[a52_0x10e138(0xb7)](_0x7e9334,_0x2beb9e,_0xb040c6,_0x4efe68=!![],_0x1758b9={'color':'rgba(255,\x200,\x200,\x200.2)','opacity':0.2,'outlineColor':a52_0x10e138(0xff),'outlineWidth':0x2},_0x125f36){const _0x1ec121=a52_0x10e138;var _0xec54c6;const _0x2461bc=fromWKTs(_0x7e9334,_0x2beb9e,this['getView']()[_0x1ec121(0x11a)]()[_0x1ec121(0xca)]());if(!_0x2461bc||_0x2461bc['length']==0x0)return;const _0x95fdde=this[_0x1ec121(0xc1)](_0x2461bc[0x0][_0x1ec121(0xe4)]()),_0x17a3ca=getStyle(_0x1758b9);let _0x5a791f=[];for(const _0x6847a4 of _0x2461bc){const _0x1a7cd8=new a52_0x5748d1();_0x1a7cd8['setGeometry'](_0x6847a4),_0x1a7cd8[_0x1ec121(0xe1)](_0x17a3ca),_0x125f36?_0x1a7cd8[_0x1ec121(0xf0)](_0x125f36):_0x1a7cd8[_0x1ec121(0xf0)]({}),_0x1a7cd8[_0x1ec121(0x11b)]=_0x1ec121(0xd4),_0x1a7cd8['isSelected']=!![],_0x1a7cd8['tag']=_0xb040c6,_0x5a791f[_0x1ec121(0xb2)](_0x1a7cd8);}return(_0xec54c6=_0x95fdde[_0x1ec121(0xc7)]())===null||_0xec54c6===void 0x0?void 0x0:_0xec54c6[_0x1ec121(0xfd)](_0x5a791f),_0x4efe68&&this[_0x1ec121(0xd5)](_0x2461bc,undefined,1.2,![]),_0x5a791f;}[a52_0x10e138(0xe0)](_0x177610,_0x381683,_0x31af59=1.2,_0xd31763=!![]){const _0x32b2ae=a52_0x10e138;if(!_0x177610)return;let _0x45ebe6=fromWKT(_0x177610,_0x381683,this[_0x32b2ae(0xed)]()[_0x32b2ae(0x11a)]()[_0x32b2ae(0xca)]());if(!_0x45ebe6)return;this[_0x32b2ae(0xd2)](_0x45ebe6,_0x381683,_0x31af59,_0xd31763);}[a52_0x10e138(0xb5)](_0x3d8b05,_0xa5d557,_0x1b6d3a=1.2,_0x3ac603=!![]){const _0x56eeb4=a52_0x10e138;if(!_0x3d8b05||_0x3d8b05['length']===0x0)return;const _0x1a1e0a=[];for(let _0x29912c=0x0;_0x29912c<_0x3d8b05[_0x56eeb4(0xf3)];_0x29912c++){let _0x1b9423=_0x3d8b05[_0x29912c],_0x294dea=fromWKT(_0x1b9423,_0xa5d557,this[_0x56eeb4(0xed)]()[_0x56eeb4(0x11a)]()[_0x56eeb4(0xca)]());if(!_0x294dea)continue;_0x1a1e0a[_0x56eeb4(0xb2)](_0x294dea);}this['locationGeometrys'](_0x1a1e0a,_0xa5d557,_0x1b6d3a,_0x3ac603);}[a52_0x10e138(0xd2)](_0xd7781f,_0x33d1d9,_0x39b5c3=1.2,_0x16e246=!![]){const _0x3576f0=a52_0x10e138;if(!_0xd7781f)return;let _0x4d48ee=_0xd7781f;_0x33d1d9&&(_0x4d48ee=_0xd7781f[_0x3576f0(0x10b)](_0x33d1d9,this[_0x3576f0(0xed)]()['getProjection']()));switch(_0x4d48ee[_0x3576f0(0xe4)]()){case _0x3576f0(0xbd):this[_0x3576f0(0xed)]()[_0x3576f0(0xc0)](_0x4d48ee[_0x3576f0(0xf8)]());break;case _0x3576f0(0xb4):case _0x3576f0(0xd8):case _0x3576f0(0x113):case _0x3576f0(0x10a):case _0x3576f0(0xc5):this[_0x3576f0(0xed)]()[_0x3576f0(0xbe)](expandExtent(_0x4d48ee[_0x3576f0(0xf2)](),_0x39b5c3));break;}if(_0x16e246){const _0x11858e=new a52_0x143203(this);_0x11858e[_0x3576f0(0xc2)]([_0x4d48ee],0x3);}}[a52_0x10e138(0xd5)](_0x390c3a,_0x4855ab,_0x23812e=1.2,_0x1e533f=!![]){const _0x5b2927=a52_0x10e138;if(!_0x390c3a||_0x390c3a[_0x5b2927(0xf3)]===0x0)return;let _0x3e2c40=null;for(const _0x43d1f2 of _0x390c3a){_0x3e2c40?_0x3e2c40=union(_0x3e2c40,_0x43d1f2):_0x3e2c40=_0x43d1f2;}_0x3e2c40&&this[_0x5b2927(0xd2)](_0x3e2c40,_0x4855ab,_0x23812e,![]);if(_0x1e533f){const _0xcd12b6=new a52_0x143203(this);_0xcd12b6[_0x5b2927(0xc2)](_0x390c3a,0x3);}}}
1
+ const a52_0x27a21c=a52_0x121f;(function(_0x51d68c,_0x44b9e6){const _0x13eaa8=a52_0x121f,_0x128f5a=_0x51d68c();while(!![]){try{const _0x46267e=parseInt(_0x13eaa8(0x20a))/0x1+-parseInt(_0x13eaa8(0x1d0))/0x2+-parseInt(_0x13eaa8(0x1fd))/0x3+-parseInt(_0x13eaa8(0x1b5))/0x4*(parseInt(_0x13eaa8(0x1e7))/0x5)+-parseInt(_0x13eaa8(0x210))/0x6*(-parseInt(_0x13eaa8(0x1c7))/0x7)+parseInt(_0x13eaa8(0x21e))/0x8+parseInt(_0x13eaa8(0x1e8))/0x9;if(_0x46267e===_0x44b9e6)break;else _0x128f5a['push'](_0x128f5a['shift']());}catch(_0x2dc516){_0x128f5a['push'](_0x128f5a['shift']());}}}(a52_0x5e45,0x37c26));import'ol/ol.css';import'../assets/main.css';import a52_0x1935b1 from'ol/Map';import a52_0x2d7f92 from'ol/events/Event';import{defaults as a52_0x2fe6e3}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';function a52_0x121f(_0x114439,_0x4351f1){const _0x5e4577=a52_0x5e45();return a52_0x121f=function(_0x121ff2,_0x2bda3e){_0x121ff2=_0x121ff2-0x1b4;let _0x3687a9=_0x5e4577[_0x121ff2];return _0x3687a9;},a52_0x121f(_0x114439,_0x4351f1);}import a52_0x5c5221 from'../layers/LayerManager';import a52_0x43a72f from'ol/layer/Vector';import a52_0x2538fd from'ol/source/Vector';import a52_0x1027e9 from'../controls/ControlManager';import a52_0x505def from'../entity/Feature';import a52_0x134ceb from'../interaction/InteractionManager';import a52_0x55bc6b from'./View';function a52_0x5e45(){const _0x4c7a6c=['85sPvIrM','1989585EupZoL','insertAt','filter','getZIndex','isSelected','getPolygonTempLayer','geoserver-wmts','getType','getArcgisWMTSLayer','changelayer','locationGeometrys','length','addFeature','center','flashGeometrys','removeLayer','MultiLineString','getSize','getLayerById','layerInfo','removeLayerById','748272pQfwYE','addMapLayers','fitLayerById','】服务类型','getLineTempLayer','rgba(255,\x200,\x200,\x201)','constrainResolution','setCenter','setProjection','Point','zoom','EPSG:4490','getLayerByLayerTag','444067AJbzaR','setMinResolution','rgba(255,\x200,\x200,\x200.2)','resetViewProjection','getMinZoom','setMaxResolution','42RCSeTJ','getLayersByIds','pointTempLayer','layerTag','all','tdt-c','changetype','addWKT','extent','addWKTs','getPointTempLayer','minZoom','import','getArcgisTileLayer','120440nAxhKp','remove','transform','getGeoserverWFSLayer','minResolution','initialExtent','GeometryCollection','addMapLayer','Polygon','getLayers','34972ICcNfn','controlManager','getMetersPerUnit','sortTemLayer','lineTempLayer','getMaxZoom','minScale','getTempLayerById','getArcgisWmsLayer','includes','add','getLength','setGeometry','calculateExtent','getDynamicLayer','maxScale','locationWKTs','tag','130361HNwMyh','getExtent','setProperties','arcgis-dynamic','dispatchEvent','geoserver-wfs','layerIds','getCoordinates','getArcgisFeatureLayer','368206oWwZmL','getSource','LineString','setStyle','getArray','push','polygonTempLayer','getCode','getView','getTempLayerByGeoType','arcgis-wmts','getProjection','maxZoom','MultiPoint','fromType','arcgis-wms','addLayer','fit','geoserver-vector-tile','fitLayer','getTDTLayer','projection','_options'];a52_0x5e45=function(){return _0x4c7a6c;};return a52_0x5e45();}import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a52_0x5bd68c from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a52_0x2d7f92{constructor(_0x2762a1,_0x28b3bc,_0x2d5d2b){const _0x382c20=a52_0x121f;super(_0x2762a1),this[_0x382c20(0x1cd)]=_0x28b3bc,this[_0x382c20(0x216)]=_0x2d5d2b;}}export default class OLMap extends a52_0x1935b1{constructor(_0x59da02,_0x31bd18,_0x3e68f5){const _0x2a2950=a52_0x121f;_0x31bd18=_0x31bd18?_0x31bd18:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x284a85=_0x31bd18[_0x2a2950(0x1e5)]?'EPSG:'+_0x31bd18[_0x2a2950(0x1e5)]:_0x2a2950(0x208);_0x31bd18[_0x2a2950(0x207)]=_0x31bd18[_0x2a2950(0x207)]?_0x31bd18[_0x2a2950(0x207)]:0xa,_0x31bd18[_0x2a2950(0x21b)]=_0x31bd18[_0x2a2950(0x21b)]?_0x31bd18[_0x2a2950(0x21b)]:0x0,_0x31bd18[_0x2a2950(0x1dc)]=_0x31bd18[_0x2a2950(0x1dc)]?_0x31bd18['maxZoom']:0x1c,_0x31bd18['constrainResolution']=_0x31bd18[_0x2a2950(0x203)]?_0x31bd18[_0x2a2950(0x203)]:![],_0x31bd18[_0x2a2950(0x1f5)]=_0x31bd18[_0x2a2950(0x1f5)]?_0x31bd18[_0x2a2950(0x1f5)]:[117.22718,31.820386],registerProj(_0x284a85);const _0x353cb5={'target':_0x59da02,'view':_0x3e68f5?_0x3e68f5:new a52_0x55bc6b({'center':_0x31bd18['center'],'zoom':_0x31bd18[_0x2a2950(0x207)],'projection':_0x284a85,'minZoom':_0x31bd18[_0x2a2950(0x21b)],'maxZoom':_0x31bd18[_0x2a2950(0x1dc)],'minResolution':_0x31bd18[_0x2a2950(0x222)],'maxResolution':_0x31bd18['maxResolution'],'constrainResolution':_0x31bd18['constrainResolution']}),'controls':a52_0x2fe6e3({'zoom':![]})};super(_0x353cb5),_0x31bd18[_0x2a2950(0x218)]&&this[_0x2a2950(0x1d8)]()[_0x2a2950(0x1e1)](_0x31bd18[_0x2a2950(0x218)]),this['interactionManager']=new a52_0x134ceb(this),this[_0x2a2950(0x1b6)]=new a52_0x1027e9(this),this[_0x2a2950(0x1e6)]=_0x31bd18;}[a52_0x27a21c(0x1d8)](){const _0x2c4b91=a52_0x27a21c;return super[_0x2c4b91(0x1d8)]();}[a52_0x27a21c(0x1e3)](_0x3cf27f){const _0x53f5f5=a52_0x27a21c;var _0xd11de9;this[_0x53f5f5(0x1d8)]()[_0x53f5f5(0x1e1)](transformExtent(_0x3cf27f[_0x53f5f5(0x223)],(_0xd11de9=_0x3cf27f[_0x53f5f5(0x1e5)])===null||_0xd11de9===void 0x0?void 0x0:_0xd11de9['getCode'](),this['getView']()[_0x53f5f5(0x1db)]()[_0x53f5f5(0x1d7)]()));}[a52_0x27a21c(0x1ff)](_0x4d6e8d){const _0x36c0b2=a52_0x27a21c;let _0x11f8ec=this[_0x36c0b2(0x1fa)](_0x4d6e8d);_0x11f8ec&&this[_0x36c0b2(0x1e3)](_0x11f8ec);}async[a52_0x27a21c(0x225)](_0x44e3fd){const _0x47f8bc=a52_0x27a21c;let _0x2a392c;switch(_0x44e3fd['layerType']){case'arcgis-feature':_0x2a392c=await a52_0x5c5221[_0x47f8bc(0x1cf)](_0x44e3fd);break;case _0x47f8bc(0x1ca):_0x2a392c=await a52_0x5c5221[_0x47f8bc(0x1c3)](_0x44e3fd);break;case'arcgis-tile':_0x2a392c=await a52_0x5c5221[_0x47f8bc(0x21d)](_0x44e3fd);break;case _0x47f8bc(0x1df):_0x2a392c=await a52_0x5c5221[_0x47f8bc(0x1bd)](_0x44e3fd);break;case _0x47f8bc(0x1da):_0x2a392c=await a52_0x5c5221[_0x47f8bc(0x1f0)](_0x44e3fd);break;case'geoserver-wms':_0x2a392c=await a52_0x5c5221['getGeoserverWmsLayer'](_0x44e3fd);break;case _0x47f8bc(0x1cc):_0x2a392c=await a52_0x5c5221[_0x47f8bc(0x221)](_0x44e3fd);break;case _0x47f8bc(0x1ee):_0x2a392c=await a52_0x5c5221['getGeoserverWMTSLayer'](_0x44e3fd);break;case _0x47f8bc(0x1e2):_0x2a392c=await a52_0x5c5221['getGeoserverVectorTileLayer'](_0x44e3fd);break;case _0x47f8bc(0x215):_0x2a392c=await a52_0x5c5221[_0x47f8bc(0x1e4)](_0x44e3fd);break;default:throw new Error('暂不支持【'+_0x44e3fd['layerType']+_0x47f8bc(0x200));}return this[_0x47f8bc(0x1e0)](_0x2a392c),this['dispatchEvent'](new ChangeLayerEvent(_0x47f8bc(0x1f1),[_0x44e3fd['id']],'add')),_0x2a392c;}async[a52_0x27a21c(0x1fe)](_0xf321a5){const _0x5a94a3=a52_0x27a21c;let _0x5ed2ce=[];const _0xe92fa2=[];for(let _0x1bfff2=0x0;_0x1bfff2<_0xf321a5[_0x5a94a3(0x1f3)];_0x1bfff2++){const _0x43206a=_0xf321a5[_0x1bfff2];_0xe92fa2[_0x5a94a3(0x1d5)](_0x43206a['id']),_0x5ed2ce[_0x5a94a3(0x1d5)](this['addMapLayer'](_0x43206a));}const _0x59d422=await Promise[_0x5a94a3(0x214)](_0x5ed2ce);return this[_0x5a94a3(0x1cb)](new ChangeLayerEvent(_0x5a94a3(0x1f1),_0xe92fa2,_0x5a94a3(0x1bf))),_0x59d422;}[a52_0x27a21c(0x1e0)](_0xb0c6a7,_0x5166d0=![]){const _0x474c39=a52_0x27a21c,_0x2e494e=_0xb0c6a7,_0x238a5e=this[_0x474c39(0x1fa)](_0x2e494e['id']);if(_0x238a5e==null){const _0x4b410b=_0x2e494e['layerInfo']==undefined||_0x2e494e['layerInfo'][_0x474c39(0x1bb)]==undefined||_0x2e494e[_0x474c39(0x1fb)][_0x474c39(0x1bb)]<0x0?undefined:calculateResolution(_0x2e494e['layerInfo'][_0x474c39(0x1bb)],this[_0x474c39(0x1d8)]()['getProjection']()[_0x474c39(0x1b7)]()||0x0);_0xb0c6a7[_0x474c39(0x20b)](_0x4b410b);const _0x40dd6c=_0x2e494e['layerInfo']==undefined||_0x2e494e['layerInfo']['maxScale']==undefined||_0x2e494e[_0x474c39(0x1fb)][_0x474c39(0x1c4)]<0x0?undefined:calculateResolution(_0x2e494e[_0x474c39(0x1fb)][_0x474c39(0x1c4)],this[_0x474c39(0x1d8)]()[_0x474c39(0x1db)]()[_0x474c39(0x1b7)]()||0x0);_0xb0c6a7[_0x474c39(0x20f)](_0x40dd6c);const _0x1d755b=this['getLayers']()[_0x474c39(0x1d4)]()[_0x474c39(0x1f3)];if(!this[_0x474c39(0x1e6)][_0x474c39(0x1e5)]&&_0x1d755b==0x0&&_0x2e494e['projection']&&_0x2e494e[_0x474c39(0x1e5)][_0x474c39(0x1d7)]()!=this[_0x474c39(0x1d8)]()[_0x474c39(0x1db)]()['getCode']()){}let _0x1ea75f=_0xb0c6a7[_0x474c39(0x1eb)]();_0x1ea75f!=undefined&&_0x1ea75f>_0x1d755b&&(_0x1ea75f=_0x1d755b),this[_0x474c39(0x1b4)]()[_0x474c39(0x1e9)](_0x1ea75f==undefined?_0x1d755b:_0x1ea75f,_0xb0c6a7),_0x5166d0&&this[_0x474c39(0x1e3)](_0x2e494e);}}[a52_0x27a21c(0x1fc)](_0x28d1cd){const _0x2d81df=a52_0x27a21c,_0x36c8fd=this[_0x2d81df(0x1fa)](_0x28d1cd);_0x36c8fd&&(this[_0x2d81df(0x1f7)](_0x36c8fd),this[_0x2d81df(0x1cb)](new ChangeLayerEvent(_0x2d81df(0x1f1),[_0x28d1cd],_0x2d81df(0x21f))));}[a52_0x27a21c(0x1fa)](_0x25507c){const _0x4225ab=a52_0x27a21c;let _0x2e58ab,_0x1bc3da=this[_0x4225ab(0x1b4)]()[_0x4225ab(0x1d4)]();for(let _0x46671b=0x0;_0x46671b<_0x1bc3da[_0x4225ab(0x1f3)];_0x46671b++){let _0x2b2f7c=_0x1bc3da[_0x46671b]['id'];if(_0x25507c==_0x2b2f7c){_0x2e58ab=_0x1bc3da[_0x46671b];break;}}return _0x2e58ab;}[a52_0x27a21c(0x209)](_0x526836){const _0x5d49fb=a52_0x27a21c;let _0x140f74,_0x5097c6=this['getLayers']()['getArray']();for(let _0x3a97e1=0x0;_0x3a97e1<_0x5097c6[_0x5d49fb(0x1f3)];_0x3a97e1++){const _0x95fa37=_0x5097c6[_0x3a97e1][_0x5d49fb(0x1fb)];if(!_0x95fa37)continue;let _0x38d097=_0x95fa37[_0x5d49fb(0x213)];if(_0x38d097==_0x526836){_0x140f74=_0x5097c6[_0x3a97e1];break;}}return _0x140f74;}[a52_0x27a21c(0x211)](_0x4cfa65){const _0x4bcd60=a52_0x27a21c;let _0x5cba5f=this[_0x4bcd60(0x1b4)]()[_0x4bcd60(0x1d4)]();return _0x5cba5f[_0x4bcd60(0x1ea)](_0x2af1af=>_0x4cfa65[_0x4bcd60(0x1be)](_0x2af1af['id']));}[a52_0x27a21c(0x1bc)](_0x20651a){const _0x44b08a=a52_0x27a21c;let _0x3e2bc0,_0x21f105=this[_0x44b08a(0x1b4)]()[_0x44b08a(0x1d4)]();for(let _0x38a9bf=0x0;_0x38a9bf<_0x21f105[_0x44b08a(0x1f3)];_0x38a9bf++){const _0x3818eb=_0x21f105[_0x38a9bf];if(_0x3818eb['id']===_0x20651a){_0x3e2bc0=_0x3818eb;break;}}if(!_0x3e2bc0){_0x3e2bc0=new a52_0x43a72f({'zIndex':0x270f,'source':new a52_0x2538fd()}),_0x3e2bc0['id']=_0x20651a;const _0x1588f8=this[_0x44b08a(0x1b4)]()[_0x44b08a(0x1c0)]();switch(_0x20651a){case _0x44b08a(0x1b9):this[_0x44b08a(0x1b4)]()[_0x44b08a(0x1e9)](_0x1588f8-0x1>-0x1?_0x1588f8-0x1:0x0,_0x3e2bc0);break;case _0x44b08a(0x1d6):this[_0x44b08a(0x1b4)]()['insertAt'](_0x1588f8-0x2>-0x1?_0x1588f8-0x2:0x0,_0x3e2bc0);break;case _0x44b08a(0x212):this['getLayers']()[_0x44b08a(0x1e9)](_0x1588f8,_0x3e2bc0);break;default:break;}}return _0x3e2bc0;}[a52_0x27a21c(0x21a)](){const _0x8cab2b=a52_0x27a21c;return this[_0x8cab2b(0x1bc)](_0x8cab2b(0x212));}['getLineTempLayer'](){const _0x189722=a52_0x27a21c;return this[_0x189722(0x1bc)](_0x189722(0x1b9));}[a52_0x27a21c(0x1ed)](){const _0x2d4037=a52_0x27a21c;return this[_0x2d4037(0x1bc)](_0x2d4037(0x1d6));}[a52_0x27a21c(0x1d9)](_0x403bf5){const _0x3cb751=a52_0x27a21c;let _0xc1613e=this[_0x3cb751(0x21a)]();switch(_0x403bf5){case _0x3cb751(0x206):case _0x3cb751(0x1dd):_0xc1613e=this['getPointTempLayer']();case _0x3cb751(0x1d2):case _0x3cb751(0x1f8):_0xc1613e=this[_0x3cb751(0x201)]();case _0x3cb751(0x226):case'MultiPolygon':_0xc1613e=this['getPolygonTempLayer']();}return _0xc1613e;}[a52_0x27a21c(0x20d)](_0x492122){const _0x3b98a4=a52_0x27a21c;let _0x37007d=this[_0x3b98a4(0x1d8)]()[_0x3b98a4(0x20e)](),_0x2525fa=this[_0x3b98a4(0x1d8)]()[_0x3b98a4(0x1ba)]();registerProj(_0x492122),this['getView']()[_0x3b98a4(0x205)](_0x492122);}[a52_0x27a21c(0x1b8)](){const _0x57e88f=a52_0x27a21c;let _0x47c091=[];_0x47c091[_0x57e88f(0x1d5)](this[_0x57e88f(0x21a)]()),_0x47c091[_0x57e88f(0x1d5)](this['getLineTempLayer']()),_0x47c091[_0x57e88f(0x1d5)](this[_0x57e88f(0x1ed)]());const _0x3a47e4=this[_0x57e88f(0x1b4)]()[_0x57e88f(0x1d4)]()[_0x57e88f(0x1f3)];for(let _0x1c2526=0x0;_0x1c2526<_0x47c091[_0x57e88f(0x1f3)];_0x1c2526++){const _0x160e0e=_0x47c091[_0x1c2526];this[_0x57e88f(0x1b4)]()[_0x57e88f(0x1e9)](_0x3a47e4-_0x1c2526-0x1,_0x160e0e);}}[a52_0x27a21c(0x1c8)](){const _0x2aca7d=a52_0x27a21c;return this[_0x2aca7d(0x1d8)]()[_0x2aca7d(0x1c2)](this[_0x2aca7d(0x1f9)]());}[a52_0x27a21c(0x217)](_0x13c550,_0x4dbc3a,_0x60c493,_0x54ce5f=!![],_0x4105eb,_0x17d998={'color':a52_0x27a21c(0x20c),'opacity':0.2,'outlineColor':a52_0x27a21c(0x202),'outlineWidth':0x2}){const _0x234735=a52_0x27a21c;var _0x527f6e;const _0x26c64d=fromWKT(_0x13c550,_0x4dbc3a,this[_0x234735(0x1d8)]()['getProjection']()['getCode']());if(!_0x26c64d)return;const _0x47b9b9=this[_0x234735(0x1d9)](_0x26c64d['getType']()),_0x5eb784=getStyle(_0x17d998),_0x1038cb=new a52_0x505def();return _0x1038cb['setGeometry'](_0x26c64d),_0x1038cb[_0x234735(0x1d3)](_0x5eb784),_0x4105eb?_0x1038cb[_0x234735(0x1c9)](_0x4105eb):_0x1038cb[_0x234735(0x1c9)]({}),_0x1038cb[_0x234735(0x1c6)]=_0x60c493,(_0x527f6e=_0x47b9b9[_0x234735(0x1d1)]())===null||_0x527f6e===void 0x0?void 0x0:_0x527f6e[_0x234735(0x1f4)](_0x1038cb),_0x54ce5f&&this['locationGeometry'](_0x26c64d,undefined,1.2,![]),_0x1038cb;}[a52_0x27a21c(0x219)](_0x1f2df6,_0x13e59c,_0xa135eb,_0x350776=!![],_0xb93d9d={'color':a52_0x27a21c(0x20c),'opacity':0.2,'outlineColor':'rgba(255,\x200,\x200,\x201)','outlineWidth':0x2},_0x58c0f5){const _0x1b84af=a52_0x27a21c;var _0x24b14a;const _0x105626=fromWKTs(_0x1f2df6,_0x13e59c,this[_0x1b84af(0x1d8)]()[_0x1b84af(0x1db)]()[_0x1b84af(0x1d7)]());if(!_0x105626||_0x105626['length']==0x0)return;const _0x3a048c=this[_0x1b84af(0x1d9)](_0x105626[0x0][_0x1b84af(0x1ef)]()),_0x2f8faa=getStyle(_0xb93d9d);let _0x486f0e=[];for(const _0x1941c3 of _0x105626){const _0x5bd7f3=new a52_0x505def();_0x5bd7f3[_0x1b84af(0x1c1)](_0x1941c3),_0x5bd7f3[_0x1b84af(0x1d3)](_0x2f8faa),_0x58c0f5?_0x5bd7f3[_0x1b84af(0x1c9)](_0x58c0f5):_0x5bd7f3[_0x1b84af(0x1c9)]({}),_0x5bd7f3[_0x1b84af(0x1de)]=_0x1b84af(0x21c),_0x5bd7f3[_0x1b84af(0x1ec)]=!![],_0x5bd7f3[_0x1b84af(0x1c6)]=_0xa135eb,_0x486f0e[_0x1b84af(0x1d5)](_0x5bd7f3);}return(_0x24b14a=_0x3a048c[_0x1b84af(0x1d1)]())===null||_0x24b14a===void 0x0?void 0x0:_0x24b14a['addFeatures'](_0x486f0e),_0x350776&&this[_0x1b84af(0x1f2)](_0x105626,undefined,1.2,![]),_0x486f0e;}['locationWKT'](_0x5c8250,_0x57e4f7,_0x508515=1.2,_0x422fee=!![]){const _0x394c3b=a52_0x27a21c;if(!_0x5c8250)return;let _0x361138=fromWKT(_0x5c8250,_0x57e4f7,this[_0x394c3b(0x1d8)]()['getProjection']()['getCode']());if(!_0x361138)return;this['locationGeometry'](_0x361138,_0x57e4f7,_0x508515,_0x422fee);}[a52_0x27a21c(0x1c5)](_0x1d61b7,_0x189812,_0x3b80a0=1.2,_0x69aaed=!![]){const _0x32f047=a52_0x27a21c;if(!_0x1d61b7||_0x1d61b7[_0x32f047(0x1f3)]===0x0)return;const _0x47b7d0=[];for(let _0x47e8ed=0x0;_0x47e8ed<_0x1d61b7[_0x32f047(0x1f3)];_0x47e8ed++){let _0x264020=_0x1d61b7[_0x47e8ed],_0x38e734=fromWKT(_0x264020,_0x189812,this[_0x32f047(0x1d8)]()['getProjection']()[_0x32f047(0x1d7)]());if(!_0x38e734)continue;_0x47b7d0[_0x32f047(0x1d5)](_0x38e734);}this[_0x32f047(0x1f2)](_0x47b7d0,_0x189812,_0x3b80a0,_0x69aaed);}['locationGeometry'](_0x3a0572,_0x38f589,_0x457d3c=1.2,_0x179d1f=!![]){const _0x2dafa8=a52_0x27a21c;if(!_0x3a0572)return;let _0x35cb11=_0x3a0572;_0x38f589&&(_0x35cb11=_0x3a0572[_0x2dafa8(0x220)](_0x38f589,this[_0x2dafa8(0x1d8)]()[_0x2dafa8(0x1db)]()));switch(_0x35cb11[_0x2dafa8(0x1ef)]()){case _0x2dafa8(0x206):this[_0x2dafa8(0x1d8)]()[_0x2dafa8(0x204)](_0x35cb11[_0x2dafa8(0x1ce)]());break;case _0x2dafa8(0x226):case _0x2dafa8(0x1dd):case _0x2dafa8(0x1f8):case'MultiPolygon':case _0x2dafa8(0x224):this['getView']()[_0x2dafa8(0x1e1)](expandExtent(_0x35cb11[_0x2dafa8(0x1c8)](),_0x457d3c));break;}if(_0x179d1f){const _0x12c363=new a52_0x5bd68c(this);_0x12c363['flashGeometrys']([_0x35cb11],0x3);}}[a52_0x27a21c(0x1f2)](_0x5695fa,_0x57630e,_0x3928e9=1.2,_0x23ea35=!![]){const _0x14996f=a52_0x27a21c;if(!_0x5695fa||_0x5695fa['length']===0x0)return;let _0x2e173b=null;for(const _0xd49c39 of _0x5695fa){_0x2e173b?_0x2e173b=union(_0x2e173b,_0xd49c39):_0x2e173b=_0xd49c39;}_0x2e173b&&this['locationGeometry'](_0x2e173b,_0x57630e,_0x3928e9,![]);if(_0x23ea35){const _0x56094b=new a52_0x5bd68c(this);_0x56094b[_0x14996f(0x1f6)](_0x5695fa,0x3);}}}
package/mapView/View.js CHANGED
@@ -1 +1 @@
1
- var a53_0x1447bf=a53_0x4872;(function(_0x175714,_0x3fa2bd){var _0xa95af9=a53_0x4872,_0x450bad=_0x175714();while(!![]){try{var _0x2df54a=-parseInt(_0xa95af9(0x13a))/0x1*(-parseInt(_0xa95af9(0x136))/0x2)+parseInt(_0xa95af9(0x137))/0x3*(parseInt(_0xa95af9(0x133))/0x4)+-parseInt(_0xa95af9(0x13b))/0x5+parseInt(_0xa95af9(0x13f))/0x6*(-parseInt(_0xa95af9(0x138))/0x7)+parseInt(_0xa95af9(0x139))/0x8*(-parseInt(_0xa95af9(0x13e))/0x9)+parseInt(_0xa95af9(0x13d))/0xa*(-parseInt(_0xa95af9(0x13c))/0xb)+parseInt(_0xa95af9(0x135))/0xc;if(_0x2df54a===_0x3fa2bd)break;else _0x450bad['push'](_0x450bad['shift']());}catch(_0x4113b6){_0x450bad['push'](_0x450bad['shift']());}}}(a53_0x367a,0xbd894));import a53_0x40579f from'ol/View';import{get}from'ol/proj';function a53_0x4872(_0x5c85da,_0xaa3d5f){var _0x367a07=a53_0x367a();return a53_0x4872=function(_0x487204,_0x1a1752){_0x487204=_0x487204-0x133;var _0x45591c=_0x367a07[_0x487204];return _0x45591c;},a53_0x4872(_0x5c85da,_0xaa3d5f);}function a53_0x367a(){var _0x20721f=['2WxJnjA','184911OBoXQZ','63IMwKqg','3736056wYUiYn','422491RtHaby','5563860fglVAt','17077522PWyzpV','10WqXpmq','9kPtmOj','517746LWleDk','92rBKdSb','setProjection','34141176INahVw'];a53_0x367a=function(){return _0x20721f;};return a53_0x367a();}export default class OLView extends a53_0x40579f{constructor(_0x577664){super(_0x577664);}[a53_0x1447bf(0x134)](_0x70d1d8){this['projection_']=get(_0x70d1d8),this['setProperties']({'projection_':get(_0x70d1d8)});}}
1
+ var a53_0x2512ff=a53_0x2c70;(function(_0x1ecb2f,_0x4492cd){var _0x11a029=a53_0x2c70,_0x7161da=_0x1ecb2f();while(!![]){try{var _0x217e90=parseInt(_0x11a029(0xbd))/0x1+-parseInt(_0x11a029(0xb6))/0x2+-parseInt(_0x11a029(0xbc))/0x3*(parseInt(_0x11a029(0xbe))/0x4)+-parseInt(_0x11a029(0xb5))/0x5*(parseInt(_0x11a029(0xba))/0x6)+-parseInt(_0x11a029(0xb3))/0x7+parseInt(_0x11a029(0xbf))/0x8*(parseInt(_0x11a029(0xb7))/0x9)+-parseInt(_0x11a029(0xbb))/0xa*(-parseInt(_0x11a029(0xb4))/0xb);if(_0x217e90===_0x4492cd)break;else _0x7161da['push'](_0x7161da['shift']());}catch(_0xb1670f){_0x7161da['push'](_0x7161da['shift']());}}}(a53_0x458a,0x27e90));function a53_0x458a(){var _0x13a2f4=['1486145KhuczT','250234BbRfqY','2734983FIRdRQ','projection_','setProjection','6tuUobc','30WvQWuq','173256qCSKVA','39527xzupAC','4ANGfET','8Kruwwe','2100735KmyfJd','2200957oJyfjw'];a53_0x458a=function(){return _0x13a2f4;};return a53_0x458a();}import a53_0x16df21 from'ol/View';function a53_0x2c70(_0x163e00,_0x461016){var _0x458a88=a53_0x458a();return a53_0x2c70=function(_0x2c70df,_0x18910c){_0x2c70df=_0x2c70df-0xb3;var _0x3c305a=_0x458a88[_0x2c70df];return _0x3c305a;},a53_0x2c70(_0x163e00,_0x461016);}import{get}from'ol/proj';export default class OLView extends a53_0x16df21{constructor(_0xf5aed1){super(_0xf5aed1);}[a53_0x2512ff(0xb9)](_0x4dd0a8){var _0x3b835f=a53_0x2512ff;this[_0x3b835f(0xb8)]=get(_0x4dd0a8),this['setProperties']({'projection_':get(_0x4dd0a8)});}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ym-gis-2d",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "index.ts",
package/plot/Plot.js CHANGED
@@ -1 +1 @@
1
- (function(_0x2f714b,_0x556485){const _0x50d804=a61_0x2359,_0x564eb4=_0x2f714b();while(!![]){try{const _0x2573b6=-parseInt(_0x50d804(0x84))/0x1+parseInt(_0x50d804(0x8a))/0x2+parseInt(_0x50d804(0x78))/0x3+-parseInt(_0x50d804(0x87))/0x4+parseInt(_0x50d804(0x88))/0x5*(parseInt(_0x50d804(0x82))/0x6)+-parseInt(_0x50d804(0x77))/0x7+parseInt(_0x50d804(0x80))/0x8;if(_0x2573b6===_0x556485)break;else _0x564eb4['push'](_0x564eb4['shift']());}catch(_0x10aa64){_0x564eb4['push'](_0x564eb4['shift']());}}}(a61_0x7e37,0xd2ef7));import a61_0x7efbc7 from'../entity/GeometryType';import a61_0x253ac5 from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';import{getPolygonStyle}from'../style/PolygonStyleFormat';import a61_0x4f2945 from'./geometry/polygon/RectAngle';import a61_0x561e60 from'./geometry/polyline/Polyline';function a61_0x7e37(){const _0x463d1f=['1822448LvKMHG','4755xkEigs','Ellipse','553184ReSXnC','Polygon','pointermove','2826719TjOHXn','2202411HxKZuU','ArrowAttack','Rectangle','MAX_VALUE','assign','Point','ArrowPincerlike','PolyLine','2164952BZhZDu','Ellipsoid','8706twEZLq','Arrow','937829uktRZF','Circle','toLowerCase'];a61_0x7e37=function(){return _0x463d1f;};return a61_0x7e37();}import a61_0x2684a4 from'./geometry/point/Point';import a61_0x50aada from'./geometry/polygon/Circle';const defaultStyle={'color':[0x40,0xaf,0xc1,0.08],'fill':!![],'opacity':0.6,'outline':!![],'outlineColor':[0x40,0xaf,0xc1,0x1],'outlineOpacity':0.6,'outlineWidth':0x2};export function createPlot(_0x324f0e,_0x57b825){const _0x36ceaf=a61_0x2359;_0x324f0e=_0x324f0e[_0x36ceaf(0x86)]();switch(_0x324f0e){case a61_0x7efbc7['Point']:case _0x36ceaf(0x76):return new a61_0x2684a4(_0x57b825);case a61_0x7efbc7[_0x36ceaf(0x7f)]:return new a61_0x561e60(_0x57b825);case a61_0x7efbc7[_0x36ceaf(0x85)]:return new a61_0x50aada(_0x57b825);case a61_0x7efbc7['Rectangle']:return new a61_0x4f2945(_0x57b825);case a61_0x7efbc7[_0x36ceaf(0x8b)]:return new a61_0x253ac5(_0x57b825);}}export function getPlotCount(_0x1cdfbd){const _0x5665b9=a61_0x2359;_0x1cdfbd=_0x1cdfbd[_0x5665b9(0x86)]();let _0xf05088={'fixPoint':0x0,'minPoint':0x0};switch(_0x1cdfbd){case a61_0x7efbc7[_0x5665b9(0x7d)]:_0xf05088={'fixPoint':0x1,'minPoint':0x0};break;case a61_0x7efbc7[_0x5665b9(0x7f)]:_0xf05088={'fixPoint':Number[_0x5665b9(0x7b)],'minPoint':0x1};break;case a61_0x7efbc7['Polygon']:_0xf05088={'fixPoint':Number['MAX_VALUE'],'minPoint':0x2};break;case a61_0x7efbc7[_0x5665b9(0x7a)]:_0xf05088={'fixPoint':0x2,'minPoint':0x1};break;case a61_0x7efbc7[_0x5665b9(0x85)]:_0xf05088={'fixPoint':0x2,'minPoint':0x1};break;case a61_0x7efbc7['Curve']:_0xf05088={'fixPoint':Number[_0x5665b9(0x7b)],'minPoint':0x1};break;case a61_0x7efbc7['Ellipse']:case a61_0x7efbc7[_0x5665b9(0x81)]:_0xf05088={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0xf05088;}function a61_0x2359(_0x132cb3,_0x3e788f){const _0x7e375c=a61_0x7e37();return a61_0x2359=function(_0x235908,_0x5cd2d3){_0x235908=_0x235908-0x76;let _0x14479c=_0x7e375c[_0x235908];return _0x14479c;},a61_0x2359(_0x132cb3,_0x3e788f);}export function getStyle(_0x1068e5,_0x11fd78,_0xf0ee9a){const _0x584fe6=a61_0x2359;_0x1068e5=_0x1068e5[_0x584fe6(0x86)](),_0x11fd78=Object[_0x584fe6(0x7c)](Object[_0x584fe6(0x7c)]({},defaultStyle),_0x11fd78);switch(_0x1068e5){case a61_0x7efbc7['Point']:return function(_0x28101d,_0x36c851){return getPointSingleStyle(_0x1068e5,_0x11fd78,_0x36c851,_0xf0ee9a);};case a61_0x7efbc7[_0x584fe6(0x7f)]:case a61_0x7efbc7['Curve']:return function(_0x387e81,_0x561692){return getPolylineStyle(_0x11fd78,'',_0x561692,_0xf0ee9a);};case a61_0x7efbc7['Circle']:case a61_0x7efbc7[_0x584fe6(0x7a)]:case a61_0x7efbc7[_0x584fe6(0x89)]:case a61_0x7efbc7[_0x584fe6(0x81)]:case a61_0x7efbc7['SurfaceClosed']:case a61_0x7efbc7[_0x584fe6(0x8b)]:case a61_0x7efbc7[_0x584fe6(0x79)]:case a61_0x7efbc7[_0x584fe6(0x7e)]:case a61_0x7efbc7[_0x584fe6(0x83)]:case a61_0x7efbc7['AssemblySite']:return function(_0x525e38,_0x9a2af2){return getPolygonStyle(_0x11fd78,'',_0x9a2af2,_0xf0ee9a);};}}
1
+ (function(_0x1a8a4c,_0x3c20c0){const _0x189aab=a61_0x9688,_0x2d8e4a=_0x1a8a4c();while(!![]){try{const _0x12221b=-parseInt(_0x189aab(0x192))/0x1+parseInt(_0x189aab(0x195))/0x2+-parseInt(_0x189aab(0x198))/0x3*(parseInt(_0x189aab(0x1a5))/0x4)+-parseInt(_0x189aab(0x1a3))/0x5+-parseInt(_0x189aab(0x19c))/0x6+parseInt(_0x189aab(0x196))/0x7+parseInt(_0x189aab(0x191))/0x8;if(_0x12221b===_0x3c20c0)break;else _0x2d8e4a['push'](_0x2d8e4a['shift']());}catch(_0x1b01d6){_0x2d8e4a['push'](_0x2d8e4a['shift']());}}}(a61_0x264c,0xcac47));import a61_0xfcabe7 from'../entity/GeometryType';import a61_0x4c3307 from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';import{getPolygonStyle}from'../style/PolygonStyleFormat';import a61_0x46fdf2 from'./geometry/polygon/RectAngle';function a61_0x9688(_0x3e20cd,_0x2802df){const _0x264c0b=a61_0x264c();return a61_0x9688=function(_0x9688a9,_0x7daedb){_0x9688a9=_0x9688a9-0x18f;let _0x2956c9=_0x264c0b[_0x9688a9];return _0x2956c9;},a61_0x9688(_0x3e20cd,_0x2802df);}import a61_0x3ba59f from'./geometry/polyline/Polyline';import a61_0x2b729a from'./geometry/point/Point';import a61_0x21f9d0 from'./geometry/polygon/Circle';const defaultStyle={'color':[0x40,0xaf,0xc1,0.08],'fill':!![],'opacity':0.6,'outline':!![],'outlineColor':[0x40,0xaf,0xc1,0x1],'outlineOpacity':0.6,'outlineWidth':0x2};export function createPlot(_0x44b1a3,_0x562831){const _0x49212c=a61_0x9688;_0x44b1a3=_0x44b1a3[_0x49212c(0x197)]();switch(_0x44b1a3){case a61_0xfcabe7[_0x49212c(0x18f)]:case _0x49212c(0x19e):return new a61_0x2b729a(_0x562831);case a61_0xfcabe7[_0x49212c(0x19a)]:return new a61_0x3ba59f(_0x562831);case a61_0xfcabe7[_0x49212c(0x19b)]:return new a61_0x21f9d0(_0x562831);case a61_0xfcabe7['Rectangle']:return new a61_0x46fdf2(_0x562831);case a61_0xfcabe7[_0x49212c(0x19f)]:return new a61_0x4c3307(_0x562831);}}export function getPlotCount(_0x1e5458){const _0x335d6a=a61_0x9688;_0x1e5458=_0x1e5458[_0x335d6a(0x197)]();let _0x5bbf39={'fixPoint':0x0,'minPoint':0x0};switch(_0x1e5458){case a61_0xfcabe7['Point']:_0x5bbf39={'fixPoint':0x1,'minPoint':0x0};break;case a61_0xfcabe7[_0x335d6a(0x19a)]:_0x5bbf39={'fixPoint':Number[_0x335d6a(0x194)],'minPoint':0x1};break;case a61_0xfcabe7[_0x335d6a(0x19f)]:_0x5bbf39={'fixPoint':Number['MAX_VALUE'],'minPoint':0x2};break;case a61_0xfcabe7[_0x335d6a(0x190)]:_0x5bbf39={'fixPoint':0x2,'minPoint':0x1};break;case a61_0xfcabe7[_0x335d6a(0x19b)]:_0x5bbf39={'fixPoint':0x2,'minPoint':0x1};break;case a61_0xfcabe7[_0x335d6a(0x1a1)]:_0x5bbf39={'fixPoint':Number[_0x335d6a(0x194)],'minPoint':0x1};break;case a61_0xfcabe7['Ellipse']:case a61_0xfcabe7['Ellipsoid']:_0x5bbf39={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x5bbf39;}function a61_0x264c(){const _0x1ca1c2=['Curve','SurfaceClosed','5288225HYuwdY','Arrow','232LunHMz','Point','Rectangle','10440896VEWkMU','92205LmvupX','AssemblySite','MAX_VALUE','551448ziRHrT','8411886eDpGYR','toLowerCase','8079Iuttbp','Ellipsoid','PolyLine','Circle','3875730zyyUmF','assign','pointermove','Polygon','ArrowAttack'];a61_0x264c=function(){return _0x1ca1c2;};return a61_0x264c();}export function getStyle(_0x3c1800,_0x5d2991,_0x3e1e7d){const _0x2140f7=a61_0x9688;_0x3c1800=_0x3c1800[_0x2140f7(0x197)](),_0x5d2991=Object[_0x2140f7(0x19d)](Object[_0x2140f7(0x19d)]({},defaultStyle),_0x5d2991);switch(_0x3c1800){case a61_0xfcabe7[_0x2140f7(0x18f)]:return function(_0x151deb,_0x1a4a0a){return getPointSingleStyle(_0x3c1800,_0x5d2991,_0x1a4a0a,_0x3e1e7d);};case a61_0xfcabe7[_0x2140f7(0x19a)]:case a61_0xfcabe7['Curve']:return function(_0x3ff0de,_0x1ea5b0){return getPolylineStyle(_0x5d2991,'',_0x1ea5b0,_0x3e1e7d);};case a61_0xfcabe7[_0x2140f7(0x19b)]:case a61_0xfcabe7[_0x2140f7(0x190)]:case a61_0xfcabe7['Ellipse']:case a61_0xfcabe7[_0x2140f7(0x199)]:case a61_0xfcabe7[_0x2140f7(0x1a2)]:case a61_0xfcabe7['Polygon']:case a61_0xfcabe7[_0x2140f7(0x1a0)]:case a61_0xfcabe7['ArrowPincerlike']:case a61_0xfcabe7[_0x2140f7(0x1a4)]:case a61_0xfcabe7[_0x2140f7(0x193)]:return function(_0x5f0b46,_0x5a86a2){return getPolygonStyle(_0x5d2991,'',_0x5a86a2,_0x3e1e7d);};}}
@@ -1 +1 @@
1
- var a54_0x20489f=a54_0x2f16;(function(_0x4f5bbf,_0xe67cd4){var _0x4c5e9a=a54_0x2f16,_0x1301d5=_0x4f5bbf();while(!![]){try{var _0x4e842e=-parseInt(_0x4c5e9a(0x1cf))/0x1+-parseInt(_0x4c5e9a(0x1d4))/0x2+-parseInt(_0x4c5e9a(0x1cc))/0x3+parseInt(_0x4c5e9a(0x1c4))/0x4*(parseInt(_0x4c5e9a(0x1cd))/0x5)+-parseInt(_0x4c5e9a(0x1de))/0x6*(-parseInt(_0x4c5e9a(0x1dd))/0x7)+parseInt(_0x4c5e9a(0x1c3))/0x8*(-parseInt(_0x4c5e9a(0x1ce))/0x9)+parseInt(_0x4c5e9a(0x1c9))/0xa*(parseInt(_0x4c5e9a(0x1c8))/0xb);if(_0x4e842e===_0xe67cd4)break;else _0x1301d5['push'](_0x1301d5['shift']());}catch(_0x4507){_0x1301d5['push'](_0x1301d5['shift']());}}}(a54_0x8d45,0xb5e75));import{Map}from'ol';function a54_0x2f16(_0x3d4009,_0x2f33b1){var _0x8d4597=a54_0x8d45();return a54_0x2f16=function(_0x2f1662,_0x17b23f){_0x2f1662=_0x2f1662-0x1c2;var _0x22675d=_0x8d4597[_0x2f1662];return _0x22675d;},a54_0x2f16(_0x3d4009,_0x2f33b1);}import{Point as a54_0x2f78a8}from'ol/geom';class Point extends a54_0x2f78a8{constructor(_0x382e37){var _0xdfb65c=a54_0x2f16;super([]),this[_0xdfb65c(0x1ca)]=_0xdfb65c(0x1c5),this['points']=_0x382e37,this[_0xdfb65c(0x1c2)](_0x382e37);}[a54_0x20489f(0x1da)](){var _0x538ca7=a54_0x20489f;return this[_0x538ca7(0x1ca)];}[a54_0x20489f(0x1c7)](){var _0x1ae174=a54_0x20489f;this[_0x1ae174(0x1d7)](this[_0x1ae174(0x1d6)][0x0]);}['setMap'](_0xea8e35){var _0x1a0c6e=a54_0x20489f;if(_0xea8e35&&_0xea8e35 instanceof Map)this[_0x1a0c6e(0x1d3)]=_0xea8e35;else throw new Error(_0x1a0c6e(0x1db));}[a54_0x20489f(0x1d2)](){var _0x1d1206=a54_0x20489f;return this[_0x1d1206(0x1d3)];}[a54_0x20489f(0x1d0)](){return!![];}[a54_0x20489f(0x1c2)](_0x5a9ad3){var _0x4a5094=a54_0x20489f;_0x5a9ad3&&_0x5a9ad3[_0x4a5094(0x1c6)]>=0x1&&(this[_0x4a5094(0x1d6)]=_0x5a9ad3,this[_0x4a5094(0x1c7)]());}['getPoints'](){return this['points'];}[a54_0x20489f(0x1d5)](_0x2ac08a,_0x5a7c69){var _0xc1d2a8=a54_0x20489f;_0x5a7c69>=0x0&&_0x5a7c69<this[_0xc1d2a8(0x1d6)][_0xc1d2a8(0x1c6)]&&(this[_0xc1d2a8(0x1d6)][_0x5a7c69]=_0x2ac08a,this[_0xc1d2a8(0x1c7)]());}[a54_0x20489f(0x1d1)](_0xd0bcdb){var _0x864c01=a54_0x20489f;this[_0x864c01(0x1d5)](_0xd0bcdb,this[_0x864c01(0x1d6)][_0x864c01(0x1c6)]-0x1);}[a54_0x20489f(0x1d8)](){}[a54_0x20489f(0x1d9)](_0x4355b6){var _0x30c763=a54_0x20489f;this['style']=JSON[_0x30c763(0x1cb)](JSON[_0x30c763(0x1dc)](_0x4355b6));}}export default Point;function a54_0x8d45(){var _0x4dc64d=['setPoints','5080328lvfAxd','24uyMstL','Point','length','generate','1199SlFUAF','242390AELwGj','type','parse','1948239ZhIuFQ','594450yKumKZ','9Zlhzlt','920836YHoWnm','isPlot','updateLastPoint','getMap','map','1340316tZejGW','updatePoint','points','setCoordinates','finishDrawing','setStyle','getPlotType','传入的不是地图对象!','stringify','309323bcbuMR','36VNkaUj'];a54_0x8d45=function(){return _0x4dc64d;};return a54_0x8d45();}
1
+ function a54_0x4233(_0x2906b8,_0x1df62a){var _0x1c4440=a54_0x1c44();return a54_0x4233=function(_0x42338e,_0xa0e2db){_0x42338e=_0x42338e-0x1e3;var _0x122cdc=_0x1c4440[_0x42338e];return _0x122cdc;},a54_0x4233(_0x2906b8,_0x1df62a);}var a54_0x341c44=a54_0x4233;(function(_0x9e52c1,_0x351e58){var _0x30a597=a54_0x4233,_0x38fbff=_0x9e52c1();while(!![]){try{var _0x194e9f=parseInt(_0x30a597(0x1f2))/0x1*(-parseInt(_0x30a597(0x1e5))/0x2)+parseInt(_0x30a597(0x1ef))/0x3+parseInt(_0x30a597(0x1f8))/0x4+parseInt(_0x30a597(0x1f5))/0x5+parseInt(_0x30a597(0x1ec))/0x6+-parseInt(_0x30a597(0x1e9))/0x7+-parseInt(_0x30a597(0x1f7))/0x8*(-parseInt(_0x30a597(0x1e7))/0x9);if(_0x194e9f===_0x351e58)break;else _0x38fbff['push'](_0x38fbff['shift']());}catch(_0x1fe3ff){_0x38fbff['push'](_0x38fbff['shift']());}}}(a54_0x1c44,0x2b09d));import{Map}from'ol';import{Point as a54_0x2915f7}from'ol/geom';function a54_0x1c44(){var _0x69c029=['setPoints','18VBXLAH','points','2197069WLmIox','type','map','932586ihNnjt','isPlot','finishDrawing','205599UbeAIF','style','getPlotType','1247MKGHml','Point','length','1274135VUuliR','generate','1067560LhPZEB','5412vvHxMu','parse','getMap','updatePoint','setMap','412GiNEDf'];a54_0x1c44=function(){return _0x69c029;};return a54_0x1c44();}class Point extends a54_0x2915f7{constructor(_0x5e7bea){var _0x40279b=a54_0x4233;super([]),this[_0x40279b(0x1ea)]=_0x40279b(0x1f3),this[_0x40279b(0x1e8)]=_0x5e7bea,this[_0x40279b(0x1e6)](_0x5e7bea);}[a54_0x341c44(0x1f1)](){return this['type'];}[a54_0x341c44(0x1f6)](){var _0x33fe6f=a54_0x341c44;this['setCoordinates'](this[_0x33fe6f(0x1e8)][0x0]);}[a54_0x341c44(0x1e4)](_0x2d6828){var _0x76f72d=a54_0x341c44;if(_0x2d6828&&_0x2d6828 instanceof Map)this[_0x76f72d(0x1eb)]=_0x2d6828;else throw new Error('传入的不是地图对象!');}[a54_0x341c44(0x1fa)](){var _0x2ab04d=a54_0x341c44;return this[_0x2ab04d(0x1eb)];}[a54_0x341c44(0x1ed)](){return!![];}['setPoints'](_0x34fddb){var _0x17b546=a54_0x341c44;_0x34fddb&&_0x34fddb[_0x17b546(0x1f4)]>=0x1&&(this[_0x17b546(0x1e8)]=_0x34fddb,this[_0x17b546(0x1f6)]());}['getPoints'](){var _0xa9ce41=a54_0x341c44;return this[_0xa9ce41(0x1e8)];}['updatePoint'](_0x147164,_0x42ee99){var _0x131a19=a54_0x341c44;_0x42ee99>=0x0&&_0x42ee99<this[_0x131a19(0x1e8)]['length']&&(this[_0x131a19(0x1e8)][_0x42ee99]=_0x147164,this[_0x131a19(0x1f6)]());}['updateLastPoint'](_0x280af0){var _0x135e01=a54_0x341c44;this[_0x135e01(0x1e3)](_0x280af0,this[_0x135e01(0x1e8)][_0x135e01(0x1f4)]-0x1);}[a54_0x341c44(0x1ee)](){}['setStyle'](_0x2edcf7){var _0x455c62=a54_0x341c44;this[_0x455c62(0x1f0)]=JSON[_0x455c62(0x1f9)](JSON['stringify'](_0x2edcf7));}}export default Point;
@@ -1 +1 @@
1
- var a55_0x4a4c1b=a55_0x496e;function a55_0x496e(_0x23ea22,_0x37b912){var _0x47af1d=a55_0x47af();return a55_0x496e=function(_0x496e22,_0x10c66b){_0x496e22=_0x496e22-0x1a9;var _0xf890e4=_0x47af1d[_0x496e22];return _0xf890e4;},a55_0x496e(_0x23ea22,_0x37b912);}(function(_0x123e27,_0x3922fc){var _0x2d9f72=a55_0x496e,_0x364a6f=_0x123e27();while(!![]){try{var _0xa379f0=parseInt(_0x2d9f72(0x1ad))/0x1*(-parseInt(_0x2d9f72(0x1ac))/0x2)+parseInt(_0x2d9f72(0x1b6))/0x3+parseInt(_0x2d9f72(0x1a9))/0x4*(parseInt(_0x2d9f72(0x1b0))/0x5)+-parseInt(_0x2d9f72(0x1b1))/0x6+parseInt(_0x2d9f72(0x1ae))/0x7*(parseInt(_0x2d9f72(0x1bb))/0x8)+-parseInt(_0x2d9f72(0x1b7))/0x9*(parseInt(_0x2d9f72(0x1ba))/0xa)+parseInt(_0x2d9f72(0x1b5))/0xb;if(_0xa379f0===_0x3922fc)break;else _0x364a6f['push'](_0x364a6f['shift']());}catch(_0x56cc31){_0x364a6f['push'](_0x364a6f['shift']());}}}(a55_0x47af,0xc78d2));import{Polygon}from'ol/geom';import a55_0x4195b7 from'ol/format/GeoJSON';import a55_0x24dea8 from'../../../mapView/Map';function a55_0x47af(){var _0x46a4f2=['1620fOmVPa','setStyle','getType','1909806lzzUKv','1TScXKz','63jdUAiI','length','8345fQZIap','7753272yyKSPr','getPointCount','map','points','16983175QTXwFH','1615221BmrlGV','8811TFiiST','setPoints','generate','9820ubVBtA','1126736jtqJsn','getGeoJson','传入的不是地图对象!','finishDrawing','getPoints','setMap','type','style','getMap','isPlot'];a55_0x47af=function(){return _0x46a4f2;};return a55_0x47af();}class BasePolygon extends Polygon{constructor(){super([]),this['points']=[];}[a55_0x4a4c1b(0x1ab)](){var _0x12dddd=a55_0x4a4c1b;return this[_0x12dddd(0x1c1)]?this[_0x12dddd(0x1c1)]:super[_0x12dddd(0x1ab)]();}[a55_0x4a4c1b(0x1bc)](){return new a55_0x4195b7()['writeGeometryObject'](this);}[a55_0x4a4c1b(0x1aa)](_0x5c0675){var _0x250528=a55_0x4a4c1b;_0x5c0675&&(this[_0x250528(0x1c2)]=JSON['parse'](JSON['stringify'](_0x5c0675)));}[a55_0x4a4c1b(0x1c0)](_0x2c366b){var _0x4e4315=a55_0x4a4c1b;if(_0x2c366b&&_0x2c366b instanceof a55_0x24dea8)this[_0x4e4315(0x1b3)]=_0x2c366b;else throw new Error(_0x4e4315(0x1bd));}[a55_0x4a4c1b(0x1c3)](){return this['map'];}[a55_0x4a4c1b(0x1c4)](){return!![];}[a55_0x4a4c1b(0x1b8)](_0x4759bc){var _0x4d28b7=a55_0x4a4c1b;this['points']=!_0x4759bc?[]:_0x4759bc,this['points'][_0x4d28b7(0x1af)]>=0x1&&this[_0x4d28b7(0x1b9)]();}[a55_0x4a4c1b(0x1b9)](){}[a55_0x4a4c1b(0x1bf)](){return this['points']['slice'](0x0);}[a55_0x4a4c1b(0x1b2)](){var _0x8262c7=a55_0x4a4c1b;return this[_0x8262c7(0x1b4)]['length'];}[a55_0x4a4c1b(0x1be)](){}}export default BasePolygon;
1
+ var a55_0x18a73f=a55_0x17b7;(function(_0x4e6f4d,_0x2206d6){var _0x4ebb1b=a55_0x17b7,_0x11be2e=_0x4e6f4d();while(!![]){try{var _0x409476=parseInt(_0x4ebb1b(0xa8))/0x1+-parseInt(_0x4ebb1b(0xb6))/0x2*(-parseInt(_0x4ebb1b(0xa6))/0x3)+-parseInt(_0x4ebb1b(0x9e))/0x4*(parseInt(_0x4ebb1b(0xb7))/0x5)+-parseInt(_0x4ebb1b(0xa4))/0x6*(-parseInt(_0x4ebb1b(0xb3))/0x7)+-parseInt(_0x4ebb1b(0xb1))/0x8+parseInt(_0x4ebb1b(0xad))/0x9*(parseInt(_0x4ebb1b(0xac))/0xa)+parseInt(_0x4ebb1b(0xab))/0xb*(-parseInt(_0x4ebb1b(0xb5))/0xc);if(_0x409476===_0x2206d6)break;else _0x11be2e['push'](_0x11be2e['shift']());}catch(_0x3662bb){_0x11be2e['push'](_0x11be2e['shift']());}}}(a55_0x46d4,0xa182f));function a55_0x17b7(_0x33b67d,_0x22590a){var _0x46d422=a55_0x46d4();return a55_0x17b7=function(_0x17b74d,_0x3a1042){_0x17b74d=_0x17b74d-0x9e;var _0x13032b=_0x46d422[_0x17b74d];return _0x13032b;},a55_0x17b7(_0x33b67d,_0x22590a);}function a55_0x46d4(){var _0x41ac62=['length','map','2634552BvYxmB','type','7sgbxTP','writeGeometryObject','10034628RLXWuh','1726646cISujm','6203635GGTqft','generate','4BKDxDR','setPoints','stringify','getType','getMap','points','3756162nkBDsS','getPointCount','3JzoODs','finishDrawing','578323GUXMEY','getPoints','setStyle','11fHQUyP','90iQiXDQ','1000143RcGTvQ','isPlot'];a55_0x46d4=function(){return _0x41ac62;};return a55_0x46d4();}import{Polygon}from'ol/geom';import a55_0x327764 from'ol/format/GeoJSON';import a55_0x30a61c from'../../../mapView/Map';class BasePolygon extends Polygon{constructor(){var _0x34f41e=a55_0x17b7;super([]),this[_0x34f41e(0xa3)]=[];}[a55_0x18a73f(0xa1)](){var _0x55b29d=a55_0x18a73f;return this[_0x55b29d(0xb2)]?this[_0x55b29d(0xb2)]:super[_0x55b29d(0xa1)]();}['getGeoJson'](){var _0xa9c8d5=a55_0x18a73f;return new a55_0x327764()[_0xa9c8d5(0xb4)](this);}[a55_0x18a73f(0xaa)](_0x23b4d1){var _0x41d7a3=a55_0x18a73f;_0x23b4d1&&(this['style']=JSON['parse'](JSON[_0x41d7a3(0xa0)](_0x23b4d1)));}['setMap'](_0xe8d68d){var _0x391796=a55_0x18a73f;if(_0xe8d68d&&_0xe8d68d instanceof a55_0x30a61c)this[_0x391796(0xb0)]=_0xe8d68d;else throw new Error('传入的不是地图对象!');}[a55_0x18a73f(0xa2)](){var _0x4c2564=a55_0x18a73f;return this[_0x4c2564(0xb0)];}[a55_0x18a73f(0xae)](){return!![];}[a55_0x18a73f(0x9f)](_0x3b43a0){var _0x35b4c2=a55_0x18a73f;this[_0x35b4c2(0xa3)]=!_0x3b43a0?[]:_0x3b43a0,this['points'][_0x35b4c2(0xaf)]>=0x1&&this[_0x35b4c2(0xb8)]();}[a55_0x18a73f(0xb8)](){}[a55_0x18a73f(0xa9)](){var _0x34942b=a55_0x18a73f;return this[_0x34942b(0xa3)]['slice'](0x0);}[a55_0x18a73f(0xa5)](){var _0x4856c7=a55_0x18a73f;return this[_0x4856c7(0xa3)][_0x4856c7(0xaf)];}[a55_0x18a73f(0xa7)](){}}export default BasePolygon;
@@ -1 +1 @@
1
- const a56_0x4b4bb3=a56_0x1df0;(function(_0x5b3a68,_0x18f251){const _0x2f5feb=a56_0x1df0,_0x2204bc=_0x5b3a68();while(!![]){try{const _0x4b7470=-parseInt(_0x2f5feb(0x7b))/0x1+parseInt(_0x2f5feb(0x6e))/0x2*(-parseInt(_0x2f5feb(0x71))/0x3)+parseInt(_0x2f5feb(0x75))/0x4*(-parseInt(_0x2f5feb(0x78))/0x5)+-parseInt(_0x2f5feb(0x80))/0x6*(-parseInt(_0x2f5feb(0x70))/0x7)+parseInt(_0x2f5feb(0x81))/0x8+parseInt(_0x2f5feb(0x83))/0x9+parseInt(_0x2f5feb(0x7e))/0xa*(parseInt(_0x2f5feb(0x7f))/0xb);if(_0x4b7470===_0x18f251)break;else _0x2204bc['push'](_0x2204bc['shift']());}catch(_0x45586f){_0x2204bc['push'](_0x2204bc['shift']());}}}(a56_0x3f2c,0xa938c));import{Circle as a56_0x7f0a36}from'ol/geom';import a56_0x1eeb24 from'ol/format/GeoJSON';import{offset}from'ol/sphere';import{squaredDistance as a56_0x784519}from'ol/coordinate';import{fromCircle}from'ol/geom/Polygon';function a56_0x3f2c(){const _0x3bedd2=['updatePoint','48OcfNxq','sqrt','length','576140xfQWEb','setCenterAndRadius','generate','775181GOkznZ','points','setPoints','310QGGPzQ','338822WmgWXJ','48qHJyAS','7565288dLDukr','writeGeometryObject','756864uJdlNm','toRadians','updateLastPoint','768692ZhYnfq','type','1094429TtFTNo','3iprjcM','setCenter','Circle'];a56_0x3f2c=function(){return _0x3bedd2;};return a56_0x3f2c();}function a56_0x1df0(_0x16f173,_0x5c3487){const _0x3f2c56=a56_0x3f2c();return a56_0x1df0=function(_0x1df07e,_0x4b6174){_0x1df07e=_0x1df07e-0x6d;let _0x1bb7b8=_0x3f2c56[_0x1df07e];return _0x1bb7b8;},a56_0x1df0(_0x16f173,_0x5c3487);}import{compareArray}from'../../../utils/ArrayUtil';class Circle extends a56_0x7f0a36{constructor(_0x5e476c){const _0x115309=a56_0x1df0;super([]),this['points']=_0x5e476c,this[_0x115309(0x6f)]=_0x115309(0x73),_0x5e476c&&_0x5e476c[_0x115309(0x77)]>0x0&&this[_0x115309(0x7d)](_0x5e476c);}[a56_0x4b4bb3(0x7d)](_0x318f84){const _0x5dc574=a56_0x4b4bb3;var _0x4f062d;((_0x4f062d=this[_0x5dc574(0x7c)])===null||_0x4f062d===void 0x0?void 0x0:_0x4f062d['length'])>0x0&&(_0x318f84===null||_0x318f84===void 0x0?void 0x0:_0x318f84[_0x5dc574(0x77)])>0x0&&!compareArray(this[_0x5dc574(0x7c)][0x0],_0x318f84[0x0])?this[_0x5dc574(0x72)](_0x318f84[0x0]):(this[_0x5dc574(0x7c)]=!_0x318f84?[]:_0x318f84,this[_0x5dc574(0x7c)][_0x5dc574(0x77)]>=0x1&&(this[_0x5dc574(0x7a)]&&this['generate']()));}[a56_0x4b4bb3(0x7a)](){const _0x4e1c79=a56_0x4b4bb3;let _0x1510f2=this['points'][_0x4e1c79(0x77)];if(_0x1510f2<0x2)return![];else{const _0x5e83c7=this[_0x4e1c79(0x7c)][0x0],_0xe44ace=a56_0x784519(_0x5e83c7,this[_0x4e1c79(0x7c)][0x1]);this[_0x4e1c79(0x79)](_0x5e83c7,Math[_0x4e1c79(0x76)](_0xe44ace));}}[a56_0x4b4bb3(0x72)](_0x1f0f61){const _0x409659=a56_0x4b4bb3;this[_0x409659(0x72)](_0x1f0f61),this[_0x409659(0x7c)]=[_0x1f0f61,offset(_0x1f0f61,this['getRadius'](),this[_0x409659(0x84)](0x5a))],this[_0x409659(0x7a)]();}[a56_0x4b4bb3(0x84)](_0x22ac85){return _0x22ac85*Math['PI']/0xb4;}['getGeoJson'](){const _0x2a1691=a56_0x4b4bb3;return new a56_0x1eeb24()[_0x2a1691(0x82)](fromCircle(this));}[a56_0x4b4bb3(0x74)](_0x32dd63,_0x45c849){const _0x237fd0=a56_0x4b4bb3;_0x45c849>=0x0&&_0x45c849<this[_0x237fd0(0x7c)][_0x237fd0(0x77)]&&(this['points'][_0x45c849]=_0x32dd63,this[_0x237fd0(0x7a)]());}[a56_0x4b4bb3(0x6d)](_0x5460a7){const _0x31f429=a56_0x4b4bb3;this['updatePoint'](_0x5460a7,this[_0x31f429(0x7c)][_0x31f429(0x77)]-0x1);}}export default Circle;
1
+ const a56_0x43571d=a56_0x45dd;(function(_0xd43301,_0x41e5f1){const _0x17cb69=a56_0x45dd,_0x3879cd=_0xd43301();while(!![]){try{const _0x29ff43=-parseInt(_0x17cb69(0x1c6))/0x1*(-parseInt(_0x17cb69(0x1cb))/0x2)+-parseInt(_0x17cb69(0x1cc))/0x3*(-parseInt(_0x17cb69(0x1c7))/0x4)+-parseInt(_0x17cb69(0x1d2))/0x5*(parseInt(_0x17cb69(0x1bf))/0x6)+parseInt(_0x17cb69(0x1cd))/0x7+parseInt(_0x17cb69(0x1c1))/0x8*(-parseInt(_0x17cb69(0x1d3))/0x9)+parseInt(_0x17cb69(0x1d1))/0xa+-parseInt(_0x17cb69(0x1c0))/0xb;if(_0x29ff43===_0x41e5f1)break;else _0x3879cd['push'](_0x3879cd['shift']());}catch(_0x1a6574){_0x3879cd['push'](_0x3879cd['shift']());}}}(a56_0x510b,0x69462));import{Circle as a56_0x4a9421}from'ol/geom';import a56_0x2d75ae from'ol/format/GeoJSON';import{offset}from'ol/sphere';import{squaredDistance as a56_0x489320}from'ol/coordinate';import{fromCircle}from'ol/geom/Polygon';import{compareArray}from'../../../utils/ArrayUtil';class Circle extends a56_0x4a9421{constructor(_0x59dab1){const _0x291d50=a56_0x45dd;super([]),this['points']=_0x59dab1,this[_0x291d50(0x1c5)]=_0x291d50(0x1c2),_0x59dab1&&_0x59dab1[_0x291d50(0x1bc)]>0x0&&this[_0x291d50(0x1ce)](_0x59dab1);}[a56_0x43571d(0x1ce)](_0x158ab4){const _0x263995=a56_0x43571d;var _0x266329;((_0x266329=this['points'])===null||_0x266329===void 0x0?void 0x0:_0x266329[_0x263995(0x1bc)])>0x0&&(_0x158ab4===null||_0x158ab4===void 0x0?void 0x0:_0x158ab4[_0x263995(0x1bc)])>0x0&&!compareArray(this[_0x263995(0x1c8)][0x0],_0x158ab4[0x0])?this[_0x263995(0x1c3)](_0x158ab4[0x0]):(this['points']=!_0x158ab4?[]:_0x158ab4,this[_0x263995(0x1c8)][_0x263995(0x1bc)]>=0x1&&(this['generate']&&this[_0x263995(0x1c4)]()));}[a56_0x43571d(0x1c4)](){const _0x4a4bde=a56_0x43571d;let _0x5b0781=this[_0x4a4bde(0x1c8)]['length'];if(_0x5b0781<0x2)return![];else{const _0x5007c1=this[_0x4a4bde(0x1c8)][0x0],_0x3f78b7=a56_0x489320(_0x5007c1,this[_0x4a4bde(0x1c8)][0x1]);this[_0x4a4bde(0x1d0)](_0x5007c1,Math['sqrt'](_0x3f78b7));}}['setCenter'](_0x321928){const _0x22a125=a56_0x43571d;this[_0x22a125(0x1c3)](_0x321928),this['points']=[_0x321928,offset(_0x321928,this['getRadius'](),this[_0x22a125(0x1be)](0x5a))],this[_0x22a125(0x1c4)]();}[a56_0x43571d(0x1be)](_0x6c3901){return _0x6c3901*Math['PI']/0xb4;}[a56_0x43571d(0x1c9)](){const _0x364f38=a56_0x43571d;return new a56_0x2d75ae()[_0x364f38(0x1bd)](fromCircle(this));}[a56_0x43571d(0x1cf)](_0x491834,_0x24fe03){const _0x122483=a56_0x43571d;_0x24fe03>=0x0&&_0x24fe03<this[_0x122483(0x1c8)][_0x122483(0x1bc)]&&(this[_0x122483(0x1c8)][_0x24fe03]=_0x491834,this[_0x122483(0x1c4)]());}[a56_0x43571d(0x1ca)](_0x2972d5){const _0x5d7d27=a56_0x43571d;this[_0x5d7d27(0x1cf)](_0x2972d5,this['points'][_0x5d7d27(0x1bc)]-0x1);}}export default Circle;function a56_0x45dd(_0x3bc2f1,_0x186ba0){const _0x510bbe=a56_0x510b();return a56_0x45dd=function(_0x45dd19,_0xc13096){_0x45dd19=_0x45dd19-0x1bc;let _0x263d13=_0x510bbe[_0x45dd19];return _0x263d13;},a56_0x45dd(_0x3bc2f1,_0x186ba0);}function a56_0x510b(){const _0x5be7d1=['type','13cwRZgb','316YtCbNN','points','getGeoJson','updateLastPoint','98402tKTubi','29301vikYtl','5224842tHVQRn','setPoints','updatePoint','setCenterAndRadius','4085230SYcJeo','10LEZUlN','9uzLvtW','length','writeGeometryObject','toRadians','821040DEbORJ','16276634EtEzHD','3052472NKIXyn','Circle','setCenter','generate'];a56_0x510b=function(){return _0x5be7d1;};return a56_0x510b();}
@@ -1 +1 @@
1
- const a57_0x4e575f=a57_0x5aef;(function(_0x18cfd5,_0x3b37f0){const _0x193e55=a57_0x5aef,_0x25a435=_0x18cfd5();while(!![]){try{const _0x19a56f=parseInt(_0x193e55(0xc4))/0x1+parseInt(_0x193e55(0xc0))/0x2*(-parseInt(_0x193e55(0xcb))/0x3)+parseInt(_0x193e55(0xb9))/0x4*(-parseInt(_0x193e55(0xca))/0x5)+parseInt(_0x193e55(0xbd))/0x6+parseInt(_0x193e55(0xc9))/0x7+-parseInt(_0x193e55(0xba))/0x8+parseInt(_0x193e55(0xc6))/0x9;if(_0x19a56f===_0x3b37f0)break;else _0x25a435['push'](_0x25a435['shift']());}catch(_0x492859){_0x25a435['push'](_0x25a435['shift']());}}}(a57_0x1aa4,0x7de6b));import a57_0xe12ab0 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';function a57_0x1aa4(){const _0x172e04=['type','stringify','376Bzzlwa','2973896mEUFJN','setPoints','length','1607430oKCquN','setCoordinates','points','12vQjAxi','_closed','Polygon','updatePoint','471844deEcuo','generate','5432058rtIHrL','isPlot','getPointCount','1408491lGIYcd','975Vknczz','319383dmHEsH'];a57_0x1aa4=function(){return _0x172e04;};return a57_0x1aa4();}class Polygon extends a57_0xe12ab0{constructor(_0x2e6413){const _0x1fc9c7=a57_0x5aef;super(),this[_0x1fc9c7(0xcc)]=_0x1fc9c7(0xc2),_0x2e6413&&_0x2e6413[_0x1fc9c7(0xbc)]>0x0&&getDeepth(_0x2e6413)==0x2?this[_0x1fc9c7(0xbb)](_0x2e6413):this['setCoordinates'](_0x2e6413);}[a57_0x4e575f(0xc1)](_0x2c8596){const _0x1df12f=a57_0x4e575f;let _0x2306a7=_0x2c8596[0x0],_0xde4bef=_0x2c8596[_0x2c8596[_0x1df12f(0xbc)]-0x1];return _0x2306a7[0x0]===_0xde4bef[0x0]&&_0x2306a7[0x1]===_0xde4bef[0x1]&&_0x2306a7[0x2]===_0xde4bef[0x2];}['generate'](){const _0x544fe0=a57_0x4e575f;let _0x5c3f1b=this[_0x544fe0(0xc8)]();if(_0x5c3f1b<0x2)return![];else{let _0x35350d=JSON['parse'](JSON[_0x544fe0(0xb8)](this[_0x544fe0(0xbf)]));_0x5c3f1b>=0x3&&(!this[_0x544fe0(0xc1)](_0x35350d)&&_0x35350d['push'](_0x35350d[0x0])),this[_0x544fe0(0xbe)]([_0x35350d]);}}['updatePoint'](_0x1e96ec,_0xd2b5d1){const _0x3e04ae=a57_0x4e575f;_0xd2b5d1>=0x0&&_0xd2b5d1<this['points'][_0x3e04ae(0xbc)]&&(this[_0x3e04ae(0xbf)][_0xd2b5d1]=_0x1e96ec,this[_0x3e04ae(0xc5)]());}[a57_0x4e575f(0xc7)](){return![];}['updateLastPoint'](_0x13fa6a){const _0x53ce9a=a57_0x4e575f;this[_0x53ce9a(0xc3)](_0x13fa6a,this['points'][_0x53ce9a(0xbc)]-0x1);}}function a57_0x5aef(_0xaf9a9f,_0x2fc700){const _0x1aa450=a57_0x1aa4();return a57_0x5aef=function(_0x5aef8b,_0x5e3499){_0x5aef8b=_0x5aef8b-0xb8;let _0x7ca65e=_0x1aa450[_0x5aef8b];return _0x7ca65e;},a57_0x5aef(_0xaf9a9f,_0x2fc700);}export default Polygon;
1
+ const a57_0x10a727=a57_0x11ed;(function(_0x5829ec,_0x19764c){const _0x5b6047=a57_0x11ed,_0x3ff896=_0x5829ec();while(!![]){try{const _0x20925c=parseInt(_0x5b6047(0x1fb))/0x1*(-parseInt(_0x5b6047(0x207))/0x2)+-parseInt(_0x5b6047(0x200))/0x3+-parseInt(_0x5b6047(0x1f5))/0x4+-parseInt(_0x5b6047(0x1f9))/0x5+parseInt(_0x5b6047(0x1fd))/0x6+parseInt(_0x5b6047(0x1ff))/0x7*(parseInt(_0x5b6047(0x1f8))/0x8)+parseInt(_0x5b6047(0x203))/0x9;if(_0x20925c===_0x19764c)break;else _0x3ff896['push'](_0x3ff896['shift']());}catch(_0xd10479){_0x3ff896['push'](_0x3ff896['shift']());}}}(a57_0x2744,0xc5dae));function a57_0x11ed(_0x1ad0fe,_0x3f05f8){const _0x274471=a57_0x2744();return a57_0x11ed=function(_0x11ed14,_0x2cb6d0){_0x11ed14=_0x11ed14-0x1f3;let _0x456824=_0x274471[_0x11ed14];return _0x456824;},a57_0x11ed(_0x1ad0fe,_0x3f05f8);}import a57_0x3a3e4c from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';function a57_0x2744(){const _0x5f5415=['updateLastPoint','16XJivCY','4046930sCktRO','parse','12318ZfdFuc','setPoints','102450SjztHt','isPlot','690746GBFxqG','454263EmPwUn','length','_closed','23767677xwTapL','getPointCount','updatePoint','type','64LtXVPC','setCoordinates','generate','2759548ObHRNw','points'];a57_0x2744=function(){return _0x5f5415;};return a57_0x2744();}class Polygon extends a57_0x3a3e4c{constructor(_0x1e1b55){const _0x5c7bc2=a57_0x11ed;super(),this[_0x5c7bc2(0x206)]='Polygon',_0x1e1b55&&_0x1e1b55[_0x5c7bc2(0x201)]>0x0&&getDeepth(_0x1e1b55)==0x2?this[_0x5c7bc2(0x1fc)](_0x1e1b55):this[_0x5c7bc2(0x1f3)](_0x1e1b55);}['_closed'](_0x1363f2){const _0x42bdb5=a57_0x11ed;let _0xde5f45=_0x1363f2[0x0],_0x3427b6=_0x1363f2[_0x1363f2[_0x42bdb5(0x201)]-0x1];return _0xde5f45[0x0]===_0x3427b6[0x0]&&_0xde5f45[0x1]===_0x3427b6[0x1]&&_0xde5f45[0x2]===_0x3427b6[0x2];}[a57_0x10a727(0x1f4)](){const _0x313bac=a57_0x10a727;let _0x43e249=this[_0x313bac(0x204)]();if(_0x43e249<0x2)return![];else{let _0x4e48c9=JSON[_0x313bac(0x1fa)](JSON['stringify'](this[_0x313bac(0x1f6)]));_0x43e249>=0x3&&(!this[_0x313bac(0x202)](_0x4e48c9)&&_0x4e48c9['push'](_0x4e48c9[0x0])),this[_0x313bac(0x1f3)]([_0x4e48c9]);}}[a57_0x10a727(0x205)](_0x1d42b4,_0x19d644){const _0x213500=a57_0x10a727;_0x19d644>=0x0&&_0x19d644<this['points'][_0x213500(0x201)]&&(this[_0x213500(0x1f6)][_0x19d644]=_0x1d42b4,this[_0x213500(0x1f4)]());}[a57_0x10a727(0x1fe)](){return![];}[a57_0x10a727(0x1f7)](_0x25c506){const _0x2868cd=a57_0x10a727;this[_0x2868cd(0x205)](_0x25c506,this[_0x2868cd(0x1f6)][_0x2868cd(0x201)]-0x1);}}export default Polygon;
@@ -1 +1 @@
1
- const a58_0x10f4e3=a58_0x2ccd;(function(_0x6da7d6,_0xb3dee4){const _0x3a0d66=a58_0x2ccd,_0x2b5a62=_0x6da7d6();while(!![]){try{const _0x13cb70=-parseInt(_0x3a0d66(0x1eb))/0x1*(parseInt(_0x3a0d66(0x1dd))/0x2)+-parseInt(_0x3a0d66(0x1ec))/0x3*(-parseInt(_0x3a0d66(0x1db))/0x4)+parseInt(_0x3a0d66(0x1dc))/0x5*(parseInt(_0x3a0d66(0x1e9))/0x6)+parseInt(_0x3a0d66(0x1e2))/0x7+-parseInt(_0x3a0d66(0x1d7))/0x8+-parseInt(_0x3a0d66(0x1e7))/0x9*(-parseInt(_0x3a0d66(0x1da))/0xa)+-parseInt(_0x3a0d66(0x1df))/0xb*(parseInt(_0x3a0d66(0x1e1))/0xc);if(_0x13cb70===_0xb3dee4)break;else _0x2b5a62['push'](_0x2b5a62['shift']());}catch(_0x42ba8e){_0x2b5a62['push'](_0x2b5a62['shift']());}}}(a58_0x22e1,0xc87fa));import{fromExtent}from'ol/geom/Polygon';function a58_0x2ccd(_0x5c573f,_0x1129bf){const _0x22e1f1=a58_0x22e1();return a58_0x2ccd=function(_0x2ccd3c,_0x2c521a){_0x2ccd3c=_0x2ccd3c-0x1d7;let _0x4eb080=_0x22e1f1[_0x2ccd3c];return _0x4eb080;},a58_0x2ccd(_0x5c573f,_0x1129bf);}import{boundingExtent}from'ol/extent';import a58_0x593694 from'./BasePolygon';function a58_0x22e1(){const _0x1da9de=['type','generate','points','getCoordinates','2421DYsZgH','updateLastPoint','6IZFXXt','Polygon','2221cFTIka','3daaduJ','6468128vjQAMf','setCoordinates','length','6140hqyUgy','5593792xcfaMv','155915ascJbI','382QtlAvO','setPoints','3426302YmNaVc','updatePoint','36RNJAlm','9755326aoJtiX'];a58_0x22e1=function(){return _0x1da9de;};return a58_0x22e1();}import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a58_0x593694{constructor(_0x4406a6){const _0x47200e=a58_0x2ccd;super(),this[_0x47200e(0x1e3)]=_0x47200e(0x1ea),_0x4406a6&&_0x4406a6[_0x47200e(0x1d9)]>0x0&&getDeepth(_0x4406a6)==0x2?this[_0x47200e(0x1de)](_0x4406a6):this[_0x47200e(0x1d8)](_0x4406a6);}[a58_0x10f4e3(0x1e4)](){const _0x41f414=a58_0x10f4e3;if(this['points'][_0x41f414(0x1d9)]===0x2){let _0x42b516=[],_0x1dcedc=boundingExtent(this[_0x41f414(0x1e5)]),_0x5835e5=fromExtent(_0x1dcedc);_0x42b516=_0x5835e5[_0x41f414(0x1e6)](),this[_0x41f414(0x1d8)](_0x42b516);}}[a58_0x10f4e3(0x1e0)](_0x5e2170,_0x385874){const _0x59fce1=a58_0x10f4e3;_0x385874>=0x0&&_0x385874<this[_0x59fce1(0x1e5)][_0x59fce1(0x1d9)]&&(this[_0x59fce1(0x1e5)][_0x385874]=_0x5e2170,this[_0x59fce1(0x1e4)]());}[a58_0x10f4e3(0x1e8)](_0x37c1a5){const _0x272f6a=a58_0x10f4e3;this[_0x272f6a(0x1e0)](_0x37c1a5,this['points'][_0x272f6a(0x1d9)]-0x1);}}export default RectAngle;
1
+ const a58_0x24a52d=a58_0x28ea;(function(_0x2bc2de,_0x323a94){const _0x10ab97=a58_0x28ea,_0x57238d=_0x2bc2de();while(!![]){try{const _0x23a6aa=parseInt(_0x10ab97(0x1c0))/0x1*(-parseInt(_0x10ab97(0x1cb))/0x2)+-parseInt(_0x10ab97(0x1be))/0x3+-parseInt(_0x10ab97(0x1c3))/0x4+parseInt(_0x10ab97(0x1c1))/0x5+-parseInt(_0x10ab97(0x1c9))/0x6*(parseInt(_0x10ab97(0x1c2))/0x7)+-parseInt(_0x10ab97(0x1bf))/0x8+parseInt(_0x10ab97(0x1ca))/0x9*(parseInt(_0x10ab97(0x1ba))/0xa);if(_0x23a6aa===_0x323a94)break;else _0x57238d['push'](_0x57238d['shift']());}catch(_0x1e28a4){_0x57238d['push'](_0x57238d['shift']());}}}(a58_0x5a66,0xb26c0));import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';function a58_0x5a66(){const _0x3897b9=['2677431atohce','3722984qMikfz','1Vvucxz','1572560bHEubk','3549623UwUHSO','911448Jeazzh','generate','setCoordinates','type','Polygon','setPoints','6mUDbPK','1377UEmJfZ','2710432aaxBwh','252570hESNIB','length','updatePoint','points'];a58_0x5a66=function(){return _0x3897b9;};return a58_0x5a66();}import a58_0x1c869c from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a58_0x1c869c{constructor(_0x32f328){const _0x56b43c=a58_0x28ea;super(),this[_0x56b43c(0x1c6)]=_0x56b43c(0x1c7),_0x32f328&&_0x32f328[_0x56b43c(0x1bb)]>0x0&&getDeepth(_0x32f328)==0x2?this[_0x56b43c(0x1c8)](_0x32f328):this[_0x56b43c(0x1c5)](_0x32f328);}[a58_0x24a52d(0x1c4)](){const _0x269db6=a58_0x24a52d;if(this['points']['length']===0x2){let _0x3d6486=[],_0x300b6c=boundingExtent(this[_0x269db6(0x1bd)]),_0x2e260d=fromExtent(_0x300b6c);_0x3d6486=_0x2e260d['getCoordinates'](),this[_0x269db6(0x1c5)](_0x3d6486);}}[a58_0x24a52d(0x1bc)](_0x3510fa,_0x546d42){const _0x42c4b2=a58_0x24a52d;_0x546d42>=0x0&&_0x546d42<this[_0x42c4b2(0x1bd)][_0x42c4b2(0x1bb)]&&(this[_0x42c4b2(0x1bd)][_0x546d42]=_0x3510fa,this[_0x42c4b2(0x1c4)]());}['updateLastPoint'](_0x2d8450){const _0x2634e5=a58_0x24a52d;this[_0x2634e5(0x1bc)](_0x2d8450,this['points'][_0x2634e5(0x1bb)]-0x1);}}function a58_0x28ea(_0x730134,_0x545db7){const _0x5a66ba=a58_0x5a66();return a58_0x28ea=function(_0x28ea60,_0x33b66d){_0x28ea60=_0x28ea60-0x1ba;let _0x4b9682=_0x5a66ba[_0x28ea60];return _0x4b9682;},a58_0x28ea(_0x730134,_0x545db7);}export default RectAngle;
@@ -1 +1 @@
1
- var a59_0x3a1a57=a59_0x2811;function a59_0x2811(_0x48c127,_0x59d5a6){var _0x50c7a4=a59_0x50c7();return a59_0x2811=function(_0x28114b,_0x204e7d){_0x28114b=_0x28114b-0xc4;var _0x4d5b49=_0x50c7a4[_0x28114b];return _0x4d5b49;},a59_0x2811(_0x48c127,_0x59d5a6);}function a59_0x50c7(){var _0x3495bd=['getPlotType','length','getPoints','points','21595SfEvqN','setPoints','getMap','slice','getPointCount','setStyle','12Murofv','106TWrBiG','146232nGhtxy','map','setMap','stringify','type','style','generate','finishDrawing','2722295OAAxxE','5562054AOJrVP','writeGeometryObject','308vijKgF','2170725hUbZya','parse','16899940kmFLOV','995056SuqUHr'];a59_0x50c7=function(){return _0x3495bd;};return a59_0x50c7();}(function(_0x5405f9,_0x561a84){var _0x4eef81=a59_0x2811,_0x35ded9=_0x5405f9();while(!![]){try{var _0x348699=parseInt(_0x4eef81(0xd3))/0x1*(parseInt(_0x4eef81(0xda))/0x2)+parseInt(_0x4eef81(0xcb))/0x3+-parseInt(_0x4eef81(0xce))/0x4+parseInt(_0x4eef81(0xc7))/0x5*(parseInt(_0x4eef81(0xd9))/0x6)+-parseInt(_0x4eef81(0xca))/0x7*(parseInt(_0x4eef81(0xdb))/0x8)+parseInt(_0x4eef81(0xc8))/0x9+-parseInt(_0x4eef81(0xcd))/0xa;if(_0x348699===_0x561a84)break;else _0x35ded9['push'](_0x35ded9['shift']());}catch(_0xf3c9c7){_0x35ded9['push'](_0x35ded9['shift']());}}}(a59_0x50c7,0xcb200));import{LineString}from'ol/geom';import a59_0x1a7365 from'ol/format/GeoJSON';import a59_0x3b8bd8 from'../../../mapView/Map';class Plot extends LineString{constructor(){var _0x52beea=a59_0x2811;super([]),this[_0x52beea(0xd2)]=[];}[a59_0x3a1a57(0xcf)](){var _0x25a21a=a59_0x3a1a57;return this[_0x25a21a(0xdf)];}['getGeoJson'](){var _0x5ea25a=a59_0x3a1a57;return new a59_0x1a7365()[_0x5ea25a(0xc9)](this);}[a59_0x3a1a57(0xd8)](_0x4bd8c2){var _0x332ea1=a59_0x3a1a57;this[_0x332ea1(0xc4)]=JSON[_0x332ea1(0xcc)](JSON[_0x332ea1(0xde)](_0x4bd8c2));}[a59_0x3a1a57(0xdd)](_0x350d33){var _0x5398c2=a59_0x3a1a57;if(_0x350d33&&_0x350d33 instanceof a59_0x3b8bd8)this[_0x5398c2(0xdc)]=_0x350d33;else throw new Error('传入的不是地图对象!');}[a59_0x3a1a57(0xd5)](){return this['map'];}['isPlot'](){return!![];}[a59_0x3a1a57(0xd4)](_0x4d54f6){var _0x31dee2=a59_0x3a1a57;this['points']=!_0x4d54f6?[]:_0x4d54f6,this[_0x31dee2(0xd2)][_0x31dee2(0xd0)]>=0x1&&(this['generate']&&this[_0x31dee2(0xc5)]());}['generate'](){}[a59_0x3a1a57(0xd1)](){var _0x5826cb=a59_0x3a1a57;return this[_0x5826cb(0xd2)][_0x5826cb(0xd6)](0x0);}[a59_0x3a1a57(0xd7)](){var _0x30de44=a59_0x3a1a57;return this['points'][_0x30de44(0xd0)];}[a59_0x3a1a57(0xc6)](){}}export default Plot;
1
+ var a59_0x31c12d=a59_0x1300;(function(_0x52e20f,_0x2c2b67){var _0x4a3479=a59_0x1300,_0x2c1fd8=_0x52e20f();while(!![]){try{var _0x3f7c5d=-parseInt(_0x4a3479(0xaf))/0x1+-parseInt(_0x4a3479(0xbc))/0x2+-parseInt(_0x4a3479(0xb6))/0x3*(-parseInt(_0x4a3479(0xae))/0x4)+parseInt(_0x4a3479(0xba))/0x5+-parseInt(_0x4a3479(0xb3))/0x6+-parseInt(_0x4a3479(0xb2))/0x7+-parseInt(_0x4a3479(0xb1))/0x8*(-parseInt(_0x4a3479(0xb8))/0x9);if(_0x3f7c5d===_0x2c2b67)break;else _0x2c1fd8['push'](_0x2c1fd8['shift']());}catch(_0x5d3a01){_0x2c1fd8['push'](_0x2c1fd8['shift']());}}}(a59_0x533f,0x7097d));function a59_0x533f(){var _0x1f8967=['generate','points','length','stringify','setPoints','setStyle','12qGPxdu','130399FnYoLp','style','7589112TfVyVi','2672285nCEamu','2109312avdIYU','getPoints','传入的不是地图对象!','606063feZUyk','map','9Icevdy','setMap','1800510fRnUrJ','isPlot','1179834xOmcbp','slice','finishDrawing','getGeoJson','parse'];a59_0x533f=function(){return _0x1f8967;};return a59_0x533f();}import{LineString}from'ol/geom';import a59_0x3d1a20 from'ol/format/GeoJSON';import a59_0x14bcf6 from'../../../mapView/Map';class Plot extends LineString{constructor(){var _0x226586=a59_0x1300;super([]),this[_0x226586(0xa9)]=[];}['getPlotType'](){return this['type'];}[a59_0x31c12d(0xbf)](){return new a59_0x3d1a20()['writeGeometryObject'](this);}[a59_0x31c12d(0xad)](_0x2d7ec8){var _0x112a80=a59_0x31c12d;this[_0x112a80(0xb0)]=JSON[_0x112a80(0xc0)](JSON[_0x112a80(0xab)](_0x2d7ec8));}[a59_0x31c12d(0xb9)](_0x155e97){var _0x208cd9=a59_0x31c12d;if(_0x155e97&&_0x155e97 instanceof a59_0x14bcf6)this[_0x208cd9(0xb7)]=_0x155e97;else throw new Error(_0x208cd9(0xb5));}['getMap'](){var _0x46c941=a59_0x31c12d;return this[_0x46c941(0xb7)];}[a59_0x31c12d(0xbb)](){return!![];}[a59_0x31c12d(0xac)](_0x412205){var _0x589274=a59_0x31c12d;this['points']=!_0x412205?[]:_0x412205,this[_0x589274(0xa9)]['length']>=0x1&&(this[_0x589274(0xa8)]&&this[_0x589274(0xa8)]());}[a59_0x31c12d(0xa8)](){}[a59_0x31c12d(0xb4)](){var _0x54be02=a59_0x31c12d;return this[_0x54be02(0xa9)][_0x54be02(0xbd)](0x0);}['getPointCount'](){var _0x5e717a=a59_0x31c12d;return this[_0x5e717a(0xa9)][_0x5e717a(0xaa)];}[a59_0x31c12d(0xbe)](){}}function a59_0x1300(_0x380947,_0x4f986c){var _0x533f2b=a59_0x533f();return a59_0x1300=function(_0x130040,_0x2c5026){_0x130040=_0x130040-0xa8;var _0x133a5e=_0x533f2b[_0x130040];return _0x133a5e;},a59_0x1300(_0x380947,_0x4f986c);}export default Plot;
@@ -1 +1 @@
1
- var a60_0x492cb4=a60_0x2e2e;(function(_0xcd4c64,_0x1b89f0){var _0x5854f6=a60_0x2e2e,_0x2db265=_0xcd4c64();while(!![]){try{var _0x499ee7=-parseInt(_0x5854f6(0x168))/0x1*(-parseInt(_0x5854f6(0x160))/0x2)+-parseInt(_0x5854f6(0x165))/0x3+-parseInt(_0x5854f6(0x167))/0x4*(parseInt(_0x5854f6(0x16c))/0x5)+-parseInt(_0x5854f6(0x16d))/0x6+parseInt(_0x5854f6(0x163))/0x7*(parseInt(_0x5854f6(0x172))/0x8)+parseInt(_0x5854f6(0x15e))/0x9*(-parseInt(_0x5854f6(0x15f))/0xa)+-parseInt(_0x5854f6(0x15c))/0xb*(-parseInt(_0x5854f6(0x161))/0xc);if(_0x499ee7===_0x1b89f0)break;else _0x2db265['push'](_0x2db265['shift']());}catch(_0x24e65a){_0x2db265['push'](_0x2db265['shift']());}}}(a60_0x1b06,0x41241));import a60_0x3ddbd2 from'./BaseLine';class Polyline extends a60_0x3ddbd2{constructor(_0x2ebbb9){var _0x235977=a60_0x2e2e;super(),this[_0x235977(0x171)]=_0x235977(0x16b),this['setCoordinates'](_0x2ebbb9);}[a60_0x492cb4(0x166)](){var _0xc82101=a60_0x492cb4;this[_0xc82101(0x16e)](this[_0xc82101(0x164)]);}[a60_0x492cb4(0x15a)](_0x58f88,_0x2184fe){var _0x501df3=a60_0x492cb4;_0x2184fe>=0x0&&_0x2184fe<this[_0x501df3(0x164)]['length']&&(this['points'][_0x2184fe]=_0x58f88,this[_0x501df3(0x166)]());}[a60_0x492cb4(0x169)](_0x5dafbc){var _0x371faa=a60_0x492cb4;this['updatePoint'](_0x5dafbc,this[_0x371faa(0x164)][_0x371faa(0x15d)]-0x1);}[a60_0x492cb4(0x170)](){return![];}[a60_0x492cb4(0x162)](_0x56d4a0){var _0x3d93f5=a60_0x492cb4;this[_0x3d93f5(0x15b)]=JSON[_0x3d93f5(0x16f)](JSON[_0x3d93f5(0x16a)](_0x56d4a0));}}function a60_0x2e2e(_0x527d51,_0x584bf8){var _0x1b06aa=a60_0x1b06();return a60_0x2e2e=function(_0x2e2e22,_0x4a5a13){_0x2e2e22=_0x2e2e22-0x15a;var _0x56dd6e=_0x1b06aa[_0x2e2e22];return _0x56dd6e;},a60_0x2e2e(_0x527d51,_0x584bf8);}export default Polyline;function a60_0x1b06(){var _0x3c787d=['setStyle','2541cQQeCJ','points','1304094VvnZka','generate','334204MlASjG','7194mUaZgr','updateLastPoint','stringify','LineString','10lAJpWC','405654MDVUsY','setCoordinates','parse','isPlot','type','9512mctoFF','updatePoint','style','22qETcTT','length','3231OwGEZT','8090doZAjJ','18GzwHbx','4381824mCaVmV'];a60_0x1b06=function(){return _0x3c787d;};return a60_0x1b06();}
1
+ var a60_0x4f1ef3=a60_0x543c;(function(_0x1b68fb,_0x46669a){var _0x4d29eb=a60_0x543c,_0x196229=_0x1b68fb();while(!![]){try{var _0x94ffdd=parseInt(_0x4d29eb(0x106))/0x1+-parseInt(_0x4d29eb(0x108))/0x2+-parseInt(_0x4d29eb(0xff))/0x3+-parseInt(_0x4d29eb(0xf9))/0x4+-parseInt(_0x4d29eb(0x109))/0x5+-parseInt(_0x4d29eb(0xfd))/0x6*(parseInt(_0x4d29eb(0xfb))/0x7)+-parseInt(_0x4d29eb(0xfc))/0x8*(-parseInt(_0x4d29eb(0x103))/0x9);if(_0x94ffdd===_0x46669a)break;else _0x196229['push'](_0x196229['shift']());}catch(_0x4b112a){_0x196229['push'](_0x196229['shift']());}}}(a60_0x2e51,0x39d66));function a60_0x543c(_0x463067,_0x101de0){var _0x2e51b4=a60_0x2e51();return a60_0x543c=function(_0x543c90,_0x54dfa3){_0x543c90=_0x543c90-0xf8;var _0x1676c7=_0x2e51b4[_0x543c90];return _0x1676c7;},a60_0x543c(_0x463067,_0x101de0);}import a60_0x5b0546 from'./BaseLine';function a60_0x2e51(){var _0x5ea06c=['isPlot','1093470BaCHSC','generate','style','length','297TtBOia','setCoordinates','setStyle','300314WOPYgQ','stringify','489818BdzNgW','629865yXgKfJ','LineString','updateLastPoint','type','points','1598724zJHOEe','updatePoint','469YEFrnb','365400JmCtay','39012uvlqiW'];a60_0x2e51=function(){return _0x5ea06c;};return a60_0x2e51();}class Polyline extends a60_0x5b0546{constructor(_0x24c6eb){var _0x17bbe4=a60_0x543c;super(),this[_0x17bbe4(0x10c)]=_0x17bbe4(0x10a),this[_0x17bbe4(0x104)](_0x24c6eb);}[a60_0x4f1ef3(0x100)](){var _0x428063=a60_0x4f1ef3;this[_0x428063(0x104)](this[_0x428063(0xf8)]);}[a60_0x4f1ef3(0xfa)](_0x26a3d1,_0x32a47a){var _0x25a38d=a60_0x4f1ef3;_0x32a47a>=0x0&&_0x32a47a<this[_0x25a38d(0xf8)][_0x25a38d(0x102)]&&(this['points'][_0x32a47a]=_0x26a3d1,this[_0x25a38d(0x100)]());}[a60_0x4f1ef3(0x10b)](_0x345d63){var _0x5d9085=a60_0x4f1ef3;this[_0x5d9085(0xfa)](_0x345d63,this[_0x5d9085(0xf8)][_0x5d9085(0x102)]-0x1);}[a60_0x4f1ef3(0xfe)](){return![];}[a60_0x4f1ef3(0x105)](_0x5b1a80){var _0xe11de=a60_0x4f1ef3;this[_0xe11de(0x101)]=JSON['parse'](JSON[_0xe11de(0x107)](_0x5b1a80));}}export default Polyline;
@@ -1 +1 @@
1
- (function(_0x365459,_0xeb5c94){const _0x466481=a63_0x1bec,_0x3f810c=_0x365459();while(!![]){try{const _0x565a93=parseInt(_0x466481(0x14d))/0x1*(parseInt(_0x466481(0x15b))/0x2)+-parseInt(_0x466481(0x144))/0x3+parseInt(_0x466481(0x17f))/0x4+-parseInt(_0x466481(0x16c))/0x5*(parseInt(_0x466481(0x178))/0x6)+-parseInt(_0x466481(0x164))/0x7+parseInt(_0x466481(0x17e))/0x8+-parseInt(_0x466481(0x16f))/0x9*(-parseInt(_0x466481(0x17d))/0xa);if(_0x565a93===_0xeb5c94)break;else _0x3f810c['push'](_0x3f810c['shift']());}catch(_0x5b396e){_0x3f810c['push'](_0x3f810c['shift']());}}}(a63_0x117b,0xc272f));import{parseImage}from'../utils/UrlUtil';function a63_0x117b(){const _0x1a686d=['120hRwOZj','12371976ColUUu','5305188sQdpFu','MultiPolygon','model','show','toUpperCase','getFlatMidpoints','pixelOffsetX','1835649YCwIDV','warn','getStride','putImageData','label','changeColor','point','src','radius','3569JWSbKl','translate','height','verticalOrigin','getFlatInteriorPoints','drawImage','BOTTOM','createElement','zIndex','pixelSize','restore','parse','outlineColor','MultiPoint','30zzikve','markerColor','text','model/','LineString','imgUrl','outline','width','modelKind','6904744hHIHPh','rotate','opacity','pixelRatio','Polygon','.png','scale','getPixelFromCoordinate','5914095YDUXfz','image','push','488421FePrFA','geometry','outlineOpacity','length','color','TOP','getType','outlineWidth','stringify','6VbThXF','getContext','getImageData','pixelOffset','CENTER'];a63_0x117b=function(){return _0x1a686d;};return a63_0x117b();}import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a63_0x4a2a3a from'ol/style/Style';import a63_0xc4fe4a from'ol/style/Circle';import a63_0x3bf11d from'ol/style/Fill';import a63_0x45fe86 from'ol/style/Stroke';function getMainStyle(_0x31cc01,_0x2ac5d8=0x0,_0x3412a7){const _0x41a5a6=a63_0x1bec;let _0x2849b0;return _0x31cc01[_0x41a5a6(0x16d)]||_0x31cc01[_0x41a5a6(0x15c)]?_0x2849b0=new a63_0x4a2a3a({'renderer':(_0x38c4ca,_0x290fec)=>{preLoadImageRenderFunction(_0x31cc01,_0x38c4ca,_0x290fec,_0x3412a7,_rendererFunction);},'zIndex':Number(_0x2ac5d8)}):_0x2849b0=new a63_0x4a2a3a({'image':new a63_0xc4fe4a({'radius':_0x31cc01[_0x41a5a6(0x14c)]?_0x31cc01['radius']:_0x31cc01[_0x41a5a6(0x156)],'fill':new a63_0x3bf11d({'color':getColor(_0x31cc01[_0x41a5a6(0x173)],_0x31cc01[_0x41a5a6(0x166)])}),'stroke':_0x31cc01[_0x41a5a6(0x161)]&&_0x31cc01['outlineColor']?new a63_0x45fe86({'color':getColor(_0x31cc01[_0x41a5a6(0x159)],_0x31cc01[_0x41a5a6(0x171)]),'width':_0x31cc01[_0x41a5a6(0x176)]}):undefined}),'zIndex':Number(_0x2ac5d8)}),_0x2849b0;}function _rendererFunction(_0x33a832,_0xfc8743,_0x52c828,_0x1d7f37,_0x10da41){const _0x2d3d28=a63_0x1bec;if(!_0x10da41||_0x10da41[_0x2d3d28(0x162)]===0x0){let _0x3be1e9=new Image();_0x3be1e9[_0x2d3d28(0x14b)]=_0x33a832[_0x2d3d28(0x16d)];}if(_0x33a832[_0x2d3d28(0x149)]&&_0x33a832['color']!==''){let _0x586b39=_0x33a832[_0x2d3d28(0x16a)]||0x1,_0x3c154d=_0x33a832[_0x2d3d28(0x162)]||_0x10da41[_0x2d3d28(0x162)]*_0x586b39,_0x7becea=_0x33a832[_0x2d3d28(0x14f)]||_0x10da41[_0x2d3d28(0x14f)]*_0x586b39;_0x3c154d=_0x3c154d*_0x52c828[_0x2d3d28(0x167)],_0x7becea=_0x7becea*_0x52c828[_0x2d3d28(0x167)];const _0x88d10a=document[_0x2d3d28(0x154)]('canvas');_0x88d10a[_0x2d3d28(0x162)]=_0x3c154d,_0x88d10a[_0x2d3d28(0x14f)]=_0x7becea;const _0x20a264=_0x88d10a[_0x2d3d28(0x179)]('2d');_0x20a264===null||_0x20a264===void 0x0?void 0x0:_0x20a264[_0x2d3d28(0x152)](_0x10da41,0x0,0x0,_0x3c154d,_0x7becea);let _0x1fbfa5=_0x20a264===null||_0x20a264===void 0x0?void 0x0:_0x20a264[_0x2d3d28(0x17a)](0x0,0x0,_0x3c154d,_0x7becea),_0x45d5eb=_0x1fbfa5===null||_0x1fbfa5===void 0x0?void 0x0:_0x1fbfa5['data'];_0x10da41=_0x88d10a;let _0xaa0a2c=HexToRgb(_0x33a832['color']);if(_0x45d5eb&&_0xaa0a2c)for(var _0x33b21b=0x0;_0x33b21b<_0x45d5eb['length'];_0x33b21b+=0x4){_0x45d5eb[_0x33b21b]=_0xaa0a2c[0x0],_0x45d5eb[_0x33b21b+0x1]=_0xaa0a2c[0x1],_0x45d5eb[_0x33b21b+0x2]=_0xaa0a2c[0x2];}_0x1fbfa5&&(_0x20a264===null||_0x20a264===void 0x0?void 0x0:_0x20a264[_0x2d3d28(0x147)](_0x1fbfa5,0x0,0x0));}let _0x5288de=_0x52c828[_0x2d3d28(0x170)],_0x35e2ad=_0x52c828[_0x2d3d28(0x167)],_0x17c6e7=_0x5288de[_0x2d3d28(0x146)](),_0x58eb70=_0x5288de[_0x2d3d28(0x175)](),_0x6bcc4e=[];switch(_0x58eb70){case _0x2d3d28(0x15f):_0x6bcc4e=_0x5288de['getFlatMidpoint']();break;case'MultiLineString':_0x6bcc4e=_0x5288de[_0x2d3d28(0x142)](),_0x17c6e7=0x2;break;case _0x2d3d28(0x168):_0x6bcc4e=_0x5288de['getFlatInteriorPoint'](),_0x17c6e7=0x3;break;case _0x2d3d28(0x180):{let _0x59572f=_0x5288de[_0x2d3d28(0x151)]();_0x6bcc4e=[];for(let _0xb75045=0x0,_0x4a4b3b=_0x59572f[_0x2d3d28(0x172)];_0xb75045<_0x4a4b3b;_0xb75045+=0x3){_0x6bcc4e[_0x2d3d28(0x16e)](_0x59572f[_0xb75045],_0x59572f[_0xb75045+0x1]);}if(_0x6bcc4e['length']===0x0)return;_0x17c6e7=0x2;break;}}if(_0x6bcc4e[_0x2d3d28(0x172)]>0x0&&_0x1d7f37)for(let _0xc406c5=0x0,_0x327468=_0x6bcc4e[_0x2d3d28(0x172)];_0xc406c5<_0x327468;_0xc406c5+=_0x17c6e7){let _0x3d4140=[_0x6bcc4e[_0xc406c5],_0x6bcc4e[_0xc406c5+0x1]],_0x39dcb7=_0x1d7f37[_0x2d3d28(0x16b)](_0x3d4140);_0x39dcb7=[_0x39dcb7[0x0]*_0x35e2ad,_0x39dcb7[0x1]*_0x35e2ad],drawImage(_0x33a832,_0x39dcb7,_0x52c828,_0x10da41);}else{if(_0x58eb70===_0x2d3d28(0x15a))for(let _0x56bd69 of _0xfc8743){drawImage(_0x33a832,_0x56bd69,_0x52c828,_0x10da41);}else drawImage(_0x33a832,_0xfc8743,_0x52c828,_0x10da41);}}function HexToRgb(_0x4b623c){_0x4b623c=_0x4b623c['replace']('#','');let _0x59bbb5=_0x4b623c['match'](/../g);if(_0x59bbb5){for(let _0x1f94a5=0x0;_0x1f94a5<0x3;_0x1f94a5++)_0x59bbb5[_0x1f94a5]=parseInt(_0x59bbb5[_0x1f94a5],0x10);}return _0x59bbb5;}export function getImageOlStyle(_0x4a4d1b,_0x59d81f,_0xf590b,_0x3778eb){const _0x3a9417=a63_0x1bec;var _0x4c60e8;if(_0x4a4d1b&&_0x4a4d1b['show']!==![]){_0x4a4d1b=JSON[_0x3a9417(0x158)](JSON[_0x3a9417(0x177)](_0x4a4d1b)),_0x59d81f=(_0x4c60e8=_0x4a4d1b[_0x3a9417(0x155)])!==null&&_0x4c60e8!==void 0x0?_0x4c60e8:_0x59d81f;let _0x1b5d8a=isShowStyle(_0x4a4d1b,_0xf590b,_0x3778eb);if(_0x1b5d8a)return _0x4a4d1b[_0x3a9417(0x16d)]=parseImage(_0x4a4d1b[_0x3a9417(0x16d)]),getMainStyle(_0x4a4d1b,_0x59d81f,_0x3778eb);}}function a63_0x1bec(_0xd67eb,_0xa0da37){const _0x117b5c=a63_0x117b();return a63_0x1bec=function(_0x1bec22,_0x1bb386){_0x1bec22=_0x1bec22-0x13f;let _0x344045=_0x117b5c[_0x1bec22];return _0x344045;},a63_0x1bec(_0xd67eb,_0xa0da37);}export function getPointStyle(_0x28450e,_0x524ce3,_0x397b2b,_0x7eb94){const _0x164c7c=a63_0x1bec;var _0x40073a,_0x4f6fd5;_0x28450e=JSON[_0x164c7c(0x158)](JSON['stringify'](_0x28450e));let _0x399856=(_0x40073a=_0x28450e[_0x164c7c(0x155)])!==null&&_0x40073a!==void 0x0?_0x40073a:0x0,_0x43a663=[],_0xb4766e=getImageOlStyle(_0x28450e,_0x399856,_0x397b2b,_0x7eb94);_0xb4766e&&_0x43a663[_0x164c7c(0x16e)](_0xb4766e);let _0x420668=getImageOlStyle(_0x28450e['billboard'],_0x399856,_0x397b2b,_0x7eb94);_0x420668&&_0x43a663['push'](_0x420668);if(_0x28450e[_0x164c7c(0x13f)]&&_0x28450e[_0x164c7c(0x13f)][_0x164c7c(0x140)]!==![]){let _0x552af3=isShowStyle(_0x28450e[_0x164c7c(0x13f)],_0x397b2b,_0x7eb94);if(_0x552af3){let _0x3d1da4=(_0x4f6fd5=_0x28450e[_0x164c7c(0x13f)]['zIndex'])!==null&&_0x4f6fd5!==void 0x0?_0x4f6fd5:_0x399856,_0x7aabd1=_0x28450e[_0x164c7c(0x13f)]['imgUrl']||_0x164c7c(0x15e)+_0x28450e[_0x164c7c(0x13f)][_0x164c7c(0x163)]+'.png';_0x28450e[_0x164c7c(0x16a)]=0x1,_0x28450e[_0x164c7c(0x162)]=0x30,_0x28450e['height']=0x30,_0x28450e[_0x164c7c(0x150)]='CENTER',_0x43a663[_0x164c7c(0x16e)](getMainStyle(_0x28450e['model'],_0x3d1da4,_0x7eb94));}}if(_0x28450e[_0x164c7c(0x148)]&&_0x28450e[_0x164c7c(0x148)][_0x164c7c(0x140)]!==![]){let _0x2d12a2=new a63_0x4a2a3a({'text':createTextStyle(_0x28450e[_0x164c7c(0x148)],_0x524ce3,_0x397b2b,_0x7eb94),'zIndex':Number(_0x399856)+0x1});_0x43a663[_0x164c7c(0x16e)](_0x2d12a2);}return _0x43a663;}export function getPointSingleStyle(_0x79427a,_0x88f6c5,_0x52bb15,_0x39a383){const _0x8df176=a63_0x1bec;_0x88f6c5=JSON[_0x8df176(0x158)](JSON[_0x8df176(0x177)](_0x88f6c5));let _0x5a0935=_0x88f6c5[_0x8df176(0x148)],_0x4c94e0;_0x5a0935&&(_0x4c94e0=_0x5a0935['text']?_0x5a0935[_0x8df176(0x15d)]:'');if(_0x79427a==='billboard')return _0x88f6c5[_0x8df176(0x16d)]=parseImage(_0x88f6c5[_0x8df176(0x16d)]),getPointStyle(_0x88f6c5,_0x4c94e0,_0x52bb15,_0x39a383);else{if(_0x79427a===_0x8df176(0x13f)){let _0x1840bb=_0x88f6c5[_0x8df176(0x160)]||_0x8df176(0x15e)+_0x88f6c5[_0x8df176(0x163)]+_0x8df176(0x169);return _0x88f6c5[_0x8df176(0x16a)]=0x1,_0x88f6c5[_0x8df176(0x162)]=0x30,_0x88f6c5[_0x8df176(0x14f)]=0x30,_0x88f6c5[_0x8df176(0x150)]=_0x8df176(0x17c),getPointStyle(_0x88f6c5,_0x4c94e0,_0x52bb15,_0x39a383);}else{if(_0x79427a==='cloud')return getPointStyle(_0x88f6c5,_0x4c94e0,_0x52bb15,_0x39a383);else{if(_0x79427a===_0x8df176(0x14a))return getPointStyle(_0x88f6c5,_0x4c94e0,_0x52bb15,_0x39a383);else return _0x79427a===_0x8df176(0x148)?new a63_0x4a2a3a({'text':createTextStyle(_0x88f6c5,_0x88f6c5[_0x8df176(0x15d)],_0x52bb15,_0x39a383),'zIndex':_0x88f6c5[_0x8df176(0x155)]}):getPointStyle(_0x88f6c5,_0x4c94e0,_0x52bb15,_0x39a383);}}}}function drawImage(_0x2c4b53,_0x1a5748,_0x2b8f72,_0x256196){const _0x250089=a63_0x1bec;var _0x16750b,_0x1fbdb5,_0x441750,_0x59d8f6;let _0x36f0e9=_0x2b8f72['context'];try{_0x36f0e9['save']();let _0xf07cc8=Number(_0x2c4b53[_0x250089(0x143)]||((_0x16750b=_0x2c4b53[_0x250089(0x17b)])===null||_0x16750b===void 0x0?void 0x0:_0x16750b[0x0])||0x0),_0x17e187=Number(_0x2c4b53['pixelOffsetY']||((_0x1fbdb5=_0x2c4b53[_0x250089(0x17b)])===null||_0x1fbdb5===void 0x0?void 0x0:_0x1fbdb5[0x1])||0x0);_0x36f0e9[_0x250089(0x14e)](_0x1a5748[0x0]+_0xf07cc8,_0x1a5748[0x1]+_0x17e187);if(_0x2c4b53['rotation'])_0x36f0e9[_0x250089(0x165)](toRadians(_0x2c4b53['rotation']));_0x36f0e9['globalAlpha']=_0x2c4b53[_0x250089(0x166)]!=null?_0x2c4b53[_0x250089(0x166)]:0x1;if(_0x256196[_0x250089(0x162)]>0x0){let _0x54ed2c=_0x2c4b53[_0x250089(0x16a)]||0x1,_0x4698e3=_0x2c4b53['width']||_0x256196[_0x250089(0x162)]*_0x54ed2c,_0x325dfb=_0x2c4b53[_0x250089(0x14f)]||_0x256196['height']*_0x54ed2c;_0x4698e3=_0x4698e3*_0x2b8f72[_0x250089(0x167)],_0x325dfb=_0x325dfb*_0x2b8f72[_0x250089(0x167)];_0x2c4b53[_0x250089(0x149)]&&(_0x4698e3=_0x256196['width'],_0x325dfb=_0x256196['height']);let _0x36429f;switch((_0x441750=_0x2c4b53['horizontalOrigin'])===null||_0x441750===void 0x0?void 0x0:_0x441750[_0x250089(0x141)]()){default:case _0x250089(0x17c):_0x36429f=-_0x4698e3/0x2;break;case'LEFT':_0x36429f=0x0;break;case'RIGHT':_0x36429f=-_0x4698e3;break;}let _0x2e5cce;switch((_0x59d8f6=_0x2c4b53['verticalOrigin'])===null||_0x59d8f6===void 0x0?void 0x0:_0x59d8f6[_0x250089(0x141)]()){default:case _0x250089(0x153):_0x2e5cce=-_0x325dfb;break;case _0x250089(0x17c):_0x2e5cce=-_0x325dfb/0x2;break;case _0x250089(0x174):_0x2e5cce=0x0;break;}_0x36f0e9[_0x250089(0x152)](_0x256196,_0x36429f,_0x2e5cce,_0x4698e3,_0x325dfb);}else _0x36f0e9[_0x250089(0x152)](_0x256196,0x0,0x0);_0x36f0e9[_0x250089(0x157)]();}catch(_0x3a3bb5){_0x36f0e9['restore'](),console[_0x250089(0x145)](_0x3a3bb5);}}
1
+ (function(_0xd12e2d,_0x35cb93){const _0x47c56=a63_0x4a41,_0x561f0c=_0xd12e2d();while(!![]){try{const _0x346d79=-parseInt(_0x47c56(0x116))/0x1*(-parseInt(_0x47c56(0x118))/0x2)+parseInt(_0x47c56(0x12b))/0x3+-parseInt(_0x47c56(0x135))/0x4+parseInt(_0x47c56(0x114))/0x5+-parseInt(_0x47c56(0x128))/0x6+parseInt(_0x47c56(0x140))/0x7*(-parseInt(_0x47c56(0x130))/0x8)+parseInt(_0x47c56(0x132))/0x9;if(_0x346d79===_0x35cb93)break;else _0x561f0c['push'](_0x561f0c['shift']());}catch(_0x1556bf){_0x561f0c['push'](_0x561f0c['shift']());}}}(a63_0x243e,0xba1da));import{parseImage}from'../utils/UrlUtil';function a63_0x243e(){const _0x306cdc=['rotation','2AzNCRR','save','getPixelFromCoordinate','translate','cloud','height','.png','push','pixelOffsetX','RIGHT','match','markerColor','Polygon','text','getFlatInteriorPoints','show','8425878VFIWCN','image','zIndex','49014CYtkiu','TOP','getFlatInteriorPoint','MultiLineString','getStride','16hVRxvE','color','23316894CnlutS','changeColor','billboard','5694380qcVpOL','scale','BOTTOM','imgUrl','pixelRatio','stringify','LineString','toUpperCase','getImageData','radius','pixelSize','3142636OsKbzf','point','horizontalOrigin','MultiPoint','geometry','data','parse','globalAlpha','drawImage','model/','outlineColor','model','pixelOffsetY','warn','getType','canvas','verticalOrigin','restore','modelKind','label','CENTER','outline','createElement','rotate','putImageData','width','getContext','LEFT','getFlatMidpoints','length','7620905qmIgFV','pixelOffset','356849WXgafC'];a63_0x243e=function(){return _0x306cdc;};return a63_0x243e();}import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a63_0x36e3cf from'ol/style/Style';import a63_0xb7173a from'ol/style/Circle';function a63_0x4a41(_0x21a67b,_0x31abfc){const _0x243ed0=a63_0x243e();return a63_0x4a41=function(_0x4a412a,_0x34a77e){_0x4a412a=_0x4a412a-0xfe;let _0x2e962e=_0x243ed0[_0x4a412a];return _0x2e962e;},a63_0x4a41(_0x21a67b,_0x31abfc);}import a63_0x303e62 from'ol/style/Fill';import a63_0x83a63e from'ol/style/Stroke';function getMainStyle(_0xb44eff,_0x2d29e1=0x0,_0x375dc9){const _0x234a02=a63_0x4a41;let _0x5a4089;return _0xb44eff[_0x234a02(0x129)]||_0xb44eff[_0x234a02(0x123)]?_0x5a4089=new a63_0x36e3cf({'renderer':(_0x57a51f,_0x176dd8)=>{preLoadImageRenderFunction(_0xb44eff,_0x57a51f,_0x176dd8,_0x375dc9,_rendererFunction);},'zIndex':Number(_0x2d29e1)}):_0x5a4089=new a63_0x36e3cf({'image':new a63_0xb7173a({'radius':_0xb44eff[_0x234a02(0x13e)]?_0xb44eff[_0x234a02(0x13e)]:_0xb44eff[_0x234a02(0x13f)],'fill':new a63_0x303e62({'color':getColor(_0xb44eff[_0x234a02(0x131)],_0xb44eff['opacity'])}),'stroke':_0xb44eff[_0x234a02(0x10b)]&&_0xb44eff[_0x234a02(0x100)]?new a63_0x83a63e({'color':getColor(_0xb44eff['outlineColor'],_0xb44eff['outlineOpacity']),'width':_0xb44eff['outlineWidth']}):undefined}),'zIndex':Number(_0x2d29e1)}),_0x5a4089;}function _rendererFunction(_0x5bb518,_0x16ddf7,_0x33b9a8,_0x4bfc0a,_0x5174e6){const _0x4a8a13=a63_0x4a41;if(!_0x5174e6||_0x5174e6[_0x4a8a13(0x10f)]===0x0){let _0x2139f7=new Image();_0x2139f7['src']=_0x5bb518[_0x4a8a13(0x129)];}if(_0x5bb518[_0x4a8a13(0x133)]&&_0x5bb518[_0x4a8a13(0x131)]!==''){let _0x548936=_0x5bb518[_0x4a8a13(0x136)]||0x1,_0x530cce=_0x5bb518[_0x4a8a13(0x10f)]||_0x5174e6['width']*_0x548936,_0x406fa4=_0x5bb518['height']||_0x5174e6['height']*_0x548936;_0x530cce=_0x530cce*_0x33b9a8[_0x4a8a13(0x139)],_0x406fa4=_0x406fa4*_0x33b9a8['pixelRatio'];const _0x3e7ee0=document[_0x4a8a13(0x10c)](_0x4a8a13(0x105));_0x3e7ee0['width']=_0x530cce,_0x3e7ee0[_0x4a8a13(0x11d)]=_0x406fa4;const _0x284532=_0x3e7ee0[_0x4a8a13(0x110)]('2d');_0x284532===null||_0x284532===void 0x0?void 0x0:_0x284532[_0x4a8a13(0xfe)](_0x5174e6,0x0,0x0,_0x530cce,_0x406fa4);let _0x57ec4c=_0x284532===null||_0x284532===void 0x0?void 0x0:_0x284532[_0x4a8a13(0x13d)](0x0,0x0,_0x530cce,_0x406fa4),_0x43f059=_0x57ec4c===null||_0x57ec4c===void 0x0?void 0x0:_0x57ec4c[_0x4a8a13(0x145)];_0x5174e6=_0x3e7ee0;let _0x4e5ec3=HexToRgb(_0x5bb518[_0x4a8a13(0x131)]);if(_0x43f059&&_0x4e5ec3)for(var _0x1540c9=0x0;_0x1540c9<_0x43f059[_0x4a8a13(0x113)];_0x1540c9+=0x4){_0x43f059[_0x1540c9]=_0x4e5ec3[0x0],_0x43f059[_0x1540c9+0x1]=_0x4e5ec3[0x1],_0x43f059[_0x1540c9+0x2]=_0x4e5ec3[0x2];}_0x57ec4c&&(_0x284532===null||_0x284532===void 0x0?void 0x0:_0x284532[_0x4a8a13(0x10e)](_0x57ec4c,0x0,0x0));}let _0x3190b0=_0x33b9a8[_0x4a8a13(0x144)],_0x5f56d5=_0x33b9a8['pixelRatio'],_0xf9bbd5=_0x3190b0[_0x4a8a13(0x12f)](),_0x10dca8=_0x3190b0[_0x4a8a13(0x104)](),_0x436ba5=[];switch(_0x10dca8){case _0x4a8a13(0x13b):_0x436ba5=_0x3190b0['getFlatMidpoint']();break;case _0x4a8a13(0x12e):_0x436ba5=_0x3190b0[_0x4a8a13(0x112)](),_0xf9bbd5=0x2;break;case _0x4a8a13(0x124):_0x436ba5=_0x3190b0[_0x4a8a13(0x12d)](),_0xf9bbd5=0x3;break;case'MultiPolygon':{let _0x1120ce=_0x3190b0[_0x4a8a13(0x126)]();_0x436ba5=[];for(let _0x42029f=0x0,_0x2a1c16=_0x1120ce[_0x4a8a13(0x113)];_0x42029f<_0x2a1c16;_0x42029f+=0x3){_0x436ba5[_0x4a8a13(0x11f)](_0x1120ce[_0x42029f],_0x1120ce[_0x42029f+0x1]);}if(_0x436ba5[_0x4a8a13(0x113)]===0x0)return;_0xf9bbd5=0x2;break;}}if(_0x436ba5['length']>0x0&&_0x4bfc0a)for(let _0x1572a4=0x0,_0x2d5de0=_0x436ba5['length'];_0x1572a4<_0x2d5de0;_0x1572a4+=_0xf9bbd5){let _0x1fa132=[_0x436ba5[_0x1572a4],_0x436ba5[_0x1572a4+0x1]],_0x496f4c=_0x4bfc0a[_0x4a8a13(0x11a)](_0x1fa132);_0x496f4c=[_0x496f4c[0x0]*_0x5f56d5,_0x496f4c[0x1]*_0x5f56d5],drawImage(_0x5bb518,_0x496f4c,_0x33b9a8,_0x5174e6);}else{if(_0x10dca8===_0x4a8a13(0x143))for(let _0x1ee5ea of _0x16ddf7){drawImage(_0x5bb518,_0x1ee5ea,_0x33b9a8,_0x5174e6);}else drawImage(_0x5bb518,_0x16ddf7,_0x33b9a8,_0x5174e6);}}function HexToRgb(_0x3d6810){const _0x4c0a4b=a63_0x4a41;_0x3d6810=_0x3d6810['replace']('#','');let _0x39e720=_0x3d6810[_0x4c0a4b(0x122)](/../g);if(_0x39e720){for(let _0x3b5b56=0x0;_0x3b5b56<0x3;_0x3b5b56++)_0x39e720[_0x3b5b56]=parseInt(_0x39e720[_0x3b5b56],0x10);}return _0x39e720;}export function getImageOlStyle(_0x177c12,_0x10d61b,_0x7e4413,_0x2e6e39){const _0x13cdac=a63_0x4a41;var _0x2bb68a;if(_0x177c12&&_0x177c12[_0x13cdac(0x127)]!==![]){_0x177c12=JSON[_0x13cdac(0x146)](JSON['stringify'](_0x177c12)),_0x10d61b=(_0x2bb68a=_0x177c12['zIndex'])!==null&&_0x2bb68a!==void 0x0?_0x2bb68a:_0x10d61b;let _0x30582f=isShowStyle(_0x177c12,_0x7e4413,_0x2e6e39);if(_0x30582f)return _0x177c12[_0x13cdac(0x129)]=parseImage(_0x177c12[_0x13cdac(0x129)]),getMainStyle(_0x177c12,_0x10d61b,_0x2e6e39);}}export function getPointStyle(_0x5b64cb,_0x2dc4ae,_0x3e1d40,_0x5f5246){const _0x55d269=a63_0x4a41;var _0x57d6f0,_0x4118ca;_0x5b64cb=JSON[_0x55d269(0x146)](JSON[_0x55d269(0x13a)](_0x5b64cb));let _0x12db34=(_0x57d6f0=_0x5b64cb[_0x55d269(0x12a)])!==null&&_0x57d6f0!==void 0x0?_0x57d6f0:0x0,_0x57667c=[],_0x50eaed=getImageOlStyle(_0x5b64cb,_0x12db34,_0x3e1d40,_0x5f5246);_0x50eaed&&_0x57667c['push'](_0x50eaed);let _0x4c2ffb=getImageOlStyle(_0x5b64cb[_0x55d269(0x134)],_0x12db34,_0x3e1d40,_0x5f5246);_0x4c2ffb&&_0x57667c[_0x55d269(0x11f)](_0x4c2ffb);if(_0x5b64cb[_0x55d269(0x101)]&&_0x5b64cb['model'][_0x55d269(0x127)]!==![]){let _0x58e5b=isShowStyle(_0x5b64cb['model'],_0x3e1d40,_0x5f5246);if(_0x58e5b){let _0x5a018a=(_0x4118ca=_0x5b64cb[_0x55d269(0x101)][_0x55d269(0x12a)])!==null&&_0x4118ca!==void 0x0?_0x4118ca:_0x12db34,_0x4883f5=_0x5b64cb[_0x55d269(0x101)]['imgUrl']||_0x55d269(0xff)+_0x5b64cb[_0x55d269(0x101)][_0x55d269(0x108)]+_0x55d269(0x11e);_0x5b64cb[_0x55d269(0x136)]=0x1,_0x5b64cb[_0x55d269(0x10f)]=0x30,_0x5b64cb[_0x55d269(0x11d)]=0x30,_0x5b64cb[_0x55d269(0x106)]=_0x55d269(0x10a),_0x57667c[_0x55d269(0x11f)](getMainStyle(_0x5b64cb[_0x55d269(0x101)],_0x5a018a,_0x5f5246));}}if(_0x5b64cb[_0x55d269(0x109)]&&_0x5b64cb[_0x55d269(0x109)][_0x55d269(0x127)]!==![]){let _0x346e2f=new a63_0x36e3cf({'text':createTextStyle(_0x5b64cb['label'],_0x2dc4ae,_0x3e1d40,_0x5f5246),'zIndex':Number(_0x12db34)+0x1});_0x57667c[_0x55d269(0x11f)](_0x346e2f);}return _0x57667c;}export function getPointSingleStyle(_0x2daf28,_0x3f72d2,_0x45bfbe,_0x12ecf1){const _0x192a73=a63_0x4a41;_0x3f72d2=JSON[_0x192a73(0x146)](JSON[_0x192a73(0x13a)](_0x3f72d2));let _0x30b652=_0x3f72d2[_0x192a73(0x109)],_0x1e1d26;_0x30b652&&(_0x1e1d26=_0x30b652[_0x192a73(0x125)]?_0x30b652['text']:'');if(_0x2daf28===_0x192a73(0x134))return _0x3f72d2['image']=parseImage(_0x3f72d2[_0x192a73(0x129)]),getPointStyle(_0x3f72d2,_0x1e1d26,_0x45bfbe,_0x12ecf1);else{if(_0x2daf28==='model'){let _0x11573e=_0x3f72d2[_0x192a73(0x138)]||_0x192a73(0xff)+_0x3f72d2[_0x192a73(0x108)]+_0x192a73(0x11e);return _0x3f72d2[_0x192a73(0x136)]=0x1,_0x3f72d2[_0x192a73(0x10f)]=0x30,_0x3f72d2['height']=0x30,_0x3f72d2[_0x192a73(0x106)]='CENTER',getPointStyle(_0x3f72d2,_0x1e1d26,_0x45bfbe,_0x12ecf1);}else{if(_0x2daf28===_0x192a73(0x11c))return getPointStyle(_0x3f72d2,_0x1e1d26,_0x45bfbe,_0x12ecf1);else{if(_0x2daf28===_0x192a73(0x141))return getPointStyle(_0x3f72d2,_0x1e1d26,_0x45bfbe,_0x12ecf1);else return _0x2daf28===_0x192a73(0x109)?new a63_0x36e3cf({'text':createTextStyle(_0x3f72d2,_0x3f72d2[_0x192a73(0x125)],_0x45bfbe,_0x12ecf1),'zIndex':_0x3f72d2[_0x192a73(0x12a)]}):getPointStyle(_0x3f72d2,_0x1e1d26,_0x45bfbe,_0x12ecf1);}}}}function drawImage(_0x3266e9,_0x4a466f,_0x226124,_0xf5473e){const _0x538df0=a63_0x4a41;var _0xe03694,_0x5181ed,_0xd8fd28,_0x403865;let _0x125b42=_0x226124['context'];try{_0x125b42[_0x538df0(0x119)]();let _0x10efd3=Number(_0x3266e9[_0x538df0(0x120)]||((_0xe03694=_0x3266e9[_0x538df0(0x115)])===null||_0xe03694===void 0x0?void 0x0:_0xe03694[0x0])||0x0),_0x2b2e8b=Number(_0x3266e9[_0x538df0(0x102)]||((_0x5181ed=_0x3266e9['pixelOffset'])===null||_0x5181ed===void 0x0?void 0x0:_0x5181ed[0x1])||0x0);_0x125b42[_0x538df0(0x11b)](_0x4a466f[0x0]+_0x10efd3,_0x4a466f[0x1]+_0x2b2e8b);if(_0x3266e9[_0x538df0(0x117)])_0x125b42[_0x538df0(0x10d)](toRadians(_0x3266e9['rotation']));_0x125b42[_0x538df0(0x147)]=_0x3266e9['opacity']!=null?_0x3266e9['opacity']:0x1;if(_0xf5473e['width']>0x0){let _0x15d159=_0x3266e9[_0x538df0(0x136)]||0x1,_0x164f40=_0x3266e9['width']||_0xf5473e['width']*_0x15d159,_0xb87193=_0x3266e9['height']||_0xf5473e[_0x538df0(0x11d)]*_0x15d159;_0x164f40=_0x164f40*_0x226124['pixelRatio'],_0xb87193=_0xb87193*_0x226124[_0x538df0(0x139)];_0x3266e9[_0x538df0(0x133)]&&(_0x164f40=_0xf5473e[_0x538df0(0x10f)],_0xb87193=_0xf5473e[_0x538df0(0x11d)]);let _0x5a33b8;switch((_0xd8fd28=_0x3266e9[_0x538df0(0x142)])===null||_0xd8fd28===void 0x0?void 0x0:_0xd8fd28[_0x538df0(0x13c)]()){default:case _0x538df0(0x10a):_0x5a33b8=-_0x164f40/0x2;break;case _0x538df0(0x111):_0x5a33b8=0x0;break;case _0x538df0(0x121):_0x5a33b8=-_0x164f40;break;}let _0x11b661;switch((_0x403865=_0x3266e9[_0x538df0(0x106)])===null||_0x403865===void 0x0?void 0x0:_0x403865[_0x538df0(0x13c)]()){default:case _0x538df0(0x137):_0x11b661=-_0xb87193;break;case _0x538df0(0x10a):_0x11b661=-_0xb87193/0x2;break;case _0x538df0(0x12c):_0x11b661=0x0;break;}_0x125b42[_0x538df0(0xfe)](_0xf5473e,_0x5a33b8,_0x11b661,_0x164f40,_0xb87193);}else _0x125b42[_0x538df0(0xfe)](_0xf5473e,0x0,0x0);_0x125b42[_0x538df0(0x107)]();}catch(_0x1141c0){_0x125b42['restore'](),console[_0x538df0(0x103)](_0x1141c0);}}
@@ -1 +1 @@
1
- (function(_0x509465,_0x1b7c05){const _0x26d858=a64_0x17bc,_0x2bf708=_0x509465();while(!![]){try{const _0x496a75=-parseInt(_0x26d858(0x207))/0x1*(-parseInt(_0x26d858(0x208))/0x2)+-parseInt(_0x26d858(0x212))/0x3*(-parseInt(_0x26d858(0x1ee))/0x4)+parseInt(_0x26d858(0x1dc))/0x5+-parseInt(_0x26d858(0x1f2))/0x6*(-parseInt(_0x26d858(0x20e))/0x7)+-parseInt(_0x26d858(0x1f1))/0x8+parseInt(_0x26d858(0x1da))/0x9*(parseInt(_0x26d858(0x20a))/0xa)+parseInt(_0x26d858(0x1f3))/0xb*(-parseInt(_0x26d858(0x206))/0xc);if(_0x496a75===_0x1b7c05)break;else _0x2bf708['push'](_0x2bf708['shift']());}catch(_0x5c4ca2){_0x2bf708['push'](_0x2bf708['shift']());}}}(a64_0x497c,0x2d1ec));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x412e1e,_0x192c86,_0x39fa1c,_0x9a53cc){const _0x29ff1a=a64_0x17bc;var _0x497700;let _0x1dc488=(_0x497700=_0x412e1e['zIndex'])!==null&&_0x497700!==void 0x0?_0x497700:0x0,_0x17c691=new Style();_0x17c691[_0x29ff1a(0x1e3)](_0x1dc488),_0x17c691[_0x29ff1a(0x210)](new Fill({'color':_0x29ff1a(0x1e0)}));if(_0x412e1e['fill']!==![]){if(!_0x412e1e[_0x29ff1a(0x1ed)]||_0x412e1e[_0x29ff1a(0x1ed)]===_0x29ff1a(0x1f7))_0x17c691[_0x29ff1a(0x210)](new Fill({'color':getColor(_0x412e1e[_0x29ff1a(0x1f7)],_0x412e1e[_0x29ff1a(0x1e2)])}));else{if(_0x412e1e[_0x29ff1a(0x1ed)]===_0x29ff1a(0x1de))_0x17c691[_0x29ff1a(0x1ec)]((_0x14868d,_0x542b88)=>{preLoadImageRenderFunction(_0x412e1e,_0x14868d,_0x542b88,_0x9a53cc,_rendererFunction);});else _0x412e1e[_0x29ff1a(0x1ed)]===_0x29ff1a(0x1f6)||_0x412e1e['fillType']===_0x29ff1a(0x20d)||_0x412e1e[_0x29ff1a(0x1ed)]==='checkerboard'?_0x17c691[_0x29ff1a(0x1ec)]((_0x29b482,_0x2196d2)=>{_rendererFunction(_0x412e1e,_0x29b482,_0x2196d2,_0x9a53cc,null);}):_0x17c691[_0x29ff1a(0x210)](new Fill({'color':getColor(_0x412e1e['color'],_0x412e1e[_0x29ff1a(0x1e2)])}));}}_0x412e1e[_0x29ff1a(0x204)]!==![]&&_0x17c691[_0x29ff1a(0x1f0)](new Stroke({'color':getColor(_0x412e1e[_0x29ff1a(0x1fb)],_0x412e1e['outlineOpacity']),'width':_0x412e1e[_0x29ff1a(0x1e9)]}));let _0x2d5ade=[_0x17c691];_0x412e1e[_0x29ff1a(0x1ea)]&&!_0x412e1e[_0x29ff1a(0x1ea)][_0x29ff1a(0x20b)]&&(_0x412e1e[_0x29ff1a(0x1ea)][_0x29ff1a(0x20b)]=_0x29ff1a(0x1fc));let _0x4e44da=getImageOlStyle(_0x412e1e[_0x29ff1a(0x1ea)],_0x1dc488,_0x39fa1c,_0x9a53cc);_0x4e44da&&_0x2d5ade[_0x29ff1a(0x1d9)](_0x4e44da);if(_0x412e1e['label']&&_0x412e1e['label'][_0x29ff1a(0x1f4)]!==![]){!_0x412e1e[_0x29ff1a(0x201)][_0x29ff1a(0x20b)]&&(_0x412e1e['label'][_0x29ff1a(0x20b)]=_0x29ff1a(0x1fc));let _0x50019e=new Style({'text':createTextStyle(_0x412e1e[_0x29ff1a(0x201)],_0x192c86,_0x39fa1c,_0x9a53cc),'zIndex':Number(_0x1dc488)+0x1});_0x2d5ade['push'](_0x50019e);}return _0x2d5ade;}function _rendererFunction(_0x56964e,_0x17a230,_0x120e5b,_0x45ab5a,_0x35f18e){const _0x5177d0=a64_0x17bc;try{var _0x1ea915=_0x120e5b['context'];for(var _0xd32f25=0x0,_0x1c4f8d=_0x17a230['length'];_0xd32f25<_0x1c4f8d;_0xd32f25++){_0x1ea915['save'](),_0x1ea915[_0x5177d0(0x1e1)]();var _0x5b455a=_0x17a230[_0xd32f25];let _0x52759b=boundingExtent(_0x5b455a);_0x1ea915[_0x5177d0(0x203)](_0x52759b[0x0],_0x52759b[0x1]);let _0x18ff0e;switch(_0x56964e[_0x5177d0(0x1ed)]){case _0x5177d0(0x1de):_0x18ff0e=_getImagePattern(_0x1ea915,_0x52759b,_0x56964e,_0x35f18e);break;case _0x5177d0(0x1f6):_0x18ff0e=_getGridPattern(_0x1ea915,_0x52759b,_0x56964e);break;case _0x5177d0(0x20d):_0x18ff0e=_getStripePattern(_0x1ea915,_0x52759b,_0x56964e);break;case'checkerboard':_0x18ff0e=_getCheckerBoardPattern(_0x1ea915,_0x52759b,_0x56964e);break;default:_0x18ff0e=_0x5177d0(0x1f8);break;}for(var _0x269482=0x0,_0x1ef927=_0x5b455a['length'];_0x269482<_0x1ef927;_0x269482++){var _0x536273=_0x5b455a[_0x269482];_0x269482===0x0?_0x1ea915[_0x5177d0(0x1dd)](_0x536273[0x0]-_0x52759b[0x0],_0x536273[0x1]-_0x52759b[0x1]):_0x1ea915[_0x5177d0(0x1fa)](_0x536273[0x0]-_0x52759b[0x0],_0x536273[0x1]-_0x52759b[0x1]);}_0x1ea915[_0x5177d0(0x1f9)](),_0x1ea915[_0x5177d0(0x1e8)]=_0x5177d0(0x1f8),_0x1ea915[_0x5177d0(0x1db)](),_0x1ea915[_0x5177d0(0x1e8)]=_0x18ff0e,_0x1ea915['fill'](),_0x56964e[_0x5177d0(0x204)]?(_0x1ea915[_0x5177d0(0x205)]=getColor(_0x56964e[_0x5177d0(0x1fb)],_0x56964e['outlineOpacity']),_0x1ea915[_0x5177d0(0x1eb)]=_0x56964e[_0x5177d0(0x1e9)]):_0x1ea915[_0x5177d0(0x205)]='rgba(0,0,0,0.0)',_0x1ea915[_0x5177d0(0x1e5)](),_0x1ea915[_0x5177d0(0x1fe)]();}}catch(_0x11acb6){_0x1ea915[_0x5177d0(0x1fe)](),console[_0x5177d0(0x1ff)](_0x11acb6);}}function a64_0x497c(){const _0xd08a89=['lineWidth','setRenderer','fillType','4vgxYtD','repeat','setStroke','458792QBNIEK','1489062CZoWmt','429FtSsvN','show','grid_lineCount','grid','color','rgba(0,0,0,0.01)','closePath','lineTo','outlineColor','CENTER','getContext','restore','warn','oddColor','label','max','translate','outline','strokeStyle','177984oGCKYz','5053aqXojm','14vZVFwV','createPattern','163890YZrxyt','verticalOrigin','createElement','stripe','7oaFWeA','canvas','setFill','height','624387cGuKjY','drawImage','src','checkerboard_repeat','stripe_repeat','push','18ICUYRS','fill','1480770IUifUg','moveTo','image','globalAlpha','rgba(0,0,0,0)','beginPath','opacity','setZIndex','width','stroke','stripe_oddcolor','repeatY','fillStyle','outlineWidth','billboard'];a64_0x497c=function(){return _0xd08a89;};return a64_0x497c();}function _getImagePattern(_0x873f93,_0xb31249,_0x1008c0,_0x5bb3a5){const _0xbb7097=a64_0x17bc;if(!_0x5bb3a5||_0x5bb3a5[_0xbb7097(0x1e4)]===0x0){let _0x3dc89f=new Image();_0x3dc89f[_0xbb7097(0x1d6)]=_0x1008c0['image'];}var _0x4c95f6=getSize(_0xb31249);const _0x3a5262=document['createElement'](_0xbb7097(0x20f)),_0x249ce8=_0x3a5262['getContext']('2d');return _0x3a5262['width']=Math[_0xbb7097(0x202)](_0x4c95f6[0x0]/_0x1008c0['repeatX'],0x1),_0x3a5262[_0xbb7097(0x211)]=Math[_0xbb7097(0x202)](_0x4c95f6[0x1]/_0x1008c0[_0xbb7097(0x1e7)],0x1),_0x249ce8&&(_0x249ce8[_0xbb7097(0x1df)]=_0x1008c0[_0xbb7097(0x1e2)],_0x249ce8[_0xbb7097(0x1d5)](_0x5bb3a5,0x0,0x0,_0x3a5262[_0xbb7097(0x1e4)],_0x3a5262['height'])),_0x873f93['createPattern'](_0x3a5262,'repeat');}function _getGridPattern(_0x48047e,_0x23dd17,_0x26a04a){const _0x2af51b=a64_0x17bc;var _0x36e50b=getSize(_0x23dd17);const _0x1a6751=document[_0x2af51b(0x20c)](_0x2af51b(0x20f)),_0x3542cd=_0x1a6751[_0x2af51b(0x1fd)]('2d');return _0x1a6751[_0x2af51b(0x1e4)]=Math[_0x2af51b(0x202)](_0x36e50b[0x0]/_0x26a04a['grid_lineCount'],0x1),_0x1a6751[_0x2af51b(0x211)]=Math[_0x2af51b(0x202)](_0x36e50b[0x1]/_0x26a04a[_0x2af51b(0x1f5)],0x1),_0x3542cd&&(_0x3542cd[_0x2af51b(0x205)]=getColor(_0x26a04a[_0x2af51b(0x1f7)],_0x26a04a[_0x2af51b(0x1e2)]),_0x3542cd['lineWidth']=_0x26a04a['grid_lineThickness']*0x4,_0x3542cd[_0x2af51b(0x1e1)](),_0x3542cd[_0x2af51b(0x1dd)](0x0,_0x1a6751[_0x2af51b(0x211)]),_0x3542cd[_0x2af51b(0x1fa)](_0x1a6751[_0x2af51b(0x1e4)],_0x1a6751[_0x2af51b(0x211)]),_0x3542cd['moveTo'](_0x1a6751[_0x2af51b(0x1e4)],0x0),_0x3542cd[_0x2af51b(0x1fa)](_0x1a6751[_0x2af51b(0x1e4)],_0x1a6751['height']),_0x3542cd['stroke']()),_0x48047e[_0x2af51b(0x209)](_0x1a6751,'repeat');}function a64_0x17bc(_0x29d793,_0x51498a){const _0x497c1d=a64_0x497c();return a64_0x17bc=function(_0x17bc2f,_0x55f183){_0x17bc2f=_0x17bc2f-0x1d5;let _0x80667d=_0x497c1d[_0x17bc2f];return _0x80667d;},a64_0x17bc(_0x29d793,_0x51498a);}function _getStripePattern(_0x2b8dfb,_0x13a632,_0x17a06f){const _0x501abc=a64_0x17bc;var _0x529f2a=getSize(_0x13a632);const _0x34f7eb=document['createElement']('canvas'),_0x16a7fb=_0x34f7eb[_0x501abc(0x1fd)]('2d');let _0x5b87d2=Math['max'](_0x529f2a[0x1]/_0x17a06f[_0x501abc(0x1d8)],0x1);return _0x34f7eb[_0x501abc(0x1e4)]=_0x529f2a[0x0],_0x34f7eb[_0x501abc(0x211)]=_0x5b87d2*0x2,_0x16a7fb&&(_0x16a7fb[_0x501abc(0x1e1)](),_0x16a7fb[_0x501abc(0x1dd)](0x0,0x0),_0x16a7fb[_0x501abc(0x1fa)](_0x34f7eb[_0x501abc(0x1e4)],0x0),_0x16a7fb[_0x501abc(0x1fa)](_0x34f7eb[_0x501abc(0x1e4)],_0x5b87d2),_0x16a7fb[_0x501abc(0x1fa)](0x0,_0x5b87d2),_0x16a7fb[_0x501abc(0x1f9)](),_0x16a7fb['fillStyle']=getColor(_0x17a06f[_0x501abc(0x1e6)],_0x17a06f[_0x501abc(0x1e2)]),_0x16a7fb[_0x501abc(0x1db)](),_0x16a7fb[_0x501abc(0x1e1)](),_0x16a7fb[_0x501abc(0x1dd)](0x0,_0x5b87d2),_0x16a7fb[_0x501abc(0x1fa)](_0x34f7eb[_0x501abc(0x1e4)],_0x5b87d2),_0x16a7fb[_0x501abc(0x1fa)](_0x34f7eb[_0x501abc(0x1e4)],_0x5b87d2*0x2),_0x16a7fb[_0x501abc(0x1fa)](0x0,_0x5b87d2*0x2),_0x16a7fb[_0x501abc(0x1f9)](),_0x16a7fb['fillStyle']=getColor(_0x17a06f[_0x501abc(0x1f7)],_0x17a06f[_0x501abc(0x1e2)]),_0x16a7fb[_0x501abc(0x1db)]()),_0x2b8dfb[_0x501abc(0x209)](_0x34f7eb,_0x501abc(0x1ef));}function _getCheckerBoardPattern(_0x3bca04,_0x31ef91,_0x593e13){const _0x45f4a1=a64_0x17bc;var _0x5dc433=getSize(_0x31ef91);const _0x390fd1=document['createElement'](_0x45f4a1(0x20f)),_0x50a07e=_0x390fd1['getContext']('2d');let _0x50579f=Math[_0x45f4a1(0x202)](_0x5dc433[0x0]/_0x593e13[_0x45f4a1(0x1d7)],0x1),_0x100b7e=Math[_0x45f4a1(0x202)](_0x5dc433[0x1]/_0x593e13[_0x45f4a1(0x1d7)],0x1);return _0x390fd1['width']=_0x50579f*0x2,_0x390fd1[_0x45f4a1(0x211)]=_0x100b7e*0x2,_0x50a07e&&(_0x50a07e[_0x45f4a1(0x1e1)](),_0x50a07e[_0x45f4a1(0x1dd)](0x0,0x0),_0x50a07e[_0x45f4a1(0x1fa)](_0x50579f,0x0),_0x50a07e['lineTo'](_0x50579f,_0x100b7e),_0x50a07e['lineTo'](0x0,_0x100b7e),_0x50a07e['closePath'](),_0x50a07e['fillStyle']=getColor(_0x593e13[_0x45f4a1(0x200)],_0x593e13['opacity']),_0x50a07e['fill'](),_0x50a07e[_0x45f4a1(0x1e1)](),_0x50a07e[_0x45f4a1(0x1dd)](_0x50579f,0x0),_0x50a07e['lineTo'](_0x390fd1[_0x45f4a1(0x1e4)],0x0),_0x50a07e['lineTo'](_0x390fd1[_0x45f4a1(0x1e4)],_0x100b7e),_0x50a07e[_0x45f4a1(0x1fa)](_0x50579f,_0x100b7e),_0x50a07e['closePath'](),_0x50a07e[_0x45f4a1(0x1e8)]=getColor(_0x593e13['color'],_0x593e13['opacity']),_0x50a07e[_0x45f4a1(0x1db)](),_0x50a07e['beginPath'](),_0x50a07e['moveTo'](0x0,_0x100b7e),_0x50a07e[_0x45f4a1(0x1fa)](_0x50579f,_0x100b7e),_0x50a07e[_0x45f4a1(0x1fa)](_0x50579f,_0x390fd1[_0x45f4a1(0x211)]),_0x50a07e['lineTo'](0x0,_0x390fd1[_0x45f4a1(0x211)]),_0x50a07e[_0x45f4a1(0x1f9)](),_0x50a07e[_0x45f4a1(0x1e8)]=getColor(_0x593e13[_0x45f4a1(0x1f7)],_0x593e13[_0x45f4a1(0x1e2)]),_0x50a07e[_0x45f4a1(0x1db)](),_0x50a07e[_0x45f4a1(0x1e1)](),_0x50a07e[_0x45f4a1(0x1dd)](_0x50579f,_0x100b7e),_0x50a07e['lineTo'](_0x390fd1[_0x45f4a1(0x1e4)],_0x100b7e),_0x50a07e[_0x45f4a1(0x1fa)](_0x390fd1[_0x45f4a1(0x1e4)],_0x390fd1[_0x45f4a1(0x211)]),_0x50a07e['lineTo'](_0x50579f,_0x390fd1[_0x45f4a1(0x211)]),_0x50a07e[_0x45f4a1(0x1f9)](),_0x50a07e[_0x45f4a1(0x1e8)]=getColor(_0x593e13[_0x45f4a1(0x200)],_0x593e13['opacity']),_0x50a07e[_0x45f4a1(0x1db)]()),_0x3bca04[_0x45f4a1(0x209)](_0x390fd1,'repeat');}
1
+ function a64_0x4aca(_0x258b34,_0x4dc514){const _0x5e5a2a=a64_0x5e5a();return a64_0x4aca=function(_0x4aca04,_0x4ecbcf){_0x4aca04=_0x4aca04-0x128;let _0x35a6f6=_0x5e5a2a[_0x4aca04];return _0x35a6f6;},a64_0x4aca(_0x258b34,_0x4dc514);}(function(_0x51990f,_0x227145){const _0x22859e=a64_0x4aca,_0x4dc7b7=_0x51990f();while(!![]){try{const _0x35f240=-parseInt(_0x22859e(0x14f))/0x1+parseInt(_0x22859e(0x167))/0x2*(-parseInt(_0x22859e(0x13b))/0x3)+-parseInt(_0x22859e(0x163))/0x4*(parseInt(_0x22859e(0x13a))/0x5)+-parseInt(_0x22859e(0x130))/0x6+-parseInt(_0x22859e(0x14e))/0x7*(parseInt(_0x22859e(0x13d))/0x8)+-parseInt(_0x22859e(0x134))/0x9*(-parseInt(_0x22859e(0x157))/0xa)+parseInt(_0x22859e(0x166))/0xb;if(_0x35f240===_0x227145)break;else _0x4dc7b7['push'](_0x4dc7b7['shift']());}catch(_0x231d44){_0x4dc7b7['push'](_0x4dc7b7['shift']());}}}(a64_0x5e5a,0x2afb3));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x3c171f,_0x2d785b,_0x25a352,_0x1e4cfb){const _0x516a0f=a64_0x4aca;var _0x199b10;let _0x2db5d2=(_0x199b10=_0x3c171f[_0x516a0f(0x147)])!==null&&_0x199b10!==void 0x0?_0x199b10:0x0,_0x1b1458=new Style();_0x1b1458[_0x516a0f(0x131)](_0x2db5d2),_0x1b1458[_0x516a0f(0x141)](new Fill({'color':'rgba(0,0,0,0)'}));if(_0x3c171f[_0x516a0f(0x129)]!==![]){if(!_0x3c171f[_0x516a0f(0x12d)]||_0x3c171f['fillType']===_0x516a0f(0x139))_0x1b1458[_0x516a0f(0x141)](new Fill({'color':getColor(_0x3c171f[_0x516a0f(0x139)],_0x3c171f[_0x516a0f(0x14a)])}));else{if(_0x3c171f[_0x516a0f(0x12d)]==='image')_0x1b1458[_0x516a0f(0x12e)]((_0xa0c16e,_0x3ab5cc)=>{preLoadImageRenderFunction(_0x3c171f,_0xa0c16e,_0x3ab5cc,_0x1e4cfb,_rendererFunction);});else _0x3c171f['fillType']===_0x516a0f(0x151)||_0x3c171f['fillType']===_0x516a0f(0x12f)||_0x3c171f[_0x516a0f(0x12d)]===_0x516a0f(0x132)?_0x1b1458['setRenderer']((_0xff2961,_0x1567c0)=>{_rendererFunction(_0x3c171f,_0xff2961,_0x1567c0,_0x1e4cfb,null);}):_0x1b1458['setFill'](new Fill({'color':getColor(_0x3c171f[_0x516a0f(0x139)],_0x3c171f[_0x516a0f(0x14a)])}));}}_0x3c171f[_0x516a0f(0x15a)]!==![]&&_0x1b1458[_0x516a0f(0x15f)](new Stroke({'color':getColor(_0x3c171f['outlineColor'],_0x3c171f[_0x516a0f(0x142)]),'width':_0x3c171f['outlineWidth']}));let _0x3f25bf=[_0x1b1458];_0x3c171f['billboard']&&!_0x3c171f[_0x516a0f(0x164)]['verticalOrigin']&&(_0x3c171f[_0x516a0f(0x164)][_0x516a0f(0x159)]=_0x516a0f(0x155));let _0x2a7db5=getImageOlStyle(_0x3c171f['billboard'],_0x2db5d2,_0x25a352,_0x1e4cfb);_0x2a7db5&&_0x3f25bf['push'](_0x2a7db5);if(_0x3c171f['label']&&_0x3c171f['label'][_0x516a0f(0x153)]!==![]){!_0x3c171f[_0x516a0f(0x150)][_0x516a0f(0x159)]&&(_0x3c171f[_0x516a0f(0x150)]['verticalOrigin']='CENTER');let _0x3ab394=new Style({'text':createTextStyle(_0x3c171f[_0x516a0f(0x150)],_0x2d785b,_0x25a352,_0x1e4cfb),'zIndex':Number(_0x2db5d2)+0x1});_0x3f25bf[_0x516a0f(0x148)](_0x3ab394);}return _0x3f25bf;}function a64_0x5e5a(){const _0x368463=['beginPath','closePath','translate','color','7365qwgkVL','3fZYWtE','grid_lineCount','2596432pUrPDc','width','createPattern','moveTo','setFill','outlineOpacity','max','lineTo','save','fillStyle','zIndex','push','rgba(0,0,0,0.01)','opacity','oddColor','outlineWidth','stroke','7cKvZgW','255981YuyQId','label','grid','context','show','canvas','CENTER','getContext','40NWAhEy','drawImage','verticalOrigin','outline','length','repeatY','image','grid_lineThickness','setStroke','stripe_repeat','outlineColor','checkerboard_repeat','12RcizsP','billboard','createElement','6158515ghTMgN','36222lSbtAo','src','lineWidth','fill','stripe_oddcolor','repeat','rgba(0,0,0,0.0)','fillType','setRenderer','stripe','682950AiWSxD','setZIndex','checkerboard','restore','749421PbWLjr','height'];a64_0x5e5a=function(){return _0x368463;};return a64_0x5e5a();}function _rendererFunction(_0x1f7b7d,_0x4b43ab,_0x372017,_0x4c1457,_0x316c44){const _0x34f746=a64_0x4aca;try{var _0x26e973=_0x372017[_0x34f746(0x152)];for(var _0x4028e0=0x0,_0x357481=_0x4b43ab[_0x34f746(0x15b)];_0x4028e0<_0x357481;_0x4028e0++){_0x26e973[_0x34f746(0x145)](),_0x26e973[_0x34f746(0x136)]();var _0x29609c=_0x4b43ab[_0x4028e0];let _0x30628f=boundingExtent(_0x29609c);_0x26e973[_0x34f746(0x138)](_0x30628f[0x0],_0x30628f[0x1]);let _0x33644b;switch(_0x1f7b7d['fillType']){case _0x34f746(0x15d):_0x33644b=_getImagePattern(_0x26e973,_0x30628f,_0x1f7b7d,_0x316c44);break;case _0x34f746(0x151):_0x33644b=_getGridPattern(_0x26e973,_0x30628f,_0x1f7b7d);break;case _0x34f746(0x12f):_0x33644b=_getStripePattern(_0x26e973,_0x30628f,_0x1f7b7d);break;case'checkerboard':_0x33644b=_getCheckerBoardPattern(_0x26e973,_0x30628f,_0x1f7b7d);break;default:_0x33644b=_0x34f746(0x149);break;}for(var _0x5687b7=0x0,_0x32c17f=_0x29609c[_0x34f746(0x15b)];_0x5687b7<_0x32c17f;_0x5687b7++){var _0x5e4404=_0x29609c[_0x5687b7];_0x5687b7===0x0?_0x26e973[_0x34f746(0x140)](_0x5e4404[0x0]-_0x30628f[0x0],_0x5e4404[0x1]-_0x30628f[0x1]):_0x26e973[_0x34f746(0x144)](_0x5e4404[0x0]-_0x30628f[0x0],_0x5e4404[0x1]-_0x30628f[0x1]);}_0x26e973[_0x34f746(0x137)](),_0x26e973[_0x34f746(0x146)]=_0x34f746(0x149),_0x26e973[_0x34f746(0x129)](),_0x26e973[_0x34f746(0x146)]=_0x33644b,_0x26e973[_0x34f746(0x129)](),_0x1f7b7d[_0x34f746(0x15a)]?(_0x26e973['strokeStyle']=getColor(_0x1f7b7d[_0x34f746(0x161)],_0x1f7b7d[_0x34f746(0x142)]),_0x26e973[_0x34f746(0x128)]=_0x1f7b7d[_0x34f746(0x14c)]):_0x26e973['strokeStyle']=_0x34f746(0x12c),_0x26e973[_0x34f746(0x14d)](),_0x26e973[_0x34f746(0x133)]();}}catch(_0x2b82fe){_0x26e973['restore'](),console['warn'](_0x2b82fe);}}function _getImagePattern(_0x5326ec,_0x102d37,_0x1ea645,_0x442b31){const _0x30ac3e=a64_0x4aca;if(!_0x442b31||_0x442b31[_0x30ac3e(0x13e)]===0x0){let _0x405aa8=new Image();_0x405aa8[_0x30ac3e(0x168)]=_0x1ea645[_0x30ac3e(0x15d)];}var _0x24c780=getSize(_0x102d37);const _0x251b58=document[_0x30ac3e(0x165)](_0x30ac3e(0x154)),_0x51b919=_0x251b58[_0x30ac3e(0x156)]('2d');return _0x251b58['width']=Math[_0x30ac3e(0x143)](_0x24c780[0x0]/_0x1ea645['repeatX'],0x1),_0x251b58[_0x30ac3e(0x135)]=Math[_0x30ac3e(0x143)](_0x24c780[0x1]/_0x1ea645[_0x30ac3e(0x15c)],0x1),_0x51b919&&(_0x51b919['globalAlpha']=_0x1ea645[_0x30ac3e(0x14a)],_0x51b919[_0x30ac3e(0x158)](_0x442b31,0x0,0x0,_0x251b58['width'],_0x251b58[_0x30ac3e(0x135)])),_0x5326ec['createPattern'](_0x251b58,_0x30ac3e(0x12b));}function _getGridPattern(_0x253e2b,_0x5a78d8,_0x477fcf){const _0x2084a9=a64_0x4aca;var _0xc0ff7f=getSize(_0x5a78d8);const _0x4c9664=document['createElement'](_0x2084a9(0x154)),_0x191b65=_0x4c9664['getContext']('2d');return _0x4c9664[_0x2084a9(0x13e)]=Math[_0x2084a9(0x143)](_0xc0ff7f[0x0]/_0x477fcf[_0x2084a9(0x13c)],0x1),_0x4c9664[_0x2084a9(0x135)]=Math['max'](_0xc0ff7f[0x1]/_0x477fcf[_0x2084a9(0x13c)],0x1),_0x191b65&&(_0x191b65['strokeStyle']=getColor(_0x477fcf['color'],_0x477fcf['opacity']),_0x191b65[_0x2084a9(0x128)]=_0x477fcf[_0x2084a9(0x15e)]*0x4,_0x191b65[_0x2084a9(0x136)](),_0x191b65[_0x2084a9(0x140)](0x0,_0x4c9664[_0x2084a9(0x135)]),_0x191b65['lineTo'](_0x4c9664[_0x2084a9(0x13e)],_0x4c9664['height']),_0x191b65[_0x2084a9(0x140)](_0x4c9664[_0x2084a9(0x13e)],0x0),_0x191b65['lineTo'](_0x4c9664[_0x2084a9(0x13e)],_0x4c9664[_0x2084a9(0x135)]),_0x191b65[_0x2084a9(0x14d)]()),_0x253e2b[_0x2084a9(0x13f)](_0x4c9664,_0x2084a9(0x12b));}function _getStripePattern(_0xac249d,_0x48b6be,_0x433a45){const _0x5a591d=a64_0x4aca;var _0x20de6c=getSize(_0x48b6be);const _0x4154cd=document[_0x5a591d(0x165)]('canvas'),_0x2b52da=_0x4154cd[_0x5a591d(0x156)]('2d');let _0x2fa574=Math[_0x5a591d(0x143)](_0x20de6c[0x1]/_0x433a45[_0x5a591d(0x160)],0x1);return _0x4154cd[_0x5a591d(0x13e)]=_0x20de6c[0x0],_0x4154cd[_0x5a591d(0x135)]=_0x2fa574*0x2,_0x2b52da&&(_0x2b52da['beginPath'](),_0x2b52da['moveTo'](0x0,0x0),_0x2b52da[_0x5a591d(0x144)](_0x4154cd[_0x5a591d(0x13e)],0x0),_0x2b52da[_0x5a591d(0x144)](_0x4154cd[_0x5a591d(0x13e)],_0x2fa574),_0x2b52da['lineTo'](0x0,_0x2fa574),_0x2b52da['closePath'](),_0x2b52da['fillStyle']=getColor(_0x433a45[_0x5a591d(0x12a)],_0x433a45[_0x5a591d(0x14a)]),_0x2b52da[_0x5a591d(0x129)](),_0x2b52da[_0x5a591d(0x136)](),_0x2b52da['moveTo'](0x0,_0x2fa574),_0x2b52da[_0x5a591d(0x144)](_0x4154cd[_0x5a591d(0x13e)],_0x2fa574),_0x2b52da[_0x5a591d(0x144)](_0x4154cd[_0x5a591d(0x13e)],_0x2fa574*0x2),_0x2b52da[_0x5a591d(0x144)](0x0,_0x2fa574*0x2),_0x2b52da[_0x5a591d(0x137)](),_0x2b52da['fillStyle']=getColor(_0x433a45[_0x5a591d(0x139)],_0x433a45['opacity']),_0x2b52da[_0x5a591d(0x129)]()),_0xac249d[_0x5a591d(0x13f)](_0x4154cd,_0x5a591d(0x12b));}function _getCheckerBoardPattern(_0x3e0b1e,_0x4c51f9,_0x3c1ad2){const _0x24e4a7=a64_0x4aca;var _0x11e5fc=getSize(_0x4c51f9);const _0x55cf72=document[_0x24e4a7(0x165)]('canvas'),_0x2222e2=_0x55cf72[_0x24e4a7(0x156)]('2d');let _0x237a37=Math[_0x24e4a7(0x143)](_0x11e5fc[0x0]/_0x3c1ad2['checkerboard_repeat'],0x1),_0x1508a7=Math[_0x24e4a7(0x143)](_0x11e5fc[0x1]/_0x3c1ad2[_0x24e4a7(0x162)],0x1);return _0x55cf72[_0x24e4a7(0x13e)]=_0x237a37*0x2,_0x55cf72[_0x24e4a7(0x135)]=_0x1508a7*0x2,_0x2222e2&&(_0x2222e2[_0x24e4a7(0x136)](),_0x2222e2[_0x24e4a7(0x140)](0x0,0x0),_0x2222e2['lineTo'](_0x237a37,0x0),_0x2222e2[_0x24e4a7(0x144)](_0x237a37,_0x1508a7),_0x2222e2[_0x24e4a7(0x144)](0x0,_0x1508a7),_0x2222e2['closePath'](),_0x2222e2[_0x24e4a7(0x146)]=getColor(_0x3c1ad2[_0x24e4a7(0x14b)],_0x3c1ad2[_0x24e4a7(0x14a)]),_0x2222e2[_0x24e4a7(0x129)](),_0x2222e2[_0x24e4a7(0x136)](),_0x2222e2['moveTo'](_0x237a37,0x0),_0x2222e2[_0x24e4a7(0x144)](_0x55cf72[_0x24e4a7(0x13e)],0x0),_0x2222e2[_0x24e4a7(0x144)](_0x55cf72[_0x24e4a7(0x13e)],_0x1508a7),_0x2222e2['lineTo'](_0x237a37,_0x1508a7),_0x2222e2[_0x24e4a7(0x137)](),_0x2222e2[_0x24e4a7(0x146)]=getColor(_0x3c1ad2[_0x24e4a7(0x139)],_0x3c1ad2['opacity']),_0x2222e2[_0x24e4a7(0x129)](),_0x2222e2[_0x24e4a7(0x136)](),_0x2222e2[_0x24e4a7(0x140)](0x0,_0x1508a7),_0x2222e2[_0x24e4a7(0x144)](_0x237a37,_0x1508a7),_0x2222e2['lineTo'](_0x237a37,_0x55cf72[_0x24e4a7(0x135)]),_0x2222e2[_0x24e4a7(0x144)](0x0,_0x55cf72[_0x24e4a7(0x135)]),_0x2222e2[_0x24e4a7(0x137)](),_0x2222e2[_0x24e4a7(0x146)]=getColor(_0x3c1ad2[_0x24e4a7(0x139)],_0x3c1ad2[_0x24e4a7(0x14a)]),_0x2222e2[_0x24e4a7(0x129)](),_0x2222e2[_0x24e4a7(0x136)](),_0x2222e2[_0x24e4a7(0x140)](_0x237a37,_0x1508a7),_0x2222e2[_0x24e4a7(0x144)](_0x55cf72[_0x24e4a7(0x13e)],_0x1508a7),_0x2222e2['lineTo'](_0x55cf72[_0x24e4a7(0x13e)],_0x55cf72[_0x24e4a7(0x135)]),_0x2222e2[_0x24e4a7(0x144)](_0x237a37,_0x55cf72['height']),_0x2222e2[_0x24e4a7(0x137)](),_0x2222e2[_0x24e4a7(0x146)]=getColor(_0x3c1ad2[_0x24e4a7(0x14b)],_0x3c1ad2[_0x24e4a7(0x14a)]),_0x2222e2['fill']()),_0x3e0b1e[_0x24e4a7(0x13f)](_0x55cf72,'repeat');}
@@ -1 +1 @@
1
- (function(_0x1b7af6,_0x1ed0cf){const _0x3783f7=a65_0xd48d,_0x58a5e3=_0x1b7af6();while(!![]){try{const _0x1be4a2=-parseInt(_0x3783f7(0x102))/0x1+parseInt(_0x3783f7(0x103))/0x2*(parseInt(_0x3783f7(0xfb))/0x3)+-parseInt(_0x3783f7(0xe3))/0x4+-parseInt(_0x3783f7(0xe9))/0x5*(-parseInt(_0x3783f7(0x104))/0x6)+-parseInt(_0x3783f7(0xfa))/0x7+-parseInt(_0x3783f7(0xdf))/0x8+parseInt(_0x3783f7(0xdb))/0x9*(parseInt(_0x3783f7(0xe4))/0xa);if(_0x1be4a2===_0x1ed0cf)break;else _0x58a5e3['push'](_0x58a5e3['shift']());}catch(_0x34f6f3){_0x58a5e3['push'](_0x58a5e3['shift']());}}}(a65_0x1854,0x403c7));function a65_0xd48d(_0x32efac,_0x413969){const _0x18540c=a65_0x1854();return a65_0xd48d=function(_0xd48db0,_0x667d64){_0xd48db0=_0xd48db0-0xd6;let _0x32a992=_0x18540c[_0xd48db0];return _0x32a992;},a65_0xd48d(_0x32efac,_0x413969);}import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';function a65_0x1854(){const _0x58b8fb=['opacity','setRenderer','dash','sin','push','strokeStyle','length','getGeometry','context','glow','color','6660QrxaUt','zIndex','glowPower','stroke','4027712BxZsoD','sqrt','shadowColor','beginPath','1892764wsnagI','17130NDBtib','lineWidth','MultiLineString','getFlatMidpoints','label','2975uOEXZq','outline','moveTo','getCoordinates','concat','arrow','save','width','pow','outlineColor','shadowBlur','lineCap','closed','restore','getFlatMidpoint','lineType','toString','2268511EHBpgo','2913WSFWtW','white','getType','setGeometry','lineTo','butt','cos','265301zHkyLv','860HaMUcY','1452rwMWYJ','LineString','billboard','outlineWidth'];a65_0x1854=function(){return _0x58b8fb;};return a65_0x1854();}import{getImageOlStyle}from'./PointStyleFormat';import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x4faeba,_0x1d9dc5,_0x3feccf,_0x1add34){const _0x1d5a24=a65_0xd48d;var _0x39f171,_0x1ece1c,_0x44efc4;let _0x77dd4=(_0x39f171=_0x4faeba[_0x1d5a24(0xdc)])!==null&&_0x39f171!==void 0x0?_0x39f171:0x0;const _0x2ebd65=_0x1d8225=>{var _0x14178c=_0x1d8225['getGeometry']();if(_0x14178c)return _getRealPolyline(_0x14178c,_0x4faeba);return _0x14178c;},_0xe53a0c=_0x4baf77=>{const _0x3a9f17=_0x1d5a24;var _0x1da252=_0x4baf77[_0x3a9f17(0xd7)]();let _0x2cde93=_0x1da252;_0x1da252&&(_0x2cde93=_getRealPolyline(_0x1da252,_0x4faeba));if(_0x2cde93&&_0x2cde93[_0x3a9f17(0xfd)]()===_0x3a9f17(0x105))return new Point(_0x2cde93[_0x3a9f17(0xf7)]());else{let _0x2f640d=_0x2cde93[_0x3a9f17(0xe7)](),_0x5cfc20=0x2,_0x2c2e7a=[];for(let _0x2b1db3=0x0,_0xe5ec25=_0x2f640d[_0x3a9f17(0xd6)];_0x2b1db3<_0xe5ec25;_0x2b1db3+=_0x5cfc20){let _0x32b3b8=[_0x2f640d[_0x2b1db3],_0x2f640d[_0x2b1db3+0x1]];_0x2c2e7a['push'](_0x32b3b8);}return new MultiPoint(_0x2c2e7a);}};let _0x468007=new Style({'geometry':_0x2ebd65,'stroke':new Stroke({'color':getColor(_0x4faeba[_0x1d5a24(0xda)],_0x4faeba[_0x1d5a24(0x108)]),'width':_0x4faeba[_0x1d5a24(0xf0)]}),'zIndex':_0x77dd4}),_0x9e58ad=[_0x468007];if(_0x4faeba[_0x1d5a24(0xf8)]===_0x1d5a24(0x10a)){let _0x16dc1d=_0x4faeba[_0x1d5a24(0x107)]/0x2,_0x4d0f3e=new Style({'geometry':_0x2ebd65,'zIndex':_0x77dd4,'stroke':new Stroke({'color':getColor(_0x4faeba['color'],_0x4faeba['opacity']),'width':_0x4faeba[_0x1d5a24(0xf0)],'lineCap':_0x1d5a24(0x100),'lineDash':[_0x16dc1d,_0x16dc1d]})}),_0x1afe1a=new Style({'geometry':_0x2ebd65,'zIndex':_0x77dd4+0.5,'stroke':new Stroke({'color':getColor(_0x4faeba[_0x1d5a24(0xf2)],Number((_0x44efc4=(_0x1ece1c=_0x4faeba['outlineOpacity'])!==null&&_0x1ece1c!==void 0x0?_0x1ece1c:_0x4faeba[_0x1d5a24(0x108)])!==null&&_0x44efc4!==void 0x0?_0x44efc4:0x1)),'width':_0x4faeba[_0x1d5a24(0xf0)],'lineCap':_0x1d5a24(0x100),'lineDash':[_0x16dc1d,_0x16dc1d],'lineDashOffset':_0x16dc1d})});_0x9e58ad=[_0x4d0f3e,_0x1afe1a];}_0x4faeba[_0x1d5a24(0xf8)]===_0x1d5a24(0xee)&&_0x468007[_0x1d5a24(0x109)]((_0x4b6749,_0x3aeccd)=>{const _0x53d019=_0x1d5a24;let _0x142aa7=_0x3aeccd['context'],_0x3a0ca1=parseInt((_0x4faeba[_0x53d019(0xf0)]/0x4)[_0x53d019(0xf9)]()),_0x9d505e=0xa,_0x5bb4fe=Math[_0x53d019(0xe0)](Math[_0x53d019(0xf1)](_0x9d505e,0x2)+Math[_0x53d019(0xf1)](_0x4faeba['width']/0x2,0x2)),_0x2a1b15=0x2d,_0x3b6f65=_0x4b6749[_0x4b6749[_0x53d019(0xd6)]-0x2][0x0],_0x42fece=_0x4b6749[_0x4b6749[_0x53d019(0xd6)]-0x2][0x1],_0x246224=_0x4b6749[_0x4b6749[_0x53d019(0xd6)]-0x1][0x0],_0x38dbe3=_0x4b6749[_0x4b6749[_0x53d019(0xd6)]-0x1][0x1],_0x5339b=Math['atan2'](_0x42fece-_0x38dbe3,_0x3b6f65-_0x246224)*0xb4/Math['PI'],_0x5ac870=(_0x5339b+_0x2a1b15)*Math['PI']/0xb4,_0x2540c3=(_0x5339b-_0x2a1b15)*Math['PI']/0xb4,_0x4af88a=_0x5bb4fe*Math['cos'](_0x5ac870),_0x4fd70f=_0x5bb4fe*Math[_0x53d019(0x10b)](_0x5ac870),_0x59c7d1=_0x5bb4fe*Math[_0x53d019(0x101)](_0x2540c3),_0x4f7abd=_0x5bb4fe*Math[_0x53d019(0x10b)](_0x2540c3);_0x142aa7[_0x53d019(0xef)](),_0x142aa7[_0x53d019(0xe2)]();let _0x3eb326,_0x226f39;for(let _0x5eb4a2=0x0;_0x5eb4a2<_0x4b6749[_0x53d019(0xd6)];_0x5eb4a2++){_0x5eb4a2===0x0?_0x142aa7['moveTo'](_0x4b6749[_0x5eb4a2][0x0],_0x4b6749[_0x5eb4a2][0x1]):_0x142aa7['lineTo'](_0x4b6749[_0x5eb4a2][0x0],_0x4b6749[_0x5eb4a2][0x1]);}_0x142aa7[_0x53d019(0x10d)]=getColor(_0x4faeba[_0x53d019(0xda)],_0x4faeba[_0x53d019(0x108)]),_0x142aa7['lineWidth']=_0x3a0ca1,_0x142aa7[_0x53d019(0xf4)]=_0x53d019(0x100),_0x142aa7[_0x53d019(0xde)](),_0x3eb326=_0x246224+_0x4af88a,_0x226f39=_0x38dbe3+_0x4fd70f,_0x142aa7[_0x53d019(0xeb)](_0x3eb326,_0x226f39),_0x142aa7[_0x53d019(0xff)](_0x246224,_0x38dbe3),_0x3eb326=_0x246224+_0x59c7d1,_0x226f39=_0x38dbe3+_0x4f7abd,_0x142aa7[_0x53d019(0xff)](_0x3eb326,_0x226f39),_0x142aa7['lineCap']=_0x53d019(0x100),_0x142aa7['stroke'](),_0x142aa7['restore']();});_0x4faeba[_0x1d5a24(0xf8)]===_0x1d5a24(0xd9)&&_0x468007['setRenderer']((_0xee561f,_0x5800cc)=>{const _0x6ae5e4=_0x1d5a24;let _0x3c3ba8=_0x5800cc[_0x6ae5e4(0xd8)];_0x3c3ba8['save']();for(let _0x23dda8=0x0;_0x23dda8<0x4;_0x23dda8++){let _0x10370d=_0x4faeba[_0x6ae5e4(0xf0)]/0xa*(_0x4faeba[_0x6ae5e4(0xdd)]===0x0?0x1:_0x4faeba[_0x6ae5e4(0xdd)]);_0x3c3ba8[_0x6ae5e4(0xe1)]=getColor(_0x4faeba['color'],_0x4faeba[_0x6ae5e4(0x108)]),_0x3c3ba8[_0x6ae5e4(0xf3)]=_0x4faeba['width']/0x5*0x2,_0x3c3ba8[_0x6ae5e4(0xe2)]();for(let _0x551eef=0x0;_0x551eef<_0xee561f[_0x6ae5e4(0xd6)];_0x551eef++){_0x551eef===0x0?_0x3c3ba8[_0x6ae5e4(0xeb)](_0xee561f[_0x551eef][0x0],_0xee561f[_0x551eef][0x1]):_0x3c3ba8[_0x6ae5e4(0xff)](_0xee561f[_0x551eef][0x0],_0xee561f[_0x551eef][0x1]);}_0x3c3ba8['lineCap']=_0x6ae5e4(0x100),_0x3c3ba8[_0x6ae5e4(0xe5)]=_0x10370d,_0x3c3ba8[_0x6ae5e4(0x10d)]=getColor(_0x6ae5e4(0xfc),_0x4faeba[_0x6ae5e4(0x108)]),_0x3c3ba8['stroke']();}_0x3c3ba8[_0x6ae5e4(0xf6)]();});_0x4faeba[_0x1d5a24(0xf8)]===_0x1d5a24(0xea)&&_0x468007[_0x1d5a24(0x109)]((_0x4c93d4,_0x2654de)=>{const _0x5eeb87=_0x1d5a24;let _0xaff386=_0x2654de[_0x5eeb87(0xd8)];_0xaff386['save'](),_0xaff386[_0x5eeb87(0xe2)]();for(let _0x41290d=0x0;_0x41290d<_0x4c93d4[_0x5eeb87(0xd6)];_0x41290d++){_0x41290d===0x0?_0xaff386[_0x5eeb87(0xeb)](_0x4c93d4[_0x41290d][0x0],_0x4c93d4[_0x41290d][0x1]):_0xaff386[_0x5eeb87(0xff)](_0x4c93d4[_0x41290d][0x0],_0x4c93d4[_0x41290d][0x1]);}_0xaff386[_0x5eeb87(0xf4)]='butt',_0xaff386['lineWidth']=_0x4faeba[_0x5eeb87(0xf0)],_0xaff386[_0x5eeb87(0x10d)]=getColor(_0x4faeba[_0x5eeb87(0xf2)],_0x4faeba[_0x5eeb87(0x108)]),_0xaff386['stroke'](),_0xaff386[_0x5eeb87(0xe2)]();for(let _0x5ac459=0x0;_0x5ac459<_0x4c93d4[_0x5eeb87(0xd6)];_0x5ac459++){_0x5ac459===0x0?_0xaff386['moveTo'](_0x4c93d4[_0x5ac459][0x0],_0x4c93d4[_0x5ac459][0x1]):_0xaff386[_0x5eeb87(0xff)](_0x4c93d4[_0x5ac459][0x0],_0x4c93d4[_0x5ac459][0x1]);}_0xaff386[_0x5eeb87(0xf4)]=_0x5eeb87(0x100),_0x4faeba[_0x5eeb87(0x107)]>=_0x4faeba[_0x5eeb87(0xf0)]&&(_0x4faeba[_0x5eeb87(0x107)]=_0x4faeba[_0x5eeb87(0xf0)]-0x1),_0xaff386[_0x5eeb87(0xe5)]=_0x4faeba[_0x5eeb87(0xf0)]-_0x4faeba[_0x5eeb87(0x107)],_0xaff386[_0x5eeb87(0x10d)]=getColor(_0x4faeba['color'],_0x4faeba[_0x5eeb87(0x108)]),_0xaff386[_0x5eeb87(0xde)](),_0xaff386[_0x5eeb87(0xf6)]();});let _0x26a6cc=getImageOlStyle(_0x4faeba[_0x1d5a24(0x106)],_0x77dd4,_0x3feccf,_0x1add34);_0x26a6cc&&(_0x26a6cc[_0x1d5a24(0xfe)](_0xe53a0c),_0x9e58ad[_0x1d5a24(0x10c)](_0x26a6cc));if(_0x4faeba[_0x1d5a24(0xe8)]&&_0x4faeba[_0x1d5a24(0xe8)]['show']!==![]){let _0x12e6d0=new Style({'geometry':_0xe53a0c,'text':createTextStyle(_0x4faeba[_0x1d5a24(0xe8)],_0x1d9dc5,_0x3feccf,_0x1add34),'zIndex':Number(_0x77dd4)+0x1});_0x9e58ad['push'](_0x12e6d0);}return _0x9e58ad;}function _getRealPolyline(_0x12f8db,_0x23f17d){const _0x42b20b=a65_0xd48d;if(!(_0x23f17d===null||_0x23f17d===void 0x0?void 0x0:_0x23f17d[_0x42b20b(0xf5)]))return _0x12f8db;else{if(_0x12f8db['getType']()===_0x42b20b(0xe6)){let _0x54dd3c=_0x12f8db[_0x42b20b(0xec)]();for(let _0x288cdd in _0x54dd3c){let _0x1b0e54=_0x54dd3c[_0x288cdd];_0x54dd3c[_0x288cdd]=_0x1b0e54[_0x42b20b(0xed)]([_0x1b0e54[0x0]]);}return new MultiLineString(_0x54dd3c);}else return new LineString(_0x12f8db[_0x42b20b(0xec)]()[_0x42b20b(0xed)]([_0x12f8db['getFirstCoordinate']()]));}}
1
+ (function(_0x15f0c8,_0x385ad9){const _0x28028a=a65_0x3ba3,_0x13c7ec=_0x15f0c8();while(!![]){try{const _0x482aa7=parseInt(_0x28028a(0xa2))/0x1*(-parseInt(_0x28028a(0xbf))/0x2)+parseInt(_0x28028a(0xaa))/0x3+-parseInt(_0x28028a(0xa4))/0x4*(-parseInt(_0x28028a(0x99))/0x5)+parseInt(_0x28028a(0x90))/0x6*(parseInt(_0x28028a(0xa3))/0x7)+-parseInt(_0x28028a(0xb6))/0x8+-parseInt(_0x28028a(0xb0))/0x9*(parseInt(_0x28028a(0x92))/0xa)+-parseInt(_0x28028a(0x9b))/0xb*(parseInt(_0x28028a(0x96))/0xc);if(_0x482aa7===_0x385ad9)break;else _0x13c7ec['push'](_0x13c7ec['shift']());}catch(_0x7fd980){_0x13c7ec['push'](_0x13c7ec['shift']());}}}(a65_0x15ed,0x6e0b5));import{createTextStyle,getColor}from'./common';function a65_0x3ba3(_0x3d26a5,_0x40fee6){const _0x15ed7b=a65_0x15ed();return a65_0x3ba3=function(_0x3ba355,_0x1ed0ba){_0x3ba355=_0x3ba355-0x90;let _0x29717d=_0x15ed7b[_0x3ba355];return _0x29717d;},a65_0x3ba3(_0x3d26a5,_0x40fee6);}import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';function a65_0x15ed(){const _0x33b804=['strokeStyle','billboard','glow','context','LineString','beginPath','white','outlineOpacity','1964SohEQM','dash','label','stroke','concat','lineWidth','save','outlineColor','getType','push','pow','5225538BCQtgG','atan2','10xOjuPx','show','butt','glowPower','4312380byVLcJ','sin','getCoordinates','5sjpqSU','length','11gnikxS','setGeometry','getGeometry','opacity','cos','zIndex','getFlatMidpoints','138wRDrnA','7UuzOYr','3515368tcdzoa','MultiLineString','toString','restore','closed','lineType','1365756XzscPH','lineTo','arrow','getFlatMidpoint','outlineWidth','moveTo','7689789rlzllP','color','shadowBlur','width','lineCap','setRenderer','3239792DsLbTE'];a65_0x15ed=function(){return _0x33b804;};return a65_0x15ed();}export function getPolylineStyle(_0x325b44,_0xc53bd1,_0x4e31d4,_0x1896d0){const _0x9ff01=a65_0x3ba3;var _0xdaa6a0,_0x315f30,_0xf3ab45;let _0xd12d76=(_0xdaa6a0=_0x325b44[_0x9ff01(0xa0)])!==null&&_0xdaa6a0!==void 0x0?_0xdaa6a0:0x0;const _0x1fb350=_0x523e34=>{const _0x49d1f2=_0x9ff01;var _0x23850b=_0x523e34[_0x49d1f2(0x9d)]();if(_0x23850b)return _getRealPolyline(_0x23850b,_0x325b44);return _0x23850b;},_0x4e8ff0=_0x2b1cda=>{const _0x1c063f=_0x9ff01;var _0x21f605=_0x2b1cda['getGeometry']();let _0x509dcd=_0x21f605;_0x21f605&&(_0x509dcd=_getRealPolyline(_0x21f605,_0x325b44));if(_0x509dcd&&_0x509dcd[_0x1c063f(0xc7)]()===_0x1c063f(0xbb))return new Point(_0x509dcd[_0x1c063f(0xad)]());else{let _0xeead1f=_0x509dcd[_0x1c063f(0xa1)](),_0x369ebd=0x2,_0x507629=[];for(let _0x107325=0x0,_0x4ed4ff=_0xeead1f[_0x1c063f(0x9a)];_0x107325<_0x4ed4ff;_0x107325+=_0x369ebd){let _0x259b7e=[_0xeead1f[_0x107325],_0xeead1f[_0x107325+0x1]];_0x507629[_0x1c063f(0xc8)](_0x259b7e);}return new MultiPoint(_0x507629);}};let _0x9331d6=new Style({'geometry':_0x1fb350,'stroke':new Stroke({'color':getColor(_0x325b44[_0x9ff01(0xb1)],_0x325b44[_0x9ff01(0x9e)]),'width':_0x325b44[_0x9ff01(0xb3)]}),'zIndex':_0xd12d76}),_0x1c3ec0=[_0x9331d6];if(_0x325b44[_0x9ff01(0xa9)]===_0x9ff01(0xc0)){let _0x598dae=_0x325b44['outlineWidth']/0x2,_0x3ece3e=new Style({'geometry':_0x1fb350,'zIndex':_0xd12d76,'stroke':new Stroke({'color':getColor(_0x325b44[_0x9ff01(0xb1)],_0x325b44[_0x9ff01(0x9e)]),'width':_0x325b44[_0x9ff01(0xb3)],'lineCap':_0x9ff01(0x94),'lineDash':[_0x598dae,_0x598dae]})}),_0x38a20a=new Style({'geometry':_0x1fb350,'zIndex':_0xd12d76+0.5,'stroke':new Stroke({'color':getColor(_0x325b44['outlineColor'],Number((_0xf3ab45=(_0x315f30=_0x325b44[_0x9ff01(0xbe)])!==null&&_0x315f30!==void 0x0?_0x315f30:_0x325b44[_0x9ff01(0x9e)])!==null&&_0xf3ab45!==void 0x0?_0xf3ab45:0x1)),'width':_0x325b44[_0x9ff01(0xb3)],'lineCap':_0x9ff01(0x94),'lineDash':[_0x598dae,_0x598dae],'lineDashOffset':_0x598dae})});_0x1c3ec0=[_0x3ece3e,_0x38a20a];}_0x325b44[_0x9ff01(0xa9)]===_0x9ff01(0xac)&&_0x9331d6[_0x9ff01(0xb5)]((_0x5d74c6,_0x336734)=>{const _0x57eb4b=_0x9ff01;let _0xd7b06e=_0x336734[_0x57eb4b(0xba)],_0x4be13b=parseInt((_0x325b44['width']/0x4)[_0x57eb4b(0xa6)]()),_0x3cc633=0xa,_0x3b3fff=Math['sqrt'](Math[_0x57eb4b(0xc9)](_0x3cc633,0x2)+Math[_0x57eb4b(0xc9)](_0x325b44[_0x57eb4b(0xb3)]/0x2,0x2)),_0x37a87c=0x2d,_0x413eee=_0x5d74c6[_0x5d74c6['length']-0x2][0x0],_0x5c9394=_0x5d74c6[_0x5d74c6[_0x57eb4b(0x9a)]-0x2][0x1],_0x1b93a8=_0x5d74c6[_0x5d74c6[_0x57eb4b(0x9a)]-0x1][0x0],_0x47d360=_0x5d74c6[_0x5d74c6[_0x57eb4b(0x9a)]-0x1][0x1],_0x51692e=Math[_0x57eb4b(0x91)](_0x5c9394-_0x47d360,_0x413eee-_0x1b93a8)*0xb4/Math['PI'],_0x2aeb9e=(_0x51692e+_0x37a87c)*Math['PI']/0xb4,_0x128091=(_0x51692e-_0x37a87c)*Math['PI']/0xb4,_0x3318fc=_0x3b3fff*Math[_0x57eb4b(0x9f)](_0x2aeb9e),_0x57170e=_0x3b3fff*Math[_0x57eb4b(0x97)](_0x2aeb9e),_0x477893=_0x3b3fff*Math[_0x57eb4b(0x9f)](_0x128091),_0x5e3524=_0x3b3fff*Math[_0x57eb4b(0x97)](_0x128091);_0xd7b06e['save'](),_0xd7b06e['beginPath']();let _0x217a86,_0x3f6e54;for(let _0x10a803=0x0;_0x10a803<_0x5d74c6[_0x57eb4b(0x9a)];_0x10a803++){_0x10a803===0x0?_0xd7b06e[_0x57eb4b(0xaf)](_0x5d74c6[_0x10a803][0x0],_0x5d74c6[_0x10a803][0x1]):_0xd7b06e[_0x57eb4b(0xab)](_0x5d74c6[_0x10a803][0x0],_0x5d74c6[_0x10a803][0x1]);}_0xd7b06e['strokeStyle']=getColor(_0x325b44[_0x57eb4b(0xb1)],_0x325b44[_0x57eb4b(0x9e)]),_0xd7b06e['lineWidth']=_0x4be13b,_0xd7b06e[_0x57eb4b(0xb4)]=_0x57eb4b(0x94),_0xd7b06e[_0x57eb4b(0xc2)](),_0x217a86=_0x1b93a8+_0x3318fc,_0x3f6e54=_0x47d360+_0x57170e,_0xd7b06e[_0x57eb4b(0xaf)](_0x217a86,_0x3f6e54),_0xd7b06e[_0x57eb4b(0xab)](_0x1b93a8,_0x47d360),_0x217a86=_0x1b93a8+_0x477893,_0x3f6e54=_0x47d360+_0x5e3524,_0xd7b06e[_0x57eb4b(0xab)](_0x217a86,_0x3f6e54),_0xd7b06e[_0x57eb4b(0xb4)]='butt',_0xd7b06e[_0x57eb4b(0xc2)](),_0xd7b06e[_0x57eb4b(0xa7)]();});_0x325b44[_0x9ff01(0xa9)]===_0x9ff01(0xb9)&&_0x9331d6[_0x9ff01(0xb5)]((_0x1281a1,_0x4e8b46)=>{const _0x502395=_0x9ff01;let _0x54ce8c=_0x4e8b46[_0x502395(0xba)];_0x54ce8c[_0x502395(0xc5)]();for(let _0x5041d6=0x0;_0x5041d6<0x4;_0x5041d6++){let _0x5a0aa6=_0x325b44[_0x502395(0xb3)]/0xa*(_0x325b44[_0x502395(0x95)]===0x0?0x1:_0x325b44[_0x502395(0x95)]);_0x54ce8c['shadowColor']=getColor(_0x325b44[_0x502395(0xb1)],_0x325b44[_0x502395(0x9e)]),_0x54ce8c[_0x502395(0xb2)]=_0x325b44[_0x502395(0xb3)]/0x5*0x2,_0x54ce8c[_0x502395(0xbc)]();for(let _0x5e8eac=0x0;_0x5e8eac<_0x1281a1[_0x502395(0x9a)];_0x5e8eac++){_0x5e8eac===0x0?_0x54ce8c[_0x502395(0xaf)](_0x1281a1[_0x5e8eac][0x0],_0x1281a1[_0x5e8eac][0x1]):_0x54ce8c[_0x502395(0xab)](_0x1281a1[_0x5e8eac][0x0],_0x1281a1[_0x5e8eac][0x1]);}_0x54ce8c['lineCap']=_0x502395(0x94),_0x54ce8c[_0x502395(0xc4)]=_0x5a0aa6,_0x54ce8c[_0x502395(0xb7)]=getColor(_0x502395(0xbd),_0x325b44[_0x502395(0x9e)]),_0x54ce8c[_0x502395(0xc2)]();}_0x54ce8c['restore']();});_0x325b44[_0x9ff01(0xa9)]==='outline'&&_0x9331d6[_0x9ff01(0xb5)]((_0x11043a,_0x4ac765)=>{const _0x296c6c=_0x9ff01;let _0x30f206=_0x4ac765[_0x296c6c(0xba)];_0x30f206[_0x296c6c(0xc5)](),_0x30f206['beginPath']();for(let _0x16bb39=0x0;_0x16bb39<_0x11043a['length'];_0x16bb39++){_0x16bb39===0x0?_0x30f206[_0x296c6c(0xaf)](_0x11043a[_0x16bb39][0x0],_0x11043a[_0x16bb39][0x1]):_0x30f206['lineTo'](_0x11043a[_0x16bb39][0x0],_0x11043a[_0x16bb39][0x1]);}_0x30f206[_0x296c6c(0xb4)]=_0x296c6c(0x94),_0x30f206[_0x296c6c(0xc4)]=_0x325b44[_0x296c6c(0xb3)],_0x30f206['strokeStyle']=getColor(_0x325b44[_0x296c6c(0xc6)],_0x325b44[_0x296c6c(0x9e)]),_0x30f206[_0x296c6c(0xc2)](),_0x30f206[_0x296c6c(0xbc)]();for(let _0x59800a=0x0;_0x59800a<_0x11043a[_0x296c6c(0x9a)];_0x59800a++){_0x59800a===0x0?_0x30f206['moveTo'](_0x11043a[_0x59800a][0x0],_0x11043a[_0x59800a][0x1]):_0x30f206[_0x296c6c(0xab)](_0x11043a[_0x59800a][0x0],_0x11043a[_0x59800a][0x1]);}_0x30f206[_0x296c6c(0xb4)]=_0x296c6c(0x94),_0x325b44['outlineWidth']>=_0x325b44['width']&&(_0x325b44[_0x296c6c(0xae)]=_0x325b44[_0x296c6c(0xb3)]-0x1),_0x30f206['lineWidth']=_0x325b44[_0x296c6c(0xb3)]-_0x325b44[_0x296c6c(0xae)],_0x30f206[_0x296c6c(0xb7)]=getColor(_0x325b44[_0x296c6c(0xb1)],_0x325b44[_0x296c6c(0x9e)]),_0x30f206[_0x296c6c(0xc2)](),_0x30f206[_0x296c6c(0xa7)]();});let _0x1ae610=getImageOlStyle(_0x325b44[_0x9ff01(0xb8)],_0xd12d76,_0x4e31d4,_0x1896d0);_0x1ae610&&(_0x1ae610[_0x9ff01(0x9c)](_0x4e8ff0),_0x1c3ec0[_0x9ff01(0xc8)](_0x1ae610));if(_0x325b44['label']&&_0x325b44[_0x9ff01(0xc1)][_0x9ff01(0x93)]!==![]){let _0x558122=new Style({'geometry':_0x4e8ff0,'text':createTextStyle(_0x325b44[_0x9ff01(0xc1)],_0xc53bd1,_0x4e31d4,_0x1896d0),'zIndex':Number(_0xd12d76)+0x1});_0x1c3ec0['push'](_0x558122);}return _0x1c3ec0;}function _getRealPolyline(_0x525108,_0x3b1a94){const _0x55f29b=a65_0x3ba3;if(!(_0x3b1a94===null||_0x3b1a94===void 0x0?void 0x0:_0x3b1a94[_0x55f29b(0xa8)]))return _0x525108;else{if(_0x525108['getType']()===_0x55f29b(0xa5)){let _0x2b28dc=_0x525108[_0x55f29b(0x98)]();for(let _0x3217f6 in _0x2b28dc){let _0x260593=_0x2b28dc[_0x3217f6];_0x2b28dc[_0x3217f6]=_0x260593['concat']([_0x260593[0x0]]);}return new MultiLineString(_0x2b28dc);}else return new LineString(_0x525108[_0x55f29b(0x98)]()[_0x55f29b(0xc3)]([_0x525108['getFirstCoordinate']()]));}}
@@ -1 +1 @@
1
- (function(_0x1c9506,_0x2fbb6c){const _0x118e44=a66_0x498d,_0x655ae1=_0x1c9506();while(!![]){try{const _0x2852a1=-parseInt(_0x118e44(0x13b))/0x1*(-parseInt(_0x118e44(0x136))/0x2)+-parseInt(_0x118e44(0x138))/0x3+parseInt(_0x118e44(0x146))/0x4+-parseInt(_0x118e44(0x14c))/0x5+-parseInt(_0x118e44(0x149))/0x6+parseInt(_0x118e44(0x13c))/0x7+-parseInt(_0x118e44(0x140))/0x8*(-parseInt(_0x118e44(0x14a))/0x9);if(_0x2852a1===_0x2fbb6c)break;else _0x655ae1['push'](_0x655ae1['shift']());}catch(_0x1b6859){_0x655ae1['push'](_0x655ae1['shift']());}}}(a66_0x5bc3,0xead83));import a66_0x783332 from'ol/style/Circle';import a66_0x7cbc50 from'ol/style/Fill';function a66_0x498d(_0x431588,_0x201c18){const _0x5bc351=a66_0x5bc3();return a66_0x498d=function(_0x498dd7,_0x620ea5){_0x498dd7=_0x498dd7-0x136;let _0x277d90=_0x5bc351[_0x498dd7];return _0x277d90;},a66_0x498d(_0x431588,_0x201c18);}import a66_0x473ba1 from'ol/style/Stroke';function a66_0x5bc3(){const _0x21167f=['LineString','4604952Rifyuh','rgba(121,\x20243,\x20238,\x201)','text','6228738KCxJrc','6411789FVXvBL','rgba(121,\x20243,\x20238,\x200.3)','8339195yTHxbT','Polygon','1112xqhJOt','setFill','5298846ZrLsWx','rgba(0,\x20255,0,\x200)','MultiPoint','3259UeTrnq','2335634Myzohv','MultiPolygon','outlineOpacity','rgba(0,\x20255,0,\x201)','24ooeNhx','opacity','rgba(121,\x20243,\x20238,\x200)','outlineColor','setStroke'];a66_0x5bc3=function(){return _0x21167f;};return a66_0x5bc3();}import a66_0x1d6f9d from'ol/style/Style';import{createTextStyle,getColor}from'./common';export function getSelectPointStyle(){const _0x56d84c=a66_0x498d;return new a66_0x1d6f9d({'image':new a66_0x783332({'radius':0x5,'fill':new a66_0x7cbc50({'color':'rgba(121,\x20243,\x20238,\x201)'}),'stroke':new a66_0x473ba1({'color':_0x56d84c(0x147),'width':0x1})})});}export function getSelectCancePointStyle(){const _0x9d8fc5=a66_0x498d;return new a66_0x1d6f9d({'image':new a66_0x783332({'radius':0x5,'fill':new a66_0x7cbc50({'color':_0x9d8fc5(0x142)}),'stroke':new a66_0x473ba1({'color':_0x9d8fc5(0x147),'width':0x1})})});}export function getSelectLineStyle(){return new a66_0x1d6f9d({'stroke':new a66_0x473ba1({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x2})});}export function getSelectCancelLineStyle(){return new a66_0x1d6f9d({'stroke':new a66_0x473ba1({'color':'rgba(0,\x20255,0,\x201)','width':0x2})});}export function getSelectPolygonStyle(){const _0x55e38a=a66_0x498d;return new a66_0x1d6f9d({'stroke':new a66_0x473ba1({'color':_0x55e38a(0x147),'width':0x2}),'fill':new a66_0x7cbc50({'color':_0x55e38a(0x14b)})});}export function getSelectCancelPolygonStyle(){const _0x3fd5f7=a66_0x498d;return new a66_0x1d6f9d({'stroke':new a66_0x473ba1({'color':_0x3fd5f7(0x13f),'width':0x2}),'fill':new a66_0x7cbc50({'color':_0x3fd5f7(0x139)})});}export function getStyle(_0x423151){const _0x455912=a66_0x498d;if(_0x423151){if(_0x423151[_0x455912(0x148)])return new a66_0x1d6f9d({'text':createTextStyle(_0x423151,_0x423151[_0x455912(0x148)]),'zIndex':0x1});else{const _0x3c95e7=new a66_0x1d6f9d();return _0x423151[_0x455912(0x143)]&&_0x3c95e7[_0x455912(0x144)](new a66_0x473ba1({'color':getColor(_0x423151[_0x455912(0x143)],_0x423151[_0x455912(0x13e)]),'width':_0x423151['outlineWidth']||0x1})),_0x423151['color']&&_0x3c95e7[_0x455912(0x137)](new a66_0x7cbc50({'color':getColor(_0x423151['fill'],_0x423151[_0x455912(0x141)])})),_0x3c95e7;}}return new a66_0x1d6f9d({'stroke':new a66_0x473ba1({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x2}),'fill':new a66_0x7cbc50({'color':_0x455912(0x14b)})});}export function getSelectStyle(_0x3fba2e){const _0x114eef=a66_0x498d;let _0x563832=getSelectPolygonStyle();switch(_0x3fba2e){case _0x114eef(0x13d):case _0x114eef(0x14d):_0x563832=getSelectPolygonStyle();break;case'MultiLineString':case _0x114eef(0x145):_0x563832=getSelectLineStyle();break;case _0x114eef(0x13a):case'Point':_0x563832=getSelectPointStyle();break;default:break;}return _0x563832;}
1
+ (function(_0x2bfc97,_0x202a03){const _0x5bc084=a66_0x963e,_0x5df813=_0x2bfc97();while(!![]){try{const _0x11ddc5=parseInt(_0x5bc084(0x1d1))/0x1+-parseInt(_0x5bc084(0x1df))/0x2*(parseInt(_0x5bc084(0x1e5))/0x3)+-parseInt(_0x5bc084(0x1cf))/0x4+-parseInt(_0x5bc084(0x1d7))/0x5+parseInt(_0x5bc084(0x1e4))/0x6*(parseInt(_0x5bc084(0x1d6))/0x7)+-parseInt(_0x5bc084(0x1de))/0x8+parseInt(_0x5bc084(0x1dc))/0x9;if(_0x11ddc5===_0x202a03)break;else _0x5df813['push'](_0x5df813['shift']());}catch(_0x443599){_0x5df813['push'](_0x5df813['shift']());}}}(a66_0x5d09,0x1e21b));import a66_0x489f28 from'ol/style/Circle';import a66_0x1a4a2e from'ol/style/Fill';function a66_0x963e(_0x35f32e,_0x3b330a){const _0x5d0971=a66_0x5d09();return a66_0x963e=function(_0x963ef5,_0x475be9){_0x963ef5=_0x963ef5-0x1cf;let _0x7e1c04=_0x5d0971[_0x963ef5];return _0x7e1c04;},a66_0x963e(_0x35f32e,_0x3b330a);}import a66_0x37cb9f from'ol/style/Stroke';import a66_0x4bb477 from'ol/style/Style';function a66_0x5d09(){const _0x3b1a1c=['fill','29046hgrACE','682296TltXNT','color','rgba(0,\x20255,0,\x201)','81524fkopfH','rgba(0,\x20255,0,\x200)','30755eiccxo','setStroke','text','outlineWidth','LineString','175Czyrbs','724050lRnuFm','rgba(121,\x20243,\x20238,\x201)','opacity','MultiPolygon','outlineOpacity','4100940ZIprQq','Polygon','731184ztVOui','2KyERpX','rgba(121,\x20243,\x20238,\x200.3)','rgba(121,\x20243,\x20238,\x200)','outlineColor'];a66_0x5d09=function(){return _0x3b1a1c;};return a66_0x5d09();}import{createTextStyle,getColor}from'./common';export function getSelectPointStyle(){const _0x4a3138=a66_0x963e;return new a66_0x4bb477({'image':new a66_0x489f28({'radius':0x5,'fill':new a66_0x1a4a2e({'color':'rgba(121,\x20243,\x20238,\x201)'}),'stroke':new a66_0x37cb9f({'color':_0x4a3138(0x1d8),'width':0x1})})});}export function getSelectCancePointStyle(){const _0x18ce41=a66_0x963e;return new a66_0x4bb477({'image':new a66_0x489f28({'radius':0x5,'fill':new a66_0x1a4a2e({'color':_0x18ce41(0x1e1)}),'stroke':new a66_0x37cb9f({'color':_0x18ce41(0x1d8),'width':0x1})})});}export function getSelectLineStyle(){const _0x8a7319=a66_0x963e;return new a66_0x4bb477({'stroke':new a66_0x37cb9f({'color':_0x8a7319(0x1d8),'width':0x2})});}export function getSelectCancelLineStyle(){const _0x56d0df=a66_0x963e;return new a66_0x4bb477({'stroke':new a66_0x37cb9f({'color':_0x56d0df(0x1e7),'width':0x2})});}export function getSelectPolygonStyle(){const _0x4ffbb2=a66_0x963e;return new a66_0x4bb477({'stroke':new a66_0x37cb9f({'color':_0x4ffbb2(0x1d8),'width':0x2}),'fill':new a66_0x1a4a2e({'color':_0x4ffbb2(0x1e0)})});}export function getSelectCancelPolygonStyle(){const _0x32f756=a66_0x963e;return new a66_0x4bb477({'stroke':new a66_0x37cb9f({'color':_0x32f756(0x1e7),'width':0x2}),'fill':new a66_0x1a4a2e({'color':_0x32f756(0x1d0)})});}export function getStyle(_0x2e5283){const _0x491fb8=a66_0x963e;if(_0x2e5283){if(_0x2e5283[_0x491fb8(0x1d3)])return new a66_0x4bb477({'text':createTextStyle(_0x2e5283,_0x2e5283['text']),'zIndex':0x1});else{const _0x18895f=new a66_0x4bb477();return _0x2e5283[_0x491fb8(0x1e2)]&&_0x18895f[_0x491fb8(0x1d2)](new a66_0x37cb9f({'color':getColor(_0x2e5283[_0x491fb8(0x1e2)],_0x2e5283[_0x491fb8(0x1db)]),'width':_0x2e5283[_0x491fb8(0x1d4)]||0x1})),_0x2e5283[_0x491fb8(0x1e6)]&&_0x18895f['setFill'](new a66_0x1a4a2e({'color':getColor(_0x2e5283[_0x491fb8(0x1e3)],_0x2e5283[_0x491fb8(0x1d9)])})),_0x18895f;}}return new a66_0x4bb477({'stroke':new a66_0x37cb9f({'color':_0x491fb8(0x1d8),'width':0x2}),'fill':new a66_0x1a4a2e({'color':_0x491fb8(0x1e0)})});}export function getSelectStyle(_0x2b6970){const _0x328882=a66_0x963e;let _0x26f19e=getSelectPolygonStyle();switch(_0x2b6970){case _0x328882(0x1da):case _0x328882(0x1dd):_0x26f19e=getSelectPolygonStyle();break;case'MultiLineString':case _0x328882(0x1d5):_0x26f19e=getSelectLineStyle();break;case'MultiPoint':case'Point':_0x26f19e=getSelectPointStyle();break;default:break;}return _0x26f19e;}