ym-gis-2d 1.0.24 → 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.
- package/capabilities/index.js +1 -1
- package/controls/ControlManager.js +1 -1
- package/controls/LegendControl.js +1 -1
- package/controls/LegendControl.js.map +1 -1
- package/controls/MousePositionControl.js +1 -1
- package/controls/SwipeLayerControl.js +1 -1
- package/conver/kml/geoJSONToKml.js +1 -1
- package/conver/kml/index.js +1 -1
- package/conver/kml/kmlToGeoJSON.js +1 -1
- package/entity/Feature.js +1 -1
- package/entity/GeometryType.js +1 -1
- package/feature/FeatureManager.js +1 -1
- package/index.js +1 -1
- package/interaction/Draw.js +1 -1
- package/interaction/InteractionManager.js +1 -1
- package/interaction/Select.js +1 -1
- package/layers/ArcgisDynamicLayer.js +1 -1
- package/layers/ArcgisFeatureLayer.js +1 -1
- package/layers/ArcgisTileLayer.js +1 -1
- package/layers/ArcgisWMSLayer.js +1 -1
- package/layers/ArcgisWMTSLayer.js +1 -1
- package/layers/GeoserverVectorTile.js +1 -1
- package/layers/GeoserverWFSLayer.js +1 -1
- package/layers/GeoserverWMSLayer.js +1 -1
- package/layers/GeoserverWMTSLayer.js +1 -1
- package/layers/LayerManager.js +1 -1
- package/layers/TDTLayer.js +1 -1
- package/mapView/Map.js +1 -1
- package/mapView/View.js +1 -1
- package/package.json +1 -1
- package/plot/Plot.js +1 -1
- package/plot/geometry/point/Point.js +1 -1
- package/plot/geometry/polygon/BasePolygon.js +1 -1
- package/plot/geometry/polygon/Circle.js +1 -1
- package/plot/geometry/polygon/Polygon.js +1 -1
- package/plot/geometry/polygon/RectAngle.js +1 -1
- package/plot/geometry/polyline/BaseLine.js +1 -1
- package/plot/geometry/polyline/Polyline.js +1 -1
- package/style/PointStyleFormat.js +1 -1
- package/style/PolygonStyleFormat.js +1 -1
- package/style/PolylineStyleFormat.js +1 -1
- package/style/StyleManager.js +1 -1
- package/style/common.js +1 -1
- package/utils/ArrayUtil.js +1 -1
- package/utils/AxiosUtil.js +1 -1
- package/utils/EsriUtil.js +1 -1
- package/utils/GeometryUtil.d.ts +11 -3
- package/utils/GeometryUtil.d.ts.map +1 -1
- package/utils/GeometryUtil.js +1 -1
- package/utils/GeometryUtil.js.map +1 -1
- package/utils/LayerUtil.js +1 -1
- package/utils/RegisterProjUtil.js +1 -1
- package/utils/ResolutionUtil.js +1 -1
- package/utils/StringUtil.js +1 -1
- package/utils/StyleUtil.js +1 -1
- package/utils/UrlUtil.js +1 -1
- package/utils/XmlUtil.js +1 -1
- package/utils/format/CQL.js +1 -1
- package/utils/format/IsMatchCql.js +1 -1
- package/utils/plug/canvas/ImageCache.js +1 -1
- package/utils/plug/canvas/PinBuilder.js +1 -1
- package/utils/plug/canvas/PinIcon.js +1 -1
- package/utils/plug/canvas/writeTextToCanvas.js +1 -1
- package/utils/tasks/esri/Identify.js +1 -1
- package/utils/tasks/esri/Query.js +1 -1
- package/utils/tasks/esri/Task.js +1 -1
- package/utils/tasks/geoserver/QueryTask.js +1 -1
- package/utils/tasks/index.d.ts.map +1 -1
- package/utils/tasks/index.js +1 -1
- package/utils/tasks/index.js.map +1 -1
- package/ym-gis-2d.es.js +1 -1
- package/ym-gis-2d.umd.js +1 -1
package/layers/LayerManager.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a50_0x59236c=a50_0x3049;(function(_0x2b6095,_0x39f4eb){const _0x12c154=a50_0x3049,_0x3d920b=_0x2b6095();while(!![]){try{const _0x50e8d2=-parseInt(_0x12c154(0x1d5))/0x1*(parseInt(_0x12c154(0x1e3))/0x2)+-parseInt(_0x12c154(0x1d6))/0x3+parseInt(_0x12c154(0x1d0))/0x4+-parseInt(_0x12c154(0x1e2))/0x5*(-parseInt(_0x12c154(0x1e1))/0x6)+-parseInt(_0x12c154(0x1d1))/0x7*(parseInt(_0x12c154(0x1da))/0x8)+-parseInt(_0x12c154(0x1dd))/0x9+-parseInt(_0x12c154(0x1df))/0xa*(-parseInt(_0x12c154(0x1d3))/0xb);if(_0x50e8d2===_0x39f4eb)break;else _0x3d920b['push'](_0x3d920b['shift']());}catch(_0x33d270){_0x3d920b['push'](_0x3d920b['shift']());}}}(a50_0x1d75,0xae5e5));import a50_0x48812f from'./ArcgisDynamicLayer';function a50_0x1d75(){const _0x107683=['getGeoserverWFSLayer','2165884lFREJU','154cCDiQt','getGeoserverWMTSLayer','40987397cmSACw','push','3927IJuHvp','758628hytElG','getDynamicLayer','getGeoserverVectorTileLayer','sublayers','514392ruWVRu','getArcgisWMTSLayer','url','6091191pupkOJ','getArcgisFeatureLayer','10eEPhMW','getArcgisWmsLayer','234JgUCeN','3070yoCMYV','628kBhbrb','getGeoserverWmsLayer'];a50_0x1d75=function(){return _0x107683;};return a50_0x1d75();}import a50_0x5f3c63 from'./ArcgisFeatureLayer';import a50_0x396b02 from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a50_0x413041 from'./ArcgisTileLayer';function a50_0x3049(_0x1b4bfc,_0xb9bbe0){const _0x1d75d0=a50_0x1d75();return a50_0x3049=function(_0x304981,_0x14a440){_0x304981=_0x304981-0x1ce;let _0x2527cc=_0x1d75d0[_0x304981];return _0x2527cc;},a50_0x3049(_0x1b4bfc,_0xb9bbe0);}import a50_0x30dc73 from'./GeoserverWMSLayer';import a50_0xa6d65a from'./GeoserverWMTSLayer';import a50_0x46643b from'./ArcgisWMSLayer';import a50_0x470d04 from'./ArcgisWMTSLayer';import a50_0x4b0c7b from'./GeoserverWFSLayer';import a50_0x381e83 from'./GeoserverVectorTile';export default class LayerManagement{static async[a50_0x59236c(0x1d7)](_0x2ff474){const _0x1b33ed=a50_0x59236c,_0x4dc5ca=await getDynamicLayerInfo(_0x2ff474['url']?_0x2ff474[_0x1b33ed(0x1dc)]:'');let _0x42f5b9=new a50_0x48812f(_0x2ff474,_0x4dc5ca);return _0x42f5b9;}static async['getArcgisTileLayer'](_0x58d396){const _0x2e8db7=a50_0x59236c,_0x33f6b1=await getDynamicLayerInfo(_0x58d396[_0x2e8db7(0x1dc)]?_0x58d396['url']:'');let _0x1b591d=new a50_0x413041(_0x58d396,_0x33f6b1);return _0x1b591d;}static async[a50_0x59236c(0x1de)](_0x13b4ea){const _0x223634=a50_0x59236c,_0x54ece0=await getDynamicLayerInfo(_0x13b4ea[_0x223634(0x1dc)]?_0x13b4ea['url']:'');let _0x51fc7d=[];if(_0x13b4ea[_0x223634(0x1d9)])for(let _0x370002=0x0;_0x370002<_0x13b4ea[_0x223634(0x1d9)]['length'];_0x370002++){const _0x2d5920=_0x13b4ea[_0x223634(0x1d9)][_0x370002];_0x51fc7d[_0x223634(0x1d4)](await getFeatureLayerInfo(_0x13b4ea[_0x223634(0x1dc)]?_0x13b4ea[_0x223634(0x1dc)]:'',_0x2d5920));}let _0x2b27ff=new a50_0x5f3c63(_0x13b4ea,_0x54ece0,_0x51fc7d);return _0x2b27ff;}static async[a50_0x59236c(0x1e0)](_0x2ad8c3){const _0x9052fe=a50_0x59236c;var _0x5df5c4;const _0x1c9a95=(_0x5df5c4=_0x2ad8c3['sublayers'])===null||_0x5df5c4===void 0x0?void 0x0:_0x5df5c4[0x0],_0x5c28b7=await getWMSLayerCapabilities(_0x2ad8c3[_0x9052fe(0x1dc)]?_0x2ad8c3['url']:'',_0x1c9a95==null?'':_0x1c9a95);let _0xf460b7=new a50_0x46643b(_0x2ad8c3,_0x5c28b7);return _0xf460b7;}static async[a50_0x59236c(0x1db)](_0x58fb3a){const _0x48f6b9=a50_0x59236c;var _0x3c30d4;const _0x10f7ea=(_0x3c30d4=_0x58fb3a[_0x48f6b9(0x1d9)])===null||_0x3c30d4===void 0x0?void 0x0:_0x3c30d4[0x0],_0x4629a0=await getWMTSLayerCapabilities(_0x58fb3a['url']?_0x58fb3a['url']:'',_0x10f7ea==null?'':_0x10f7ea);let _0x1f8bf3=new a50_0x470d04(_0x58fb3a,_0x4629a0);return _0x1f8bf3;}static async[a50_0x59236c(0x1ce)](_0x501fef){const _0x24ca5c=a50_0x59236c;var _0x29a6b9;const _0x1db060=(_0x29a6b9=_0x501fef[_0x24ca5c(0x1d9)])===null||_0x29a6b9===void 0x0?void 0x0:_0x29a6b9[0x0],_0x202a90=await getWMSLayerCapabilities(_0x501fef[_0x24ca5c(0x1dc)]?_0x501fef[_0x24ca5c(0x1dc)]:'',_0x1db060==null?'':_0x1db060);let _0xd9b575=new a50_0x30dc73(_0x501fef,_0x202a90);return _0xd9b575;}static async[a50_0x59236c(0x1d2)](_0x4aed53){const _0x5cc3cd=a50_0x59236c;var _0x4d1648;const _0x5b23c9=(_0x4d1648=_0x4aed53[_0x5cc3cd(0x1d9)])===null||_0x4d1648===void 0x0?void 0x0:_0x4d1648[0x0],_0x1ba6a6=await getWMTSLayerCapabilities(_0x4aed53[_0x5cc3cd(0x1dc)]?_0x4aed53[_0x5cc3cd(0x1dc)]:'',_0x5b23c9==null?'':_0x5b23c9);let _0x143e06=new a50_0xa6d65a(_0x4aed53,_0x1ba6a6);return _0x143e06;}static async[a50_0x59236c(0x1cf)](_0x2de324){const _0x533684=a50_0x59236c;var _0x1c4df2;const _0x48e5a7=(_0x1c4df2=_0x2de324[_0x533684(0x1d9)])===null||_0x1c4df2===void 0x0?void 0x0:_0x1c4df2[0x0],_0x12d8c5=await getWFSLayerCapabilities(_0x2de324['url']?_0x2de324[_0x533684(0x1dc)]:'',_0x48e5a7==null?'':_0x48e5a7);let _0x306a06=new a50_0x4b0c7b(_0x2de324,_0x12d8c5);return _0x306a06;}static async[a50_0x59236c(0x1d8)](_0x585521){const _0x3958d6=a50_0x59236c;var _0x486947;const _0x16af4b=(_0x486947=_0x585521['sublayers'])===null||_0x486947===void 0x0?void 0x0:_0x486947[0x0],_0x3b8c3a=await getWMTSLayerCapabilities(_0x585521['url']?_0x585521[_0x3958d6(0x1dc)]:'',_0x16af4b==null?'':_0x16af4b);let _0x5b4789=new a50_0x381e83(_0x585521,_0x3b8c3a);return _0x5b4789;}static async['getTDTLayer'](_0x5dc68a){const _0x477f76=a50_0x59236c;var _0x4d5af5;const _0x2b378c=(_0x4d5af5=_0x5dc68a[_0x477f76(0x1d9)])===null||_0x4d5af5===void 0x0?void 0x0:_0x4d5af5[0x0],_0x2d56f1=await getWMTSLayerCapabilities(_0x5dc68a[_0x477f76(0x1dc)]?_0x5dc68a['url']:'',_0x2b378c==null?'':_0x2b378c);let _0x5071e8=new a50_0x396b02(_0x5dc68a,_0x2d56f1);return _0x5071e8;}}
|
package/layers/TDTLayer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x53680c,_0x476795){const _0x514a43=a51_0x5ad2,_0x3c516d=_0x53680c();while(!![]){try{const _0x3c42b8=-parseInt(_0x514a43(0x1f9))/0x1+-parseInt(_0x514a43(0x1ee))/0x2*(-parseInt(_0x514a43(0x1f2))/0x3)+parseInt(_0x514a43(0x1ed))/0x4+parseInt(_0x514a43(0x1f8))/0x5+-parseInt(_0x514a43(0x1ea))/0x6+-parseInt(_0x514a43(0x1f1))/0x7*(-parseInt(_0x514a43(0x201))/0x8)+parseInt(_0x514a43(0x1ec))/0x9*(parseInt(_0x514a43(0x1fe))/0xa);if(_0x3c42b8===_0x476795)break;else _0x3c516d['push'](_0x3c516d['shift']());}catch(_0xc5b0f){_0x3c516d['push'](_0x3c516d['shift']());}}}(a51_0x221a,0xf0d1c));import a51_0x372a68 from'ol/layer/Tile';import{WMTS as a51_0x2e2ffc}from'ol/source';import a51_0x4a3ead from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a51_0x372a68{constructor(_0x22e86a,_0x1469e6){const _0x34d3e2=a51_0x5ad2;let _0x96b103='';_0x22e86a['sublayers']&&_0x22e86a[_0x34d3e2(0x1f4)][_0x34d3e2(0x1ef)]>0x0&&(_0x96b103=_0x22e86a[_0x34d3e2(0x1f4)][_0x34d3e2(0x1fa)](','));const _0x247c24=_0x34d3e2(0x1fb);let _0x3d7fed=registerProj(_0x247c24);const _0x3a8f10=[],_0x28731e=[];for(let _0x12ceca=0x1;_0x12ceca<0x13;_0x12ceca++){_0x3a8f10[_0x12ceca]=getWidth(_0x1469e6['boundingBoxExtent'])/(0x100*Math[_0x34d3e2(0x1fd)](0x2,_0x12ceca)),_0x28731e[_0x12ceca]=_0x12ceca+'';}super({'opacity':_0x22e86a[_0x34d3e2(0x1f7)],'zIndex':_0x22e86a[_0x34d3e2(0x1fc)],'source':new a51_0x2e2ffc({'style':_0x1469e6[_0x34d3e2(0x1f5)],'url':_0x22e86a[_0x34d3e2(0x200)],'tileGrid':new a51_0x4a3ead({'origin':getTopLeft(_0x1469e6['boundingBoxExtent']),'resolutions':_0x3a8f10,'matrixIds':_0x28731e}),'layer':_0x96b103,'matrixSet':_0x1469e6['tileMatrixSet'],'version':_0x34d3e2(0x1e9),'format':_0x1469e6[_0x34d3e2(0x1eb)][0x0],'projection':_0x247c24,'requestEncoding':_0x34d3e2(0x1f3)})}),this['id']=_0x22e86a['id'],this[_0x34d3e2(0x1f0)]=_0x1469e6[_0x34d3e2(0x1e8)],this[_0x34d3e2(0x1ff)]=_0x3d7fed,this[_0x34d3e2(0x1f6)]=_0x22e86a;}}function a51_0x5ad2(_0x70234e,_0x14664e){const _0x221a54=a51_0x221a();return a51_0x5ad2=function(_0x5ad2c6,_0x432cac){_0x5ad2c6=_0x5ad2c6-0x1e8;let _0x42b702=_0x221a54[_0x5ad2c6];return _0x42b702;},a51_0x5ad2(_0x70234e,_0x14664e);}function a51_0x221a(){const _0x1920e2=['join','EPSG:4490','mapIndex','pow','112650NooblJ','projection','url','40EZJCbG','boundingBoxExtent','1.0.0','11347854SvPgBI','format','477XzSxqk','620296SfRNyC','39818SsXpmW','length','initialExtent','2419970wOrlsI','207VcyYcL','KVP','sublayers','style','layerInfo','opacity','4913320omisQa','1959349FOgqZz'];a51_0x221a=function(){return _0x1920e2;};return a51_0x221a();}
|
package/mapView/Map.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a52_0x2b48d8=a52_0x3239;(function(_0x5881ba,_0x264050){const _0x2c250e=a52_0x3239,_0x38c11e=_0x5881ba();while(!![]){try{const _0x3de4dc=parseInt(_0x2c250e(0x80))/0x1*(-parseInt(_0x2c250e(0xb4))/0x2)+parseInt(_0x2c250e(0x95))/0x3+-parseInt(_0x2c250e(0xda))/0x4*(parseInt(_0x2c250e(0x81))/0x5)+parseInt(_0x2c250e(0xd7))/0x6+parseInt(_0x2c250e(0x8e))/0x7+parseInt(_0x2c250e(0x97))/0x8*(-parseInt(_0x2c250e(0xdf))/0x9)+parseInt(_0x2c250e(0x8b))/0xa;if(_0x3de4dc===_0x264050)break;else _0x38c11e['push'](_0x38c11e['shift']());}catch(_0x245498){_0x38c11e['push'](_0x38c11e['shift']());}}}(a52_0x1a14,0x19896));import'ol/ol.css';import'../assets/main.css';function a52_0x3239(_0x338779,_0x2d1653){const _0x1a1410=a52_0x1a14();return a52_0x3239=function(_0x32391e,_0x352a7c){_0x32391e=_0x32391e-0x73;let _0xc8021=_0x1a1410[_0x32391e];return _0xc8021;},a52_0x3239(_0x338779,_0x2d1653);}import a52_0x2c73e8 from'ol/Map';import a52_0x3a4e2c from'ol/events/Event';import{defaults as a52_0x59262d}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';function a52_0x1a14(){const _0x24bbb8=['getZIndex','getMetersPerUnit','flashGeometrys','transform','arcgis-feature','zoom','interactionManager','getGeoserverWFSLayer','getView','setProperties','Polygon','setMaxResolution','getLength','maxResolution','changetype','constrainResolution','addLayer','geoserver-wmts','getCoordinates','Point','addFeature','fitLayer','pointTempLayer','lineTempLayer','length','import','arcgis-wms','6ogcGyA','push','geoserver-wfs','getPointTempLayer','locationGeometry','getArcgisTileLayer','isSelected','locationGeometrys','dispatchEvent','layerType','projection','setCenter','geoserver-vector-tile','resetViewProjection','layerInfo','getPolygonTempLayer','getProjection','setGeometry','addWKT','controlManager','removeLayerById','getType','addWKTs','maxScale','getSize','MultiLineString','minScale','rgba(255,\x200,\x200,\x201)','】服务类型','getLayerById','removeLayer','fit','changelayer','addFeatures','getDynamicLayer','462756MjFHxg','maxZoom','getLayers','228604KyKmtb','minZoom','fitLayerById','getLineTempLayer','getTempLayerById','30051BVjGwy','tag','polygonTempLayer','geoserver-wms','calculateExtent','MultiPolygon','getGeoserverWmsLayer','getArray','rgba(255,\x200,\x200,\x200.2)','getCode','getExtent','getTDTLayer','setStyle','arcgis-wmts','add','getArcgisFeatureLayer','2315HpXqqb','5sAFafJ','EPSG:','GeometryCollection','center','insertAt','EPSG:4490','getSource','extent','tdt-c','getGeoserverWMTSLayer','853430OklJlX','setProjection','sortTemLayer','869554hwTclt','locationWKTs','addMapLayers','MultiPoint','_options','remove','getTempLayerByGeoType','257046Fgzlol','arcgis-tile','488WLtajg','addMapLayer'];a52_0x1a14=function(){return _0x24bbb8;};return a52_0x1a14();}import{transformExtent}from'ol/proj';import a52_0x4b59ee from'../layers/LayerManager';import a52_0x2b13ca from'ol/layer/Vector';import a52_0xdef04d from'ol/source/Vector';import a52_0x3b8ad5 from'../controls/ControlManager';import a52_0x1e0812 from'../entity/Feature';import a52_0x2b543e from'../interaction/InteractionManager';import a52_0xa6d28d from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a52_0x5a5720 from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a52_0x3a4e2c{constructor(_0x458964,_0x217405,_0x541f27){const _0x1d4902=a52_0x3239;super(_0x458964),this['layerIds']=_0x217405,this[_0x1d4902(0xa7)]=_0x541f27;}}export default class OLMap extends a52_0x2c73e8{constructor(_0x5e57ce,_0x5d9f0d,_0x12b711){const _0x15b816=a52_0x3239;_0x5d9f0d=_0x5d9f0d?_0x5d9f0d:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x112daa=_0x5d9f0d['projection']?_0x15b816(0x82)+_0x5d9f0d[_0x15b816(0xbe)]:_0x15b816(0x86);_0x5d9f0d[_0x15b816(0x9e)]=_0x5d9f0d['zoom']?_0x5d9f0d[_0x15b816(0x9e)]:0xa,_0x5d9f0d[_0x15b816(0xdb)]=_0x5d9f0d['minZoom']?_0x5d9f0d[_0x15b816(0xdb)]:0x0,_0x5d9f0d[_0x15b816(0xd8)]=_0x5d9f0d[_0x15b816(0xd8)]?_0x5d9f0d[_0x15b816(0xd8)]:0x1c,_0x5d9f0d[_0x15b816(0xa8)]=_0x5d9f0d['constrainResolution']?_0x5d9f0d['constrainResolution']:![],_0x5d9f0d['center']=_0x5d9f0d[_0x15b816(0x84)]?_0x5d9f0d['center']:[117.22718,31.820386],registerProj(_0x112daa);const _0x41cdea={'target':_0x5e57ce,'view':_0x12b711?_0x12b711:new a52_0xa6d28d({'center':_0x5d9f0d['center'],'zoom':_0x5d9f0d['zoom'],'projection':_0x112daa,'minZoom':_0x5d9f0d[_0x15b816(0xdb)],'maxZoom':_0x5d9f0d['maxZoom'],'minResolution':_0x5d9f0d['minResolution'],'maxResolution':_0x5d9f0d[_0x15b816(0xa6)],'constrainResolution':_0x5d9f0d['constrainResolution']}),'controls':a52_0x59262d({'zoom':![]})};super(_0x41cdea),_0x5d9f0d[_0x15b816(0x88)]&&this[_0x15b816(0xa1)]()['fit'](_0x5d9f0d[_0x15b816(0x88)]),this[_0x15b816(0x9f)]=new a52_0x2b543e(this),this[_0x15b816(0xc7)]=new a52_0x3b8ad5(this),this[_0x15b816(0x92)]=_0x5d9f0d;}[a52_0x2b48d8(0xa1)](){const _0x22e41b=a52_0x2b48d8;return super[_0x22e41b(0xa1)]();}[a52_0x2b48d8(0xae)](_0x1548bc){const _0x44d744=a52_0x2b48d8;var _0x8b66a2;this[_0x44d744(0xa1)]()[_0x44d744(0xd3)](transformExtent(_0x1548bc['initialExtent'],(_0x8b66a2=_0x1548bc[_0x44d744(0xbe)])===null||_0x8b66a2===void 0x0?void 0x0:_0x8b66a2[_0x44d744(0x79)](),this[_0x44d744(0xa1)]()['getProjection']()[_0x44d744(0x79)]()));}[a52_0x2b48d8(0xdc)](_0x4edbec){const _0x5d8e6b=a52_0x2b48d8;let _0xed6eef=this[_0x5d8e6b(0xd1)](_0x4edbec);_0xed6eef&&this[_0x5d8e6b(0xae)](_0xed6eef);}async[a52_0x2b48d8(0x98)](_0x394dba){const _0x580b3e=a52_0x2b48d8;let _0xac318e;switch(_0x394dba['layerType']){case _0x580b3e(0x9d):_0xac318e=await a52_0x4b59ee[_0x580b3e(0x7f)](_0x394dba);break;case'arcgis-dynamic':_0xac318e=await a52_0x4b59ee[_0x580b3e(0xd6)](_0x394dba);break;case _0x580b3e(0x96):_0xac318e=await a52_0x4b59ee[_0x580b3e(0xb9)](_0x394dba);break;case _0x580b3e(0xb3):_0xac318e=await a52_0x4b59ee['getArcgisWmsLayer'](_0x394dba);break;case _0x580b3e(0x7d):_0xac318e=await a52_0x4b59ee['getArcgisWMTSLayer'](_0x394dba);break;case _0x580b3e(0x73):_0xac318e=await a52_0x4b59ee[_0x580b3e(0x76)](_0x394dba);break;case _0x580b3e(0xb6):_0xac318e=await a52_0x4b59ee[_0x580b3e(0xa0)](_0x394dba);break;case _0x580b3e(0xaa):_0xac318e=await a52_0x4b59ee[_0x580b3e(0x8a)](_0x394dba);break;case _0x580b3e(0xc0):_0xac318e=await a52_0x4b59ee['getGeoserverVectorTileLayer'](_0x394dba);break;case _0x580b3e(0x89):_0xac318e=await a52_0x4b59ee[_0x580b3e(0x7b)](_0x394dba);break;default:throw new Error('暂不支持【'+_0x394dba[_0x580b3e(0xbd)]+_0x580b3e(0xd0));}return this[_0x580b3e(0xa9)](_0xac318e),this[_0x580b3e(0xbc)](new ChangeLayerEvent(_0x580b3e(0xd4),[_0x394dba['id']],_0x580b3e(0x7e))),_0xac318e;}async[a52_0x2b48d8(0x90)](_0x2d951d){const _0x2a9421=a52_0x2b48d8;let _0x21d3ee=[];const _0x39d241=[];for(let _0x541722=0x0;_0x541722<_0x2d951d[_0x2a9421(0xb1)];_0x541722++){const _0x410c48=_0x2d951d[_0x541722];_0x39d241[_0x2a9421(0xb5)](_0x410c48['id']),_0x21d3ee[_0x2a9421(0xb5)](this[_0x2a9421(0x98)](_0x410c48));}const _0x2f756a=await Promise['all'](_0x21d3ee);return this[_0x2a9421(0xbc)](new ChangeLayerEvent('changelayer',_0x39d241,'add')),_0x2f756a;}[a52_0x2b48d8(0xa9)](_0x528091,_0x322992=![]){const _0xae9661=a52_0x2b48d8,_0x37a6c0=_0x528091,_0x68d175=this['getLayerById'](_0x37a6c0['id']);if(_0x68d175==null){const _0x315567=_0x37a6c0[_0xae9661(0xc2)]==undefined||_0x37a6c0[_0xae9661(0xc2)][_0xae9661(0xce)]==undefined||_0x37a6c0[_0xae9661(0xc2)]['minScale']<0x0?undefined:calculateResolution(_0x37a6c0['layerInfo']['minScale'],this[_0xae9661(0xa1)]()[_0xae9661(0xc4)]()[_0xae9661(0x9a)]()||0x0);_0x528091['setMinResolution'](_0x315567);const _0x54327e=_0x37a6c0['layerInfo']==undefined||_0x37a6c0[_0xae9661(0xc2)][_0xae9661(0xcb)]==undefined||_0x37a6c0[_0xae9661(0xc2)][_0xae9661(0xcb)]<0x0?undefined:calculateResolution(_0x37a6c0[_0xae9661(0xc2)][_0xae9661(0xcb)],this['getView']()[_0xae9661(0xc4)]()['getMetersPerUnit']()||0x0);_0x528091[_0xae9661(0xa4)](_0x54327e);const _0x5b4264=this['getLayers']()[_0xae9661(0x77)]()[_0xae9661(0xb1)];if(!this[_0xae9661(0x92)][_0xae9661(0xbe)]&&_0x5b4264==0x0&&_0x37a6c0['projection']&&_0x37a6c0[_0xae9661(0xbe)][_0xae9661(0x79)]()!=this[_0xae9661(0xa1)]()[_0xae9661(0xc4)]()[_0xae9661(0x79)]()){}let _0x6bb76e=_0x528091[_0xae9661(0x99)]();_0x6bb76e!=undefined&&_0x6bb76e>_0x5b4264&&(_0x6bb76e=_0x5b4264),this[_0xae9661(0xd9)]()[_0xae9661(0x85)](_0x6bb76e==undefined?_0x5b4264:_0x6bb76e,_0x528091),_0x322992&&this[_0xae9661(0xae)](_0x37a6c0);}}[a52_0x2b48d8(0xc8)](_0x1f1cf8){const _0x196d09=a52_0x2b48d8,_0x4bdaf5=this[_0x196d09(0xd1)](_0x1f1cf8);_0x4bdaf5&&(this[_0x196d09(0xd2)](_0x4bdaf5),this[_0x196d09(0xbc)](new ChangeLayerEvent(_0x196d09(0xd4),[_0x1f1cf8],_0x196d09(0x93))));}[a52_0x2b48d8(0xd1)](_0x1c351a){const _0xeef4ea=a52_0x2b48d8;let _0x8c18a7,_0x2a3f62=this['getLayers']()['getArray']();for(let _0x4ce1bf=0x0;_0x4ce1bf<_0x2a3f62[_0xeef4ea(0xb1)];_0x4ce1bf++){let _0xe01ea5=_0x2a3f62[_0x4ce1bf]['id'];if(_0x1c351a==_0xe01ea5){_0x8c18a7=_0x2a3f62[_0x4ce1bf];break;}}return _0x8c18a7;}['getLayerByLayerTag'](_0x38f99e){const _0x288c64=a52_0x2b48d8;let _0xcc79a7,_0x5e963e=this[_0x288c64(0xd9)]()[_0x288c64(0x77)]();for(let _0x55427b=0x0;_0x55427b<_0x5e963e[_0x288c64(0xb1)];_0x55427b++){const _0x584800=_0x5e963e[_0x55427b][_0x288c64(0xc2)];if(!_0x584800)continue;let _0x36f1fc=_0x584800['layerTag'];if(_0x36f1fc==_0x38f99e){_0xcc79a7=_0x5e963e[_0x55427b];break;}}return _0xcc79a7;}['getLayersByIds'](_0x527965){const _0x17d923=a52_0x2b48d8;let _0x644334=this[_0x17d923(0xd9)]()[_0x17d923(0x77)]();return _0x644334['filter'](_0x10fd0c=>_0x527965['includes'](_0x10fd0c['id']));}[a52_0x2b48d8(0xde)](_0x4b5555){const _0x5ad88d=a52_0x2b48d8;let _0x54c366,_0x103cf2=this[_0x5ad88d(0xd9)]()[_0x5ad88d(0x77)]();for(let _0x1338d5=0x0;_0x1338d5<_0x103cf2['length'];_0x1338d5++){const _0x57e831=_0x103cf2[_0x1338d5];if(_0x57e831['id']===_0x4b5555){_0x54c366=_0x57e831;break;}}if(!_0x54c366){_0x54c366=new a52_0x2b13ca({'zIndex':0x270f,'source':new a52_0xdef04d()}),_0x54c366['id']=_0x4b5555;const _0x4945b7=this['getLayers']()[_0x5ad88d(0xa5)]();switch(_0x4b5555){case _0x5ad88d(0xb0):this[_0x5ad88d(0xd9)]()[_0x5ad88d(0x85)](_0x4945b7-0x1>-0x1?_0x4945b7-0x1:0x0,_0x54c366);break;case _0x5ad88d(0xe1):this[_0x5ad88d(0xd9)]()['insertAt'](_0x4945b7-0x2>-0x1?_0x4945b7-0x2:0x0,_0x54c366);break;case _0x5ad88d(0xaf):this['getLayers']()[_0x5ad88d(0x85)](_0x4945b7,_0x54c366);break;default:break;}}return _0x54c366;}[a52_0x2b48d8(0xb7)](){const _0x373ee3=a52_0x2b48d8;return this[_0x373ee3(0xde)](_0x373ee3(0xaf));}[a52_0x2b48d8(0xdd)](){const _0x1d8912=a52_0x2b48d8;return this[_0x1d8912(0xde)](_0x1d8912(0xb0));}['getPolygonTempLayer'](){const _0x407690=a52_0x2b48d8;return this[_0x407690(0xde)](_0x407690(0xe1));}['getTempLayerByGeoType'](_0x27bc79){const _0x1f436c=a52_0x2b48d8;let _0x5990ca=this[_0x1f436c(0xb7)]();switch(_0x27bc79){case _0x1f436c(0xac):case _0x1f436c(0x91):_0x5990ca=this[_0x1f436c(0xb7)]();case'LineString':case _0x1f436c(0xcd):_0x5990ca=this['getLineTempLayer']();case'Polygon':case _0x1f436c(0x75):_0x5990ca=this[_0x1f436c(0xc3)]();}return _0x5990ca;}[a52_0x2b48d8(0xc1)](_0x405e7d){const _0x49cb10=a52_0x2b48d8;let _0x4b5a44=this['getView']()['getMinZoom'](),_0x5d778c=this[_0x49cb10(0xa1)]()['getMaxZoom']();registerProj(_0x405e7d),this[_0x49cb10(0xa1)]()[_0x49cb10(0x8c)](_0x405e7d);}[a52_0x2b48d8(0x8d)](){const _0xf7dfd0=a52_0x2b48d8;let _0x3b1ba6=[];_0x3b1ba6[_0xf7dfd0(0xb5)](this[_0xf7dfd0(0xb7)]()),_0x3b1ba6[_0xf7dfd0(0xb5)](this[_0xf7dfd0(0xdd)]()),_0x3b1ba6['push'](this[_0xf7dfd0(0xc3)]());const _0x488cf7=this[_0xf7dfd0(0xd9)]()['getArray']()[_0xf7dfd0(0xb1)];for(let _0x5b7615=0x0;_0x5b7615<_0x3b1ba6[_0xf7dfd0(0xb1)];_0x5b7615++){const _0x2d9138=_0x3b1ba6[_0x5b7615];this[_0xf7dfd0(0xd9)]()[_0xf7dfd0(0x85)](_0x488cf7-_0x5b7615-0x1,_0x2d9138);}}[a52_0x2b48d8(0x7a)](){const _0x23f3ac=a52_0x2b48d8;return this[_0x23f3ac(0xa1)]()[_0x23f3ac(0x74)](this[_0x23f3ac(0xcc)]());}[a52_0x2b48d8(0xc6)](_0x2c7026,_0x114955,_0x132641,_0x5c44bd=!![],_0x18dcbe,_0x13c652={'color':a52_0x2b48d8(0x78),'opacity':0.2,'outlineColor':a52_0x2b48d8(0xcf),'outlineWidth':0x2}){const _0x1212e2=a52_0x2b48d8;var _0x1e80e4;const _0x292d87=fromWKT(_0x2c7026,_0x114955,this[_0x1212e2(0xa1)]()[_0x1212e2(0xc4)]()[_0x1212e2(0x79)]());if(!_0x292d87)return;const _0x484240=this[_0x1212e2(0x94)](_0x292d87[_0x1212e2(0xc9)]()),_0x2f068e=getStyle(_0x13c652),_0x2b2acc=new a52_0x1e0812();return _0x2b2acc[_0x1212e2(0xc5)](_0x292d87),_0x2b2acc[_0x1212e2(0x7c)](_0x2f068e),_0x18dcbe?_0x2b2acc['setProperties'](_0x18dcbe):_0x2b2acc[_0x1212e2(0xa2)]({}),_0x2b2acc[_0x1212e2(0xe0)]=_0x132641,(_0x1e80e4=_0x484240[_0x1212e2(0x87)]())===null||_0x1e80e4===void 0x0?void 0x0:_0x1e80e4[_0x1212e2(0xad)](_0x2b2acc),_0x5c44bd&&this[_0x1212e2(0xb8)](_0x292d87,undefined,1.2,![]),_0x2b2acc;}[a52_0x2b48d8(0xca)](_0x54d764,_0x1c8ef8,_0x10c3d0,_0x4884d6=!![],_0x5ce416={'color':a52_0x2b48d8(0x78),'opacity':0.2,'outlineColor':'rgba(255,\x200,\x200,\x201)','outlineWidth':0x2},_0x4d1d0a){const _0x2c76cd=a52_0x2b48d8;var _0x1a6488;const _0xa29b02=fromWKTs(_0x54d764,_0x1c8ef8,this[_0x2c76cd(0xa1)]()['getProjection']()[_0x2c76cd(0x79)]());if(!_0xa29b02||_0xa29b02['length']==0x0)return;const _0x4947df=this['getTempLayerByGeoType'](_0xa29b02[0x0][_0x2c76cd(0xc9)]()),_0x2be71f=getStyle(_0x5ce416);let _0x1e39a9=[];for(const _0x15f5ff of _0xa29b02){const _0xdcbc67=new a52_0x1e0812();_0xdcbc67[_0x2c76cd(0xc5)](_0x15f5ff),_0xdcbc67[_0x2c76cd(0x7c)](_0x2be71f),_0x4d1d0a?_0xdcbc67['setProperties'](_0x4d1d0a):_0xdcbc67[_0x2c76cd(0xa2)]({}),_0xdcbc67['fromType']=_0x2c76cd(0xb2),_0xdcbc67[_0x2c76cd(0xba)]=!![],_0xdcbc67[_0x2c76cd(0xe0)]=_0x10c3d0,_0x1e39a9[_0x2c76cd(0xb5)](_0xdcbc67);}return(_0x1a6488=_0x4947df[_0x2c76cd(0x87)]())===null||_0x1a6488===void 0x0?void 0x0:_0x1a6488[_0x2c76cd(0xd5)](_0x1e39a9),_0x4884d6&&this[_0x2c76cd(0xbb)](_0xa29b02,undefined,1.2,![]),_0x1e39a9;}['locationWKT'](_0x4b85f4,_0x1a14f2,_0x23cded=1.2,_0x4ce817=!![]){const _0x2c6b91=a52_0x2b48d8;if(!_0x4b85f4)return;let _0x45f0bc=fromWKT(_0x4b85f4,_0x1a14f2,this[_0x2c6b91(0xa1)]()[_0x2c6b91(0xc4)]()[_0x2c6b91(0x79)]());if(!_0x45f0bc)return;this[_0x2c6b91(0xb8)](_0x45f0bc,_0x1a14f2,_0x23cded,_0x4ce817);}[a52_0x2b48d8(0x8f)](_0x286eae,_0x6bb099,_0x164f57=1.2,_0x213ede=!![]){const _0x1a50c7=a52_0x2b48d8;if(!_0x286eae||_0x286eae['length']===0x0)return;const _0x23d1c5=[];for(let _0x29bb8b=0x0;_0x29bb8b<_0x286eae[_0x1a50c7(0xb1)];_0x29bb8b++){let _0x51e7f8=_0x286eae[_0x29bb8b],_0x58aac=fromWKT(_0x51e7f8,_0x6bb099,this[_0x1a50c7(0xa1)]()[_0x1a50c7(0xc4)]()['getCode']());if(!_0x58aac)continue;_0x23d1c5['push'](_0x58aac);}this[_0x1a50c7(0xbb)](_0x23d1c5,_0x6bb099,_0x164f57,_0x213ede);}['locationGeometry'](_0x4a728f,_0x1dfab1,_0x23e3f2=1.2,_0x22ee7b=!![]){const _0x36bee2=a52_0x2b48d8;if(!_0x4a728f)return;let _0x3ffdbb=_0x4a728f;_0x1dfab1&&(_0x3ffdbb=_0x4a728f[_0x36bee2(0x9c)](_0x1dfab1,this[_0x36bee2(0xa1)]()[_0x36bee2(0xc4)]()));switch(_0x3ffdbb[_0x36bee2(0xc9)]()){case _0x36bee2(0xac):this['getView']()[_0x36bee2(0xbf)](_0x3ffdbb[_0x36bee2(0xab)]());break;case _0x36bee2(0xa3):case _0x36bee2(0x91):case _0x36bee2(0xcd):case _0x36bee2(0x75):case _0x36bee2(0x83):this[_0x36bee2(0xa1)]()[_0x36bee2(0xd3)](expandExtent(_0x3ffdbb[_0x36bee2(0x7a)](),_0x23e3f2));break;}if(_0x22ee7b){const _0x487d6b=new a52_0x5a5720(this);_0x487d6b[_0x36bee2(0x9b)]([_0x3ffdbb],0x3);}}['locationGeometrys'](_0x306ed8,_0x1e45b8,_0x3903f6=1.2,_0x31775a=!![]){const _0x3c86f0=a52_0x2b48d8;if(!_0x306ed8||_0x306ed8[_0x3c86f0(0xb1)]===0x0)return;let _0x1579a2=null;for(const _0xd649e5 of _0x306ed8){_0x1579a2?_0x1579a2=union(_0x1579a2,_0xd649e5):_0x1579a2=_0xd649e5;}_0x1579a2&&this[_0x3c86f0(0xb8)](_0x1579a2,_0x1e45b8,_0x3903f6,![]);if(_0x31775a){const _0x1f491d=new a52_0x5a5720(this);_0x1f491d['flashGeometrys'](_0x306ed8,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
|
-
|
|
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
package/plot/Plot.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
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
|
-
function
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 a63_0x14a9(){const _0x551b0b=['parse','4394382hnrhvK','getStride','scale','getContext','rotate','getImageData','push','translate','LEFT','modelKind','label','Polygon','572419zLRzTS','.png','show','height','stringify','billboard','horizontalOrigin','5IAidvz','data','pixelRatio','TOP','getType','drawImage','changeColor','30530691VMAZMV','createElement','length','2029131IxiDLT','putImageData','text','outlineOpacity','width','MultiLineString','3385552qNOXpD','CENTER','color','globalAlpha','pixelOffsetX','opacity','MultiPolygon','toUpperCase','warn','markerColor','radius','outlineWidth','src','RIGHT','restore','save','2HkHkOG','model/','image','4442904WaRKDw','cloud','6201615CTuDzI','model','outlineColor','verticalOrigin','rotation','canvas','getFlatInteriorPoints','zIndex','pixelSize','getFlatMidpoint','outline','imgUrl','match'];a63_0x14a9=function(){return _0x551b0b;};return a63_0x14a9();}(function(_0x403c3f,_0x512e93){const _0x2428f7=a63_0x3626,_0x4f2121=_0x403c3f();while(!![]){try{const _0xfb3a7f=-parseInt(_0x2428f7(0x138))/0x1+parseInt(_0x2428f7(0x119))/0x2*(parseInt(_0x2428f7(0x103))/0x3)+-parseInt(_0x2428f7(0x109))/0x4*(parseInt(_0x2428f7(0x13f))/0x5)+-parseInt(_0x2428f7(0x12c))/0x6+-parseInt(_0x2428f7(0x11e))/0x7+-parseInt(_0x2428f7(0x11c))/0x8+parseInt(_0x2428f7(0x100))/0x9;if(_0xfb3a7f===_0x512e93)break;else _0x4f2121['push'](_0x4f2121['shift']());}catch(_0x5a14f7){_0x4f2121['push'](_0x4f2121['shift']());}}}(a63_0x14a9,0x74404));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a63_0x51d402 from'ol/style/Style';function a63_0x3626(_0x6014f9,_0x31275d){const _0x14a936=a63_0x14a9();return a63_0x3626=function(_0x36269c,_0x17a7e1){_0x36269c=_0x36269c-0x100;let _0x27dc5a=_0x14a936[_0x36269c];return _0x27dc5a;},a63_0x3626(_0x6014f9,_0x31275d);}import a63_0x368d5d from'ol/style/Circle';import a63_0xfe4685 from'ol/style/Fill';import a63_0x84a83a from'ol/style/Stroke';function getMainStyle(_0x18f46f,_0x2410f9=0x0,_0x579a94){const _0x47e06e=a63_0x3626;let _0x5e78e4;return _0x18f46f[_0x47e06e(0x11b)]||_0x18f46f[_0x47e06e(0x112)]?_0x5e78e4=new a63_0x51d402({'renderer':(_0x44838e,_0x400ca8)=>{preLoadImageRenderFunction(_0x18f46f,_0x44838e,_0x400ca8,_0x579a94,_rendererFunction);},'zIndex':Number(_0x2410f9)}):_0x5e78e4=new a63_0x51d402({'image':new a63_0x368d5d({'radius':_0x18f46f[_0x47e06e(0x113)]?_0x18f46f['radius']:_0x18f46f[_0x47e06e(0x126)],'fill':new a63_0xfe4685({'color':getColor(_0x18f46f[_0x47e06e(0x10b)],_0x18f46f[_0x47e06e(0x10e)])}),'stroke':_0x18f46f[_0x47e06e(0x128)]&&_0x18f46f[_0x47e06e(0x120)]?new a63_0x84a83a({'color':getColor(_0x18f46f[_0x47e06e(0x120)],_0x18f46f[_0x47e06e(0x106)]),'width':_0x18f46f[_0x47e06e(0x114)]}):undefined}),'zIndex':Number(_0x2410f9)}),_0x5e78e4;}function _rendererFunction(_0x294859,_0x3e2a56,_0x124468,_0x553cd8,_0x3da38a){const _0x118d69=a63_0x3626;if(!_0x3da38a||_0x3da38a[_0x118d69(0x107)]===0x0){let _0x13b051=new Image();_0x13b051[_0x118d69(0x115)]=_0x294859[_0x118d69(0x11b)];}if(_0x294859[_0x118d69(0x145)]&&_0x294859[_0x118d69(0x10b)]!==''){let _0x472a83=_0x294859[_0x118d69(0x12e)]||0x1,_0x5afd33=_0x294859[_0x118d69(0x107)]||_0x3da38a[_0x118d69(0x107)]*_0x472a83,_0x28bff0=_0x294859[_0x118d69(0x13b)]||_0x3da38a[_0x118d69(0x13b)]*_0x472a83;_0x5afd33=_0x5afd33*_0x124468['pixelRatio'],_0x28bff0=_0x28bff0*_0x124468[_0x118d69(0x141)];const _0x439d99=document[_0x118d69(0x101)](_0x118d69(0x123));_0x439d99[_0x118d69(0x107)]=_0x5afd33,_0x439d99[_0x118d69(0x13b)]=_0x28bff0;const _0x3fa284=_0x439d99[_0x118d69(0x12f)]('2d');_0x3fa284===null||_0x3fa284===void 0x0?void 0x0:_0x3fa284[_0x118d69(0x144)](_0x3da38a,0x0,0x0,_0x5afd33,_0x28bff0);let _0x10698f=_0x3fa284===null||_0x3fa284===void 0x0?void 0x0:_0x3fa284[_0x118d69(0x131)](0x0,0x0,_0x5afd33,_0x28bff0),_0x27dd96=_0x10698f===null||_0x10698f===void 0x0?void 0x0:_0x10698f[_0x118d69(0x140)];_0x3da38a=_0x439d99;let _0x81e7bd=HexToRgb(_0x294859['color']);if(_0x27dd96&&_0x81e7bd)for(var _0x113558=0x0;_0x113558<_0x27dd96[_0x118d69(0x102)];_0x113558+=0x4){_0x27dd96[_0x113558]=_0x81e7bd[0x0],_0x27dd96[_0x113558+0x1]=_0x81e7bd[0x1],_0x27dd96[_0x113558+0x2]=_0x81e7bd[0x2];}_0x10698f&&(_0x3fa284===null||_0x3fa284===void 0x0?void 0x0:_0x3fa284[_0x118d69(0x104)](_0x10698f,0x0,0x0));}let _0x1a3a97=_0x124468['geometry'],_0x1ae3e8=_0x124468[_0x118d69(0x141)],_0xd0fea2=_0x1a3a97[_0x118d69(0x12d)](),_0x57352d=_0x1a3a97[_0x118d69(0x143)](),_0x4a6f51=[];switch(_0x57352d){case'LineString':_0x4a6f51=_0x1a3a97[_0x118d69(0x127)]();break;case _0x118d69(0x108):_0x4a6f51=_0x1a3a97['getFlatMidpoints'](),_0xd0fea2=0x2;break;case _0x118d69(0x137):_0x4a6f51=_0x1a3a97['getFlatInteriorPoint'](),_0xd0fea2=0x3;break;case _0x118d69(0x10f):{let _0x3ae643=_0x1a3a97[_0x118d69(0x124)]();_0x4a6f51=[];for(let _0x255e38=0x0,_0x226a54=_0x3ae643[_0x118d69(0x102)];_0x255e38<_0x226a54;_0x255e38+=0x3){_0x4a6f51[_0x118d69(0x132)](_0x3ae643[_0x255e38],_0x3ae643[_0x255e38+0x1]);}if(_0x4a6f51['length']===0x0)return;_0xd0fea2=0x2;break;}}if(_0x4a6f51['length']>0x0&&_0x553cd8)for(let _0x2ed9b6=0x0,_0x18f065=_0x4a6f51[_0x118d69(0x102)];_0x2ed9b6<_0x18f065;_0x2ed9b6+=_0xd0fea2){let _0x16d311=[_0x4a6f51[_0x2ed9b6],_0x4a6f51[_0x2ed9b6+0x1]],_0x45c38d=_0x553cd8['getPixelFromCoordinate'](_0x16d311);_0x45c38d=[_0x45c38d[0x0]*_0x1ae3e8,_0x45c38d[0x1]*_0x1ae3e8],drawImage(_0x294859,_0x45c38d,_0x124468,_0x3da38a);}else{if(_0x57352d==='MultiPoint')for(let _0x25d414 of _0x3e2a56){drawImage(_0x294859,_0x25d414,_0x124468,_0x3da38a);}else drawImage(_0x294859,_0x3e2a56,_0x124468,_0x3da38a);}}function HexToRgb(_0x57d225){const _0x4d319b=a63_0x3626;_0x57d225=_0x57d225['replace']('#','');let _0x58529e=_0x57d225[_0x4d319b(0x12a)](/../g);if(_0x58529e){for(let _0x518a73=0x0;_0x518a73<0x3;_0x518a73++)_0x58529e[_0x518a73]=parseInt(_0x58529e[_0x518a73],0x10);}return _0x58529e;}export function getImageOlStyle(_0x2b1226,_0x239bc2,_0x540760,_0x550d4a){const _0x43f474=a63_0x3626;var _0x538c3f;if(_0x2b1226&&_0x2b1226[_0x43f474(0x13a)]!==![]){_0x2b1226=JSON[_0x43f474(0x12b)](JSON[_0x43f474(0x13c)](_0x2b1226)),_0x239bc2=(_0x538c3f=_0x2b1226[_0x43f474(0x125)])!==null&&_0x538c3f!==void 0x0?_0x538c3f:_0x239bc2;let _0x11ed5a=isShowStyle(_0x2b1226,_0x540760,_0x550d4a);if(_0x11ed5a)return _0x2b1226[_0x43f474(0x11b)]=parseImage(_0x2b1226[_0x43f474(0x11b)]),getMainStyle(_0x2b1226,_0x239bc2,_0x550d4a);}}export function getPointStyle(_0x310ee0,_0x1c69b8,_0x2ccbe3,_0x3964a3){const _0xe52318=a63_0x3626;var _0x22d3d5,_0x4acd50;_0x310ee0=JSON[_0xe52318(0x12b)](JSON[_0xe52318(0x13c)](_0x310ee0));let _0x1ee2eb=(_0x22d3d5=_0x310ee0[_0xe52318(0x125)])!==null&&_0x22d3d5!==void 0x0?_0x22d3d5:0x0,_0x334747=[],_0x19ebfd=getImageOlStyle(_0x310ee0,_0x1ee2eb,_0x2ccbe3,_0x3964a3);_0x19ebfd&&_0x334747[_0xe52318(0x132)](_0x19ebfd);let _0x40dd51=getImageOlStyle(_0x310ee0[_0xe52318(0x13d)],_0x1ee2eb,_0x2ccbe3,_0x3964a3);_0x40dd51&&_0x334747[_0xe52318(0x132)](_0x40dd51);if(_0x310ee0[_0xe52318(0x11f)]&&_0x310ee0[_0xe52318(0x11f)][_0xe52318(0x13a)]!==![]){let _0x2c2dc5=isShowStyle(_0x310ee0['model'],_0x2ccbe3,_0x3964a3);if(_0x2c2dc5){let _0x496a2e=(_0x4acd50=_0x310ee0[_0xe52318(0x11f)]['zIndex'])!==null&&_0x4acd50!==void 0x0?_0x4acd50:_0x1ee2eb,_0x5ee70d=_0x310ee0['model'][_0xe52318(0x129)]||_0xe52318(0x11a)+_0x310ee0[_0xe52318(0x11f)][_0xe52318(0x135)]+_0xe52318(0x139);_0x310ee0['scale']=0x1,_0x310ee0['width']=0x30,_0x310ee0[_0xe52318(0x13b)]=0x30,_0x310ee0[_0xe52318(0x121)]=_0xe52318(0x10a),_0x334747[_0xe52318(0x132)](getMainStyle(_0x310ee0['model'],_0x496a2e,_0x3964a3));}}if(_0x310ee0[_0xe52318(0x136)]&&_0x310ee0[_0xe52318(0x136)][_0xe52318(0x13a)]!==![]){let _0x46f720=new a63_0x51d402({'text':createTextStyle(_0x310ee0[_0xe52318(0x136)],_0x1c69b8,_0x2ccbe3,_0x3964a3),'zIndex':Number(_0x1ee2eb)+0x1});_0x334747['push'](_0x46f720);}return _0x334747;}export function getPointSingleStyle(_0x56e2fd,_0x4ee732,_0x37cfa6,_0x5afb3a){const _0x4f13f5=a63_0x3626;_0x4ee732=JSON[_0x4f13f5(0x12b)](JSON['stringify'](_0x4ee732));let _0x3bd0ed=_0x4ee732['label'],_0x2507e3;_0x3bd0ed&&(_0x2507e3=_0x3bd0ed[_0x4f13f5(0x105)]?_0x3bd0ed[_0x4f13f5(0x105)]:'');if(_0x56e2fd==='billboard')return _0x4ee732[_0x4f13f5(0x11b)]=parseImage(_0x4ee732[_0x4f13f5(0x11b)]),getPointStyle(_0x4ee732,_0x2507e3,_0x37cfa6,_0x5afb3a);else{if(_0x56e2fd===_0x4f13f5(0x11f)){let _0x422624=_0x4ee732['imgUrl']||_0x4f13f5(0x11a)+_0x4ee732[_0x4f13f5(0x135)]+_0x4f13f5(0x139);return _0x4ee732[_0x4f13f5(0x12e)]=0x1,_0x4ee732[_0x4f13f5(0x107)]=0x30,_0x4ee732[_0x4f13f5(0x13b)]=0x30,_0x4ee732[_0x4f13f5(0x121)]=_0x4f13f5(0x10a),getPointStyle(_0x4ee732,_0x2507e3,_0x37cfa6,_0x5afb3a);}else{if(_0x56e2fd===_0x4f13f5(0x11d))return getPointStyle(_0x4ee732,_0x2507e3,_0x37cfa6,_0x5afb3a);else{if(_0x56e2fd==='point')return getPointStyle(_0x4ee732,_0x2507e3,_0x37cfa6,_0x5afb3a);else return _0x56e2fd===_0x4f13f5(0x136)?new a63_0x51d402({'text':createTextStyle(_0x4ee732,_0x4ee732[_0x4f13f5(0x105)],_0x37cfa6,_0x5afb3a),'zIndex':_0x4ee732[_0x4f13f5(0x125)]}):getPointStyle(_0x4ee732,_0x2507e3,_0x37cfa6,_0x5afb3a);}}}}function drawImage(_0x4d0b4f,_0x2b22d9,_0x34716f,_0x1a8c00){const _0x3dc4a9=a63_0x3626;var _0x43bf27,_0x5a8f72,_0x1589f4,_0x3ec827;let _0x59730f=_0x34716f['context'];try{_0x59730f[_0x3dc4a9(0x118)]();let _0x5b3246=Number(_0x4d0b4f[_0x3dc4a9(0x10d)]||((_0x43bf27=_0x4d0b4f['pixelOffset'])===null||_0x43bf27===void 0x0?void 0x0:_0x43bf27[0x0])||0x0),_0x1270f8=Number(_0x4d0b4f['pixelOffsetY']||((_0x5a8f72=_0x4d0b4f['pixelOffset'])===null||_0x5a8f72===void 0x0?void 0x0:_0x5a8f72[0x1])||0x0);_0x59730f[_0x3dc4a9(0x133)](_0x2b22d9[0x0]+_0x5b3246,_0x2b22d9[0x1]+_0x1270f8);if(_0x4d0b4f['rotation'])_0x59730f[_0x3dc4a9(0x130)](toRadians(_0x4d0b4f[_0x3dc4a9(0x122)]));_0x59730f[_0x3dc4a9(0x10c)]=_0x4d0b4f['opacity']!=null?_0x4d0b4f['opacity']:0x1;if(_0x1a8c00[_0x3dc4a9(0x107)]>0x0){let _0x2f0c0d=_0x4d0b4f['scale']||0x1,_0x189427=_0x4d0b4f[_0x3dc4a9(0x107)]||_0x1a8c00[_0x3dc4a9(0x107)]*_0x2f0c0d,_0x570426=_0x4d0b4f[_0x3dc4a9(0x13b)]||_0x1a8c00[_0x3dc4a9(0x13b)]*_0x2f0c0d;_0x189427=_0x189427*_0x34716f[_0x3dc4a9(0x141)],_0x570426=_0x570426*_0x34716f['pixelRatio'];_0x4d0b4f[_0x3dc4a9(0x145)]&&(_0x189427=_0x1a8c00['width'],_0x570426=_0x1a8c00['height']);let _0x48dfdb;switch((_0x1589f4=_0x4d0b4f[_0x3dc4a9(0x13e)])===null||_0x1589f4===void 0x0?void 0x0:_0x1589f4[_0x3dc4a9(0x110)]()){default:case _0x3dc4a9(0x10a):_0x48dfdb=-_0x189427/0x2;break;case _0x3dc4a9(0x134):_0x48dfdb=0x0;break;case _0x3dc4a9(0x116):_0x48dfdb=-_0x189427;break;}let _0x1abdb9;switch((_0x3ec827=_0x4d0b4f[_0x3dc4a9(0x121)])===null||_0x3ec827===void 0x0?void 0x0:_0x3ec827['toUpperCase']()){default:case'BOTTOM':_0x1abdb9=-_0x570426;break;case _0x3dc4a9(0x10a):_0x1abdb9=-_0x570426/0x2;break;case _0x3dc4a9(0x142):_0x1abdb9=0x0;break;}_0x59730f[_0x3dc4a9(0x144)](_0x1a8c00,_0x48dfdb,_0x1abdb9,_0x189427,_0x570426);}else _0x59730f[_0x3dc4a9(0x144)](_0x1a8c00,0x0,0x0);_0x59730f[_0x3dc4a9(0x117)]();}catch(_0x3c10ba){_0x59730f[_0x3dc4a9(0x117)](),console[_0x3dc4a9(0x111)](_0x3c10ba);}}
|
|
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(_0x5b86e3,_0x510361){const _0x16faa8=a64_0x20ec,_0x37a771=_0x5b86e3();while(!![]){try{const _0x1e0e75=parseInt(_0x16faa8(0x120))/0x1*(-parseInt(_0x16faa8(0x110))/0x2)+parseInt(_0x16faa8(0x127))/0x3*(-parseInt(_0x16faa8(0xff))/0x4)+parseInt(_0x16faa8(0x108))/0x5+parseInt(_0x16faa8(0xf2))/0x6*(parseInt(_0x16faa8(0x105))/0x7)+parseInt(_0x16faa8(0x102))/0x8+parseInt(_0x16faa8(0xf9))/0x9*(parseInt(_0x16faa8(0x115))/0xa)+parseInt(_0x16faa8(0x103))/0xb;if(_0x1e0e75===_0x510361)break;else _0x37a771['push'](_0x37a771['shift']());}catch(_0x4f595b){_0x37a771['push'](_0x37a771['shift']());}}}(a64_0x39b5,0xbe85f));function a64_0x20ec(_0x35c944,_0x326e24){const _0x39b5c4=a64_0x39b5();return a64_0x20ec=function(_0x20ec35,_0x1b390c){_0x20ec35=_0x20ec35-0xea;let _0x58d10a=_0x39b5c4[_0x20ec35];return _0x58d10a;},a64_0x20ec(_0x35c944,_0x326e24);}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(_0x18e4c3,_0x48652f,_0x50f587,_0xc8a0e1){const _0x5754f7=a64_0x20ec;var _0x384b2b;let _0x3c7148=(_0x384b2b=_0x18e4c3[_0x5754f7(0xf1)])!==null&&_0x384b2b!==void 0x0?_0x384b2b:0x0,_0x24ee61=new Style();_0x24ee61[_0x5754f7(0x113)](_0x3c7148),_0x24ee61[_0x5754f7(0xfb)](new Fill({'color':'rgba(0,0,0,0)'}));if(_0x18e4c3['fill']!==![]){if(!_0x18e4c3[_0x5754f7(0xeb)]||_0x18e4c3[_0x5754f7(0xeb)]===_0x5754f7(0x122))_0x24ee61[_0x5754f7(0xfb)](new Fill({'color':getColor(_0x18e4c3[_0x5754f7(0x122)],_0x18e4c3[_0x5754f7(0x124)])}));else{if(_0x18e4c3[_0x5754f7(0xeb)]==='image')_0x24ee61[_0x5754f7(0x119)]((_0x200d2f,_0x41b4f5)=>{preLoadImageRenderFunction(_0x18e4c3,_0x200d2f,_0x41b4f5,_0xc8a0e1,_rendererFunction);});else _0x18e4c3['fillType']===_0x5754f7(0x106)||_0x18e4c3['fillType']==='stripe'||_0x18e4c3['fillType']===_0x5754f7(0x123)?_0x24ee61[_0x5754f7(0x119)]((_0x1248e0,_0x1e29b9)=>{_rendererFunction(_0x18e4c3,_0x1248e0,_0x1e29b9,_0xc8a0e1,null);}):_0x24ee61[_0x5754f7(0xfb)](new Fill({'color':getColor(_0x18e4c3[_0x5754f7(0x122)],_0x18e4c3[_0x5754f7(0x124)])}));}}_0x18e4c3[_0x5754f7(0x11a)]!==![]&&_0x24ee61[_0x5754f7(0x101)](new Stroke({'color':getColor(_0x18e4c3['outlineColor'],_0x18e4c3[_0x5754f7(0x11d)]),'width':_0x18e4c3[_0x5754f7(0x111)]}));let _0x256cfe=[_0x24ee61];_0x18e4c3[_0x5754f7(0xfa)]&&!_0x18e4c3[_0x5754f7(0xfa)][_0x5754f7(0xed)]&&(_0x18e4c3['billboard'][_0x5754f7(0xed)]=_0x5754f7(0x114));let _0x63148f=getImageOlStyle(_0x18e4c3[_0x5754f7(0xfa)],_0x3c7148,_0x50f587,_0xc8a0e1);_0x63148f&&_0x256cfe['push'](_0x63148f);if(_0x18e4c3[_0x5754f7(0x100)]&&_0x18e4c3[_0x5754f7(0x100)][_0x5754f7(0x11e)]!==![]){!_0x18e4c3[_0x5754f7(0x100)][_0x5754f7(0xed)]&&(_0x18e4c3['label'][_0x5754f7(0xed)]='CENTER');let _0x2ac229=new Style({'text':createTextStyle(_0x18e4c3[_0x5754f7(0x100)],_0x48652f,_0x50f587,_0xc8a0e1),'zIndex':Number(_0x3c7148)+0x1});_0x256cfe[_0x5754f7(0x118)](_0x2ac229);}return _0x256cfe;}function a64_0x39b5(){const _0x3daefb=['stripe','750SPoasn','stripe_repeat','fillType','grid_lineCount','verticalOrigin','height','stroke','checkerboard_repeat','zIndex','6XwLCBv','drawImage','strokeStyle','beginPath','oddColor','closePath','save','1598985KtiMfN','billboard','setFill','repeatX','width','lineTo','9124NThXdh','label','setStroke','1414328reLaMO','6088203BHXRrR','getContext','4953879CueKAT','grid','fillStyle','483170Lmpxll','repeat','length','image','outlineColor','fill','createElement','createPattern','52FSRriE','outlineWidth','max','setZIndex','CENTER','20CIOqRQ','restore','canvas','push','setRenderer','outline','rgba(0,0,0,0.01)','stripe_oddcolor','outlineOpacity','show','moveTo','20742ByxOvH','lineWidth','color','checkerboard','opacity','translate'];a64_0x39b5=function(){return _0x3daefb;};return a64_0x39b5();}function _rendererFunction(_0x3e9bbe,_0x3ccbcf,_0x2f0216,_0x7482ce,_0x5cee40){const _0x57b300=a64_0x20ec;try{var _0x49c8aa=_0x2f0216['context'];for(var _0x25c9dd=0x0,_0x2e1703=_0x3ccbcf[_0x57b300(0x10a)];_0x25c9dd<_0x2e1703;_0x25c9dd++){_0x49c8aa[_0x57b300(0xf8)](),_0x49c8aa[_0x57b300(0xf5)]();var _0x3565de=_0x3ccbcf[_0x25c9dd];let _0x29065e=boundingExtent(_0x3565de);_0x49c8aa[_0x57b300(0x125)](_0x29065e[0x0],_0x29065e[0x1]);let _0x5e3198;switch(_0x3e9bbe[_0x57b300(0xeb)]){case _0x57b300(0x10b):_0x5e3198=_getImagePattern(_0x49c8aa,_0x29065e,_0x3e9bbe,_0x5cee40);break;case _0x57b300(0x106):_0x5e3198=_getGridPattern(_0x49c8aa,_0x29065e,_0x3e9bbe);break;case _0x57b300(0x126):_0x5e3198=_getStripePattern(_0x49c8aa,_0x29065e,_0x3e9bbe);break;case _0x57b300(0x123):_0x5e3198=_getCheckerBoardPattern(_0x49c8aa,_0x29065e,_0x3e9bbe);break;default:_0x5e3198=_0x57b300(0x11b);break;}for(var _0x5b406a=0x0,_0x7ad4ba=_0x3565de[_0x57b300(0x10a)];_0x5b406a<_0x7ad4ba;_0x5b406a++){var _0x3f511c=_0x3565de[_0x5b406a];_0x5b406a===0x0?_0x49c8aa[_0x57b300(0x11f)](_0x3f511c[0x0]-_0x29065e[0x0],_0x3f511c[0x1]-_0x29065e[0x1]):_0x49c8aa[_0x57b300(0xfe)](_0x3f511c[0x0]-_0x29065e[0x0],_0x3f511c[0x1]-_0x29065e[0x1]);}_0x49c8aa[_0x57b300(0xf7)](),_0x49c8aa[_0x57b300(0x107)]=_0x57b300(0x11b),_0x49c8aa['fill'](),_0x49c8aa['fillStyle']=_0x5e3198,_0x49c8aa[_0x57b300(0x10d)](),_0x3e9bbe[_0x57b300(0x11a)]?(_0x49c8aa['strokeStyle']=getColor(_0x3e9bbe[_0x57b300(0x10c)],_0x3e9bbe[_0x57b300(0x11d)]),_0x49c8aa[_0x57b300(0x121)]=_0x3e9bbe[_0x57b300(0x111)]):_0x49c8aa[_0x57b300(0xf4)]='rgba(0,0,0,0.0)',_0x49c8aa[_0x57b300(0xef)](),_0x49c8aa['restore']();}}catch(_0x582f9c){_0x49c8aa[_0x57b300(0x116)](),console['warn'](_0x582f9c);}}function _getImagePattern(_0x5339f2,_0x29dd3f,_0x3b0d12,_0x420156){const _0xa2ee98=a64_0x20ec;if(!_0x420156||_0x420156['width']===0x0){let _0x4306ed=new Image();_0x4306ed['src']=_0x3b0d12[_0xa2ee98(0x10b)];}var _0x437c66=getSize(_0x29dd3f);const _0x4a933e=document['createElement']('canvas'),_0x26dd50=_0x4a933e[_0xa2ee98(0x104)]('2d');return _0x4a933e['width']=Math[_0xa2ee98(0x112)](_0x437c66[0x0]/_0x3b0d12[_0xa2ee98(0xfc)],0x1),_0x4a933e[_0xa2ee98(0xee)]=Math[_0xa2ee98(0x112)](_0x437c66[0x1]/_0x3b0d12['repeatY'],0x1),_0x26dd50&&(_0x26dd50['globalAlpha']=_0x3b0d12[_0xa2ee98(0x124)],_0x26dd50[_0xa2ee98(0xf3)](_0x420156,0x0,0x0,_0x4a933e[_0xa2ee98(0xfd)],_0x4a933e[_0xa2ee98(0xee)])),_0x5339f2['createPattern'](_0x4a933e,_0xa2ee98(0x109));}function _getGridPattern(_0x57d736,_0x35b0cc,_0x4311b5){const _0x1293fc=a64_0x20ec;var _0x26bbc9=getSize(_0x35b0cc);const _0x31861b=document[_0x1293fc(0x10e)](_0x1293fc(0x117)),_0x40fe6b=_0x31861b['getContext']('2d');return _0x31861b[_0x1293fc(0xfd)]=Math[_0x1293fc(0x112)](_0x26bbc9[0x0]/_0x4311b5[_0x1293fc(0xec)],0x1),_0x31861b[_0x1293fc(0xee)]=Math[_0x1293fc(0x112)](_0x26bbc9[0x1]/_0x4311b5[_0x1293fc(0xec)],0x1),_0x40fe6b&&(_0x40fe6b[_0x1293fc(0xf4)]=getColor(_0x4311b5[_0x1293fc(0x122)],_0x4311b5[_0x1293fc(0x124)]),_0x40fe6b[_0x1293fc(0x121)]=_0x4311b5['grid_lineThickness']*0x4,_0x40fe6b[_0x1293fc(0xf5)](),_0x40fe6b[_0x1293fc(0x11f)](0x0,_0x31861b[_0x1293fc(0xee)]),_0x40fe6b[_0x1293fc(0xfe)](_0x31861b['width'],_0x31861b['height']),_0x40fe6b['moveTo'](_0x31861b[_0x1293fc(0xfd)],0x0),_0x40fe6b[_0x1293fc(0xfe)](_0x31861b[_0x1293fc(0xfd)],_0x31861b[_0x1293fc(0xee)]),_0x40fe6b[_0x1293fc(0xef)]()),_0x57d736[_0x1293fc(0x10f)](_0x31861b,'repeat');}function _getStripePattern(_0x2b2f76,_0x257903,_0x3e6e89){const _0x561af4=a64_0x20ec;var _0x1ae337=getSize(_0x257903);const _0x1543b1=document[_0x561af4(0x10e)](_0x561af4(0x117)),_0x538855=_0x1543b1['getContext']('2d');let _0x2cbb3f=Math['max'](_0x1ae337[0x1]/_0x3e6e89[_0x561af4(0xea)],0x1);return _0x1543b1[_0x561af4(0xfd)]=_0x1ae337[0x0],_0x1543b1[_0x561af4(0xee)]=_0x2cbb3f*0x2,_0x538855&&(_0x538855[_0x561af4(0xf5)](),_0x538855[_0x561af4(0x11f)](0x0,0x0),_0x538855[_0x561af4(0xfe)](_0x1543b1[_0x561af4(0xfd)],0x0),_0x538855[_0x561af4(0xfe)](_0x1543b1['width'],_0x2cbb3f),_0x538855[_0x561af4(0xfe)](0x0,_0x2cbb3f),_0x538855['closePath'](),_0x538855[_0x561af4(0x107)]=getColor(_0x3e6e89[_0x561af4(0x11c)],_0x3e6e89[_0x561af4(0x124)]),_0x538855[_0x561af4(0x10d)](),_0x538855[_0x561af4(0xf5)](),_0x538855['moveTo'](0x0,_0x2cbb3f),_0x538855['lineTo'](_0x1543b1[_0x561af4(0xfd)],_0x2cbb3f),_0x538855[_0x561af4(0xfe)](_0x1543b1[_0x561af4(0xfd)],_0x2cbb3f*0x2),_0x538855[_0x561af4(0xfe)](0x0,_0x2cbb3f*0x2),_0x538855[_0x561af4(0xf7)](),_0x538855[_0x561af4(0x107)]=getColor(_0x3e6e89[_0x561af4(0x122)],_0x3e6e89['opacity']),_0x538855[_0x561af4(0x10d)]()),_0x2b2f76['createPattern'](_0x1543b1,_0x561af4(0x109));}function _getCheckerBoardPattern(_0x21bebb,_0x5cd803,_0x2ee0c9){const _0x3f09d1=a64_0x20ec;var _0x776680=getSize(_0x5cd803);const _0x5bdb87=document[_0x3f09d1(0x10e)]('canvas'),_0x46c9e7=_0x5bdb87['getContext']('2d');let _0x3b0874=Math[_0x3f09d1(0x112)](_0x776680[0x0]/_0x2ee0c9[_0x3f09d1(0xf0)],0x1),_0x1d40c7=Math['max'](_0x776680[0x1]/_0x2ee0c9['checkerboard_repeat'],0x1);return _0x5bdb87[_0x3f09d1(0xfd)]=_0x3b0874*0x2,_0x5bdb87[_0x3f09d1(0xee)]=_0x1d40c7*0x2,_0x46c9e7&&(_0x46c9e7[_0x3f09d1(0xf5)](),_0x46c9e7[_0x3f09d1(0x11f)](0x0,0x0),_0x46c9e7[_0x3f09d1(0xfe)](_0x3b0874,0x0),_0x46c9e7[_0x3f09d1(0xfe)](_0x3b0874,_0x1d40c7),_0x46c9e7['lineTo'](0x0,_0x1d40c7),_0x46c9e7[_0x3f09d1(0xf7)](),_0x46c9e7[_0x3f09d1(0x107)]=getColor(_0x2ee0c9[_0x3f09d1(0xf6)],_0x2ee0c9[_0x3f09d1(0x124)]),_0x46c9e7[_0x3f09d1(0x10d)](),_0x46c9e7[_0x3f09d1(0xf5)](),_0x46c9e7[_0x3f09d1(0x11f)](_0x3b0874,0x0),_0x46c9e7[_0x3f09d1(0xfe)](_0x5bdb87[_0x3f09d1(0xfd)],0x0),_0x46c9e7['lineTo'](_0x5bdb87[_0x3f09d1(0xfd)],_0x1d40c7),_0x46c9e7[_0x3f09d1(0xfe)](_0x3b0874,_0x1d40c7),_0x46c9e7[_0x3f09d1(0xf7)](),_0x46c9e7[_0x3f09d1(0x107)]=getColor(_0x2ee0c9[_0x3f09d1(0x122)],_0x2ee0c9[_0x3f09d1(0x124)]),_0x46c9e7[_0x3f09d1(0x10d)](),_0x46c9e7[_0x3f09d1(0xf5)](),_0x46c9e7['moveTo'](0x0,_0x1d40c7),_0x46c9e7[_0x3f09d1(0xfe)](_0x3b0874,_0x1d40c7),_0x46c9e7[_0x3f09d1(0xfe)](_0x3b0874,_0x5bdb87[_0x3f09d1(0xee)]),_0x46c9e7[_0x3f09d1(0xfe)](0x0,_0x5bdb87[_0x3f09d1(0xee)]),_0x46c9e7[_0x3f09d1(0xf7)](),_0x46c9e7[_0x3f09d1(0x107)]=getColor(_0x2ee0c9[_0x3f09d1(0x122)],_0x2ee0c9[_0x3f09d1(0x124)]),_0x46c9e7[_0x3f09d1(0x10d)](),_0x46c9e7[_0x3f09d1(0xf5)](),_0x46c9e7[_0x3f09d1(0x11f)](_0x3b0874,_0x1d40c7),_0x46c9e7[_0x3f09d1(0xfe)](_0x5bdb87[_0x3f09d1(0xfd)],_0x1d40c7),_0x46c9e7[_0x3f09d1(0xfe)](_0x5bdb87[_0x3f09d1(0xfd)],_0x5bdb87['height']),_0x46c9e7[_0x3f09d1(0xfe)](_0x3b0874,_0x5bdb87[_0x3f09d1(0xee)]),_0x46c9e7['closePath'](),_0x46c9e7[_0x3f09d1(0x107)]=getColor(_0x2ee0c9[_0x3f09d1(0xf6)],_0x2ee0c9[_0x3f09d1(0x124)]),_0x46c9e7[_0x3f09d1(0x10d)]()),_0x21bebb[_0x3f09d1(0x10f)](_0x5bdb87,_0x3f09d1(0x109));}
|
|
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');}
|