ym-gis-2d 1.0.19 → 1.0.20
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.d.ts.map +1 -1
- package/controls/LegendControl.js +1 -1
- package/controls/LegendControl.js.map +1 -1
- package/controls/MousePositionControl.js +1 -1
- package/controls/SwipeLayerControl.js +1 -1
- package/conver/kml/geoJSONToKml.js +1 -1
- package/conver/kml/index.js +1 -1
- package/conver/kml/kmlToGeoJSON.js +1 -1
- package/entity/Feature.js +1 -1
- package/entity/GeometryType.js +1 -1
- package/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.js +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.js +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_0x5b8234=a50_0x4ab2;(function(_0x1e778d,_0x1205be){const _0x261f9a=a50_0x4ab2,_0x2f0a08=_0x1e778d();while(!![]){try{const _0x19da85=-parseInt(_0x261f9a(0x1d2))/0x1+-parseInt(_0x261f9a(0x1cb))/0x2*(-parseInt(_0x261f9a(0x1cf))/0x3)+-parseInt(_0x261f9a(0x1c2))/0x4*(-parseInt(_0x261f9a(0x1cc))/0x5)+parseInt(_0x261f9a(0x1ca))/0x6+parseInt(_0x261f9a(0x1c4))/0x7+parseInt(_0x261f9a(0x1ce))/0x8*(parseInt(_0x261f9a(0x1c7))/0x9)+-parseInt(_0x261f9a(0x1d3))/0xa*(parseInt(_0x261f9a(0x1c3))/0xb);if(_0x19da85===_0x1205be)break;else _0x2f0a08['push'](_0x2f0a08['shift']());}catch(_0x35d231){_0x2f0a08['push'](_0x2f0a08['shift']());}}}(a50_0x5d06,0x83fef));import a50_0xd72da1 from'./ArcgisDynamicLayer';import a50_0x71c1c8 from'./ArcgisFeatureLayer';function a50_0x4ab2(_0x3fe061,_0x18c49e){const _0x5d065e=a50_0x5d06();return a50_0x4ab2=function(_0x4ab2b8,_0x5b08ad){_0x4ab2b8=_0x4ab2b8-0x1be;let _0xbf9428=_0x5d065e[_0x4ab2b8];return _0xbf9428;},a50_0x4ab2(_0x3fe061,_0x18c49e);}import a50_0x26c737 from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a50_0x169c2c from'./ArcgisTileLayer';import a50_0x1c9c11 from'./GeoserverWMSLayer';import a50_0x203b70 from'./GeoserverWMTSLayer';import a50_0x4d6ce6 from'./ArcgisWMSLayer';import a50_0x128c5d from'./ArcgisWMTSLayer';function a50_0x5d06(){const _0x537c22=['getGeoserverWFSLayer','24cXjcXI','3gKjNpB','getArcgisWMTSLayer','getArcgisTileLayer','839305ztKZpa','18164110WTkgkS','getGeoserverVectorTileLayer','getDynamicLayer','getGeoserverWMTSLayer','getTDTLayer','4dFccMj','11HqBGFV','2648387wNVFoY','push','sublayers','188109XXWcOC','url','getArcgisFeatureLayer','6054276NyJMoc','2079020YYpMNK','3533855UueZXj'];a50_0x5d06=function(){return _0x537c22;};return a50_0x5d06();}import a50_0x18731e from'./GeoserverWFSLayer';import a50_0x13361a from'./GeoserverVectorTile';export default class LayerManagement{static async[a50_0x5b8234(0x1bf)](_0x4add92){const _0x375458=a50_0x5b8234,_0x51bf4f=await getDynamicLayerInfo(_0x4add92['url']?_0x4add92[_0x375458(0x1c8)]:'');let _0x562b77=new a50_0xd72da1(_0x4add92,_0x51bf4f);return _0x562b77;}static async[a50_0x5b8234(0x1d1)](_0x4b931b){const _0x47d2ab=a50_0x5b8234,_0x53d1f2=await getDynamicLayerInfo(_0x4b931b[_0x47d2ab(0x1c8)]?_0x4b931b[_0x47d2ab(0x1c8)]:'');let _0x49323e=new a50_0x169c2c(_0x4b931b,_0x53d1f2);return _0x49323e;}static async[a50_0x5b8234(0x1c9)](_0x219707){const _0x1919d8=a50_0x5b8234,_0xe19358=await getDynamicLayerInfo(_0x219707[_0x1919d8(0x1c8)]?_0x219707['url']:'');let _0xfed077=[];if(_0x219707[_0x1919d8(0x1c6)])for(let _0x57ad7f=0x0;_0x57ad7f<_0x219707['sublayers']['length'];_0x57ad7f++){const _0x39b930=_0x219707[_0x1919d8(0x1c6)][_0x57ad7f];_0xfed077[_0x1919d8(0x1c5)](await getFeatureLayerInfo(_0x219707[_0x1919d8(0x1c8)]?_0x219707[_0x1919d8(0x1c8)]:'',_0x39b930));}let _0x148908=new a50_0x71c1c8(_0x219707,_0xe19358,_0xfed077);return _0x148908;}static async['getArcgisWmsLayer'](_0x287b23){const _0x1faba1=a50_0x5b8234;var _0x486fb1;const _0x5bdf88=(_0x486fb1=_0x287b23['sublayers'])===null||_0x486fb1===void 0x0?void 0x0:_0x486fb1[0x0],_0x5ed7cc=await getWMSLayerCapabilities(_0x287b23[_0x1faba1(0x1c8)]?_0x287b23['url']:'',_0x5bdf88==null?'':_0x5bdf88);let _0x2e8d4d=new a50_0x4d6ce6(_0x287b23,_0x5ed7cc);return _0x2e8d4d;}static async[a50_0x5b8234(0x1d0)](_0x14adce){const _0x41e0b8=a50_0x5b8234;var _0x408712;const _0x19783d=(_0x408712=_0x14adce['sublayers'])===null||_0x408712===void 0x0?void 0x0:_0x408712[0x0],_0x238f3c=await getWMTSLayerCapabilities(_0x14adce['url']?_0x14adce[_0x41e0b8(0x1c8)]:'',_0x19783d==null?'':_0x19783d);let _0x32f218=new a50_0x128c5d(_0x14adce,_0x238f3c);return _0x32f218;}static async['getGeoserverWmsLayer'](_0x29cf6b){const _0x71645=a50_0x5b8234;var _0x463102;const _0x97c3fd=(_0x463102=_0x29cf6b['sublayers'])===null||_0x463102===void 0x0?void 0x0:_0x463102[0x0],_0x19b543=await getWMSLayerCapabilities(_0x29cf6b[_0x71645(0x1c8)]?_0x29cf6b[_0x71645(0x1c8)]:'',_0x97c3fd==null?'':_0x97c3fd);let _0x5e4bf1=new a50_0x1c9c11(_0x29cf6b,_0x19b543);return _0x5e4bf1;}static async[a50_0x5b8234(0x1c0)](_0x1d7d75){const _0x5995b8=a50_0x5b8234;var _0xf6e944;const _0x1c9ccc=(_0xf6e944=_0x1d7d75[_0x5995b8(0x1c6)])===null||_0xf6e944===void 0x0?void 0x0:_0xf6e944[0x0],_0x2e2a05=await getWMTSLayerCapabilities(_0x1d7d75[_0x5995b8(0x1c8)]?_0x1d7d75[_0x5995b8(0x1c8)]:'',_0x1c9ccc==null?'':_0x1c9ccc);let _0x1eb9cf=new a50_0x203b70(_0x1d7d75,_0x2e2a05);return _0x1eb9cf;}static async[a50_0x5b8234(0x1cd)](_0x389813){const _0x5791b2=a50_0x5b8234;var _0x496f4c;const _0x481e9a=(_0x496f4c=_0x389813[_0x5791b2(0x1c6)])===null||_0x496f4c===void 0x0?void 0x0:_0x496f4c[0x0],_0x5ef7f5=await getWFSLayerCapabilities(_0x389813[_0x5791b2(0x1c8)]?_0x389813[_0x5791b2(0x1c8)]:'',_0x481e9a==null?'':_0x481e9a);let _0x5a4f0b=new a50_0x18731e(_0x389813,_0x5ef7f5);return _0x5a4f0b;}static async[a50_0x5b8234(0x1be)](_0xfafb3d){const _0x3cded6=a50_0x5b8234;var _0x1273de;const _0x1f5c99=(_0x1273de=_0xfafb3d[_0x3cded6(0x1c6)])===null||_0x1273de===void 0x0?void 0x0:_0x1273de[0x0],_0x503491=await getWMTSLayerCapabilities(_0xfafb3d[_0x3cded6(0x1c8)]?_0xfafb3d[_0x3cded6(0x1c8)]:'',_0x1f5c99==null?'':_0x1f5c99);let _0x4420ca=new a50_0x13361a(_0xfafb3d,_0x503491);return _0x4420ca;}static async[a50_0x5b8234(0x1c1)](_0x490c05){const _0x241852=a50_0x5b8234;var _0x48bda6;const _0x4e80a9=(_0x48bda6=_0x490c05[_0x241852(0x1c6)])===null||_0x48bda6===void 0x0?void 0x0:_0x48bda6[0x0],_0x17f1d9=await getWMTSLayerCapabilities(_0x490c05['url']?_0x490c05[_0x241852(0x1c8)]:'',_0x4e80a9==null?'':_0x4e80a9);let _0x521c88=new a50_0x26c737(_0x490c05,_0x17f1d9);return _0x521c88;}}
|
package/layers/TDTLayer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5bb745,_0x525513){const _0x10c6c6=a51_0x345f,_0xee940f=_0x5bb745();while(!![]){try{const _0xd533ff=parseInt(_0x10c6c6(0x1cb))/0x1+-parseInt(_0x10c6c6(0x1cf))/0x2*(-parseInt(_0x10c6c6(0x1c9))/0x3)+-parseInt(_0x10c6c6(0x1d2))/0x4*(-parseInt(_0x10c6c6(0x1d9))/0x5)+parseInt(_0x10c6c6(0x1d6))/0x6*(parseInt(_0x10c6c6(0x1d8))/0x7)+-parseInt(_0x10c6c6(0x1dd))/0x8+parseInt(_0x10c6c6(0x1cd))/0x9+-parseInt(_0x10c6c6(0x1dc))/0xa;if(_0xd533ff===_0x525513)break;else _0xee940f['push'](_0xee940f['shift']());}catch(_0x3dab9d){_0xee940f['push'](_0xee940f['shift']());}}}(a51_0x21a5,0x24a61));import a51_0x10f243 from'ol/layer/Tile';import{WMTS as a51_0x18013e}from'ol/source';import a51_0x1a8bc2 from'ol/tilegrid/WMTS';function a51_0x21a5(){const _0x3430e5=['format','url','24172cHakMr','sublayers','style','initialExtent','6222vbUNEz','boundingBoxExtent','252sAPiZV','240KrmhPw','KVP','projection','2458650pXbPRc','2260560nQUZNC','pow','30tbHULJ','tileMatrixSet','121117aehxoZ','length','1234035sozmTS','EPSG:4490','18584uZXloH'];a51_0x21a5=function(){return _0x3430e5;};return a51_0x21a5();}import{registerProj}from'../utils/RegisterProjUtil';function a51_0x345f(_0x383bb6,_0x422404){const _0x21a5db=a51_0x21a5();return a51_0x345f=function(_0x345fb1,_0x439b49){_0x345fb1=_0x345fb1-0x1c9;let _0x2fc770=_0x21a5db[_0x345fb1];return _0x2fc770;},a51_0x345f(_0x383bb6,_0x422404);}import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a51_0x10f243{constructor(_0x5c0e2b,_0x581b4b){const _0x57e331=a51_0x345f;let _0x427469='';_0x5c0e2b[_0x57e331(0x1d3)]&&_0x5c0e2b[_0x57e331(0x1d3)][_0x57e331(0x1cc)]>0x0&&(_0x427469=_0x5c0e2b[_0x57e331(0x1d3)]['join'](','));const _0x2bb388=_0x57e331(0x1ce);let _0x46a9be=registerProj(_0x2bb388);const _0x542d12=[],_0x374da0=[];for(let _0x39df5b=0x1;_0x39df5b<0x13;_0x39df5b++){_0x542d12[_0x39df5b]=getWidth(_0x581b4b['boundingBoxExtent'])/(0x100*Math[_0x57e331(0x1de)](0x2,_0x39df5b)),_0x374da0[_0x39df5b]=_0x39df5b+'';}super({'opacity':_0x5c0e2b['opacity'],'zIndex':_0x5c0e2b['mapIndex'],'source':new a51_0x18013e({'style':_0x581b4b[_0x57e331(0x1d4)],'url':_0x5c0e2b[_0x57e331(0x1d1)],'tileGrid':new a51_0x1a8bc2({'origin':getTopLeft(_0x581b4b[_0x57e331(0x1d7)]),'resolutions':_0x542d12,'matrixIds':_0x374da0}),'layer':_0x427469,'matrixSet':_0x581b4b[_0x57e331(0x1ca)],'version':'1.0.0','format':_0x581b4b[_0x57e331(0x1d0)][0x0],'projection':_0x2bb388,'requestEncoding':_0x57e331(0x1da)})}),this['id']=_0x5c0e2b['id'],this[_0x57e331(0x1d5)]=_0x581b4b[_0x57e331(0x1d7)],this[_0x57e331(0x1db)]=_0x46a9be,this['layerInfo']=_0x5c0e2b;}}
|
package/mapView/Map.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a52_0xe2689f=a52_0x2930;(function(_0x6fca,_0x553231){const _0x41fe61=a52_0x2930,_0x42192d=_0x6fca();while(!![]){try{const _0x39d5e7=parseInt(_0x41fe61(0x1aa))/0x1*(-parseInt(_0x41fe61(0x1ea))/0x2)+parseInt(_0x41fe61(0x1bb))/0x3+parseInt(_0x41fe61(0x19e))/0x4*(-parseInt(_0x41fe61(0x19b))/0x5)+-parseInt(_0x41fe61(0x1c8))/0x6*(-parseInt(_0x41fe61(0x1f3))/0x7)+-parseInt(_0x41fe61(0x1c6))/0x8*(-parseInt(_0x41fe61(0x197))/0x9)+-parseInt(_0x41fe61(0x1b7))/0xa*(-parseInt(_0x41fe61(0x1a1))/0xb)+parseInt(_0x41fe61(0x1a6))/0xc*(-parseInt(_0x41fe61(0x1d6))/0xd);if(_0x39d5e7===_0x553231)break;else _0x42192d['push'](_0x42192d['shift']());}catch(_0x2a0414){_0x42192d['push'](_0x42192d['shift']());}}}(a52_0x4acc,0xb5f95));import'ol/ol.css';import'../assets/main.css';import a52_0x546da6 from'ol/Map';import a52_0x261679 from'ol/events/Event';import{defaults as a52_0x51a157}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a52_0x55709a from'../layers/LayerManager';import a52_0x3d7480 from'ol/layer/Vector';import a52_0x994c83 from'ol/source/Vector';import a52_0x2eccdd from'../controls/ControlManager';import a52_0x12d186 from'../entity/Feature';import a52_0x1a0af7 from'../interaction/InteractionManager';import a52_0x3908b2 from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a52_0x5949a2 from'../feature/FeatureManager';function a52_0x2930(_0x220951,_0x142cbb){const _0x4acc7a=a52_0x4acc();return a52_0x2930=function(_0x29301f,_0x42f951){_0x29301f=_0x29301f-0x18f;let _0x402041=_0x4acc7a[_0x29301f];return _0x402041;},a52_0x2930(_0x220951,_0x142cbb);}import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';function a52_0x4acc(){const _0x576476=['rgba(255,\x200,\x200,\x201)','getLayers','arcgis-wmts','setMaxResolution','tag','arcgis-tile','getPointTempLayer','maxResolution','8020782eFfsiD','polygonTempLayer','projection','】服务类型','1961910hOXjzf','locationGeometry','layerIds','12AZkGOs','locationGeometrys','addMapLayer','5096927rHslkO','addLayer','sortTemLayer','addWKTs','layerInfo','156dfpJYh','fitLayer','filter','add','2617vTRrSm','getSource','getArray','getGeoserverWFSLayer','MultiPolygon','getTempLayerByGeoType','getArcgisWmsLayer','getTempLayerById','MultiLineString','includes','getView','getMetersPerUnit','arcgis-wms','30SLWQEr','暂不支持【','_options','setGeometry','1950150JxgmDz','maxZoom','minZoom','getLength','removeLayerById','getLayersByIds','getLayerById','getPolygonTempLayer','minScale','geoserver-wms','push','8VMaDkJ','pointTempLayer','1302uRnYeo','getLayerByLayerTag','getGeoserverWMTSLayer','getType','getGeoserverVectorTileLayer','geoserver-vector-tile','getCode','minResolution','flashGeometrys','EPSG:4490','getCoordinates','changelayer','fit','dispatchEvent','103506XDmSoq','zoom','Point','length','geoserver-wfs','getProjection','getMaxZoom','lineTempLayer','MultiPoint','controlManager','getExtent','getArcgisTileLayer','addFeatures','changetype','insertAt','all','Polygon','tdt-c','constrainResolution','EPSG:','898GCgJBt','getArcgisWMTSLayer','getDynamicLayer','center','rgba(255,\x200,\x200,\x200.2)','setStyle','layerTag','arcgis-feature','LineString','8701OZULNa','addWKT','maxScale','extent','arcgis-dynamic','getLineTempLayer'];a52_0x4acc=function(){return _0x576476;};return a52_0x4acc();}export class ChangeLayerEvent extends a52_0x261679{constructor(_0x49fb6b,_0x18589d,_0x4e0b96){const _0xd8714e=a52_0x2930;super(_0x49fb6b),this[_0xd8714e(0x19d)]=_0x18589d,this[_0xd8714e(0x1e3)]=_0x4e0b96;}}export default class OLMap extends a52_0x546da6{constructor(_0x10b5e5,_0x28c6c5,_0x2ec175){const _0x4252c6=a52_0x2930;_0x28c6c5=_0x28c6c5?_0x28c6c5:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x4842a9=_0x28c6c5[_0x4252c6(0x199)]?_0x4252c6(0x1e9)+_0x28c6c5[_0x4252c6(0x199)]:_0x4252c6(0x1d1);_0x28c6c5['zoom']=_0x28c6c5[_0x4252c6(0x1d7)]?_0x28c6c5[_0x4252c6(0x1d7)]:0xa,_0x28c6c5[_0x4252c6(0x1bd)]=_0x28c6c5[_0x4252c6(0x1bd)]?_0x28c6c5[_0x4252c6(0x1bd)]:0x0,_0x28c6c5[_0x4252c6(0x1bc)]=_0x28c6c5[_0x4252c6(0x1bc)]?_0x28c6c5[_0x4252c6(0x1bc)]:0x1c,_0x28c6c5[_0x4252c6(0x1e8)]=_0x28c6c5[_0x4252c6(0x1e8)]?_0x28c6c5[_0x4252c6(0x1e8)]:![],_0x28c6c5['center']=_0x28c6c5[_0x4252c6(0x1ed)]?_0x28c6c5[_0x4252c6(0x1ed)]:[117.22718,31.820386],registerProj(_0x4842a9);const _0x5b9c86={'target':_0x10b5e5,'view':_0x2ec175?_0x2ec175:new a52_0x3908b2({'center':_0x28c6c5[_0x4252c6(0x1ed)],'zoom':_0x28c6c5[_0x4252c6(0x1d7)],'projection':_0x4842a9,'minZoom':_0x28c6c5[_0x4252c6(0x1bd)],'maxZoom':_0x28c6c5[_0x4252c6(0x1bc)],'minResolution':_0x28c6c5[_0x4252c6(0x1cf)],'maxResolution':_0x28c6c5[_0x4252c6(0x196)],'constrainResolution':_0x28c6c5['constrainResolution']}),'controls':a52_0x51a157({'zoom':![]})};super(_0x5b9c86),_0x28c6c5['extent']&&this[_0x4252c6(0x1b4)]()[_0x4252c6(0x1d4)](_0x28c6c5[_0x4252c6(0x1f6)]),this['interactionManager']=new a52_0x1a0af7(this),this[_0x4252c6(0x1df)]=new a52_0x2eccdd(this),this[_0x4252c6(0x1b9)]=_0x28c6c5;}[a52_0xe2689f(0x1b4)](){const _0x55dbff=a52_0xe2689f;return super[_0x55dbff(0x1b4)]();}[a52_0xe2689f(0x1a7)](_0x3fad78){const _0x3f652b=a52_0xe2689f;var _0x46596a;this[_0x3f652b(0x1b4)]()['fit'](transformExtent(_0x3fad78['initialExtent'],(_0x46596a=_0x3fad78[_0x3f652b(0x199)])===null||_0x46596a===void 0x0?void 0x0:_0x46596a[_0x3f652b(0x1ce)](),this['getView']()['getProjection']()[_0x3f652b(0x1ce)]()));}['fitLayerById'](_0xa9e222){const _0x380154=a52_0xe2689f;let _0x18f8df=this['getLayerById'](_0xa9e222);_0x18f8df&&this[_0x380154(0x1a7)](_0x18f8df);}async[a52_0xe2689f(0x1a0)](_0x7612f3){const _0x1b1b67=a52_0xe2689f;let _0x57085a;switch(_0x7612f3['layerType']){case _0x1b1b67(0x1f1):_0x57085a=await a52_0x55709a['getArcgisFeatureLayer'](_0x7612f3);break;case _0x1b1b67(0x1f7):_0x57085a=await a52_0x55709a[_0x1b1b67(0x1ec)](_0x7612f3);break;case _0x1b1b67(0x194):_0x57085a=await a52_0x55709a[_0x1b1b67(0x1e1)](_0x7612f3);break;case _0x1b1b67(0x1b6):_0x57085a=await a52_0x55709a[_0x1b1b67(0x1b0)](_0x7612f3);break;case _0x1b1b67(0x191):_0x57085a=await a52_0x55709a[_0x1b1b67(0x1eb)](_0x7612f3);break;case _0x1b1b67(0x1c4):_0x57085a=await a52_0x55709a['getGeoserverWmsLayer'](_0x7612f3);break;case _0x1b1b67(0x1da):_0x57085a=await a52_0x55709a[_0x1b1b67(0x1ad)](_0x7612f3);break;case'geoserver-wmts':_0x57085a=await a52_0x55709a[_0x1b1b67(0x1ca)](_0x7612f3);break;case _0x1b1b67(0x1cd):_0x57085a=await a52_0x55709a[_0x1b1b67(0x1cc)](_0x7612f3);break;case _0x1b1b67(0x1e7):_0x57085a=await a52_0x55709a['getTDTLayer'](_0x7612f3);break;default:throw new Error(_0x1b1b67(0x1b8)+_0x7612f3['layerType']+_0x1b1b67(0x19a));}return this[_0x1b1b67(0x1a2)](_0x57085a),this[_0x1b1b67(0x1d5)](new ChangeLayerEvent(_0x1b1b67(0x1d3),[_0x7612f3['id']],_0x1b1b67(0x1a9))),_0x57085a;}async['addMapLayers'](_0x1bace4){const _0x58aec0=a52_0xe2689f;let _0x17c7b2=[];const _0x15ff7a=[];for(let _0x5ae9ea=0x0;_0x5ae9ea<_0x1bace4[_0x58aec0(0x1d9)];_0x5ae9ea++){const _0x25159b=_0x1bace4[_0x5ae9ea];_0x15ff7a[_0x58aec0(0x1c5)](_0x25159b['id']),_0x17c7b2[_0x58aec0(0x1c5)](this[_0x58aec0(0x1a0)](_0x25159b));}const _0x41b4b1=await Promise[_0x58aec0(0x1e5)](_0x17c7b2);return this[_0x58aec0(0x1d5)](new ChangeLayerEvent(_0x58aec0(0x1d3),_0x15ff7a,_0x58aec0(0x1a9))),_0x41b4b1;}[a52_0xe2689f(0x1a2)](_0x348fa8,_0x2c1afb=![]){const _0x2b9af6=a52_0xe2689f,_0x224b0d=_0x348fa8,_0x1299cb=this[_0x2b9af6(0x1c1)](_0x224b0d['id']);if(_0x1299cb==null){const _0x3a4bbb=_0x224b0d['layerInfo']==undefined||_0x224b0d[_0x2b9af6(0x1a5)][_0x2b9af6(0x1c3)]==undefined||_0x224b0d['layerInfo']['minScale']<0x0?undefined:calculateResolution(_0x224b0d[_0x2b9af6(0x1a5)][_0x2b9af6(0x1c3)],this[_0x2b9af6(0x1b4)]()[_0x2b9af6(0x1db)]()['getMetersPerUnit']()||0x0);_0x348fa8['setMinResolution'](_0x3a4bbb);const _0x2dde50=_0x224b0d[_0x2b9af6(0x1a5)]==undefined||_0x224b0d[_0x2b9af6(0x1a5)][_0x2b9af6(0x1f5)]==undefined||_0x224b0d[_0x2b9af6(0x1a5)]['maxScale']<0x0?undefined:calculateResolution(_0x224b0d[_0x2b9af6(0x1a5)][_0x2b9af6(0x1f5)],this[_0x2b9af6(0x1b4)]()[_0x2b9af6(0x1db)]()[_0x2b9af6(0x1b5)]()||0x0);_0x348fa8[_0x2b9af6(0x192)](_0x2dde50);const _0xfd989b=this[_0x2b9af6(0x190)]()[_0x2b9af6(0x1ac)]()[_0x2b9af6(0x1d9)];if(!this['_options']['projection']&&_0xfd989b==0x0&&_0x224b0d[_0x2b9af6(0x199)]&&_0x224b0d['projection'][_0x2b9af6(0x1ce)]()!=this[_0x2b9af6(0x1b4)]()[_0x2b9af6(0x1db)]()['getCode']()){}let _0x58b153=_0x348fa8['getZIndex']();_0x58b153!=undefined&&_0x58b153>_0xfd989b&&(_0x58b153=_0xfd989b),this[_0x2b9af6(0x190)]()[_0x2b9af6(0x1e4)](_0x58b153==undefined?_0xfd989b:_0x58b153,_0x348fa8),_0x2c1afb&&this['fitLayer'](_0x224b0d);}}[a52_0xe2689f(0x1bf)](_0x509935){const _0x298239=a52_0xe2689f,_0x34737c=this[_0x298239(0x1c1)](_0x509935);_0x34737c&&(this['removeLayer'](_0x34737c),this['dispatchEvent'](new ChangeLayerEvent('changelayer',[_0x509935],'remove')));}['getLayerById'](_0x30c8cd){const _0x1d1bff=a52_0xe2689f;let _0x411d91,_0x2eed2d=this[_0x1d1bff(0x190)]()[_0x1d1bff(0x1ac)]();for(let _0x15efb1=0x0;_0x15efb1<_0x2eed2d[_0x1d1bff(0x1d9)];_0x15efb1++){let _0x3b6f4f=_0x2eed2d[_0x15efb1]['id'];if(_0x30c8cd==_0x3b6f4f){_0x411d91=_0x2eed2d[_0x15efb1];break;}}return _0x411d91;}[a52_0xe2689f(0x1c9)](_0x1a7289){const _0x400b7a=a52_0xe2689f;let _0x26cefe,_0x275070=this[_0x400b7a(0x190)]()[_0x400b7a(0x1ac)]();for(let _0x516921=0x0;_0x516921<_0x275070[_0x400b7a(0x1d9)];_0x516921++){const _0x1a3014=_0x275070[_0x516921][_0x400b7a(0x1a5)];if(!_0x1a3014)continue;let _0xc2152c=_0x1a3014[_0x400b7a(0x1f0)];if(_0xc2152c==_0x1a7289){_0x26cefe=_0x275070[_0x516921];break;}}return _0x26cefe;}[a52_0xe2689f(0x1c0)](_0x44b931){const _0x407c6e=a52_0xe2689f;let _0x3e0871=this[_0x407c6e(0x190)]()[_0x407c6e(0x1ac)]();return _0x3e0871[_0x407c6e(0x1a8)](_0x338b35=>_0x44b931[_0x407c6e(0x1b3)](_0x338b35['id']));}[a52_0xe2689f(0x1b1)](_0xb63afb){const _0x37694e=a52_0xe2689f;let _0x2160ad,_0x1ce97c=this[_0x37694e(0x190)]()[_0x37694e(0x1ac)]();for(let _0x5d9985=0x0;_0x5d9985<_0x1ce97c[_0x37694e(0x1d9)];_0x5d9985++){const _0x58c598=_0x1ce97c[_0x5d9985];if(_0x58c598['id']===_0xb63afb){_0x2160ad=_0x58c598;break;}}if(!_0x2160ad){_0x2160ad=new a52_0x3d7480({'zIndex':0x270f,'source':new a52_0x994c83()}),_0x2160ad['id']=_0xb63afb;const _0x5a1c87=this[_0x37694e(0x190)]()[_0x37694e(0x1be)]();switch(_0xb63afb){case _0x37694e(0x1dd):this['getLayers']()[_0x37694e(0x1e4)](_0x5a1c87-0x1>-0x1?_0x5a1c87-0x1:0x0,_0x2160ad);break;case _0x37694e(0x198):this[_0x37694e(0x190)]()[_0x37694e(0x1e4)](_0x5a1c87-0x2>-0x1?_0x5a1c87-0x2:0x0,_0x2160ad);break;case _0x37694e(0x1c7):this[_0x37694e(0x190)]()[_0x37694e(0x1e4)](_0x5a1c87,_0x2160ad);break;default:break;}}return _0x2160ad;}[a52_0xe2689f(0x195)](){const _0x283a3e=a52_0xe2689f;return this['getTempLayerById'](_0x283a3e(0x1c7));}['getLineTempLayer'](){const _0x280cd7=a52_0xe2689f;return this[_0x280cd7(0x1b1)](_0x280cd7(0x1dd));}['getPolygonTempLayer'](){const _0x40e249=a52_0xe2689f;return this[_0x40e249(0x1b1)](_0x40e249(0x198));}['getTempLayerByGeoType'](_0x3889a8){const _0x2f55b6=a52_0xe2689f;let _0x46150d=this[_0x2f55b6(0x195)]();switch(_0x3889a8){case _0x2f55b6(0x1d8):case _0x2f55b6(0x1de):_0x46150d=this[_0x2f55b6(0x195)]();case _0x2f55b6(0x1f2):case _0x2f55b6(0x1b2):_0x46150d=this[_0x2f55b6(0x1f8)]();case _0x2f55b6(0x1e6):case _0x2f55b6(0x1ae):_0x46150d=this[_0x2f55b6(0x1c2)]();}return _0x46150d;}['resetViewProjection'](_0x159427){const _0x593d3a=a52_0xe2689f;let _0xe1094c=this['getView']()['getMinZoom'](),_0x261bee=this['getView']()[_0x593d3a(0x1dc)]();registerProj(_0x159427),this[_0x593d3a(0x1b4)]()['setProjection'](_0x159427);}[a52_0xe2689f(0x1a3)](){const _0x4e952c=a52_0xe2689f;let _0x5c9925=[];_0x5c9925[_0x4e952c(0x1c5)](this[_0x4e952c(0x195)]()),_0x5c9925['push'](this['getLineTempLayer']()),_0x5c9925[_0x4e952c(0x1c5)](this['getPolygonTempLayer']());const _0x2cd7ce=this[_0x4e952c(0x190)]()[_0x4e952c(0x1ac)]()[_0x4e952c(0x1d9)];for(let _0x6ac717=0x0;_0x6ac717<_0x5c9925['length'];_0x6ac717++){const _0x2b2c8e=_0x5c9925[_0x6ac717];this['getLayers']()[_0x4e952c(0x1e4)](_0x2cd7ce-_0x6ac717-0x1,_0x2b2c8e);}}[a52_0xe2689f(0x1e0)](){const _0x59ac22=a52_0xe2689f;return this[_0x59ac22(0x1b4)]()['calculateExtent'](this['getSize']());}[a52_0xe2689f(0x1f4)](_0x4fa092,_0x3856b3,_0x449e62,_0x39fb59=!![],_0x3f45d8={'color':a52_0xe2689f(0x1ee),'opacity':0.2,'outlineColor':a52_0xe2689f(0x18f),'outlineWidth':0x2}){const _0x40d494=a52_0xe2689f;var _0x35ca9c;const _0x284bde=fromWKT(_0x4fa092,_0x3856b3,this[_0x40d494(0x1b4)]()['getProjection']()[_0x40d494(0x1ce)]());if(!_0x284bde)return;const _0x110546=this[_0x40d494(0x1af)](_0x284bde['getType']()),_0x5a7bc4=getStyle(_0x3f45d8),_0x124a06=new a52_0x12d186();_0x124a06[_0x40d494(0x1ba)](_0x284bde),_0x124a06[_0x40d494(0x1ef)](_0x5a7bc4),_0x124a06[_0x40d494(0x193)]=_0x449e62,(_0x35ca9c=_0x110546[_0x40d494(0x1ab)]())===null||_0x35ca9c===void 0x0?void 0x0:_0x35ca9c['addFeature'](_0x124a06),_0x39fb59&&this[_0x40d494(0x19c)](_0x284bde,undefined,1.2,![]);}[a52_0xe2689f(0x1a4)](_0x4717fe,_0x4c2c36,_0x1e597a,_0x153b16=!![],_0x5bff76={'color':a52_0xe2689f(0x1ee),'opacity':0.2,'outlineColor':a52_0xe2689f(0x18f),'outlineWidth':0x2}){const _0x13be1b=a52_0xe2689f;var _0x14ebf6;const _0x6c73db=fromWKTs(_0x4717fe,_0x4c2c36,this[_0x13be1b(0x1b4)]()[_0x13be1b(0x1db)]()[_0x13be1b(0x1ce)]());if(!_0x6c73db||_0x6c73db[_0x13be1b(0x1d9)]==0x0)return;const _0x2e051b=this['getTempLayerByGeoType'](_0x6c73db[0x0][_0x13be1b(0x1cb)]()),_0x4ed1b0=getStyle(_0x5bff76);let _0x47f39f=[];for(const _0x480d05 of _0x6c73db){const _0xab9f03=new a52_0x12d186();_0xab9f03[_0x13be1b(0x1ba)](_0x480d05),_0xab9f03['setStyle'](_0x4ed1b0),_0xab9f03['fromType']='import',_0xab9f03['isSelected']=!![],_0xab9f03['tag']=_0x1e597a,_0x47f39f['push'](_0xab9f03);}(_0x14ebf6=_0x2e051b[_0x13be1b(0x1ab)]())===null||_0x14ebf6===void 0x0?void 0x0:_0x14ebf6[_0x13be1b(0x1e2)](_0x47f39f),_0x153b16&&this[_0x13be1b(0x19f)](_0x6c73db,undefined,1.2,![]);}['locationWKT'](_0x238800,_0x3cc442,_0x5b9f65=1.2,_0x4f7b38=!![]){const _0x97c248=a52_0xe2689f;if(!_0x238800)return;let _0x2dd507=fromWKT(_0x238800,_0x3cc442,this[_0x97c248(0x1b4)]()[_0x97c248(0x1db)]()[_0x97c248(0x1ce)]());if(!_0x2dd507)return;this['locationGeometry'](_0x2dd507,_0x3cc442,_0x5b9f65,_0x4f7b38);}['locationWKTs'](_0xbd885d,_0x35b753,_0x288169=1.2,_0x20d866=!![]){const _0x85a289=a52_0xe2689f;if(!_0xbd885d||_0xbd885d['length']===0x0)return;const _0x28af35=[];for(let _0x1fddda=0x0;_0x1fddda<_0xbd885d[_0x85a289(0x1d9)];_0x1fddda++){let _0x36511d=_0xbd885d[_0x1fddda],_0x17d5ea=fromWKT(_0x36511d,_0x35b753,this['getView']()['getProjection']()[_0x85a289(0x1ce)]());if(!_0x17d5ea)continue;_0x28af35[_0x85a289(0x1c5)](_0x17d5ea);}this['locationGeometrys'](_0x28af35,_0x35b753,_0x288169,_0x20d866);}[a52_0xe2689f(0x19c)](_0x2b14d6,_0x43bf94,_0x490a10=1.2,_0x5d1536=!![]){const _0x4a8c88=a52_0xe2689f;if(!_0x2b14d6)return;let _0x497b30=_0x2b14d6;_0x43bf94&&(_0x497b30=_0x2b14d6['transform'](_0x43bf94,this['getView']()[_0x4a8c88(0x1db)]()));switch(_0x497b30[_0x4a8c88(0x1cb)]()){case'Point':this[_0x4a8c88(0x1b4)]()['setCenter'](_0x497b30[_0x4a8c88(0x1d2)]());break;case _0x4a8c88(0x1e6):case _0x4a8c88(0x1de):case'MultiLineString':case _0x4a8c88(0x1ae):case'GeometryCollection':this[_0x4a8c88(0x1b4)]()[_0x4a8c88(0x1d4)](expandExtent(_0x497b30['getExtent'](),_0x490a10));break;}if(_0x5d1536){const _0x10394d=new a52_0x5949a2(this);_0x10394d['flashGeometrys']([_0x497b30],0x3);}}[a52_0xe2689f(0x19f)](_0x2e5f0e,_0x482010,_0x125998=1.2,_0x590bf5=!![]){const _0x303c49=a52_0xe2689f;if(!_0x2e5f0e||_0x2e5f0e[_0x303c49(0x1d9)]===0x0)return;let _0x51fdf6=null;for(const _0x2fcad8 of _0x2e5f0e){_0x51fdf6?_0x51fdf6=union(_0x51fdf6,_0x2fcad8):_0x51fdf6=_0x2fcad8;}_0x51fdf6&&this[_0x303c49(0x19c)](_0x51fdf6,_0x482010,_0x125998,![]);if(_0x590bf5){const _0x2eb651=new a52_0x5949a2(this);_0x2eb651[_0x303c49(0x1d0)](_0x2e5f0e,0x3);}}}
|
|
1
|
+
const a52_0x3e4bc2=a52_0x1fa7;(function(_0x33b28b,_0x2ac5bd){const _0x9300dc=a52_0x1fa7,_0x5eedb5=_0x33b28b();while(!![]){try{const _0x239ae0=parseInt(_0x9300dc(0x1b4))/0x1+-parseInt(_0x9300dc(0x1aa))/0x2*(-parseInt(_0x9300dc(0x197))/0x3)+parseInt(_0x9300dc(0x196))/0x4*(parseInt(_0x9300dc(0x1ae))/0x5)+parseInt(_0x9300dc(0x1cd))/0x6+parseInt(_0x9300dc(0x1c2))/0x7*(parseInt(_0x9300dc(0x1b8))/0x8)+-parseInt(_0x9300dc(0x1bf))/0x9+-parseInt(_0x9300dc(0x1ca))/0xa;if(_0x239ae0===_0x2ac5bd)break;else _0x5eedb5['push'](_0x5eedb5['shift']());}catch(_0x2a65d4){_0x5eedb5['push'](_0x5eedb5['shift']());}}}(a52_0x499b,0x9d666));import'ol/ol.css';import'../assets/main.css';import a52_0x494e7f from'ol/Map';function a52_0x499b(){const _0x2de00a=['getCoordinates','geoserver-vector-tile','center','changetype','MultiPolygon','locationGeometry','push','getArcgisTileLayer','getMetersPerUnit','polygonTempLayer','getMaxZoom','addFeature','rgba(255,\x200,\x200,\x200.2)','minZoom','calculateExtent','getLayersByIds','rgba(255,\x200,\x200,\x201)','getGeoserverVectorTileLayer','addMapLayers','remove','getCode','add','zoom','flashGeometrys','getLayerById','arcgis-wmts','tag','fitLayer','minResolution','controlManager','constrainResolution','52QTysus','87174MUrTwI','pointTempLayer','length','extent','insertAt','_options','setMaxResolution','getGeoserverWmsLayer','GeometryCollection','addWKT','getZIndex','setGeometry','EPSG:','fromType','projection','】服务类型','dispatchEvent','arcgis-feature','filter','34WwYLTT','all','geoserver-wmts','addFeatures','446115PXkvTN','getLength','MultiPoint','fitLayerById','getPolygonTempLayer','fit','573122bVTOCi','interactionManager','addLayer','getArray','976416ILmRsm','LineString','getTempLayerByGeoType','getProjection','addMapLayer','MultiLineString','changelayer','8056845aBmzcX','getLineTempLayer','layerIds','35emRgUN','tdt-c','minScale','getType','暂不支持【','getArcgisFeatureLayer','locationWKTs','getSource','24451930tVDPUv','getLayers','Point','6887046KXTUsG','getLayerByLayerTag','layerType','getGeoserverWFSLayer','getPointTempLayer','getTDTLayer','layerInfo','removeLayerById','getExtent','Polygon','setStyle','getArcgisWmsLayer','layerTag','arcgis-wms','setMinResolution','lineTempLayer','transform','getView','maxZoom','import'];a52_0x499b=function(){return _0x2de00a;};return a52_0x499b();}import a52_0x53a454 from'ol/events/Event';import{defaults as a52_0x13e1c4}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a52_0x1a4a35 from'../layers/LayerManager';import a52_0x41a549 from'ol/layer/Vector';import a52_0x36ef32 from'ol/source/Vector';import a52_0x4a8c09 from'../controls/ControlManager';import a52_0x34d9e9 from'../entity/Feature';import a52_0x16a01c from'../interaction/InteractionManager';import a52_0x22421d from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a52_0x4ca572 from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';function a52_0x1fa7(_0x2b060b,_0x20a553){const _0x499be3=a52_0x499b();return a52_0x1fa7=function(_0x1fa7f9,_0x1b53b3){_0x1fa7f9=_0x1fa7f9-0x177;let _0x53ae23=_0x499be3[_0x1fa7f9];return _0x53ae23;},a52_0x1fa7(_0x2b060b,_0x20a553);}import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a52_0x53a454{constructor(_0x309055,_0x686037,_0x63bf72){const _0x46774a=a52_0x1fa7;super(_0x309055),this[_0x46774a(0x1c1)]=_0x686037,this[_0x46774a(0x17a)]=_0x63bf72;}}export default class OLMap extends a52_0x494e7f{constructor(_0x25fbf0,_0x1d06ce,_0x366519){const _0x507913=a52_0x1fa7;_0x1d06ce=_0x1d06ce?_0x1d06ce:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0xc39a3d=_0x1d06ce[_0x507913(0x1a5)]?_0x507913(0x1a3)+_0x1d06ce[_0x507913(0x1a5)]:'EPSG:4490';_0x1d06ce[_0x507913(0x18d)]=_0x1d06ce[_0x507913(0x18d)]?_0x1d06ce[_0x507913(0x18d)]:0xa,_0x1d06ce['minZoom']=_0x1d06ce[_0x507913(0x184)]?_0x1d06ce[_0x507913(0x184)]:0x0,_0x1d06ce[_0x507913(0x1df)]=_0x1d06ce['maxZoom']?_0x1d06ce[_0x507913(0x1df)]:0x1c,_0x1d06ce[_0x507913(0x195)]=_0x1d06ce['constrainResolution']?_0x1d06ce[_0x507913(0x195)]:![],_0x1d06ce[_0x507913(0x179)]=_0x1d06ce[_0x507913(0x179)]?_0x1d06ce[_0x507913(0x179)]:[117.22718,31.820386],registerProj(_0xc39a3d);const _0x249e16={'target':_0x25fbf0,'view':_0x366519?_0x366519:new a52_0x22421d({'center':_0x1d06ce[_0x507913(0x179)],'zoom':_0x1d06ce[_0x507913(0x18d)],'projection':_0xc39a3d,'minZoom':_0x1d06ce['minZoom'],'maxZoom':_0x1d06ce[_0x507913(0x1df)],'minResolution':_0x1d06ce[_0x507913(0x193)],'maxResolution':_0x1d06ce['maxResolution'],'constrainResolution':_0x1d06ce[_0x507913(0x195)]}),'controls':a52_0x13e1c4({'zoom':![]})};super(_0x249e16),_0x1d06ce[_0x507913(0x19a)]&&this[_0x507913(0x1de)]()['fit'](_0x1d06ce[_0x507913(0x19a)]),this[_0x507913(0x1b5)]=new a52_0x16a01c(this),this[_0x507913(0x194)]=new a52_0x4a8c09(this),this[_0x507913(0x19c)]=_0x1d06ce;}['getView'](){const _0x487307=a52_0x1fa7;return super[_0x487307(0x1de)]();}[a52_0x3e4bc2(0x192)](_0x3c5a50){const _0xb0ea09=a52_0x3e4bc2;var _0x1c6426;this['getView']()[_0xb0ea09(0x1b3)](transformExtent(_0x3c5a50['initialExtent'],(_0x1c6426=_0x3c5a50[_0xb0ea09(0x1a5)])===null||_0x1c6426===void 0x0?void 0x0:_0x1c6426['getCode'](),this[_0xb0ea09(0x1de)]()[_0xb0ea09(0x1bb)]()[_0xb0ea09(0x18b)]()));}[a52_0x3e4bc2(0x1b1)](_0x4efb55){const _0x3dbaa4=a52_0x3e4bc2;let _0x322e94=this[_0x3dbaa4(0x18f)](_0x4efb55);_0x322e94&&this['fitLayer'](_0x322e94);}async[a52_0x3e4bc2(0x1bc)](_0x39cae5){const _0x3ceabd=a52_0x3e4bc2;let _0x2dd966;switch(_0x39cae5[_0x3ceabd(0x1cf)]){case _0x3ceabd(0x1a8):_0x2dd966=await a52_0x1a4a35[_0x3ceabd(0x1c7)](_0x39cae5);break;case'arcgis-dynamic':_0x2dd966=await a52_0x1a4a35['getDynamicLayer'](_0x39cae5);break;case'arcgis-tile':_0x2dd966=await a52_0x1a4a35[_0x3ceabd(0x17e)](_0x39cae5);break;case _0x3ceabd(0x1da):_0x2dd966=await a52_0x1a4a35[_0x3ceabd(0x1d8)](_0x39cae5);break;case _0x3ceabd(0x190):_0x2dd966=await a52_0x1a4a35['getArcgisWMTSLayer'](_0x39cae5);break;case'geoserver-wms':_0x2dd966=await a52_0x1a4a35[_0x3ceabd(0x19e)](_0x39cae5);break;case'geoserver-wfs':_0x2dd966=await a52_0x1a4a35[_0x3ceabd(0x1d0)](_0x39cae5);break;case _0x3ceabd(0x1ac):_0x2dd966=await a52_0x1a4a35['getGeoserverWMTSLayer'](_0x39cae5);break;case _0x3ceabd(0x178):_0x2dd966=await a52_0x1a4a35[_0x3ceabd(0x188)](_0x39cae5);break;case _0x3ceabd(0x1c3):_0x2dd966=await a52_0x1a4a35[_0x3ceabd(0x1d2)](_0x39cae5);break;default:throw new Error(_0x3ceabd(0x1c6)+_0x39cae5['layerType']+_0x3ceabd(0x1a6));}return this[_0x3ceabd(0x1b6)](_0x2dd966),this['dispatchEvent'](new ChangeLayerEvent('changelayer',[_0x39cae5['id']],_0x3ceabd(0x18c))),_0x2dd966;}async[a52_0x3e4bc2(0x189)](_0x13e497){const _0x515fb9=a52_0x3e4bc2;let _0x5a7098=[];const _0x2a79a6=[];for(let _0x37c26d=0x0;_0x37c26d<_0x13e497[_0x515fb9(0x199)];_0x37c26d++){const _0x110b0d=_0x13e497[_0x37c26d];_0x2a79a6[_0x515fb9(0x17d)](_0x110b0d['id']),_0x5a7098[_0x515fb9(0x17d)](this['addMapLayer'](_0x110b0d));}const _0x3cd2df=await Promise[_0x515fb9(0x1ab)](_0x5a7098);return this[_0x515fb9(0x1a7)](new ChangeLayerEvent(_0x515fb9(0x1be),_0x2a79a6,'add')),_0x3cd2df;}[a52_0x3e4bc2(0x1b6)](_0x1b1e44,_0x3817f6=![]){const _0x166481=a52_0x3e4bc2,_0x5c4dc9=_0x1b1e44,_0x5865ae=this[_0x166481(0x18f)](_0x5c4dc9['id']);if(_0x5865ae==null){const _0x39c7dc=_0x5c4dc9['layerInfo']==undefined||_0x5c4dc9[_0x166481(0x1d3)][_0x166481(0x1c4)]==undefined||_0x5c4dc9[_0x166481(0x1d3)][_0x166481(0x1c4)]<0x0?undefined:calculateResolution(_0x5c4dc9[_0x166481(0x1d3)][_0x166481(0x1c4)],this[_0x166481(0x1de)]()[_0x166481(0x1bb)]()[_0x166481(0x17f)]()||0x0);_0x1b1e44[_0x166481(0x1db)](_0x39c7dc);const _0xed28f0=_0x5c4dc9['layerInfo']==undefined||_0x5c4dc9[_0x166481(0x1d3)]['maxScale']==undefined||_0x5c4dc9[_0x166481(0x1d3)]['maxScale']<0x0?undefined:calculateResolution(_0x5c4dc9[_0x166481(0x1d3)]['maxScale'],this[_0x166481(0x1de)]()[_0x166481(0x1bb)]()[_0x166481(0x17f)]()||0x0);_0x1b1e44[_0x166481(0x19d)](_0xed28f0);const _0x57f4d3=this[_0x166481(0x1cb)]()[_0x166481(0x1b7)]()[_0x166481(0x199)];if(!this[_0x166481(0x19c)][_0x166481(0x1a5)]&&_0x57f4d3==0x0&&_0x5c4dc9['projection']&&_0x5c4dc9['projection'][_0x166481(0x18b)]()!=this[_0x166481(0x1de)]()[_0x166481(0x1bb)]()[_0x166481(0x18b)]()){}let _0x2bba35=_0x1b1e44[_0x166481(0x1a1)]();_0x2bba35!=undefined&&_0x2bba35>_0x57f4d3&&(_0x2bba35=_0x57f4d3),this[_0x166481(0x1cb)]()[_0x166481(0x19b)](_0x2bba35==undefined?_0x57f4d3:_0x2bba35,_0x1b1e44),_0x3817f6&&this[_0x166481(0x192)](_0x5c4dc9);}}[a52_0x3e4bc2(0x1d4)](_0x24e1e7){const _0x436979=a52_0x3e4bc2,_0x4b975f=this[_0x436979(0x18f)](_0x24e1e7);_0x4b975f&&(this['removeLayer'](_0x4b975f),this[_0x436979(0x1a7)](new ChangeLayerEvent(_0x436979(0x1be),[_0x24e1e7],_0x436979(0x18a))));}[a52_0x3e4bc2(0x18f)](_0x5408af){const _0x47a5a3=a52_0x3e4bc2;let _0x1c5317,_0x24beda=this[_0x47a5a3(0x1cb)]()[_0x47a5a3(0x1b7)]();for(let _0x21e383=0x0;_0x21e383<_0x24beda[_0x47a5a3(0x199)];_0x21e383++){let _0x5e4413=_0x24beda[_0x21e383]['id'];if(_0x5408af==_0x5e4413){_0x1c5317=_0x24beda[_0x21e383];break;}}return _0x1c5317;}[a52_0x3e4bc2(0x1ce)](_0x5b009b){const _0x5996c6=a52_0x3e4bc2;let _0x3a7845,_0x36d9a8=this[_0x5996c6(0x1cb)]()[_0x5996c6(0x1b7)]();for(let _0x5a9f59=0x0;_0x5a9f59<_0x36d9a8[_0x5996c6(0x199)];_0x5a9f59++){const _0x188ee4=_0x36d9a8[_0x5a9f59][_0x5996c6(0x1d3)];if(!_0x188ee4)continue;let _0x3b48e2=_0x188ee4[_0x5996c6(0x1d9)];if(_0x3b48e2==_0x5b009b){_0x3a7845=_0x36d9a8[_0x5a9f59];break;}}return _0x3a7845;}[a52_0x3e4bc2(0x186)](_0x74ff6d){const _0x347035=a52_0x3e4bc2;let _0x211ede=this['getLayers']()[_0x347035(0x1b7)]();return _0x211ede[_0x347035(0x1a9)](_0x57def8=>_0x74ff6d['includes'](_0x57def8['id']));}['getTempLayerById'](_0x340134){const _0x6bb1f1=a52_0x3e4bc2;let _0x2a2f16,_0x5f2d8c=this[_0x6bb1f1(0x1cb)]()[_0x6bb1f1(0x1b7)]();for(let _0x24debf=0x0;_0x24debf<_0x5f2d8c[_0x6bb1f1(0x199)];_0x24debf++){const _0x41bed5=_0x5f2d8c[_0x24debf];if(_0x41bed5['id']===_0x340134){_0x2a2f16=_0x41bed5;break;}}if(!_0x2a2f16){_0x2a2f16=new a52_0x41a549({'zIndex':0x270f,'source':new a52_0x36ef32()}),_0x2a2f16['id']=_0x340134;const _0xa937e7=this['getLayers']()[_0x6bb1f1(0x1af)]();switch(_0x340134){case _0x6bb1f1(0x1dc):this[_0x6bb1f1(0x1cb)]()['insertAt'](_0xa937e7-0x1>-0x1?_0xa937e7-0x1:0x0,_0x2a2f16);break;case _0x6bb1f1(0x180):this[_0x6bb1f1(0x1cb)]()[_0x6bb1f1(0x19b)](_0xa937e7-0x2>-0x1?_0xa937e7-0x2:0x0,_0x2a2f16);break;case _0x6bb1f1(0x198):this[_0x6bb1f1(0x1cb)]()[_0x6bb1f1(0x19b)](_0xa937e7,_0x2a2f16);break;default:break;}}return _0x2a2f16;}[a52_0x3e4bc2(0x1d1)](){const _0x44cf73=a52_0x3e4bc2;return this['getTempLayerById'](_0x44cf73(0x198));}[a52_0x3e4bc2(0x1c0)](){const _0x136511=a52_0x3e4bc2;return this['getTempLayerById'](_0x136511(0x1dc));}[a52_0x3e4bc2(0x1b2)](){return this['getTempLayerById']('polygonTempLayer');}['getTempLayerByGeoType'](_0x3b3e51){const _0x3537fb=a52_0x3e4bc2;let _0x3aaac0=this[_0x3537fb(0x1d1)]();switch(_0x3b3e51){case _0x3537fb(0x1cc):case _0x3537fb(0x1b0):_0x3aaac0=this[_0x3537fb(0x1d1)]();case _0x3537fb(0x1b9):case _0x3537fb(0x1bd):_0x3aaac0=this[_0x3537fb(0x1c0)]();case _0x3537fb(0x1d6):case _0x3537fb(0x17b):_0x3aaac0=this[_0x3537fb(0x1b2)]();}return _0x3aaac0;}['resetViewProjection'](_0x479f3d){const _0x21051e=a52_0x3e4bc2;let _0x1f27b8=this['getView']()['getMinZoom'](),_0x495563=this[_0x21051e(0x1de)]()[_0x21051e(0x181)]();registerProj(_0x479f3d),this[_0x21051e(0x1de)]()['setProjection'](_0x479f3d);}['sortTemLayer'](){const _0xbdab7e=a52_0x3e4bc2;let _0x43ff64=[];_0x43ff64[_0xbdab7e(0x17d)](this[_0xbdab7e(0x1d1)]()),_0x43ff64[_0xbdab7e(0x17d)](this[_0xbdab7e(0x1c0)]()),_0x43ff64[_0xbdab7e(0x17d)](this[_0xbdab7e(0x1b2)]());const _0x19cba0=this[_0xbdab7e(0x1cb)]()['getArray']()[_0xbdab7e(0x199)];for(let _0x2b16ca=0x0;_0x2b16ca<_0x43ff64[_0xbdab7e(0x199)];_0x2b16ca++){const _0x3eba82=_0x43ff64[_0x2b16ca];this[_0xbdab7e(0x1cb)]()[_0xbdab7e(0x19b)](_0x19cba0-_0x2b16ca-0x1,_0x3eba82);}}[a52_0x3e4bc2(0x1d5)](){const _0x4af675=a52_0x3e4bc2;return this[_0x4af675(0x1de)]()[_0x4af675(0x185)](this['getSize']());}[a52_0x3e4bc2(0x1a0)](_0x36e7cf,_0x21e794,_0x45a775,_0x29de2e=!![],_0x187f34={'color':a52_0x3e4bc2(0x183),'opacity':0.2,'outlineColor':a52_0x3e4bc2(0x187),'outlineWidth':0x2}){const _0x30cede=a52_0x3e4bc2;var _0x497fd7;const _0x5ed579=fromWKT(_0x36e7cf,_0x21e794,this[_0x30cede(0x1de)]()[_0x30cede(0x1bb)]()[_0x30cede(0x18b)]());if(!_0x5ed579)return;const _0x90bdb2=this['getTempLayerByGeoType'](_0x5ed579[_0x30cede(0x1c5)]()),_0x2e0392=getStyle(_0x187f34),_0x535cc2=new a52_0x34d9e9();_0x535cc2['setGeometry'](_0x5ed579),_0x535cc2[_0x30cede(0x1d7)](_0x2e0392),_0x535cc2['tag']=_0x45a775,(_0x497fd7=_0x90bdb2[_0x30cede(0x1c9)]())===null||_0x497fd7===void 0x0?void 0x0:_0x497fd7[_0x30cede(0x182)](_0x535cc2),_0x29de2e&&this[_0x30cede(0x17c)](_0x5ed579,undefined,1.2,![]);}['addWKTs'](_0x168bae,_0x941f76,_0x35d9c8,_0x4a91c5=!![],_0x2869ce={'color':a52_0x3e4bc2(0x183),'opacity':0.2,'outlineColor':a52_0x3e4bc2(0x187),'outlineWidth':0x2}){const _0x12fff8=a52_0x3e4bc2;var _0x5697ef;const _0x36c1a3=fromWKTs(_0x168bae,_0x941f76,this[_0x12fff8(0x1de)]()[_0x12fff8(0x1bb)]()[_0x12fff8(0x18b)]());if(!_0x36c1a3||_0x36c1a3[_0x12fff8(0x199)]==0x0)return;const _0x3d042d=this[_0x12fff8(0x1ba)](_0x36c1a3[0x0][_0x12fff8(0x1c5)]()),_0x5db964=getStyle(_0x2869ce);let _0x3cafe1=[];for(const _0x2447f9 of _0x36c1a3){const _0x60d311=new a52_0x34d9e9();_0x60d311[_0x12fff8(0x1a2)](_0x2447f9),_0x60d311[_0x12fff8(0x1d7)](_0x5db964),_0x60d311[_0x12fff8(0x1a4)]=_0x12fff8(0x1e0),_0x60d311['isSelected']=!![],_0x60d311[_0x12fff8(0x191)]=_0x35d9c8,_0x3cafe1[_0x12fff8(0x17d)](_0x60d311);}(_0x5697ef=_0x3d042d[_0x12fff8(0x1c9)]())===null||_0x5697ef===void 0x0?void 0x0:_0x5697ef[_0x12fff8(0x1ad)](_0x3cafe1),_0x4a91c5&&this['locationGeometrys'](_0x36c1a3,undefined,1.2,![]);}['locationWKT'](_0x73d267,_0x53ce96,_0x2805ff=1.2,_0x2ea971=!![]){const _0x5435a0=a52_0x3e4bc2;if(!_0x73d267)return;let _0x15cea4=fromWKT(_0x73d267,_0x53ce96,this[_0x5435a0(0x1de)]()[_0x5435a0(0x1bb)]()[_0x5435a0(0x18b)]());if(!_0x15cea4)return;this[_0x5435a0(0x17c)](_0x15cea4,_0x53ce96,_0x2805ff,_0x2ea971);}[a52_0x3e4bc2(0x1c8)](_0x70def5,_0x45b4c8,_0x41de45=1.2,_0x110a91=!![]){const _0x56bd70=a52_0x3e4bc2;if(!_0x70def5||_0x70def5['length']===0x0)return;const _0x4f112c=[];for(let _0x5ea397=0x0;_0x5ea397<_0x70def5['length'];_0x5ea397++){let _0x29d81d=_0x70def5[_0x5ea397],_0x53d801=fromWKT(_0x29d81d,_0x45b4c8,this[_0x56bd70(0x1de)]()[_0x56bd70(0x1bb)]()[_0x56bd70(0x18b)]());if(!_0x53d801)continue;_0x4f112c[_0x56bd70(0x17d)](_0x53d801);}this['locationGeometrys'](_0x4f112c,_0x45b4c8,_0x41de45,_0x110a91);}[a52_0x3e4bc2(0x17c)](_0x441579,_0x5d485d,_0x2e2e38=1.2,_0x2c1b1b=!![]){const _0x79571a=a52_0x3e4bc2;if(!_0x441579)return;let _0x1be520=_0x441579;_0x5d485d&&(_0x1be520=_0x441579[_0x79571a(0x1dd)](_0x5d485d,this['getView']()[_0x79571a(0x1bb)]()));switch(_0x1be520['getType']()){case'Point':this[_0x79571a(0x1de)]()['setCenter'](_0x1be520[_0x79571a(0x177)]());break;case'Polygon':case _0x79571a(0x1b0):case _0x79571a(0x1bd):case _0x79571a(0x17b):case _0x79571a(0x19f):this[_0x79571a(0x1de)]()[_0x79571a(0x1b3)](expandExtent(_0x1be520['getExtent'](),_0x2e2e38));break;}if(_0x2c1b1b){const _0xab56be=new a52_0x4ca572(this);_0xab56be[_0x79571a(0x18e)]([_0x1be520],0x3);}}['locationGeometrys'](_0x5464ad,_0x41d44c,_0x4be8ff=1.2,_0x1517bc=!![]){const _0x345d1c=a52_0x3e4bc2;if(!_0x5464ad||_0x5464ad[_0x345d1c(0x199)]===0x0)return;let _0xdc8bd6=null;for(const _0x52f58e of _0x5464ad){_0xdc8bd6?_0xdc8bd6=union(_0xdc8bd6,_0x52f58e):_0xdc8bd6=_0x52f58e;}_0xdc8bd6&&this['locationGeometry'](_0xdc8bd6,_0x41d44c,_0x4be8ff,![]);if(_0x1517bc){const _0x2ce4f3=new a52_0x4ca572(this);_0x2ce4f3[_0x345d1c(0x18e)](_0x5464ad,0x3);}}}
|
package/mapView/View.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a53_0x2656(){var _0x536d58=['75827HYqmaC','9952IiKxaO','4184130eOQHrK','62430aDvnHs','6072122jvFGUk','22kgjSVM','setProperties','6182hmpRXC','6925230gzeQXC','1152bXsuHa','9QbBNZq','751904hgvaxv'];a53_0x2656=function(){return _0x536d58;};return a53_0x2656();}(function(_0x40a49f,_0x17f4fd){var _0x17769b=a53_0x4c03,_0x1d85a4=_0x40a49f();while(!![]){try{var _0xf8daef=-parseInt(_0x17769b(0x1bc))/0x1*(-parseInt(_0x17769b(0x1b5))/0x2)+-parseInt(_0x17769b(0x1b9))/0x3*(parseInt(_0x17769b(0x1bd))/0x4)+-parseInt(_0x17769b(0x1b2))/0x5+-parseInt(_0x17769b(0x1b8))/0x6+-parseInt(_0x17769b(0x1b4))/0x7+-parseInt(_0x17769b(0x1bb))/0x8*(-parseInt(_0x17769b(0x1ba))/0x9)+parseInt(_0x17769b(0x1b3))/0xa*(parseInt(_0x17769b(0x1b7))/0xb);if(_0xf8daef===_0x17f4fd)break;else _0x1d85a4['push'](_0x1d85a4['shift']());}catch(_0x4f9953){_0x1d85a4['push'](_0x1d85a4['shift']());}}}(a53_0x2656,0x980be));import a53_0x1ac4a0 from'ol/View';import{get}from'ol/proj';function a53_0x4c03(_0x3dd30b,_0x46ce23){var _0x2656ec=a53_0x2656();return a53_0x4c03=function(_0x4c03a0,_0x6c7690){_0x4c03a0=_0x4c03a0-0x1b2;var _0x3fc01b=_0x2656ec[_0x4c03a0];return _0x3fc01b;},a53_0x4c03(_0x3dd30b,_0x46ce23);}export default class OLView extends a53_0x1ac4a0{constructor(_0x30df53){super(_0x30df53);}['setProjection'](_0x4b2b1e){var _0x2ecb0c=a53_0x4c03;this['projection_']=get(_0x4b2b1e),this[_0x2ecb0c(0x1b6)]({'projection_':get(_0x4b2b1e)});}}
|
package/package.json
CHANGED
package/plot/Plot.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x54d074,_0x1fff86){const _0x45c5fa=a61_0x581f,_0x4dbc85=_0x54d074();while(!![]){try{const _0x54de44=-parseInt(_0x45c5fa(0x9c))/0x1*(-parseInt(_0x45c5fa(0x9a))/0x2)+-parseInt(_0x45c5fa(0x9e))/0x3+-parseInt(_0x45c5fa(0x9f))/0x4+-parseInt(_0x45c5fa(0x8c))/0x5+-parseInt(_0x45c5fa(0x96))/0x6+-parseInt(_0x45c5fa(0x8b))/0x7*(parseInt(_0x45c5fa(0x93))/0x8)+parseInt(_0x45c5fa(0x97))/0x9*(parseInt(_0x45c5fa(0x95))/0xa);if(_0x54de44===_0x1fff86)break;else _0x4dbc85['push'](_0x4dbc85['shift']());}catch(_0x42a491){_0x4dbc85['push'](_0x4dbc85['shift']());}}}(a61_0xf75d,0x5d2a9));import a61_0x502179 from'../entity/GeometryType';import a61_0x3d84d2 from'./geometry/polygon/Polygon';function a61_0x581f(_0x154ca0,_0x4d395b){const _0xf75d99=a61_0xf75d();return a61_0x581f=function(_0x581fbd,_0x264784){_0x581fbd=_0x581fbd-0x89;let _0x3b376f=_0xf75d99[_0x581fbd];return _0x3b376f;},a61_0x581f(_0x154ca0,_0x4d395b);}import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';function a61_0xf75d(){const _0xfcdfea=['Point','8FMBqRy','Ellipse','12206gmmfiZ','toLowerCase','633120owgAKY','168212lyeeRJ','Curve','Polygon','3441298rWjulo','1862275EXSCxn','ArrowPincerlike','Ellipsoid','assign','Circle','MAX_VALUE','Rectangle','8ArYwff','PolyLine','3370YSKCtU','1489176dIRCyy','45351wuSdEU','ArrowAttack'];a61_0xf75d=function(){return _0xfcdfea;};return a61_0xf75d();}import{getPolygonStyle}from'../style/PolygonStyleFormat';import a61_0x416a83 from'./geometry/polygon/RectAngle';import a61_0x27a586 from'./geometry/polyline/Polyline';import a61_0x57a2d2 from'./geometry/point/Point';import a61_0x1cb394 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(_0x480da5,_0xd45f5b){const _0x3abb2b=a61_0x581f;_0x480da5=_0x480da5['toLowerCase']();switch(_0x480da5){case a61_0x502179[_0x3abb2b(0x99)]:case'pointermove':return new a61_0x57a2d2(_0xd45f5b);case a61_0x502179['PolyLine']:return new a61_0x27a586(_0xd45f5b);case a61_0x502179[_0x3abb2b(0x90)]:return new a61_0x1cb394(_0xd45f5b);case a61_0x502179['Rectangle']:return new a61_0x416a83(_0xd45f5b);case a61_0x502179['Polygon']:return new a61_0x3d84d2(_0xd45f5b);}}export function getPlotCount(_0x10d3a6){const _0x4ff01a=a61_0x581f;_0x10d3a6=_0x10d3a6['toLowerCase']();let _0x1992f8={'fixPoint':0x0,'minPoint':0x0};switch(_0x10d3a6){case a61_0x502179[_0x4ff01a(0x99)]:_0x1992f8={'fixPoint':0x1,'minPoint':0x0};break;case a61_0x502179[_0x4ff01a(0x94)]:_0x1992f8={'fixPoint':Number['MAX_VALUE'],'minPoint':0x1};break;case a61_0x502179[_0x4ff01a(0x8a)]:_0x1992f8={'fixPoint':Number['MAX_VALUE'],'minPoint':0x2};break;case a61_0x502179['Rectangle']:_0x1992f8={'fixPoint':0x2,'minPoint':0x1};break;case a61_0x502179[_0x4ff01a(0x90)]:_0x1992f8={'fixPoint':0x2,'minPoint':0x1};break;case a61_0x502179[_0x4ff01a(0x89)]:_0x1992f8={'fixPoint':Number[_0x4ff01a(0x91)],'minPoint':0x1};break;case a61_0x502179[_0x4ff01a(0x9b)]:case a61_0x502179['Ellipsoid']:_0x1992f8={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x1992f8;}export function getStyle(_0x389897,_0x1accca,_0x3bc850){const _0xb6740d=a61_0x581f;_0x389897=_0x389897[_0xb6740d(0x9d)](),_0x1accca=Object[_0xb6740d(0x8f)](Object[_0xb6740d(0x8f)]({},defaultStyle),_0x1accca);switch(_0x389897){case a61_0x502179['Point']:return function(_0x49c4dd,_0x3e0b92){return getPointSingleStyle(_0x389897,_0x1accca,_0x3e0b92,_0x3bc850);};case a61_0x502179[_0xb6740d(0x94)]:case a61_0x502179['Curve']:return function(_0x4868ca,_0x29af89){return getPolylineStyle(_0x1accca,'',_0x29af89,_0x3bc850);};case a61_0x502179[_0xb6740d(0x90)]:case a61_0x502179[_0xb6740d(0x92)]:case a61_0x502179[_0xb6740d(0x9b)]:case a61_0x502179[_0xb6740d(0x8e)]:case a61_0x502179['SurfaceClosed']:case a61_0x502179[_0xb6740d(0x8a)]:case a61_0x502179[_0xb6740d(0x98)]:case a61_0x502179[_0xb6740d(0x8d)]:case a61_0x502179['Arrow']:case a61_0x502179['AssemblySite']:return function(_0x3da179,_0x7a12bf){return getPolygonStyle(_0x1accca,'',_0x7a12bf,_0x3bc850);};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a54_0x15b209=a54_0x2e6e;(function(_0x1b5552,_0x4cbf6a){var _0x4a0242=a54_0x2e6e,_0x25d817=_0x1b5552();while(!![]){try{var _0x597fb6=-parseInt(_0x4a0242(0xea))/0x1*(-parseInt(_0x4a0242(0xf9))/0x2)+-parseInt(_0x4a0242(0xfc))/0x3*(-parseInt(_0x4a0242(0xe3))/0x4)+parseInt(_0x4a0242(0xf2))/0x5*(parseInt(_0x4a0242(0xe4))/0x6)+parseInt(_0x4a0242(0xeb))/0x7*(-parseInt(_0x4a0242(0xef))/0x8)+-parseInt(_0x4a0242(0xee))/0x9+-parseInt(_0x4a0242(0xf3))/0xa*(-parseInt(_0x4a0242(0xf5))/0xb)+-parseInt(_0x4a0242(0xf1))/0xc*(parseInt(_0x4a0242(0xe5))/0xd);if(_0x597fb6===_0x4cbf6a)break;else _0x25d817['push'](_0x25d817['shift']());}catch(_0x4eb155){_0x25d817['push'](_0x25d817['shift']());}}}(a54_0x50da,0x3f877));import{Map}from'ol';import{Point as a54_0x3382b0}from'ol/geom';function a54_0x2e6e(_0x4d7a2c,_0x410197){var _0x50dae1=a54_0x50da();return a54_0x2e6e=function(_0x2e6e07,_0x498c1a){_0x2e6e07=_0x2e6e07-0xe1;var _0x2d2681=_0x50dae1[_0x2e6e07];return _0x2d2681;},a54_0x2e6e(_0x4d7a2c,_0x410197);}class Point extends a54_0x3382b0{constructor(_0x37fd35){var _0x189f0a=a54_0x2e6e;super([]),this[_0x189f0a(0xf0)]='Point',this['points']=_0x37fd35,this[_0x189f0a(0xf4)](_0x37fd35);}[a54_0x15b209(0xfd)](){var _0x15b90f=a54_0x15b209;return this[_0x15b90f(0xf0)];}[a54_0x15b209(0xfe)](){var _0x526127=a54_0x15b209;this[_0x526127(0xfb)](this[_0x526127(0xe7)][0x0]);}[a54_0x15b209(0xed)](_0x350e9f){var _0x5db842=a54_0x15b209;if(_0x350e9f&&_0x350e9f instanceof Map)this[_0x5db842(0xe1)]=_0x350e9f;else throw new Error(_0x5db842(0xf6));}[a54_0x15b209(0xe8)](){var _0xb160af=a54_0x15b209;return this[_0xb160af(0xe1)];}[a54_0x15b209(0xfa)](){return!![];}[a54_0x15b209(0xf4)](_0x3a1ea2){var _0x58a122=a54_0x15b209;_0x3a1ea2&&_0x3a1ea2[_0x58a122(0xff)]>=0x1&&(this[_0x58a122(0xe7)]=_0x3a1ea2,this[_0x58a122(0xfe)]());}['getPoints'](){var _0x266a75=a54_0x15b209;return this[_0x266a75(0xe7)];}[a54_0x15b209(0xe2)](_0x1b80a4,_0x3a0da3){var _0x54cd09=a54_0x15b209;_0x3a0da3>=0x0&&_0x3a0da3<this[_0x54cd09(0xe7)]['length']&&(this['points'][_0x3a0da3]=_0x1b80a4,this['generate']());}[a54_0x15b209(0xf7)](_0x3c926d){var _0xec6370=a54_0x15b209;this['updatePoint'](_0x3c926d,this['points'][_0xec6370(0xff)]-0x1);}[a54_0x15b209(0xe9)](){}[a54_0x15b209(0xec)](_0x2d802b){var _0x1b2991=a54_0x15b209;this[_0x1b2991(0xe6)]=JSON[_0x1b2991(0xf8)](JSON['stringify'](_0x2d802b));}}export default Point;function a54_0x50da(){var _0x37827d=['setCoordinates','39hFyHss','getPlotType','generate','length','map','updatePoint','141348bwhaKY','6tjeRKB','3637855gdhUQI','style','points','getMap','finishDrawing','1cXREBE','1557157DktUHd','setStyle','setMap','3940695HCpDPE','8ecIPgr','type','12mzBavp','2326345DoXpzC','710gSqXba','setPoints','17083rSooqL','传入的不是地图对象!','updateLastPoint','parse','330886VrwdHz','isPlot'];a54_0x50da=function(){return _0x37827d;};return a54_0x50da();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a55_0x1370c8=a55_0x42f4;function a55_0x42f4(_0x1c8f05,_0x4dd2a6){var _0x2052d5=a55_0x2052();return a55_0x42f4=function(_0x42f4da,_0x35d460){_0x42f4da=_0x42f4da-0x6f;var _0x500c54=_0x2052d5[_0x42f4da];return _0x500c54;},a55_0x42f4(_0x1c8f05,_0x4dd2a6);}(function(_0x48ad4e,_0x4d4989){var _0x3b1265=a55_0x42f4,_0x21010a=_0x48ad4e();while(!![]){try{var _0x2e3a5a=-parseInt(_0x3b1265(0x80))/0x1*(parseInt(_0x3b1265(0x73))/0x2)+parseInt(_0x3b1265(0x87))/0x3*(-parseInt(_0x3b1265(0x76))/0x4)+parseInt(_0x3b1265(0x7b))/0x5+parseInt(_0x3b1265(0x70))/0x6+-parseInt(_0x3b1265(0x7d))/0x7*(-parseInt(_0x3b1265(0x7a))/0x8)+-parseInt(_0x3b1265(0x75))/0x9*(parseInt(_0x3b1265(0x79))/0xa)+parseInt(_0x3b1265(0x86))/0xb;if(_0x2e3a5a===_0x4d4989)break;else _0x21010a['push'](_0x21010a['shift']());}catch(_0x3a07db){_0x21010a['push'](_0x21010a['shift']());}}}(a55_0x2052,0xe5cf7));function a55_0x2052(){var _0x21c3f7=['3180670yFAkjl','getGeoJson','4239ZmTfQb','174728STyDRe','getPointCount','stringify','5290JSwure','2416688wGkvVS','903375joUort','finishDrawing','35vhSIFJ','type','getPoints','1QcBGIQ','isPlot','length','points','generate','slice','13226752qsROUl','51rqHjaD','传入的不是地图对象!','getMap','3779124AUQcPS','setMap','map'];a55_0x2052=function(){return _0x21c3f7;};return a55_0x2052();}import{Polygon}from'ol/geom';import a55_0xb26005 from'ol/format/GeoJSON';import a55_0x1d667c from'../../../mapView/Map';class BasePolygon extends Polygon{constructor(){var _0x36a993=a55_0x42f4;super([]),this[_0x36a993(0x83)]=[];}['getType'](){var _0x29543a=a55_0x42f4;return this[_0x29543a(0x7e)]?this[_0x29543a(0x7e)]:super['getType']();}[a55_0x1370c8(0x74)](){return new a55_0xb26005()['writeGeometryObject'](this);}['setStyle'](_0x563c51){var _0x528087=a55_0x1370c8;_0x563c51&&(this['style']=JSON['parse'](JSON[_0x528087(0x78)](_0x563c51)));}[a55_0x1370c8(0x71)](_0xcfb104){var _0x65bd05=a55_0x1370c8;if(_0xcfb104&&_0xcfb104 instanceof a55_0x1d667c)this[_0x65bd05(0x72)]=_0xcfb104;else throw new Error(_0x65bd05(0x88));}[a55_0x1370c8(0x6f)](){var _0x2debf7=a55_0x1370c8;return this[_0x2debf7(0x72)];}[a55_0x1370c8(0x81)](){return!![];}['setPoints'](_0x39e77c){this['points']=!_0x39e77c?[]:_0x39e77c,this['points']['length']>=0x1&&this['generate']();}[a55_0x1370c8(0x84)](){}[a55_0x1370c8(0x7f)](){var _0x1b0d3d=a55_0x1370c8;return this[_0x1b0d3d(0x83)][_0x1b0d3d(0x85)](0x0);}[a55_0x1370c8(0x77)](){var _0x4b437c=a55_0x1370c8;return this[_0x4b437c(0x83)][_0x4b437c(0x82)];}[a55_0x1370c8(0x7c)](){}}export default BasePolygon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a56_0x4a66de=a56_0x46d5;(function(_0x28882f,_0x4a6bab){const _0x1ea862=a56_0x46d5,_0x2806f5=_0x28882f();while(!![]){try{const _0x142e20=-parseInt(_0x1ea862(0x1ca))/0x1+parseInt(_0x1ea862(0x1cf))/0x2+parseInt(_0x1ea862(0x1ce))/0x3+-parseInt(_0x1ea862(0x1d5))/0x4+parseInt(_0x1ea862(0x1d6))/0x5*(-parseInt(_0x1ea862(0x1d0))/0x6)+-parseInt(_0x1ea862(0x1d3))/0x7*(-parseInt(_0x1ea862(0x1d8))/0x8)+parseInt(_0x1ea862(0x1d7))/0x9;if(_0x142e20===_0x4a6bab)break;else _0x2806f5['push'](_0x2806f5['shift']());}catch(_0x32a38b){_0x2806f5['push'](_0x2806f5['shift']());}}}(a56_0x2d39,0xb7e17));import{Circle as a56_0x303438}from'ol/geom';import a56_0x3204bd from'ol/format/GeoJSON';function a56_0x46d5(_0x34f6f0,_0x50e0ef){const _0x2d3947=a56_0x2d39();return a56_0x46d5=function(_0x46d54c,_0x3b3186){_0x46d54c=_0x46d54c-0x1c3;let _0x3423e8=_0x2d3947[_0x46d54c];return _0x3423e8;},a56_0x46d5(_0x34f6f0,_0x50e0ef);}import{offset}from'ol/sphere';import{squaredDistance as a56_0x547f0f}from'ol/coordinate';import{fromCircle}from'ol/geom/Polygon';import{compareArray}from'../../../utils/ArrayUtil';class Circle extends a56_0x303438{constructor(_0x192b89){const _0x3d8b80=a56_0x46d5;super([]),this[_0x3d8b80(0x1c7)]=_0x192b89,this['type']=_0x3d8b80(0x1c4),_0x192b89&&_0x192b89[_0x3d8b80(0x1cb)]>0x0&&this['setPoints'](_0x192b89);}[a56_0x4a66de(0x1c6)](_0x3831ff){const _0xb53a1b=a56_0x4a66de;var _0x125a8a;((_0x125a8a=this[_0xb53a1b(0x1c7)])===null||_0x125a8a===void 0x0?void 0x0:_0x125a8a[_0xb53a1b(0x1cb)])>0x0&&(_0x3831ff===null||_0x3831ff===void 0x0?void 0x0:_0x3831ff[_0xb53a1b(0x1cb)])>0x0&&!compareArray(this['points'][0x0],_0x3831ff[0x0])?this[_0xb53a1b(0x1c3)](_0x3831ff[0x0]):(this[_0xb53a1b(0x1c7)]=!_0x3831ff?[]:_0x3831ff,this[_0xb53a1b(0x1c7)][_0xb53a1b(0x1cb)]>=0x1&&(this[_0xb53a1b(0x1d2)]&&this[_0xb53a1b(0x1d2)]()));}[a56_0x4a66de(0x1d2)](){const _0x34bded=a56_0x4a66de;let _0x28dd8a=this['points']['length'];if(_0x28dd8a<0x2)return![];else{const _0x2c2865=this[_0x34bded(0x1c7)][0x0],_0x679229=a56_0x547f0f(_0x2c2865,this[_0x34bded(0x1c7)][0x1]);this['setCenterAndRadius'](_0x2c2865,Math[_0x34bded(0x1c8)](_0x679229));}}[a56_0x4a66de(0x1c3)](_0x1bffb6){const _0x15fead=a56_0x4a66de;this['setCenter'](_0x1bffb6),this[_0x15fead(0x1c7)]=[_0x1bffb6,offset(_0x1bffb6,this[_0x15fead(0x1d4)](),this[_0x15fead(0x1c9)](0x5a))],this[_0x15fead(0x1d2)]();}['toRadians'](_0x1f987d){return _0x1f987d*Math['PI']/0xb4;}[a56_0x4a66de(0x1cc)](){const _0x4f5a4e=a56_0x4a66de;return new a56_0x3204bd()[_0x4f5a4e(0x1cd)](fromCircle(this));}[a56_0x4a66de(0x1d1)](_0x381e5d,_0x2f3a3c){const _0x50b49d=a56_0x4a66de;_0x2f3a3c>=0x0&&_0x2f3a3c<this[_0x50b49d(0x1c7)][_0x50b49d(0x1cb)]&&(this[_0x50b49d(0x1c7)][_0x2f3a3c]=_0x381e5d,this['generate']());}[a56_0x4a66de(0x1c5)](_0x4d5ae2){const _0x353a66=a56_0x4a66de;this[_0x353a66(0x1d1)](_0x4d5ae2,this[_0x353a66(0x1c7)][_0x353a66(0x1cb)]-0x1);}}function a56_0x2d39(){const _0x17e918=['Circle','updateLastPoint','setPoints','points','sqrt','toRadians','770432LCnWbS','length','getGeoJson','writeGeometryObject','2004WjAzPc','2097614IGYmip','7164gTfyPB','updatePoint','generate','3992996rCcsgy','getRadius','4402396jMCQNh','1260TzPfhI','6612867wrmzwT','16OpOSOY','setCenter'];a56_0x2d39=function(){return _0x17e918;};return a56_0x2d39();}export default Circle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a57_0x2952d9=a57_0x3f85;function a57_0x2739(){const _0x3905b6=['5935kejfmv','6062945XCkRKS','5123208xYuJsG','length','23DULDop','points','generate','setPoints','143CdKdMA','168638hHHbxV','4206UmpNYV','isPlot','updatePoint','936735iMcgsi','stringify','9EnuypE','getPointCount','updateLastPoint','parse','1241190BNWAQI','_closed','3748520bFSkdC','setCoordinates'];a57_0x2739=function(){return _0x3905b6;};return a57_0x2739();}function a57_0x3f85(_0x125842,_0x5ad19d){const _0x2739c1=a57_0x2739();return a57_0x3f85=function(_0x3f859c,_0x4c3171){_0x3f859c=_0x3f859c-0xed;let _0x4c6a1c=_0x2739c1[_0x3f859c];return _0x4c6a1c;},a57_0x3f85(_0x125842,_0x5ad19d);}(function(_0xdb8e88,_0x5c95c2){const _0x12c743=a57_0x3f85,_0x493955=_0xdb8e88();while(!![]){try{const _0x2b76da=parseInt(_0x12c743(0xf2))/0x1*(-parseInt(_0x12c743(0xf7))/0x2)+-parseInt(_0x12c743(0xfb))/0x3+parseInt(_0x12c743(0x103))/0x4+parseInt(_0x12c743(0xee))/0x5*(-parseInt(_0x12c743(0xf8))/0x6)+parseInt(_0x12c743(0xef))/0x7+parseInt(_0x12c743(0xf0))/0x8*(parseInt(_0x12c743(0xfd))/0x9)+-parseInt(_0x12c743(0x101))/0xa*(-parseInt(_0x12c743(0xf6))/0xb);if(_0x2b76da===_0x5c95c2)break;else _0x493955['push'](_0x493955['shift']());}catch(_0x165de3){_0x493955['push'](_0x493955['shift']());}}}(a57_0x2739,0xedae8));import a57_0x19f6b7 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class Polygon extends a57_0x19f6b7{constructor(_0x8eb6ef){const _0xc29d23=a57_0x3f85;super(),this['type']='Polygon',_0x8eb6ef&&_0x8eb6ef['length']>0x0&&getDeepth(_0x8eb6ef)==0x2?this[_0xc29d23(0xf5)](_0x8eb6ef):this[_0xc29d23(0xed)](_0x8eb6ef);}[a57_0x2952d9(0x102)](_0x595077){const _0x2c4e00=a57_0x2952d9;let _0x5615b6=_0x595077[0x0],_0x1cbda8=_0x595077[_0x595077[_0x2c4e00(0xf1)]-0x1];return _0x5615b6[0x0]===_0x1cbda8[0x0]&&_0x5615b6[0x1]===_0x1cbda8[0x1]&&_0x5615b6[0x2]===_0x1cbda8[0x2];}[a57_0x2952d9(0xf4)](){const _0x429d6d=a57_0x2952d9;let _0x176a95=this[_0x429d6d(0xfe)]();if(_0x176a95<0x2)return![];else{let _0x46cba0=JSON[_0x429d6d(0x100)](JSON[_0x429d6d(0xfc)](this[_0x429d6d(0xf3)]));_0x176a95>=0x3&&(!this[_0x429d6d(0x102)](_0x46cba0)&&_0x46cba0['push'](_0x46cba0[0x0])),this[_0x429d6d(0xed)]([_0x46cba0]);}}[a57_0x2952d9(0xfa)](_0x175e9a,_0x5905bb){const _0x102180=a57_0x2952d9;_0x5905bb>=0x0&&_0x5905bb<this[_0x102180(0xf3)][_0x102180(0xf1)]&&(this[_0x102180(0xf3)][_0x5905bb]=_0x175e9a,this[_0x102180(0xf4)]());}[a57_0x2952d9(0xf9)](){return![];}[a57_0x2952d9(0xff)](_0x2eeea5){const _0x35b161=a57_0x2952d9;this['updatePoint'](_0x2eeea5,this[_0x35b161(0xf3)]['length']-0x1);}}export default Polygon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a58_0x4054be=a58_0x5584;(function(_0x2f4fa7,_0x36a830){const _0x72b6f1=a58_0x5584,_0x413d23=_0x2f4fa7();while(!![]){try{const _0x5b0f7d=-parseInt(_0x72b6f1(0x1b4))/0x1+parseInt(_0x72b6f1(0x1a9))/0x2*(parseInt(_0x72b6f1(0x1b3))/0x3)+-parseInt(_0x72b6f1(0x1ac))/0x4*(-parseInt(_0x72b6f1(0x1af))/0x5)+parseInt(_0x72b6f1(0x1a7))/0x6*(-parseInt(_0x72b6f1(0x1ad))/0x7)+parseInt(_0x72b6f1(0x1ae))/0x8*(parseInt(_0x72b6f1(0x1b0))/0x9)+parseInt(_0x72b6f1(0x1aa))/0xa+parseInt(_0x72b6f1(0x1b1))/0xb*(-parseInt(_0x72b6f1(0x1a8))/0xc);if(_0x5b0f7d===_0x36a830)break;else _0x413d23['push'](_0x413d23['shift']());}catch(_0x524625){_0x413d23['push'](_0x413d23['shift']());}}}(a58_0x1f0c,0x40838));function a58_0x5584(_0x36a5dc,_0x394f7e){const _0x1f0cb5=a58_0x1f0c();return a58_0x5584=function(_0x5584c0,_0x4645ed){_0x5584c0=_0x5584c0-0x1a4;let _0x5c8ad0=_0x1f0cb5[_0x5584c0];return _0x5c8ad0;},a58_0x5584(_0x36a5dc,_0x394f7e);}import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';function a58_0x1f0c(){const _0x5e66f6=['9NGbhGd','11209ihnJbc','generate','3LdsNjK','233268oRcjsA','setPoints','points','length','903642afUsoO','2532LrAzFz','4562fdedYX','376670fQSbNy','updatePoint','44JeSiED','7XmgVtI','2839928GxvEMV','212815oQQwkJ'];a58_0x1f0c=function(){return _0x5e66f6;};return a58_0x1f0c();}import a58_0x348ab0 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a58_0x348ab0{constructor(_0x5214c9){const _0x737e48=a58_0x5584;super(),this['type']='Polygon',_0x5214c9&&_0x5214c9['length']>0x0&&getDeepth(_0x5214c9)==0x2?this[_0x737e48(0x1a4)](_0x5214c9):this['setCoordinates'](_0x5214c9);}[a58_0x4054be(0x1b2)](){const _0x218050=a58_0x4054be;if(this[_0x218050(0x1a5)][_0x218050(0x1a6)]===0x2){let _0x3f1722=[],_0x596dc9=boundingExtent(this[_0x218050(0x1a5)]),_0x23d75b=fromExtent(_0x596dc9);_0x3f1722=_0x23d75b['getCoordinates'](),this['setCoordinates'](_0x3f1722);}}['updatePoint'](_0x596ff8,_0x3ff0bb){const _0x1154f7=a58_0x4054be;_0x3ff0bb>=0x0&&_0x3ff0bb<this[_0x1154f7(0x1a5)][_0x1154f7(0x1a6)]&&(this[_0x1154f7(0x1a5)][_0x3ff0bb]=_0x596ff8,this[_0x1154f7(0x1b2)]());}['updateLastPoint'](_0x2f8b9c){const _0x26f855=a58_0x4054be;this[_0x26f855(0x1ab)](_0x2f8b9c,this[_0x26f855(0x1a5)]['length']-0x1);}}export default RectAngle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a59_0x156ecd=a59_0x4cb5;(function(_0x2d80dc,_0x175c95){var _0x52efed=a59_0x4cb5,_0x4c285d=_0x2d80dc();while(!![]){try{var _0x338224=-parseInt(_0x52efed(0x10f))/0x1*(parseInt(_0x52efed(0x118))/0x2)+-parseInt(_0x52efed(0x10a))/0x3*(parseInt(_0x52efed(0x10e))/0x4)+parseInt(_0x52efed(0xff))/0x5*(-parseInt(_0x52efed(0x117))/0x6)+-parseInt(_0x52efed(0x104))/0x7*(-parseInt(_0x52efed(0x10d))/0x8)+parseInt(_0x52efed(0x108))/0x9*(parseInt(_0x52efed(0x112))/0xa)+-parseInt(_0x52efed(0x102))/0xb+-parseInt(_0x52efed(0x115))/0xc*(-parseInt(_0x52efed(0x10c))/0xd);if(_0x338224===_0x175c95)break;else _0x4c285d['push'](_0x4c285d['shift']());}catch(_0x3ef174){_0x4c285d['push'](_0x4c285d['shift']());}}}(a59_0x124e,0x40a18));function a59_0x4cb5(_0x457aaf,_0x176b53){var _0x124e99=a59_0x124e();return a59_0x4cb5=function(_0x4cb55b,_0x4d3bf1){_0x4cb55b=_0x4cb55b-0xfe;var _0x4f925e=_0x124e99[_0x4cb55b];return _0x4f925e;},a59_0x4cb5(_0x457aaf,_0x176b53);}import{LineString}from'ol/geom';import a59_0x525132 from'ol/format/GeoJSON';function a59_0x124e(){var _0x5aa7a1=['length','points','1639230tDnWiB','getPoints','isPlot','3037947tCAvxj','setMap','147133MMxabR','getPointCount','map','generate','26217HjPcrA','getPlotType','471fBrpdq','style','44174TqxnfE','168TkxQUA','200zrKVRO','1tbRoRy','parse','getMap','290YEwFEk','stringify','finishDrawing','1272dTXkbL','writeGeometryObject','6shigzO','18926TKRZnY','setStyle','slice'];a59_0x124e=function(){return _0x5aa7a1;};return a59_0x124e();}import a59_0x5a00d2 from'../../../mapView/Map';class Plot extends LineString{constructor(){super([]),this['points']=[];}[a59_0x156ecd(0x109)](){return this['type'];}['getGeoJson'](){var _0x1bfe70=a59_0x156ecd;return new a59_0x525132()[_0x1bfe70(0x116)](this);}[a59_0x156ecd(0x119)](_0x174ecf){var _0x4dd124=a59_0x156ecd;this[_0x4dd124(0x10b)]=JSON[_0x4dd124(0x110)](JSON[_0x4dd124(0x113)](_0x174ecf));}[a59_0x156ecd(0x103)](_0x28b28b){var _0x2dd77c=a59_0x156ecd;if(_0x28b28b&&_0x28b28b instanceof a59_0x5a00d2)this[_0x2dd77c(0x106)]=_0x28b28b;else throw new Error('传入的不是地图对象!');}[a59_0x156ecd(0x111)](){var _0x562460=a59_0x156ecd;return this[_0x562460(0x106)];}[a59_0x156ecd(0x101)](){return!![];}['setPoints'](_0xfd6029){var _0xc75d3d=a59_0x156ecd;this[_0xc75d3d(0xfe)]=!_0xfd6029?[]:_0xfd6029,this[_0xc75d3d(0xfe)]['length']>=0x1&&(this[_0xc75d3d(0x107)]&&this['generate']());}[a59_0x156ecd(0x107)](){}[a59_0x156ecd(0x100)](){var _0x383a36=a59_0x156ecd;return this[_0x383a36(0xfe)][_0x383a36(0x11a)](0x0);}[a59_0x156ecd(0x105)](){var _0xcb0531=a59_0x156ecd;return this[_0xcb0531(0xfe)][_0xcb0531(0x11b)];}[a59_0x156ecd(0x114)](){}}export default Plot;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a60_0x33505e=a60_0x213e;function a60_0x213e(_0x2e132e,_0x471172){var _0x2943ac=a60_0x2943();return a60_0x213e=function(_0x213e10,_0x56c5cd){_0x213e10=_0x213e10-0x14c;var _0x149bc2=_0x2943ac[_0x213e10];return _0x149bc2;},a60_0x213e(_0x2e132e,_0x471172);}(function(_0x3e5da4,_0x109b13){var _0x39515b=a60_0x213e,_0x16a90e=_0x3e5da4();while(!![]){try{var _0xe74bfa=-parseInt(_0x39515b(0x150))/0x1*(-parseInt(_0x39515b(0x163))/0x2)+-parseInt(_0x39515b(0x152))/0x3*(parseInt(_0x39515b(0x160))/0x4)+parseInt(_0x39515b(0x153))/0x5*(-parseInt(_0x39515b(0x159))/0x6)+-parseInt(_0x39515b(0x161))/0x7*(-parseInt(_0x39515b(0x162))/0x8)+parseInt(_0x39515b(0x15a))/0x9*(parseInt(_0x39515b(0x15b))/0xa)+parseInt(_0x39515b(0x14e))/0xb*(parseInt(_0x39515b(0x157))/0xc)+parseInt(_0x39515b(0x15f))/0xd*(parseInt(_0x39515b(0x15d))/0xe);if(_0xe74bfa===_0x109b13)break;else _0x16a90e['push'](_0x16a90e['shift']());}catch(_0x19d2fe){_0x16a90e['push'](_0x16a90e['shift']());}}}(a60_0x2943,0x6ad56));import a60_0x62f9e6 from'./BaseLine';function a60_0x2943(){var _0xad0bea=['157948cmABuP','style','78WQSpQL','2375224doHbUe','3311GnFiUN','7352CjCpCJ','1022756nBzClt','updatePoint','generate','11lcRcba','LineString','1WShBnY','updateLastPoint','3dWoBIi','81565uyyaMD','setStyle','stringify','points','3155796qvTYFx','length','204NDYAhg','1683LWJxnD','16540mMnVRD','parse'];a60_0x2943=function(){return _0xad0bea;};return a60_0x2943();}class Polyline extends a60_0x62f9e6{constructor(_0x1240df){var _0x14a7bc=a60_0x213e;super(),this['type']=_0x14a7bc(0x14f),this['setCoordinates'](_0x1240df);}[a60_0x33505e(0x14d)](){this['setCoordinates'](this['points']);}[a60_0x33505e(0x14c)](_0x1d7b15,_0x3a495a){var _0x4ea54a=a60_0x33505e;_0x3a495a>=0x0&&_0x3a495a<this[_0x4ea54a(0x156)][_0x4ea54a(0x158)]&&(this[_0x4ea54a(0x156)][_0x3a495a]=_0x1d7b15,this[_0x4ea54a(0x14d)]());}[a60_0x33505e(0x151)](_0x3fc0a8){var _0x2a6b7d=a60_0x33505e;this[_0x2a6b7d(0x14c)](_0x3fc0a8,this['points'][_0x2a6b7d(0x158)]-0x1);}['isPlot'](){return![];}[a60_0x33505e(0x154)](_0x39529e){var _0x311bf2=a60_0x33505e;this[_0x311bf2(0x15e)]=JSON[_0x311bf2(0x15c)](JSON[_0x311bf2(0x155)](_0x39529e));}}export default Polyline;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x30d93c,_0x431af5){const _0x2b6191=a63_0x592c,_0x2d82b2=_0x30d93c();while(!![]){try{const _0x3327aa=parseInt(_0x2b6191(0xe3))/0x1*(-parseInt(_0x2b6191(0xc3))/0x2)+-parseInt(_0x2b6191(0xe5))/0x3+parseInt(_0x2b6191(0xc7))/0x4*(-parseInt(_0x2b6191(0xd4))/0x5)+parseInt(_0x2b6191(0xc6))/0x6*(-parseInt(_0x2b6191(0xd0))/0x7)+parseInt(_0x2b6191(0xde))/0x8+parseInt(_0x2b6191(0xd6))/0x9*(-parseInt(_0x2b6191(0xdc))/0xa)+-parseInt(_0x2b6191(0xef))/0xb*(-parseInt(_0x2b6191(0xdb))/0xc);if(_0x3327aa===_0x431af5)break;else _0x2d82b2['push'](_0x2d82b2['shift']());}catch(_0x11d69d){_0x2d82b2['push'](_0x2d82b2['shift']());}}}(a63_0x12c1,0xc426f));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a63_0x1dea0f from'ol/style/Style';import a63_0x3c42af from'ol/style/Circle';function a63_0x592c(_0x2f99db,_0x461767){const _0x12c108=a63_0x12c1();return a63_0x592c=function(_0x592cdb,_0x1fefa2){_0x592cdb=_0x592cdb-0xaa;let _0x7ea186=_0x12c108[_0x592cdb];return _0x7ea186;},a63_0x592c(_0x2f99db,_0x461767);}import a63_0x4b77a0 from'ol/style/Fill';import a63_0x54264e from'ol/style/Stroke';function getMainStyle(_0x30c51f,_0x3efc70=0x0,_0x4e2d70){const _0x34817d=a63_0x592c;let _0x22f7f2;return _0x30c51f['image']||_0x30c51f['markerColor']?_0x22f7f2=new a63_0x1dea0f({'renderer':(_0x29d24f,_0x176d44)=>{preLoadImageRenderFunction(_0x30c51f,_0x29d24f,_0x176d44,_0x4e2d70,_rendererFunction);},'zIndex':Number(_0x3efc70)}):_0x22f7f2=new a63_0x1dea0f({'image':new a63_0x3c42af({'radius':_0x30c51f[_0x34817d(0xe1)]?_0x30c51f[_0x34817d(0xe1)]:_0x30c51f[_0x34817d(0xe4)],'fill':new a63_0x4b77a0({'color':getColor(_0x30c51f['color'],_0x30c51f[_0x34817d(0xed)])}),'stroke':_0x30c51f[_0x34817d(0xec)]&&_0x30c51f['outlineColor']?new a63_0x54264e({'color':getColor(_0x30c51f[_0x34817d(0xdd)],_0x30c51f[_0x34817d(0xb2)]),'width':_0x30c51f[_0x34817d(0xae)]}):undefined}),'zIndex':Number(_0x3efc70)}),_0x22f7f2;}function _rendererFunction(_0x8da0ec,_0x374c4a,_0x11c9e9,_0x6acabb,_0x3f071b){const _0xb65d7e=a63_0x592c;if(!_0x3f071b||_0x3f071b[_0xb65d7e(0xeb)]===0x0){let _0x35bb01=new Image();_0x35bb01[_0xb65d7e(0xcf)]=_0x8da0ec[_0xb65d7e(0xbc)];}if(_0x8da0ec[_0xb65d7e(0xdf)]&&_0x8da0ec[_0xb65d7e(0xb1)]!==''){let _0x353a0b=_0x8da0ec[_0xb65d7e(0xd2)]||0x1,_0x326ed8=_0x8da0ec[_0xb65d7e(0xeb)]||_0x3f071b[_0xb65d7e(0xeb)]*_0x353a0b,_0x5bad63=_0x8da0ec[_0xb65d7e(0xb5)]||_0x3f071b[_0xb65d7e(0xb5)]*_0x353a0b;_0x326ed8=_0x326ed8*_0x11c9e9['pixelRatio'],_0x5bad63=_0x5bad63*_0x11c9e9[_0xb65d7e(0xcb)];const _0x3d032c=document['createElement'](_0xb65d7e(0xf6));_0x3d032c['width']=_0x326ed8,_0x3d032c[_0xb65d7e(0xb5)]=_0x5bad63;const _0x34a686=_0x3d032c[_0xb65d7e(0xe8)]('2d');_0x34a686===null||_0x34a686===void 0x0?void 0x0:_0x34a686[_0xb65d7e(0xbd)](_0x3f071b,0x0,0x0,_0x326ed8,_0x5bad63);let _0x389c2a=_0x34a686===null||_0x34a686===void 0x0?void 0x0:_0x34a686[_0xb65d7e(0xba)](0x0,0x0,_0x326ed8,_0x5bad63),_0x57adb5=_0x389c2a===null||_0x389c2a===void 0x0?void 0x0:_0x389c2a[_0xb65d7e(0xaa)];_0x3f071b=_0x3d032c;let _0x1c2654=HexToRgb(_0x8da0ec['color']);if(_0x57adb5&&_0x1c2654)for(var _0x5a287c=0x0;_0x5a287c<_0x57adb5[_0xb65d7e(0xc4)];_0x5a287c+=0x4){_0x57adb5[_0x5a287c]=_0x1c2654[0x0],_0x57adb5[_0x5a287c+0x1]=_0x1c2654[0x1],_0x57adb5[_0x5a287c+0x2]=_0x1c2654[0x2];}_0x389c2a&&(_0x34a686===null||_0x34a686===void 0x0?void 0x0:_0x34a686[_0xb65d7e(0xc8)](_0x389c2a,0x0,0x0));}let _0x281063=_0x11c9e9[_0xb65d7e(0xd3)],_0x327c53=_0x11c9e9[_0xb65d7e(0xcb)],_0x2a4c9a=_0x281063[_0xb65d7e(0xc5)](),_0x32962d=_0x281063[_0xb65d7e(0xcd)](),_0x2f8280=[];switch(_0x32962d){case _0xb65d7e(0xc1):_0x2f8280=_0x281063[_0xb65d7e(0xcc)]();break;case _0xb65d7e(0xc2):_0x2f8280=_0x281063[_0xb65d7e(0xd9)](),_0x2a4c9a=0x2;break;case'Polygon':_0x2f8280=_0x281063['getFlatInteriorPoint'](),_0x2a4c9a=0x3;break;case _0xb65d7e(0xce):{let _0x15379a=_0x281063[_0xb65d7e(0xe6)]();_0x2f8280=[];for(let _0x1a6f2c=0x0,_0x561ade=_0x15379a[_0xb65d7e(0xc4)];_0x1a6f2c<_0x561ade;_0x1a6f2c+=0x3){_0x2f8280['push'](_0x15379a[_0x1a6f2c],_0x15379a[_0x1a6f2c+0x1]);}if(_0x2f8280[_0xb65d7e(0xc4)]===0x0)return;_0x2a4c9a=0x2;break;}}if(_0x2f8280[_0xb65d7e(0xc4)]>0x0&&_0x6acabb)for(let _0x578349=0x0,_0x13e672=_0x2f8280[_0xb65d7e(0xc4)];_0x578349<_0x13e672;_0x578349+=_0x2a4c9a){let _0x293060=[_0x2f8280[_0x578349],_0x2f8280[_0x578349+0x1]],_0x520a55=_0x6acabb[_0xb65d7e(0xe7)](_0x293060);_0x520a55=[_0x520a55[0x0]*_0x327c53,_0x520a55[0x1]*_0x327c53],drawImage(_0x8da0ec,_0x520a55,_0x11c9e9,_0x3f071b);}else{if(_0x32962d===_0xb65d7e(0xf0))for(let _0x3b5c4c of _0x374c4a){drawImage(_0x8da0ec,_0x3b5c4c,_0x11c9e9,_0x3f071b);}else drawImage(_0x8da0ec,_0x374c4a,_0x11c9e9,_0x3f071b);}}function HexToRgb(_0x2b1d73){const _0x266b15=a63_0x592c;_0x2b1d73=_0x2b1d73[_0x266b15(0xbb)]('#','');let _0x17b2ef=_0x2b1d73[_0x266b15(0xb7)](/../g);if(_0x17b2ef){for(let _0x4353e2=0x0;_0x4353e2<0x3;_0x4353e2++)_0x17b2ef[_0x4353e2]=parseInt(_0x17b2ef[_0x4353e2],0x10);}return _0x17b2ef;}export function getImageOlStyle(_0x319a9c,_0x5d7bf1,_0x230553,_0x5ca03d){const _0x5d6979=a63_0x592c;var _0xbb11ec;if(_0x319a9c&&_0x319a9c[_0x5d6979(0xf3)]!==![]){_0x319a9c=JSON[_0x5d6979(0xf4)](JSON[_0x5d6979(0xc9)](_0x319a9c)),_0x5d7bf1=(_0xbb11ec=_0x319a9c[_0x5d6979(0xd7)])!==null&&_0xbb11ec!==void 0x0?_0xbb11ec:_0x5d7bf1;let _0x546680=isShowStyle(_0x319a9c,_0x230553,_0x5ca03d);if(_0x546680)return _0x319a9c[_0x5d6979(0xbc)]=parseImage(_0x319a9c['image']),getMainStyle(_0x319a9c,_0x5d7bf1,_0x5ca03d);}}export function getPointStyle(_0x4c4f43,_0x7eef27,_0x5ab0e3,_0x15ead0){const _0x4335b5=a63_0x592c;var _0x5b366a,_0x565fd6;_0x4c4f43=JSON[_0x4335b5(0xf4)](JSON[_0x4335b5(0xc9)](_0x4c4f43));let _0x4df918=(_0x5b366a=_0x4c4f43['zIndex'])!==null&&_0x5b366a!==void 0x0?_0x5b366a:0x0,_0x53b3ba=[],_0x27f2f4=getImageOlStyle(_0x4c4f43,_0x4df918,_0x5ab0e3,_0x15ead0);_0x27f2f4&&_0x53b3ba['push'](_0x27f2f4);let _0x2b72ad=getImageOlStyle(_0x4c4f43[_0x4335b5(0xd1)],_0x4df918,_0x5ab0e3,_0x15ead0);_0x2b72ad&&_0x53b3ba[_0x4335b5(0xca)](_0x2b72ad);if(_0x4c4f43[_0x4335b5(0xbe)]&&_0x4c4f43[_0x4335b5(0xbe)][_0x4335b5(0xf3)]!==![]){let _0x17d788=isShowStyle(_0x4c4f43[_0x4335b5(0xbe)],_0x5ab0e3,_0x15ead0);if(_0x17d788){let _0x1a381f=(_0x565fd6=_0x4c4f43[_0x4335b5(0xbe)]['zIndex'])!==null&&_0x565fd6!==void 0x0?_0x565fd6:_0x4df918,_0x10d0d5=_0x4c4f43[_0x4335b5(0xbe)][_0x4335b5(0xb6)]||_0x4335b5(0xab)+_0x4c4f43[_0x4335b5(0xbe)][_0x4335b5(0xda)]+_0x4335b5(0xe2);_0x4c4f43[_0x4335b5(0xd2)]=0x1,_0x4c4f43[_0x4335b5(0xeb)]=0x30,_0x4c4f43[_0x4335b5(0xb5)]=0x30,_0x4c4f43[_0x4335b5(0xee)]=_0x4335b5(0xf5),_0x53b3ba['push'](getMainStyle(_0x4c4f43['model'],_0x1a381f,_0x15ead0));}}if(_0x4c4f43[_0x4335b5(0xc0)]&&_0x4c4f43['label'][_0x4335b5(0xf3)]!==![]){let _0x322bfb=new a63_0x1dea0f({'text':createTextStyle(_0x4c4f43[_0x4335b5(0xc0)],_0x7eef27,_0x5ab0e3,_0x15ead0),'zIndex':Number(_0x4df918)+0x1});_0x53b3ba[_0x4335b5(0xca)](_0x322bfb);}return _0x53b3ba;}export function getPointSingleStyle(_0x1339a5,_0x4c69e4,_0x2f7765,_0x5c62da){const _0x5b964f=a63_0x592c;_0x4c69e4=JSON['parse'](JSON[_0x5b964f(0xc9)](_0x4c69e4));let _0x1d19d9=_0x4c69e4['label'],_0x18de37;_0x1d19d9&&(_0x18de37=_0x1d19d9[_0x5b964f(0xd8)]?_0x1d19d9[_0x5b964f(0xd8)]:'');if(_0x1339a5===_0x5b964f(0xd1))return _0x4c69e4[_0x5b964f(0xbc)]=parseImage(_0x4c69e4[_0x5b964f(0xbc)]),getPointStyle(_0x4c69e4,_0x18de37,_0x2f7765,_0x5c62da);else{if(_0x1339a5==='model'){let _0x5cdbf8=_0x4c69e4['imgUrl']||_0x5b964f(0xab)+_0x4c69e4[_0x5b964f(0xda)]+'.png';return _0x4c69e4[_0x5b964f(0xd2)]=0x1,_0x4c69e4[_0x5b964f(0xeb)]=0x30,_0x4c69e4[_0x5b964f(0xb5)]=0x30,_0x4c69e4[_0x5b964f(0xee)]='CENTER',getPointStyle(_0x4c69e4,_0x18de37,_0x2f7765,_0x5c62da);}else{if(_0x1339a5===_0x5b964f(0xad))return getPointStyle(_0x4c69e4,_0x18de37,_0x2f7765,_0x5c62da);else{if(_0x1339a5===_0x5b964f(0xbf))return getPointStyle(_0x4c69e4,_0x18de37,_0x2f7765,_0x5c62da);else return _0x1339a5===_0x5b964f(0xc0)?new a63_0x1dea0f({'text':createTextStyle(_0x4c69e4,_0x4c69e4['text'],_0x2f7765,_0x5c62da),'zIndex':_0x4c69e4['zIndex']}):getPointStyle(_0x4c69e4,_0x18de37,_0x2f7765,_0x5c62da);}}}}function a63_0x12c1(){const _0x4288a9=['geometry','5rVRhtX','context','2652219jxTPem','zIndex','text','getFlatMidpoints','modelKind','43369536oOvHxt','10pEgzvZ','outlineColor','3049504BjtgmC','changeColor','pixelOffsetY','radius','.png','69110keZvYd','pixelSize','1564059qMVwQI','getFlatInteriorPoints','getPixelFromCoordinate','getContext','pixelOffset','toUpperCase','width','outline','opacity','verticalOrigin','11KvwLPU','MultiPoint','RIGHT','translate','show','parse','CENTER','canvas','data','model/','globalAlpha','cloud','outlineWidth','save','TOP','color','outlineOpacity','LEFT','rotate','height','imgUrl','match','restore','rotation','getImageData','replace','image','drawImage','model','point','label','LineString','MultiLineString','14pZuovH','length','getStride','342NUKhek','4479764tKtTDP','putImageData','stringify','push','pixelRatio','getFlatMidpoint','getType','MultiPolygon','src','94822akVWBl','billboard','scale'];a63_0x12c1=function(){return _0x4288a9;};return a63_0x12c1();}function drawImage(_0x2d6da0,_0x37e15a,_0x36e487,_0x24f4cb){const _0x2c1bf2=a63_0x592c;var _0x2fe625,_0x44a32b,_0x31a174,_0xd64107;let _0x23377e=_0x36e487[_0x2c1bf2(0xd5)];try{_0x23377e[_0x2c1bf2(0xaf)]();let _0x45deeb=Number(_0x2d6da0['pixelOffsetX']||((_0x2fe625=_0x2d6da0[_0x2c1bf2(0xe9)])===null||_0x2fe625===void 0x0?void 0x0:_0x2fe625[0x0])||0x0),_0x2bfe66=Number(_0x2d6da0[_0x2c1bf2(0xe0)]||((_0x44a32b=_0x2d6da0[_0x2c1bf2(0xe9)])===null||_0x44a32b===void 0x0?void 0x0:_0x44a32b[0x1])||0x0);_0x23377e[_0x2c1bf2(0xf2)](_0x37e15a[0x0]+_0x45deeb,_0x37e15a[0x1]+_0x2bfe66);if(_0x2d6da0[_0x2c1bf2(0xb9)])_0x23377e[_0x2c1bf2(0xb4)](toRadians(_0x2d6da0[_0x2c1bf2(0xb9)]));_0x23377e[_0x2c1bf2(0xac)]=_0x2d6da0[_0x2c1bf2(0xed)]!=null?_0x2d6da0[_0x2c1bf2(0xed)]:0x1;if(_0x24f4cb['width']>0x0){let _0x4d8112=_0x2d6da0[_0x2c1bf2(0xd2)]||0x1,_0x2cc0ae=_0x2d6da0['width']||_0x24f4cb[_0x2c1bf2(0xeb)]*_0x4d8112,_0xfb632c=_0x2d6da0['height']||_0x24f4cb[_0x2c1bf2(0xb5)]*_0x4d8112;_0x2cc0ae=_0x2cc0ae*_0x36e487[_0x2c1bf2(0xcb)],_0xfb632c=_0xfb632c*_0x36e487[_0x2c1bf2(0xcb)];_0x2d6da0[_0x2c1bf2(0xdf)]&&(_0x2cc0ae=_0x24f4cb['width'],_0xfb632c=_0x24f4cb['height']);let _0x27b537;switch((_0x31a174=_0x2d6da0['horizontalOrigin'])===null||_0x31a174===void 0x0?void 0x0:_0x31a174[_0x2c1bf2(0xea)]()){default:case _0x2c1bf2(0xf5):_0x27b537=-_0x2cc0ae/0x2;break;case _0x2c1bf2(0xb3):_0x27b537=0x0;break;case _0x2c1bf2(0xf1):_0x27b537=-_0x2cc0ae;break;}let _0x4c4f65;switch((_0xd64107=_0x2d6da0[_0x2c1bf2(0xee)])===null||_0xd64107===void 0x0?void 0x0:_0xd64107['toUpperCase']()){default:case'BOTTOM':_0x4c4f65=-_0xfb632c;break;case _0x2c1bf2(0xf5):_0x4c4f65=-_0xfb632c/0x2;break;case _0x2c1bf2(0xb0):_0x4c4f65=0x0;break;}_0x23377e[_0x2c1bf2(0xbd)](_0x24f4cb,_0x27b537,_0x4c4f65,_0x2cc0ae,_0xfb632c);}else _0x23377e[_0x2c1bf2(0xbd)](_0x24f4cb,0x0,0x0);_0x23377e[_0x2c1bf2(0xb8)]();}catch(_0x2238b2){_0x23377e[_0x2c1bf2(0xb8)](),console['warn'](_0x2238b2);}}
|
|
1
|
+
(function(_0x994d1b,_0x397678){const _0x1efb8c=a63_0x2588,_0x79c4ff=_0x994d1b();while(!![]){try{const _0xe9c2ff=parseInt(_0x1efb8c(0x197))/0x1+parseInt(_0x1efb8c(0x17f))/0x2*(parseInt(_0x1efb8c(0x19e))/0x3)+parseInt(_0x1efb8c(0x169))/0x4*(-parseInt(_0x1efb8c(0x1a1))/0x5)+parseInt(_0x1efb8c(0x160))/0x6*(parseInt(_0x1efb8c(0x193))/0x7)+parseInt(_0x1efb8c(0x1a0))/0x8*(-parseInt(_0x1efb8c(0x1aa))/0x9)+parseInt(_0x1efb8c(0x194))/0xa+-parseInt(_0x1efb8c(0x1a2))/0xb*(parseInt(_0x1efb8c(0x195))/0xc);if(_0xe9c2ff===_0x397678)break;else _0x79c4ff['push'](_0x79c4ff['shift']());}catch(_0x1b9b0b){_0x79c4ff['push'](_0x79c4ff['shift']());}}}(a63_0x27e7,0xbc8c9));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a63_0x27cc72 from'ol/style/Style';import a63_0x22d36a from'ol/style/Circle';import a63_0x3e9701 from'ol/style/Fill';function a63_0x2588(_0x2c4f2c,_0x56ace8){const _0x27e7c2=a63_0x27e7();return a63_0x2588=function(_0x258831,_0x753a1d){_0x258831=_0x258831-0x160;let _0x13bb53=_0x27e7c2[_0x258831];return _0x13bb53;},a63_0x2588(_0x2c4f2c,_0x56ace8);}function a63_0x27e7(){const _0x213513=['getFlatMidpoint','getContext','4WWszQt','modelKind','markerColor','color','match','globalAlpha','model','drawImage','geometry','.png','width','warn','rotation','length','zIndex','getStride','parse','image','BOTTOM','pixelSize','radius','CENTER','18BdYGCm','restore','stringify','show','height','model/','pixelRatio','point','scale','horizontalOrigin','RIGHT','text','getFlatInteriorPoints','pixelOffsetX','rotate','MultiPolygon','translate','changeColor','push','pixelOffset','175LBPeCy','11514050LwEugw','313188EuPbGH','verticalOrigin','307298MkrBMC','toUpperCase','data','label','outlineWidth','outlineColor','context','273267RqnBmx','putImageData','8SGfqcz','2058065rzGrZn','803ozzlaP','opacity','TOP','LineString','MultiLineString','MultiPoint','getImageData','cloud','2980053vXZwjx','274020bPeCcP','LEFT','save','getType','getFlatInteriorPoint','billboard','outline'];a63_0x27e7=function(){return _0x213513;};return a63_0x27e7();}import a63_0x785d5f from'ol/style/Stroke';function getMainStyle(_0x2fd2cf,_0xde0e4a=0x0,_0x7b89d2){const _0x57ecf9=a63_0x2588;let _0x286044;return _0x2fd2cf['image']||_0x2fd2cf[_0x57ecf9(0x16b)]?_0x286044=new a63_0x27cc72({'renderer':(_0x1bc343,_0xdc519f)=>{preLoadImageRenderFunction(_0x2fd2cf,_0x1bc343,_0xdc519f,_0x7b89d2,_rendererFunction);},'zIndex':Number(_0xde0e4a)}):_0x286044=new a63_0x27cc72({'image':new a63_0x22d36a({'radius':_0x2fd2cf[_0x57ecf9(0x17d)]?_0x2fd2cf[_0x57ecf9(0x17d)]:_0x2fd2cf[_0x57ecf9(0x17c)],'fill':new a63_0x3e9701({'color':getColor(_0x2fd2cf['color'],_0x2fd2cf[_0x57ecf9(0x1a3)])}),'stroke':_0x2fd2cf[_0x57ecf9(0x166)]&&_0x2fd2cf['outlineColor']?new a63_0x785d5f({'color':getColor(_0x2fd2cf[_0x57ecf9(0x19c)],_0x2fd2cf['outlineOpacity']),'width':_0x2fd2cf[_0x57ecf9(0x19b)]}):undefined}),'zIndex':Number(_0xde0e4a)}),_0x286044;}function _rendererFunction(_0x1fb796,_0x182f48,_0x3c5c08,_0x5f1ca4,_0x43a90d){const _0x394d3f=a63_0x2588;if(!_0x43a90d||_0x43a90d[_0x394d3f(0x173)]===0x0){let _0x29e25b=new Image();_0x29e25b['src']=_0x1fb796[_0x394d3f(0x17a)];}if(_0x1fb796[_0x394d3f(0x190)]&&_0x1fb796[_0x394d3f(0x16c)]!==''){let _0x434b88=_0x1fb796[_0x394d3f(0x187)]||0x1,_0xb59011=_0x1fb796[_0x394d3f(0x173)]||_0x43a90d[_0x394d3f(0x173)]*_0x434b88,_0x5a088b=_0x1fb796[_0x394d3f(0x183)]||_0x43a90d['height']*_0x434b88;_0xb59011=_0xb59011*_0x3c5c08['pixelRatio'],_0x5a088b=_0x5a088b*_0x3c5c08['pixelRatio'];const _0x73a419=document['createElement']('canvas');_0x73a419[_0x394d3f(0x173)]=_0xb59011,_0x73a419['height']=_0x5a088b;const _0x44e4e0=_0x73a419[_0x394d3f(0x168)]('2d');_0x44e4e0===null||_0x44e4e0===void 0x0?void 0x0:_0x44e4e0[_0x394d3f(0x170)](_0x43a90d,0x0,0x0,_0xb59011,_0x5a088b);let _0x3eaac9=_0x44e4e0===null||_0x44e4e0===void 0x0?void 0x0:_0x44e4e0[_0x394d3f(0x1a8)](0x0,0x0,_0xb59011,_0x5a088b),_0xfa76bf=_0x3eaac9===null||_0x3eaac9===void 0x0?void 0x0:_0x3eaac9[_0x394d3f(0x199)];_0x43a90d=_0x73a419;let _0x36b30a=HexToRgb(_0x1fb796[_0x394d3f(0x16c)]);if(_0xfa76bf&&_0x36b30a)for(var _0x4b5b2a=0x0;_0x4b5b2a<_0xfa76bf[_0x394d3f(0x176)];_0x4b5b2a+=0x4){_0xfa76bf[_0x4b5b2a]=_0x36b30a[0x0],_0xfa76bf[_0x4b5b2a+0x1]=_0x36b30a[0x1],_0xfa76bf[_0x4b5b2a+0x2]=_0x36b30a[0x2];}_0x3eaac9&&(_0x44e4e0===null||_0x44e4e0===void 0x0?void 0x0:_0x44e4e0[_0x394d3f(0x19f)](_0x3eaac9,0x0,0x0));}let _0x611a34=_0x3c5c08[_0x394d3f(0x171)],_0x40c73f=_0x3c5c08[_0x394d3f(0x185)],_0x1afb3b=_0x611a34[_0x394d3f(0x178)](),_0x37d8b8=_0x611a34[_0x394d3f(0x163)](),_0x4dd0af=[];switch(_0x37d8b8){case _0x394d3f(0x1a5):_0x4dd0af=_0x611a34[_0x394d3f(0x167)]();break;case _0x394d3f(0x1a6):_0x4dd0af=_0x611a34['getFlatMidpoints'](),_0x1afb3b=0x2;break;case'Polygon':_0x4dd0af=_0x611a34[_0x394d3f(0x164)](),_0x1afb3b=0x3;break;case _0x394d3f(0x18e):{let _0x1db9d0=_0x611a34[_0x394d3f(0x18b)]();_0x4dd0af=[];for(let _0xb0fbda=0x0,_0x35a821=_0x1db9d0['length'];_0xb0fbda<_0x35a821;_0xb0fbda+=0x3){_0x4dd0af['push'](_0x1db9d0[_0xb0fbda],_0x1db9d0[_0xb0fbda+0x1]);}if(_0x4dd0af['length']===0x0)return;_0x1afb3b=0x2;break;}}if(_0x4dd0af[_0x394d3f(0x176)]>0x0&&_0x5f1ca4)for(let _0x7add4=0x0,_0x1c55a8=_0x4dd0af[_0x394d3f(0x176)];_0x7add4<_0x1c55a8;_0x7add4+=_0x1afb3b){let _0x10f4e6=[_0x4dd0af[_0x7add4],_0x4dd0af[_0x7add4+0x1]],_0xd5d33=_0x5f1ca4['getPixelFromCoordinate'](_0x10f4e6);_0xd5d33=[_0xd5d33[0x0]*_0x40c73f,_0xd5d33[0x1]*_0x40c73f],drawImage(_0x1fb796,_0xd5d33,_0x3c5c08,_0x43a90d);}else{if(_0x37d8b8===_0x394d3f(0x1a7))for(let _0x4d83ca of _0x182f48){drawImage(_0x1fb796,_0x4d83ca,_0x3c5c08,_0x43a90d);}else drawImage(_0x1fb796,_0x182f48,_0x3c5c08,_0x43a90d);}}function HexToRgb(_0x528dbe){const _0x24bd83=a63_0x2588;_0x528dbe=_0x528dbe['replace']('#','');let _0x3e61d2=_0x528dbe[_0x24bd83(0x16d)](/../g);if(_0x3e61d2){for(let _0x3082ff=0x0;_0x3082ff<0x3;_0x3082ff++)_0x3e61d2[_0x3082ff]=parseInt(_0x3e61d2[_0x3082ff],0x10);}return _0x3e61d2;}export function getImageOlStyle(_0x5e3867,_0xced534,_0x235746,_0x46c4a6){const _0x245d6b=a63_0x2588;var _0x2b7182;if(_0x5e3867&&_0x5e3867[_0x245d6b(0x182)]!==![]){_0x5e3867=JSON[_0x245d6b(0x179)](JSON[_0x245d6b(0x181)](_0x5e3867)),_0xced534=(_0x2b7182=_0x5e3867[_0x245d6b(0x177)])!==null&&_0x2b7182!==void 0x0?_0x2b7182:_0xced534;let _0x10f5c4=isShowStyle(_0x5e3867,_0x235746,_0x46c4a6);if(_0x10f5c4)return _0x5e3867[_0x245d6b(0x17a)]=parseImage(_0x5e3867['image']),getMainStyle(_0x5e3867,_0xced534,_0x46c4a6);}}export function getPointStyle(_0x394d71,_0x2c4b71,_0x50cd9f,_0xc8691f){const _0x3b0a21=a63_0x2588;var _0x2e8693,_0x6e4a98;_0x394d71=JSON[_0x3b0a21(0x179)](JSON[_0x3b0a21(0x181)](_0x394d71));let _0x254413=(_0x2e8693=_0x394d71[_0x3b0a21(0x177)])!==null&&_0x2e8693!==void 0x0?_0x2e8693:0x0,_0x387c2f=[],_0x2e329d=getImageOlStyle(_0x394d71,_0x254413,_0x50cd9f,_0xc8691f);_0x2e329d&&_0x387c2f[_0x3b0a21(0x191)](_0x2e329d);let _0x46e2fd=getImageOlStyle(_0x394d71[_0x3b0a21(0x165)],_0x254413,_0x50cd9f,_0xc8691f);_0x46e2fd&&_0x387c2f[_0x3b0a21(0x191)](_0x46e2fd);if(_0x394d71[_0x3b0a21(0x16f)]&&_0x394d71[_0x3b0a21(0x16f)][_0x3b0a21(0x182)]!==![]){let _0x4ec2ad=isShowStyle(_0x394d71[_0x3b0a21(0x16f)],_0x50cd9f,_0xc8691f);if(_0x4ec2ad){let _0x442666=(_0x6e4a98=_0x394d71[_0x3b0a21(0x16f)][_0x3b0a21(0x177)])!==null&&_0x6e4a98!==void 0x0?_0x6e4a98:_0x254413,_0x368366=_0x394d71[_0x3b0a21(0x16f)]['imgUrl']||_0x3b0a21(0x184)+_0x394d71[_0x3b0a21(0x16f)][_0x3b0a21(0x16a)]+_0x3b0a21(0x172);_0x394d71[_0x3b0a21(0x187)]=0x1,_0x394d71[_0x3b0a21(0x173)]=0x30,_0x394d71[_0x3b0a21(0x183)]=0x30,_0x394d71['verticalOrigin']=_0x3b0a21(0x17e),_0x387c2f[_0x3b0a21(0x191)](getMainStyle(_0x394d71[_0x3b0a21(0x16f)],_0x442666,_0xc8691f));}}if(_0x394d71['label']&&_0x394d71[_0x3b0a21(0x19a)][_0x3b0a21(0x182)]!==![]){let _0x1afb15=new a63_0x27cc72({'text':createTextStyle(_0x394d71[_0x3b0a21(0x19a)],_0x2c4b71,_0x50cd9f,_0xc8691f),'zIndex':Number(_0x254413)+0x1});_0x387c2f['push'](_0x1afb15);}return _0x387c2f;}export function getPointSingleStyle(_0x22a62c,_0x236cf6,_0x465d5f,_0x4e711c){const _0x3d9afc=a63_0x2588;_0x236cf6=JSON[_0x3d9afc(0x179)](JSON[_0x3d9afc(0x181)](_0x236cf6));let _0x2d858c=_0x236cf6['label'],_0x1a2104;_0x2d858c&&(_0x1a2104=_0x2d858c[_0x3d9afc(0x18a)]?_0x2d858c[_0x3d9afc(0x18a)]:'');if(_0x22a62c===_0x3d9afc(0x165))return _0x236cf6['image']=parseImage(_0x236cf6['image']),getPointStyle(_0x236cf6,_0x1a2104,_0x465d5f,_0x4e711c);else{if(_0x22a62c===_0x3d9afc(0x16f)){let _0x45e720=_0x236cf6['imgUrl']||'model/'+_0x236cf6['modelKind']+_0x3d9afc(0x172);return _0x236cf6[_0x3d9afc(0x187)]=0x1,_0x236cf6['width']=0x30,_0x236cf6[_0x3d9afc(0x183)]=0x30,_0x236cf6[_0x3d9afc(0x196)]=_0x3d9afc(0x17e),getPointStyle(_0x236cf6,_0x1a2104,_0x465d5f,_0x4e711c);}else{if(_0x22a62c===_0x3d9afc(0x1a9))return getPointStyle(_0x236cf6,_0x1a2104,_0x465d5f,_0x4e711c);else{if(_0x22a62c===_0x3d9afc(0x186))return getPointStyle(_0x236cf6,_0x1a2104,_0x465d5f,_0x4e711c);else return _0x22a62c===_0x3d9afc(0x19a)?new a63_0x27cc72({'text':createTextStyle(_0x236cf6,_0x236cf6['text'],_0x465d5f,_0x4e711c),'zIndex':_0x236cf6[_0x3d9afc(0x177)]}):getPointStyle(_0x236cf6,_0x1a2104,_0x465d5f,_0x4e711c);}}}}function drawImage(_0x1b89b8,_0x54bfef,_0x23c0f9,_0x3a2bde){const _0x550047=a63_0x2588;var _0x939421,_0x490c50,_0x207a0a,_0x445cb8;let _0x54a885=_0x23c0f9[_0x550047(0x19d)];try{_0x54a885[_0x550047(0x162)]();let _0x9b335=Number(_0x1b89b8[_0x550047(0x18c)]||((_0x939421=_0x1b89b8[_0x550047(0x192)])===null||_0x939421===void 0x0?void 0x0:_0x939421[0x0])||0x0),_0x3d8d29=Number(_0x1b89b8['pixelOffsetY']||((_0x490c50=_0x1b89b8[_0x550047(0x192)])===null||_0x490c50===void 0x0?void 0x0:_0x490c50[0x1])||0x0);_0x54a885[_0x550047(0x18f)](_0x54bfef[0x0]+_0x9b335,_0x54bfef[0x1]+_0x3d8d29);if(_0x1b89b8[_0x550047(0x175)])_0x54a885[_0x550047(0x18d)](toRadians(_0x1b89b8[_0x550047(0x175)]));_0x54a885[_0x550047(0x16e)]=_0x1b89b8[_0x550047(0x1a3)]!=null?_0x1b89b8[_0x550047(0x1a3)]:0x1;if(_0x3a2bde[_0x550047(0x173)]>0x0){let _0x25f40f=_0x1b89b8[_0x550047(0x187)]||0x1,_0x4e441d=_0x1b89b8[_0x550047(0x173)]||_0x3a2bde[_0x550047(0x173)]*_0x25f40f,_0x384ce9=_0x1b89b8[_0x550047(0x183)]||_0x3a2bde[_0x550047(0x183)]*_0x25f40f;_0x4e441d=_0x4e441d*_0x23c0f9[_0x550047(0x185)],_0x384ce9=_0x384ce9*_0x23c0f9['pixelRatio'];_0x1b89b8[_0x550047(0x190)]&&(_0x4e441d=_0x3a2bde[_0x550047(0x173)],_0x384ce9=_0x3a2bde['height']);let _0x2a34e5;switch((_0x207a0a=_0x1b89b8[_0x550047(0x188)])===null||_0x207a0a===void 0x0?void 0x0:_0x207a0a[_0x550047(0x198)]()){default:case _0x550047(0x17e):_0x2a34e5=-_0x4e441d/0x2;break;case _0x550047(0x161):_0x2a34e5=0x0;break;case _0x550047(0x189):_0x2a34e5=-_0x4e441d;break;}let _0x3e2189;switch((_0x445cb8=_0x1b89b8[_0x550047(0x196)])===null||_0x445cb8===void 0x0?void 0x0:_0x445cb8[_0x550047(0x198)]()){default:case _0x550047(0x17b):_0x3e2189=-_0x384ce9;break;case _0x550047(0x17e):_0x3e2189=-_0x384ce9/0x2;break;case _0x550047(0x1a4):_0x3e2189=0x0;break;}_0x54a885['drawImage'](_0x3a2bde,_0x2a34e5,_0x3e2189,_0x4e441d,_0x384ce9);}else _0x54a885[_0x550047(0x170)](_0x3a2bde,0x0,0x0);_0x54a885[_0x550047(0x180)]();}catch(_0x3c6e75){_0x54a885['restore'](),console[_0x550047(0x174)](_0x3c6e75);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x18aeb9,_0x464587){const _0x481de9=a64_0x1d8a,_0x3e7276=_0x18aeb9();while(!![]){try{const _0x25cd4f=-parseInt(_0x481de9(0x75))/0x1+parseInt(_0x481de9(0x98))/0x2+-parseInt(_0x481de9(0xa2))/0x3*(-parseInt(_0x481de9(0x96))/0x4)+-parseInt(_0x481de9(0x84))/0x5+parseInt(_0x481de9(0x8a))/0x6+-parseInt(_0x481de9(0x8b))/0x7*(-parseInt(_0x481de9(0xa8))/0x8)+-parseInt(_0x481de9(0xb1))/0x9;if(_0x25cd4f===_0x464587)break;else _0x3e7276['push'](_0x3e7276['shift']());}catch(_0x42fa01){_0x3e7276['push'](_0x3e7276['shift']());}}}(a64_0x4339,0xbbb07));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(_0x453b64,_0x1b697c,_0x5ee943,_0x592969){const _0x2ff6b1=a64_0x1d8a;var _0x38afc2;let _0x26ced1=(_0x38afc2=_0x453b64[_0x2ff6b1(0xac)])!==null&&_0x38afc2!==void 0x0?_0x38afc2:0x0,_0xd8be1e=new Style();_0xd8be1e[_0x2ff6b1(0x8e)](_0x26ced1),_0xd8be1e[_0x2ff6b1(0x8c)](new Fill({'color':'rgba(0,0,0,0)'}));if(_0x453b64['fill']!==![]){if(!_0x453b64[_0x2ff6b1(0x78)]||_0x453b64['fillType']===_0x2ff6b1(0xa1))_0xd8be1e['setFill'](new Fill({'color':getColor(_0x453b64[_0x2ff6b1(0xa1)],_0x453b64['opacity'])}));else{if(_0x453b64['fillType']===_0x2ff6b1(0x90))_0xd8be1e[_0x2ff6b1(0x88)]((_0x46669d,_0x25f536)=>{preLoadImageRenderFunction(_0x453b64,_0x46669d,_0x25f536,_0x592969,_rendererFunction);});else _0x453b64['fillType']==='grid'||_0x453b64['fillType']===_0x2ff6b1(0x97)||_0x453b64[_0x2ff6b1(0x78)]===_0x2ff6b1(0x73)?_0xd8be1e['setRenderer']((_0x107cd3,_0xc6db3d)=>{_rendererFunction(_0x453b64,_0x107cd3,_0xc6db3d,_0x592969,null);}):_0xd8be1e[_0x2ff6b1(0x8c)](new Fill({'color':getColor(_0x453b64[_0x2ff6b1(0xa1)],_0x453b64['opacity'])}));}}_0x453b64[_0x2ff6b1(0xa0)]!==![]&&_0xd8be1e['setStroke'](new Stroke({'color':getColor(_0x453b64['outlineColor'],_0x453b64[_0x2ff6b1(0x79)]),'width':_0x453b64[_0x2ff6b1(0x81)]}));let _0x36aada=[_0xd8be1e];_0x453b64[_0x2ff6b1(0x86)]&&!_0x453b64[_0x2ff6b1(0x86)][_0x2ff6b1(0xab)]&&(_0x453b64[_0x2ff6b1(0x86)]['verticalOrigin']=_0x2ff6b1(0xaa));let _0x499085=getImageOlStyle(_0x453b64[_0x2ff6b1(0x86)],_0x26ced1,_0x5ee943,_0x592969);_0x499085&&_0x36aada['push'](_0x499085);if(_0x453b64[_0x2ff6b1(0xb0)]&&_0x453b64[_0x2ff6b1(0xb0)][_0x2ff6b1(0x87)]!==![]){!_0x453b64['label'][_0x2ff6b1(0xab)]&&(_0x453b64[_0x2ff6b1(0xb0)]['verticalOrigin']=_0x2ff6b1(0xaa));let _0x36da1f=new Style({'text':createTextStyle(_0x453b64['label'],_0x1b697c,_0x5ee943,_0x592969),'zIndex':Number(_0x26ced1)+0x1});_0x36aada[_0x2ff6b1(0xa7)](_0x36da1f);}return _0x36aada;}function _rendererFunction(_0x966e06,_0x416f86,_0x2550c6,_0x334236,_0x3358a1){const _0x24777e=a64_0x1d8a;try{var _0x509ab8=_0x2550c6[_0x24777e(0xaf)];for(var _0x4e214d=0x0,_0x3c7d39=_0x416f86[_0x24777e(0x95)];_0x4e214d<_0x3c7d39;_0x4e214d++){_0x509ab8[_0x24777e(0x99)](),_0x509ab8[_0x24777e(0x8f)]();var _0x4f6894=_0x416f86[_0x4e214d];let _0x275d5b=boundingExtent(_0x4f6894);_0x509ab8['translate'](_0x275d5b[0x0],_0x275d5b[0x1]);let _0x26e557;switch(_0x966e06[_0x24777e(0x78)]){case _0x24777e(0x90):_0x26e557=_getImagePattern(_0x509ab8,_0x275d5b,_0x966e06,_0x3358a1);break;case _0x24777e(0x9a):_0x26e557=_getGridPattern(_0x509ab8,_0x275d5b,_0x966e06);break;case _0x24777e(0x97):_0x26e557=_getStripePattern(_0x509ab8,_0x275d5b,_0x966e06);break;case'checkerboard':_0x26e557=_getCheckerBoardPattern(_0x509ab8,_0x275d5b,_0x966e06);break;default:_0x26e557='rgba(0,0,0,0.01)';break;}for(var _0x317ffb=0x0,_0x48ea75=_0x4f6894[_0x24777e(0x95)];_0x317ffb<_0x48ea75;_0x317ffb++){var _0xee748b=_0x4f6894[_0x317ffb];_0x317ffb===0x0?_0x509ab8[_0x24777e(0x9b)](_0xee748b[0x0]-_0x275d5b[0x0],_0xee748b[0x1]-_0x275d5b[0x1]):_0x509ab8[_0x24777e(0xa6)](_0xee748b[0x0]-_0x275d5b[0x0],_0xee748b[0x1]-_0x275d5b[0x1]);}_0x509ab8[_0x24777e(0x8d)](),_0x509ab8['fillStyle']=_0x24777e(0x9f),_0x509ab8[_0x24777e(0x91)](),_0x509ab8[_0x24777e(0x77)]=_0x26e557,_0x509ab8[_0x24777e(0x91)](),_0x966e06[_0x24777e(0xa0)]?(_0x509ab8[_0x24777e(0xa4)]=getColor(_0x966e06[_0x24777e(0xad)],_0x966e06[_0x24777e(0x79)]),_0x509ab8[_0x24777e(0x94)]=_0x966e06[_0x24777e(0x81)]):_0x509ab8[_0x24777e(0xa4)]=_0x24777e(0x7f),_0x509ab8[_0x24777e(0xa9)](),_0x509ab8[_0x24777e(0x7b)]();}}catch(_0xa39ac9){_0x509ab8[_0x24777e(0x7b)](),console[_0x24777e(0x9e)](_0xa39ac9);}}function _getImagePattern(_0x555a82,_0x1f73ea,_0x1d5797,_0x29a03f){const _0x263f6e=a64_0x1d8a;if(!_0x29a03f||_0x29a03f[_0x263f6e(0x7a)]===0x0){let _0x523cb5=new Image();_0x523cb5[_0x263f6e(0x9d)]=_0x1d5797[_0x263f6e(0x90)];}var _0x549b86=getSize(_0x1f73ea);const _0x582648=document[_0x263f6e(0xa3)](_0x263f6e(0x83)),_0x39a0f0=_0x582648[_0x263f6e(0xae)]('2d');return _0x582648['width']=Math[_0x263f6e(0xa5)](_0x549b86[0x0]/_0x1d5797[_0x263f6e(0x92)],0x1),_0x582648[_0x263f6e(0x89)]=Math[_0x263f6e(0xa5)](_0x549b86[0x1]/_0x1d5797['repeatY'],0x1),_0x39a0f0&&(_0x39a0f0[_0x263f6e(0x80)]=_0x1d5797[_0x263f6e(0x93)],_0x39a0f0[_0x263f6e(0x9c)](_0x29a03f,0x0,0x0,_0x582648[_0x263f6e(0x7a)],_0x582648[_0x263f6e(0x89)])),_0x555a82[_0x263f6e(0x7d)](_0x582648,_0x263f6e(0x74));}function a64_0x4339(){const _0x42c421=['repeatX','opacity','lineWidth','length','1196oTxXct','stripe','2833930FRJpxj','save','grid','moveTo','drawImage','src','warn','rgba(0,0,0,0.01)','outline','color','3579gtvVTD','createElement','strokeStyle','max','lineTo','push','8AVKzcw','stroke','CENTER','verticalOrigin','zIndex','outlineColor','getContext','context','label','9465759wHpQXq','checkerboard','repeat','1282072xsgPTy','stripe_repeat','fillStyle','fillType','outlineOpacity','width','restore','grid_lineThickness','createPattern','grid_lineCount','rgba(0,0,0,0.0)','globalAlpha','outlineWidth','checkerboard_repeat','canvas','5292125vHtsjK','oddColor','billboard','show','setRenderer','height','6655806NTSAZx','8946350seGvPt','setFill','closePath','setZIndex','beginPath','image','fill'];a64_0x4339=function(){return _0x42c421;};return a64_0x4339();}function _getGridPattern(_0x55dd30,_0x17caf8,_0x5928ce){const _0x1b9332=a64_0x1d8a;var _0xb25159=getSize(_0x17caf8);const _0x5d0163=document[_0x1b9332(0xa3)]('canvas'),_0x53861c=_0x5d0163['getContext']('2d');return _0x5d0163[_0x1b9332(0x7a)]=Math[_0x1b9332(0xa5)](_0xb25159[0x0]/_0x5928ce[_0x1b9332(0x7e)],0x1),_0x5d0163[_0x1b9332(0x89)]=Math[_0x1b9332(0xa5)](_0xb25159[0x1]/_0x5928ce[_0x1b9332(0x7e)],0x1),_0x53861c&&(_0x53861c[_0x1b9332(0xa4)]=getColor(_0x5928ce[_0x1b9332(0xa1)],_0x5928ce[_0x1b9332(0x93)]),_0x53861c[_0x1b9332(0x94)]=_0x5928ce[_0x1b9332(0x7c)]*0x4,_0x53861c[_0x1b9332(0x8f)](),_0x53861c[_0x1b9332(0x9b)](0x0,_0x5d0163[_0x1b9332(0x89)]),_0x53861c[_0x1b9332(0xa6)](_0x5d0163[_0x1b9332(0x7a)],_0x5d0163[_0x1b9332(0x89)]),_0x53861c[_0x1b9332(0x9b)](_0x5d0163[_0x1b9332(0x7a)],0x0),_0x53861c['lineTo'](_0x5d0163['width'],_0x5d0163[_0x1b9332(0x89)]),_0x53861c[_0x1b9332(0xa9)]()),_0x55dd30[_0x1b9332(0x7d)](_0x5d0163,_0x1b9332(0x74));}function _getStripePattern(_0x4ed83d,_0x2170dd,_0x8856c8){const _0x5684ab=a64_0x1d8a;var _0x32b920=getSize(_0x2170dd);const _0x2445a4=document[_0x5684ab(0xa3)](_0x5684ab(0x83)),_0x3a41c8=_0x2445a4[_0x5684ab(0xae)]('2d');let _0x4da97a=Math[_0x5684ab(0xa5)](_0x32b920[0x1]/_0x8856c8[_0x5684ab(0x76)],0x1);return _0x2445a4[_0x5684ab(0x7a)]=_0x32b920[0x0],_0x2445a4[_0x5684ab(0x89)]=_0x4da97a*0x2,_0x3a41c8&&(_0x3a41c8[_0x5684ab(0x8f)](),_0x3a41c8['moveTo'](0x0,0x0),_0x3a41c8['lineTo'](_0x2445a4[_0x5684ab(0x7a)],0x0),_0x3a41c8['lineTo'](_0x2445a4[_0x5684ab(0x7a)],_0x4da97a),_0x3a41c8[_0x5684ab(0xa6)](0x0,_0x4da97a),_0x3a41c8[_0x5684ab(0x8d)](),_0x3a41c8['fillStyle']=getColor(_0x8856c8['stripe_oddcolor'],_0x8856c8[_0x5684ab(0x93)]),_0x3a41c8[_0x5684ab(0x91)](),_0x3a41c8[_0x5684ab(0x8f)](),_0x3a41c8[_0x5684ab(0x9b)](0x0,_0x4da97a),_0x3a41c8['lineTo'](_0x2445a4[_0x5684ab(0x7a)],_0x4da97a),_0x3a41c8[_0x5684ab(0xa6)](_0x2445a4[_0x5684ab(0x7a)],_0x4da97a*0x2),_0x3a41c8[_0x5684ab(0xa6)](0x0,_0x4da97a*0x2),_0x3a41c8[_0x5684ab(0x8d)](),_0x3a41c8[_0x5684ab(0x77)]=getColor(_0x8856c8[_0x5684ab(0xa1)],_0x8856c8[_0x5684ab(0x93)]),_0x3a41c8[_0x5684ab(0x91)]()),_0x4ed83d[_0x5684ab(0x7d)](_0x2445a4,_0x5684ab(0x74));}function a64_0x1d8a(_0x220e2d,_0x3de85b){const _0x4339d6=a64_0x4339();return a64_0x1d8a=function(_0x1d8a2b,_0x51c620){_0x1d8a2b=_0x1d8a2b-0x73;let _0x581b28=_0x4339d6[_0x1d8a2b];return _0x581b28;},a64_0x1d8a(_0x220e2d,_0x3de85b);}function _getCheckerBoardPattern(_0x148c5d,_0x2b2c01,_0x5e1950){const _0x41cce0=a64_0x1d8a;var _0x21e61b=getSize(_0x2b2c01);const _0x3b0b56=document[_0x41cce0(0xa3)](_0x41cce0(0x83)),_0x5c3980=_0x3b0b56['getContext']('2d');let _0x1a20e3=Math[_0x41cce0(0xa5)](_0x21e61b[0x0]/_0x5e1950[_0x41cce0(0x82)],0x1),_0x51969e=Math['max'](_0x21e61b[0x1]/_0x5e1950[_0x41cce0(0x82)],0x1);return _0x3b0b56[_0x41cce0(0x7a)]=_0x1a20e3*0x2,_0x3b0b56[_0x41cce0(0x89)]=_0x51969e*0x2,_0x5c3980&&(_0x5c3980[_0x41cce0(0x8f)](),_0x5c3980[_0x41cce0(0x9b)](0x0,0x0),_0x5c3980[_0x41cce0(0xa6)](_0x1a20e3,0x0),_0x5c3980['lineTo'](_0x1a20e3,_0x51969e),_0x5c3980[_0x41cce0(0xa6)](0x0,_0x51969e),_0x5c3980[_0x41cce0(0x8d)](),_0x5c3980[_0x41cce0(0x77)]=getColor(_0x5e1950[_0x41cce0(0x85)],_0x5e1950[_0x41cce0(0x93)]),_0x5c3980[_0x41cce0(0x91)](),_0x5c3980[_0x41cce0(0x8f)](),_0x5c3980[_0x41cce0(0x9b)](_0x1a20e3,0x0),_0x5c3980[_0x41cce0(0xa6)](_0x3b0b56[_0x41cce0(0x7a)],0x0),_0x5c3980[_0x41cce0(0xa6)](_0x3b0b56['width'],_0x51969e),_0x5c3980['lineTo'](_0x1a20e3,_0x51969e),_0x5c3980[_0x41cce0(0x8d)](),_0x5c3980[_0x41cce0(0x77)]=getColor(_0x5e1950['color'],_0x5e1950[_0x41cce0(0x93)]),_0x5c3980['fill'](),_0x5c3980[_0x41cce0(0x8f)](),_0x5c3980[_0x41cce0(0x9b)](0x0,_0x51969e),_0x5c3980[_0x41cce0(0xa6)](_0x1a20e3,_0x51969e),_0x5c3980[_0x41cce0(0xa6)](_0x1a20e3,_0x3b0b56[_0x41cce0(0x89)]),_0x5c3980[_0x41cce0(0xa6)](0x0,_0x3b0b56[_0x41cce0(0x89)]),_0x5c3980[_0x41cce0(0x8d)](),_0x5c3980['fillStyle']=getColor(_0x5e1950[_0x41cce0(0xa1)],_0x5e1950[_0x41cce0(0x93)]),_0x5c3980['fill'](),_0x5c3980[_0x41cce0(0x8f)](),_0x5c3980[_0x41cce0(0x9b)](_0x1a20e3,_0x51969e),_0x5c3980[_0x41cce0(0xa6)](_0x3b0b56[_0x41cce0(0x7a)],_0x51969e),_0x5c3980[_0x41cce0(0xa6)](_0x3b0b56[_0x41cce0(0x7a)],_0x3b0b56[_0x41cce0(0x89)]),_0x5c3980['lineTo'](_0x1a20e3,_0x3b0b56[_0x41cce0(0x89)]),_0x5c3980['closePath'](),_0x5c3980['fillStyle']=getColor(_0x5e1950[_0x41cce0(0x85)],_0x5e1950[_0x41cce0(0x93)]),_0x5c3980['fill']()),_0x148c5d[_0x41cce0(0x7d)](_0x3b0b56,_0x41cce0(0x74));}
|
|
1
|
+
(function(_0x5e6764,_0x5b1841){const _0x17e96e=a64_0x1c42,_0x148c2f=_0x5e6764();while(!![]){try{const _0x5b4587=parseInt(_0x17e96e(0x1ea))/0x1*(parseInt(_0x17e96e(0x1d0))/0x2)+parseInt(_0x17e96e(0x1c5))/0x3+-parseInt(_0x17e96e(0x1ed))/0x4*(parseInt(_0x17e96e(0x1ae))/0x5)+-parseInt(_0x17e96e(0x1da))/0x6*(parseInt(_0x17e96e(0x1c7))/0x7)+-parseInt(_0x17e96e(0x1d4))/0x8*(-parseInt(_0x17e96e(0x1ce))/0x9)+parseInt(_0x17e96e(0x1bc))/0xa+-parseInt(_0x17e96e(0x1c8))/0xb*(parseInt(_0x17e96e(0x1ef))/0xc);if(_0x5b4587===_0x5b1841)break;else _0x148c2f['push'](_0x148c2f['shift']());}catch(_0x2df4d0){_0x148c2f['push'](_0x148c2f['shift']());}}}(a64_0x51e1,0x6091d));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';function a64_0x51e1(){const _0x3e8b8e=['970pxJjxN','setRenderer','outlineWidth','rgba(0,0,0,0)','billboard','opacity','globalAlpha','checkerboard','stripe','fill','label','repeatX','stripe_oddcolor','image','4582650HGnAdu','checkerboard_repeat','setStroke','grid_lineThickness','CENTER','color','lineWidth','width','fillType','2215464QYXuFM','src','14BCRRDS','319HJwFce','beginPath','rgba(0,0,0,0.01)','push','context','max','32229Vpxvcn','translate','1291662vBXvaZ','restore','closePath','outlineColor','784huiaLA','moveTo','grid','createElement','strokeStyle','setZIndex','1557624QxJfLE','verticalOrigin','getContext','outlineOpacity','repeat','lineTo','stroke','grid_lineCount','zIndex','createPattern','fillStyle','height','repeatY','oddColor','length','setFill','1OhmrkB','canvas','stripe_repeat','9572jmVroN','outline','337044QzljrN'];a64_0x51e1=function(){return _0x3e8b8e;};return a64_0x51e1();}import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0xa91f01,_0x4e5739,_0x1f48c1,_0x227d77){const _0x578d5b=a64_0x1c42;var _0x564d1a;let _0x29868a=(_0x564d1a=_0xa91f01[_0x578d5b(0x1e2)])!==null&&_0x564d1a!==void 0x0?_0x564d1a:0x0,_0x36634d=new Style();_0x36634d[_0x578d5b(0x1d9)](_0x29868a),_0x36634d['setFill'](new Fill({'color':_0x578d5b(0x1b1)}));if(_0xa91f01[_0x578d5b(0x1b7)]!==![]){if(!_0xa91f01[_0x578d5b(0x1c4)]||_0xa91f01['fillType']===_0x578d5b(0x1c1))_0x36634d['setFill'](new Fill({'color':getColor(_0xa91f01[_0x578d5b(0x1c1)],_0xa91f01[_0x578d5b(0x1b3)])}));else{if(_0xa91f01[_0x578d5b(0x1c4)]==='image')_0x36634d['setRenderer']((_0x2577c9,_0x521402)=>{preLoadImageRenderFunction(_0xa91f01,_0x2577c9,_0x521402,_0x227d77,_rendererFunction);});else _0xa91f01[_0x578d5b(0x1c4)]==='grid'||_0xa91f01[_0x578d5b(0x1c4)]===_0x578d5b(0x1b6)||_0xa91f01['fillType']===_0x578d5b(0x1b5)?_0x36634d[_0x578d5b(0x1af)]((_0x4522ef,_0x566bb6)=>{_rendererFunction(_0xa91f01,_0x4522ef,_0x566bb6,_0x227d77,null);}):_0x36634d[_0x578d5b(0x1e9)](new Fill({'color':getColor(_0xa91f01[_0x578d5b(0x1c1)],_0xa91f01[_0x578d5b(0x1b3)])}));}}_0xa91f01[_0x578d5b(0x1ee)]!==![]&&_0x36634d[_0x578d5b(0x1be)](new Stroke({'color':getColor(_0xa91f01['outlineColor'],_0xa91f01[_0x578d5b(0x1dd)]),'width':_0xa91f01[_0x578d5b(0x1b0)]}));let _0x4591db=[_0x36634d];_0xa91f01[_0x578d5b(0x1b2)]&&!_0xa91f01[_0x578d5b(0x1b2)][_0x578d5b(0x1db)]&&(_0xa91f01['billboard'][_0x578d5b(0x1db)]=_0x578d5b(0x1c0));let _0x55c9f4=getImageOlStyle(_0xa91f01[_0x578d5b(0x1b2)],_0x29868a,_0x1f48c1,_0x227d77);_0x55c9f4&&_0x4591db[_0x578d5b(0x1cb)](_0x55c9f4);if(_0xa91f01[_0x578d5b(0x1b8)]&&_0xa91f01[_0x578d5b(0x1b8)]['show']!==![]){!_0xa91f01[_0x578d5b(0x1b8)][_0x578d5b(0x1db)]&&(_0xa91f01[_0x578d5b(0x1b8)][_0x578d5b(0x1db)]='CENTER');let _0x2670e4=new Style({'text':createTextStyle(_0xa91f01[_0x578d5b(0x1b8)],_0x4e5739,_0x1f48c1,_0x227d77),'zIndex':Number(_0x29868a)+0x1});_0x4591db[_0x578d5b(0x1cb)](_0x2670e4);}return _0x4591db;}function _rendererFunction(_0x3cf8e3,_0xd85eb7,_0x3b9af5,_0x2c49ba,_0x13544f){const _0x4e8ad0=a64_0x1c42;try{var _0x51f35a=_0x3b9af5[_0x4e8ad0(0x1cc)];for(var _0x25d8e7=0x0,_0x100deb=_0xd85eb7[_0x4e8ad0(0x1e8)];_0x25d8e7<_0x100deb;_0x25d8e7++){_0x51f35a['save'](),_0x51f35a[_0x4e8ad0(0x1c9)]();var _0x3accf8=_0xd85eb7[_0x25d8e7];let _0x57a17e=boundingExtent(_0x3accf8);_0x51f35a[_0x4e8ad0(0x1cf)](_0x57a17e[0x0],_0x57a17e[0x1]);let _0x4588ff;switch(_0x3cf8e3[_0x4e8ad0(0x1c4)]){case'image':_0x4588ff=_getImagePattern(_0x51f35a,_0x57a17e,_0x3cf8e3,_0x13544f);break;case _0x4e8ad0(0x1d6):_0x4588ff=_getGridPattern(_0x51f35a,_0x57a17e,_0x3cf8e3);break;case'stripe':_0x4588ff=_getStripePattern(_0x51f35a,_0x57a17e,_0x3cf8e3);break;case _0x4e8ad0(0x1b5):_0x4588ff=_getCheckerBoardPattern(_0x51f35a,_0x57a17e,_0x3cf8e3);break;default:_0x4588ff=_0x4e8ad0(0x1ca);break;}for(var _0x74fb03=0x0,_0x5d6e40=_0x3accf8['length'];_0x74fb03<_0x5d6e40;_0x74fb03++){var _0x4aaa6f=_0x3accf8[_0x74fb03];_0x74fb03===0x0?_0x51f35a[_0x4e8ad0(0x1d5)](_0x4aaa6f[0x0]-_0x57a17e[0x0],_0x4aaa6f[0x1]-_0x57a17e[0x1]):_0x51f35a[_0x4e8ad0(0x1df)](_0x4aaa6f[0x0]-_0x57a17e[0x0],_0x4aaa6f[0x1]-_0x57a17e[0x1]);}_0x51f35a[_0x4e8ad0(0x1d2)](),_0x51f35a[_0x4e8ad0(0x1e4)]=_0x4e8ad0(0x1ca),_0x51f35a['fill'](),_0x51f35a['fillStyle']=_0x4588ff,_0x51f35a[_0x4e8ad0(0x1b7)](),_0x3cf8e3[_0x4e8ad0(0x1ee)]?(_0x51f35a[_0x4e8ad0(0x1d8)]=getColor(_0x3cf8e3[_0x4e8ad0(0x1d3)],_0x3cf8e3[_0x4e8ad0(0x1dd)]),_0x51f35a[_0x4e8ad0(0x1c2)]=_0x3cf8e3[_0x4e8ad0(0x1b0)]):_0x51f35a['strokeStyle']='rgba(0,0,0,0.0)',_0x51f35a['stroke'](),_0x51f35a[_0x4e8ad0(0x1d1)]();}}catch(_0x15eb35){_0x51f35a[_0x4e8ad0(0x1d1)](),console['warn'](_0x15eb35);}}function _getImagePattern(_0x7ff73,_0x5c9daf,_0x1bc0b1,_0x3a5c95){const _0x3c8664=a64_0x1c42;if(!_0x3a5c95||_0x3a5c95[_0x3c8664(0x1c3)]===0x0){let _0xfde398=new Image();_0xfde398[_0x3c8664(0x1c6)]=_0x1bc0b1[_0x3c8664(0x1bb)];}var _0x482fdd=getSize(_0x5c9daf);const _0x3e3860=document[_0x3c8664(0x1d7)](_0x3c8664(0x1eb)),_0x5bae71=_0x3e3860[_0x3c8664(0x1dc)]('2d');return _0x3e3860[_0x3c8664(0x1c3)]=Math[_0x3c8664(0x1cd)](_0x482fdd[0x0]/_0x1bc0b1[_0x3c8664(0x1b9)],0x1),_0x3e3860[_0x3c8664(0x1e5)]=Math['max'](_0x482fdd[0x1]/_0x1bc0b1[_0x3c8664(0x1e6)],0x1),_0x5bae71&&(_0x5bae71[_0x3c8664(0x1b4)]=_0x1bc0b1[_0x3c8664(0x1b3)],_0x5bae71['drawImage'](_0x3a5c95,0x0,0x0,_0x3e3860[_0x3c8664(0x1c3)],_0x3e3860[_0x3c8664(0x1e5)])),_0x7ff73[_0x3c8664(0x1e3)](_0x3e3860,_0x3c8664(0x1de));}function a64_0x1c42(_0x1c4515,_0x43de85){const _0x51e1ef=a64_0x51e1();return a64_0x1c42=function(_0x1c42f0,_0x441707){_0x1c42f0=_0x1c42f0-0x1ae;let _0x401eb3=_0x51e1ef[_0x1c42f0];return _0x401eb3;},a64_0x1c42(_0x1c4515,_0x43de85);}function _getGridPattern(_0x356c05,_0x2669cd,_0x4ba469){const _0xbe2b8d=a64_0x1c42;var _0x3e92c3=getSize(_0x2669cd);const _0x157d85=document[_0xbe2b8d(0x1d7)](_0xbe2b8d(0x1eb)),_0x24889b=_0x157d85[_0xbe2b8d(0x1dc)]('2d');return _0x157d85[_0xbe2b8d(0x1c3)]=Math[_0xbe2b8d(0x1cd)](_0x3e92c3[0x0]/_0x4ba469['grid_lineCount'],0x1),_0x157d85[_0xbe2b8d(0x1e5)]=Math[_0xbe2b8d(0x1cd)](_0x3e92c3[0x1]/_0x4ba469[_0xbe2b8d(0x1e1)],0x1),_0x24889b&&(_0x24889b[_0xbe2b8d(0x1d8)]=getColor(_0x4ba469[_0xbe2b8d(0x1c1)],_0x4ba469[_0xbe2b8d(0x1b3)]),_0x24889b[_0xbe2b8d(0x1c2)]=_0x4ba469[_0xbe2b8d(0x1bf)]*0x4,_0x24889b['beginPath'](),_0x24889b['moveTo'](0x0,_0x157d85[_0xbe2b8d(0x1e5)]),_0x24889b[_0xbe2b8d(0x1df)](_0x157d85[_0xbe2b8d(0x1c3)],_0x157d85['height']),_0x24889b['moveTo'](_0x157d85[_0xbe2b8d(0x1c3)],0x0),_0x24889b[_0xbe2b8d(0x1df)](_0x157d85['width'],_0x157d85[_0xbe2b8d(0x1e5)]),_0x24889b[_0xbe2b8d(0x1e0)]()),_0x356c05[_0xbe2b8d(0x1e3)](_0x157d85,'repeat');}function _getStripePattern(_0x178a91,_0x6a303,_0x5e0e16){const _0x367595=a64_0x1c42;var _0xe22d10=getSize(_0x6a303);const _0x4bdc82=document[_0x367595(0x1d7)](_0x367595(0x1eb)),_0x4d80c6=_0x4bdc82[_0x367595(0x1dc)]('2d');let _0x5f42ea=Math[_0x367595(0x1cd)](_0xe22d10[0x1]/_0x5e0e16[_0x367595(0x1ec)],0x1);return _0x4bdc82[_0x367595(0x1c3)]=_0xe22d10[0x0],_0x4bdc82[_0x367595(0x1e5)]=_0x5f42ea*0x2,_0x4d80c6&&(_0x4d80c6[_0x367595(0x1c9)](),_0x4d80c6[_0x367595(0x1d5)](0x0,0x0),_0x4d80c6[_0x367595(0x1df)](_0x4bdc82[_0x367595(0x1c3)],0x0),_0x4d80c6['lineTo'](_0x4bdc82[_0x367595(0x1c3)],_0x5f42ea),_0x4d80c6[_0x367595(0x1df)](0x0,_0x5f42ea),_0x4d80c6[_0x367595(0x1d2)](),_0x4d80c6['fillStyle']=getColor(_0x5e0e16[_0x367595(0x1ba)],_0x5e0e16['opacity']),_0x4d80c6[_0x367595(0x1b7)](),_0x4d80c6['beginPath'](),_0x4d80c6[_0x367595(0x1d5)](0x0,_0x5f42ea),_0x4d80c6[_0x367595(0x1df)](_0x4bdc82['width'],_0x5f42ea),_0x4d80c6[_0x367595(0x1df)](_0x4bdc82[_0x367595(0x1c3)],_0x5f42ea*0x2),_0x4d80c6[_0x367595(0x1df)](0x0,_0x5f42ea*0x2),_0x4d80c6[_0x367595(0x1d2)](),_0x4d80c6['fillStyle']=getColor(_0x5e0e16[_0x367595(0x1c1)],_0x5e0e16[_0x367595(0x1b3)]),_0x4d80c6[_0x367595(0x1b7)]()),_0x178a91[_0x367595(0x1e3)](_0x4bdc82,_0x367595(0x1de));}function _getCheckerBoardPattern(_0x29d812,_0x11d7be,_0x3129fb){const _0x5508d7=a64_0x1c42;var _0x1aa3cd=getSize(_0x11d7be);const _0x9bd2ce=document[_0x5508d7(0x1d7)]('canvas'),_0x3d30d6=_0x9bd2ce[_0x5508d7(0x1dc)]('2d');let _0x1a32dd=Math[_0x5508d7(0x1cd)](_0x1aa3cd[0x0]/_0x3129fb[_0x5508d7(0x1bd)],0x1),_0x44ec85=Math['max'](_0x1aa3cd[0x1]/_0x3129fb[_0x5508d7(0x1bd)],0x1);return _0x9bd2ce['width']=_0x1a32dd*0x2,_0x9bd2ce[_0x5508d7(0x1e5)]=_0x44ec85*0x2,_0x3d30d6&&(_0x3d30d6['beginPath'](),_0x3d30d6[_0x5508d7(0x1d5)](0x0,0x0),_0x3d30d6[_0x5508d7(0x1df)](_0x1a32dd,0x0),_0x3d30d6[_0x5508d7(0x1df)](_0x1a32dd,_0x44ec85),_0x3d30d6[_0x5508d7(0x1df)](0x0,_0x44ec85),_0x3d30d6[_0x5508d7(0x1d2)](),_0x3d30d6[_0x5508d7(0x1e4)]=getColor(_0x3129fb[_0x5508d7(0x1e7)],_0x3129fb[_0x5508d7(0x1b3)]),_0x3d30d6['fill'](),_0x3d30d6[_0x5508d7(0x1c9)](),_0x3d30d6[_0x5508d7(0x1d5)](_0x1a32dd,0x0),_0x3d30d6[_0x5508d7(0x1df)](_0x9bd2ce[_0x5508d7(0x1c3)],0x0),_0x3d30d6[_0x5508d7(0x1df)](_0x9bd2ce[_0x5508d7(0x1c3)],_0x44ec85),_0x3d30d6['lineTo'](_0x1a32dd,_0x44ec85),_0x3d30d6[_0x5508d7(0x1d2)](),_0x3d30d6['fillStyle']=getColor(_0x3129fb['color'],_0x3129fb[_0x5508d7(0x1b3)]),_0x3d30d6[_0x5508d7(0x1b7)](),_0x3d30d6[_0x5508d7(0x1c9)](),_0x3d30d6[_0x5508d7(0x1d5)](0x0,_0x44ec85),_0x3d30d6[_0x5508d7(0x1df)](_0x1a32dd,_0x44ec85),_0x3d30d6[_0x5508d7(0x1df)](_0x1a32dd,_0x9bd2ce[_0x5508d7(0x1e5)]),_0x3d30d6['lineTo'](0x0,_0x9bd2ce[_0x5508d7(0x1e5)]),_0x3d30d6[_0x5508d7(0x1d2)](),_0x3d30d6[_0x5508d7(0x1e4)]=getColor(_0x3129fb['color'],_0x3129fb[_0x5508d7(0x1b3)]),_0x3d30d6[_0x5508d7(0x1b7)](),_0x3d30d6[_0x5508d7(0x1c9)](),_0x3d30d6[_0x5508d7(0x1d5)](_0x1a32dd,_0x44ec85),_0x3d30d6[_0x5508d7(0x1df)](_0x9bd2ce[_0x5508d7(0x1c3)],_0x44ec85),_0x3d30d6[_0x5508d7(0x1df)](_0x9bd2ce['width'],_0x9bd2ce['height']),_0x3d30d6[_0x5508d7(0x1df)](_0x1a32dd,_0x9bd2ce['height']),_0x3d30d6[_0x5508d7(0x1d2)](),_0x3d30d6[_0x5508d7(0x1e4)]=getColor(_0x3129fb['oddColor'],_0x3129fb[_0x5508d7(0x1b3)]),_0x3d30d6[_0x5508d7(0x1b7)]()),_0x29d812[_0x5508d7(0x1e3)](_0x9bd2ce,_0x5508d7(0x1de));}
|