ym-gis-2d 1.0.17 → 1.0.19
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/capabilities/index.js.map +1 -1
- package/controls/ControlManager.js +1 -1
- package/controls/LegendControl.d.ts.map +1 -1
- package/controls/LegendControl.js +1 -1
- package/controls/LegendControl.js.map +1 -1
- package/controls/MousePositionControl.js +1 -1
- package/controls/SwipeLayerControl.js +1 -1
- package/conver/kml/geoJSONToKml.js +1 -1
- package/conver/kml/index.js +1 -1
- package/conver/kml/kmlToGeoJSON.js +1 -1
- package/entity/Feature.js +1 -1
- package/entity/GeometryType.js +1 -1
- package/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.d.ts.map +1 -1
- package/utils/tasks/index.js +1 -1
- package/utils/tasks/index.js.map +1 -1
- package/ym-gis-2d.es.js +1 -1
- package/ym-gis-2d.umd.js +1 -1
package/layers/LayerManager.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a50_0x267d96=a50_0x4c59;(function(_0x440a69,_0x259989){const _0x4f88ea=a50_0x4c59,_0x17dcf9=_0x440a69();while(!![]){try{const _0x23bf11=-parseInt(_0x4f88ea(0x1a1))/0x1*(-parseInt(_0x4f88ea(0x195))/0x2)+parseInt(_0x4f88ea(0x19f))/0x3*(parseInt(_0x4f88ea(0x199))/0x4)+parseInt(_0x4f88ea(0x1a4))/0x5+-parseInt(_0x4f88ea(0x1a5))/0x6+-parseInt(_0x4f88ea(0x19d))/0x7*(-parseInt(_0x4f88ea(0x198))/0x8)+parseInt(_0x4f88ea(0x1a8))/0x9+-parseInt(_0x4f88ea(0x19a))/0xa;if(_0x23bf11===_0x259989)break;else _0x17dcf9['push'](_0x17dcf9['shift']());}catch(_0x225abf){_0x17dcf9['push'](_0x17dcf9['shift']());}}}(a50_0x38ee,0x94456));import a50_0x1de6a3 from'./ArcgisDynamicLayer';import a50_0x235e13 from'./ArcgisFeatureLayer';import a50_0x4b6f72 from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a50_0x19caac from'./ArcgisTileLayer';import a50_0x1849bc from'./GeoserverWMSLayer';import a50_0xa5a47b from'./GeoserverWMTSLayer';import a50_0x127afb from'./ArcgisWMSLayer';import a50_0x21a35f from'./ArcgisWMTSLayer';import a50_0x16543c from'./GeoserverWFSLayer';import a50_0x3c404e from'./GeoserverVectorTile';export default class LayerManagement{static async[a50_0x267d96(0x1a0)](_0x5d5958){const _0x2ac114=a50_0x267d96,_0xeafe3d=await getDynamicLayerInfo(_0x5d5958[_0x2ac114(0x19b)]?_0x5d5958[_0x2ac114(0x19b)]:'');let _0x27eed9=new a50_0x1de6a3(_0x5d5958,_0xeafe3d);return _0x27eed9;}static async[a50_0x267d96(0x1a7)](_0x4f05d4){const _0x1f91c7=a50_0x267d96,_0x42d200=await getDynamicLayerInfo(_0x4f05d4[_0x1f91c7(0x19b)]?_0x4f05d4[_0x1f91c7(0x19b)]:'');let _0x7833ec=new a50_0x19caac(_0x4f05d4,_0x42d200);return _0x7833ec;}static async['getArcgisFeatureLayer'](_0x4d5967){const _0xa7eaee=a50_0x267d96,_0x44a326=await getDynamicLayerInfo(_0x4d5967[_0xa7eaee(0x19b)]?_0x4d5967['url']:'');let _0x776bba=[];if(_0x4d5967[_0xa7eaee(0x196)])for(let _0x3219c6=0x0;_0x3219c6<_0x4d5967['sublayers'][_0xa7eaee(0x1a6)];_0x3219c6++){const _0x19aa43=_0x4d5967['sublayers'][_0x3219c6];_0x776bba['push'](await getFeatureLayerInfo(_0x4d5967[_0xa7eaee(0x19b)]?_0x4d5967['url']:'',_0x19aa43));}let _0x486ce8=new a50_0x235e13(_0x4d5967,_0x44a326,_0x776bba);return _0x486ce8;}static async[a50_0x267d96(0x197)](_0x330be6){const _0x589740=a50_0x267d96;var _0x340c81;const _0x235135=(_0x340c81=_0x330be6[_0x589740(0x196)])===null||_0x340c81===void 0x0?void 0x0:_0x340c81[0x0],_0x222047=await getWMSLayerCapabilities(_0x330be6[_0x589740(0x19b)]?_0x330be6[_0x589740(0x19b)]:'',_0x235135==null?'':_0x235135);let _0x5349f3=new a50_0x127afb(_0x330be6,_0x222047);return _0x5349f3;}static async['getArcgisWMTSLayer'](_0x4143a4){const _0xb54f11=a50_0x267d96;var _0x3614f0;const _0x1325ce=(_0x3614f0=_0x4143a4[_0xb54f11(0x196)])===null||_0x3614f0===void 0x0?void 0x0:_0x3614f0[0x0],_0x1d7a88=await getWMTSLayerCapabilities(_0x4143a4['url']?_0x4143a4[_0xb54f11(0x19b)]:'',_0x1325ce==null?'':_0x1325ce);let _0x5df2df=new a50_0x21a35f(_0x4143a4,_0x1d7a88);return _0x5df2df;}static async[a50_0x267d96(0x19c)](_0xcea979){const _0x3d7362=a50_0x267d96;var _0x35113e;const _0x1d5677=(_0x35113e=_0xcea979[_0x3d7362(0x196)])===null||_0x35113e===void 0x0?void 0x0:_0x35113e[0x0],_0x1c34cb=await getWMSLayerCapabilities(_0xcea979['url']?_0xcea979[_0x3d7362(0x19b)]:'',_0x1d5677==null?'':_0x1d5677);let _0x2fc756=new a50_0x1849bc(_0xcea979,_0x1c34cb);return _0x2fc756;}static async[a50_0x267d96(0x1a3)](_0x3e6085){const _0x39c49c=a50_0x267d96;var _0x110602;const _0x426bb6=(_0x110602=_0x3e6085['sublayers'])===null||_0x110602===void 0x0?void 0x0:_0x110602[0x0],_0x52e7f3=await getWMTSLayerCapabilities(_0x3e6085['url']?_0x3e6085[_0x39c49c(0x19b)]:'',_0x426bb6==null?'':_0x426bb6);let _0x505c9e=new a50_0xa5a47b(_0x3e6085,_0x52e7f3);return _0x505c9e;}static async[a50_0x267d96(0x19e)](_0x4765e8){const _0x56aee5=a50_0x267d96;var _0x428699;const _0xfa94c3=(_0x428699=_0x4765e8[_0x56aee5(0x196)])===null||_0x428699===void 0x0?void 0x0:_0x428699[0x0],_0x3d23c7=await getWFSLayerCapabilities(_0x4765e8[_0x56aee5(0x19b)]?_0x4765e8[_0x56aee5(0x19b)]:'',_0xfa94c3==null?'':_0xfa94c3);let _0x5de4e3=new a50_0x16543c(_0x4765e8,_0x3d23c7);return _0x5de4e3;}static async[a50_0x267d96(0x1a2)](_0x439681){const _0x2d3111=a50_0x267d96;var _0x12d3fe;const _0x21612f=(_0x12d3fe=_0x439681['sublayers'])===null||_0x12d3fe===void 0x0?void 0x0:_0x12d3fe[0x0],_0x10f3f6=await getWMTSLayerCapabilities(_0x439681[_0x2d3111(0x19b)]?_0x439681['url']:'',_0x21612f==null?'':_0x21612f);let _0x16d535=new a50_0x3c404e(_0x439681,_0x10f3f6);return _0x16d535;}static async['getTDTLayer'](_0x359545){const _0x2cbd7f=a50_0x267d96;var _0x33eb51;const _0x216ea2=(_0x33eb51=_0x359545[_0x2cbd7f(0x196)])===null||_0x33eb51===void 0x0?void 0x0:_0x33eb51[0x0],_0xde5e6f=await getWMTSLayerCapabilities(_0x359545[_0x2cbd7f(0x19b)]?_0x359545[_0x2cbd7f(0x19b)]:'',_0x216ea2==null?'':_0x216ea2);let _0x538fdc=new a50_0x4b6f72(_0x359545,_0xde5e6f);return _0x538fdc;}}function a50_0x4c59(_0x2b1420,_0x21cb13){const _0x38ee7a=a50_0x38ee();return a50_0x4c59=function(_0x4c5948,_0xdaf881){_0x4c5948=_0x4c5948-0x195;let _0x28f66b=_0x38ee7a[_0x4c5948];return _0x28f66b;},a50_0x4c59(_0x2b1420,_0x21cb13);}function a50_0x38ee(){const _0x43310d=['getGeoserverWmsLayer','7zeZTxd','getGeoserverWFSLayer','6186qrZizg','getDynamicLayer','115953BrTbbi','getGeoserverVectorTileLayer','getGeoserverWMTSLayer','3629080Tvqyon','3878868jKBtLN','length','getArcgisTileLayer','4608405tRNkeh','2retiri','sublayers','getArcgisWmsLayer','6718656EXrTwX','824wVPNhV','13646220sfUVVG','url'];a50_0x38ee=function(){return _0x43310d;};return a50_0x38ee();}
|
package/layers/TDTLayer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a51_0x38b3(_0x2cf200,_0x4ce070){const _0x4d2f70=a51_0x4d2f();return a51_0x38b3=function(_0x38b371,_0x2a3cd0){_0x38b371=_0x38b371-0x19c;let _0x12a941=_0x4d2f70[_0x38b371];return _0x12a941;},a51_0x38b3(_0x2cf200,_0x4ce070);}(function(_0x3a52c1,_0x233fe7){const _0x2f0d36=a51_0x38b3,_0x17741e=_0x3a52c1();while(!![]){try{const _0x3845d7=parseInt(_0x2f0d36(0x1b1))/0x1+-parseInt(_0x2f0d36(0x1a1))/0x2*(parseInt(_0x2f0d36(0x1a3))/0x3)+-parseInt(_0x2f0d36(0x1ad))/0x4*(-parseInt(_0x2f0d36(0x1b2))/0x5)+parseInt(_0x2f0d36(0x1ab))/0x6+-parseInt(_0x2f0d36(0x1a0))/0x7*(parseInt(_0x2f0d36(0x1aa))/0x8)+parseInt(_0x2f0d36(0x1a7))/0x9*(-parseInt(_0x2f0d36(0x1a2))/0xa)+-parseInt(_0x2f0d36(0x19e))/0xb*(-parseInt(_0x2f0d36(0x19c))/0xc);if(_0x3845d7===_0x233fe7)break;else _0x17741e['push'](_0x17741e['shift']());}catch(_0x356226){_0x17741e['push'](_0x17741e['shift']());}}}(a51_0x4d2f,0xcee7d));import a51_0x1ca3b5 from'ol/layer/Tile';import{WMTS as a51_0x285767}from'ol/source';import a51_0x125b4c from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{getWidth,getTopLeft}from'ol/extent';function a51_0x4d2f(){const _0x1b0faa=['4kTYwpp','KVP','sublayers','layerInfo','625042USLhlG','1269410WOeoME','initialExtent','opacity','tileMatrixSet','3348hMwmgD','length','49401lfKtPF','mapIndex','98ajLEPU','516kcSwzC','120vWnUJK','1473rHAiyY','join','style','boundingBoxExtent','1097433sAlDeO','format','EPSG:4490','330632yaoZdH','5304600dDBfcD','1.0.0'];a51_0x4d2f=function(){return _0x1b0faa;};return a51_0x4d2f();}export default class TDTLayer extends a51_0x1ca3b5{constructor(_0x3f6c15,_0x51fe61){const _0x13d7cb=a51_0x38b3;let _0xb2893f='';_0x3f6c15[_0x13d7cb(0x1af)]&&_0x3f6c15['sublayers'][_0x13d7cb(0x19d)]>0x0&&(_0xb2893f=_0x3f6c15[_0x13d7cb(0x1af)][_0x13d7cb(0x1a4)](','));const _0x25ff23=_0x13d7cb(0x1a9);let _0x3f6ffe=registerProj(_0x25ff23);const _0x1b9213=[],_0x1e4293=[];for(let _0x278978=0x1;_0x278978<0x13;_0x278978++){_0x1b9213[_0x278978]=getWidth(_0x51fe61[_0x13d7cb(0x1a6)])/(0x100*Math['pow'](0x2,_0x278978)),_0x1e4293[_0x278978]=_0x278978+'';}super({'opacity':_0x3f6c15[_0x13d7cb(0x1b4)],'zIndex':_0x3f6c15[_0x13d7cb(0x19f)],'source':new a51_0x285767({'style':_0x51fe61[_0x13d7cb(0x1a5)],'url':_0x3f6c15['url'],'tileGrid':new a51_0x125b4c({'origin':getTopLeft(_0x51fe61[_0x13d7cb(0x1a6)]),'resolutions':_0x1b9213,'matrixIds':_0x1e4293}),'layer':_0xb2893f,'matrixSet':_0x51fe61[_0x13d7cb(0x1b5)],'version':_0x13d7cb(0x1ac),'format':_0x51fe61[_0x13d7cb(0x1a8)][0x0],'projection':_0x25ff23,'requestEncoding':_0x13d7cb(0x1ae)})}),this['id']=_0x3f6c15['id'],this[_0x13d7cb(0x1b3)]=_0x51fe61[_0x13d7cb(0x1a6)],this['projection']=_0x3f6ffe,this[_0x13d7cb(0x1b0)]=_0x3f6c15;}}
|
package/mapView/Map.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function a52_0x46a8(){const _0x1abe38=['zoom','dispatchEvent','layerTag','getMaxZoom','getZIndex','getProjection','arcgis-tile','EPSG:4490','addFeature','getLayers','setGeometry','60vxTpKs','EPSG:','getLength','geoserver-wmts','11690TxrTDc','locationGeometrys','center','rgba(255,\x200,\x200,\x200.2)','addLayer','3278OiTLLn','geoserver-vector-tile','13QnynTV','1458WDbPiL','fitLayer','pointTempLayer','getCode','getLayersByIds','74565geHWBf','flashGeometrys','locationGeometry','isSelected','locationWKT','sortTemLayer','2050167AfpEmC','36UYFCtw','length','addWKTs','addMapLayer','getExtent','removeLayerById','extent','getDynamicLayer','MultiLineString','projection','minZoom','layerInfo','getGeoserverVectorTileLayer','5669mtkIUB','getPointTempLayer','getLineTempLayer','includes','getSource','constrainResolution','暂不支持【','push','getGeoserverWmsLayer','GeometryCollection','98UVqWYC','setCenter','fit','getTempLayerByGeoType','add','changelayer','getTDTLayer','all','getLayerById','filter','geoserver-wms','getMetersPerUnit','insertAt','polygonTempLayer','getArcgisWmsLayer','getPolygonTempLayer','MultiPoint','controlManager','arcgis-wms','Polygon','8DxIOJf','interactionManager','calculateExtent','setMaxResolution','transform','rgba(255,\x200,\x200,\x201)','tag','394236OGEzmp','getArcgisFeatureLayer','20MvXDiZ','layerType','arcgis-wmts','import','addMapLayers','layerIds','minResolution','_options','MultiPolygon','getType','minScale','getTempLayerById','maxScale','getLayerByLayerTag','maxZoom','1874572AqFGzs','changetype','getArray','getCoordinates','lineTempLayer','addWKT','getMinZoom','setStyle','getView','setProjection'];a52_0x46a8=function(){return _0x1abe38;};return a52_0x46a8();}const a52_0x212a9c=a52_0x25ae;(function(_0x10573f,_0x9895af){const _0x326d89=a52_0x25ae,_0x53fd27=_0x10573f();while(!![]){try{const _0x91504c=-parseInt(_0x326d89(0x19f))/0x1*(parseInt(_0x326d89(0x1a9))/0x2)+-parseInt(_0x326d89(0x18b))/0x3*(parseInt(_0x326d89(0x192))/0x4)+-parseInt(_0x326d89(0x17e))/0x5*(-parseInt(_0x326d89(0x186))/0x6)+-parseInt(_0x326d89(0x191))/0x7*(-parseInt(_0x326d89(0x1bd))/0x8)+-parseInt(_0x326d89(0x1c4))/0x9*(-parseInt(_0x326d89(0x1c6))/0xa)+-parseInt(_0x326d89(0x183))/0xb*(-parseInt(_0x326d89(0x17a))/0xc)+parseInt(_0x326d89(0x185))/0xd*(-parseInt(_0x326d89(0x1d5))/0xe);if(_0x91504c===_0x9895af)break;else _0x53fd27['push'](_0x53fd27['shift']());}catch(_0x17187f){_0x53fd27['push'](_0x53fd27['shift']());}}}(a52_0x46a8,0x4cd73));import'ol/ol.css';import'../assets/main.css';import a52_0x5a7004 from'ol/Map';import a52_0x46894e from'ol/events/Event';import{defaults as a52_0x17258c}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a52_0x53a8b0 from'../layers/LayerManager';import a52_0x437e38 from'ol/layer/Vector';function a52_0x25ae(_0x49284f,_0x29383b){const _0x46a8a3=a52_0x46a8();return a52_0x25ae=function(_0x25ae4d,_0x21277c){_0x25ae4d=_0x25ae4d-0x178;let _0x5cc754=_0x46a8a3[_0x25ae4d];return _0x5cc754;},a52_0x25ae(_0x49284f,_0x29383b);}import a52_0x5117a3 from'ol/source/Vector';import a52_0x43acdf from'../controls/ControlManager';import a52_0xa18a56 from'../entity/Feature';import a52_0x28f851 from'../interaction/InteractionManager';import a52_0x404591 from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a52_0x4d7958 from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a52_0x46894e{constructor(_0x550c77,_0x4214bf,_0x5246fb){const _0x1fb30a=a52_0x25ae;super(_0x550c77),this[_0x1fb30a(0x1cb)]=_0x4214bf,this[_0x1fb30a(0x1d6)]=_0x5246fb;}}export default class OLMap extends a52_0x5a7004{constructor(_0x15c80e,_0x6cd6f5,_0x28a409){const _0xaaebaf=a52_0x25ae;_0x6cd6f5=_0x6cd6f5?_0x6cd6f5:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x136932=_0x6cd6f5[_0xaaebaf(0x19b)]?_0xaaebaf(0x17b)+_0x6cd6f5['projection']:_0xaaebaf(0x1e6);_0x6cd6f5[_0xaaebaf(0x1df)]=_0x6cd6f5['zoom']?_0x6cd6f5[_0xaaebaf(0x1df)]:0xa,_0x6cd6f5[_0xaaebaf(0x19c)]=_0x6cd6f5['minZoom']?_0x6cd6f5['minZoom']:0x0,_0x6cd6f5[_0xaaebaf(0x1d4)]=_0x6cd6f5[_0xaaebaf(0x1d4)]?_0x6cd6f5['maxZoom']:0x1c,_0x6cd6f5['constrainResolution']=_0x6cd6f5[_0xaaebaf(0x1a4)]?_0x6cd6f5[_0xaaebaf(0x1a4)]:![],_0x6cd6f5[_0xaaebaf(0x180)]=_0x6cd6f5[_0xaaebaf(0x180)]?_0x6cd6f5[_0xaaebaf(0x180)]:[117.22718,31.820386],registerProj(_0x136932);const _0x235807={'target':_0x15c80e,'view':_0x28a409?_0x28a409:new a52_0x404591({'center':_0x6cd6f5[_0xaaebaf(0x180)],'zoom':_0x6cd6f5[_0xaaebaf(0x1df)],'projection':_0x136932,'minZoom':_0x6cd6f5[_0xaaebaf(0x19c)],'maxZoom':_0x6cd6f5['maxZoom'],'minResolution':_0x6cd6f5[_0xaaebaf(0x1cc)],'maxResolution':_0x6cd6f5['maxResolution'],'constrainResolution':_0x6cd6f5['constrainResolution']}),'controls':a52_0x17258c({'zoom':![]})};super(_0x235807),_0x6cd6f5[_0xaaebaf(0x198)]&&this[_0xaaebaf(0x1dd)]()['fit'](_0x6cd6f5[_0xaaebaf(0x198)]),this[_0xaaebaf(0x1be)]=new a52_0x28f851(this),this[_0xaaebaf(0x1ba)]=new a52_0x43acdf(this),this['_options']=_0x6cd6f5;}[a52_0x212a9c(0x1dd)](){const _0x32f3bd=a52_0x212a9c;return super[_0x32f3bd(0x1dd)]();}['fitLayer'](_0x1935a8){const _0x21724f=a52_0x212a9c;var _0x2406f6;this[_0x21724f(0x1dd)]()[_0x21724f(0x1ab)](transformExtent(_0x1935a8['initialExtent'],(_0x2406f6=_0x1935a8[_0x21724f(0x19b)])===null||_0x2406f6===void 0x0?void 0x0:_0x2406f6[_0x21724f(0x189)](),this[_0x21724f(0x1dd)]()[_0x21724f(0x1e4)]()[_0x21724f(0x189)]()));}['fitLayerById'](_0x413a89){const _0xe9df76=a52_0x212a9c;let _0x181c33=this[_0xe9df76(0x1b1)](_0x413a89);_0x181c33&&this[_0xe9df76(0x187)](_0x181c33);}async['addMapLayer'](_0x3a5181){const _0x53a15d=a52_0x212a9c;let _0x5be093;switch(_0x3a5181[_0x53a15d(0x1c7)]){case'arcgis-feature':_0x5be093=await a52_0x53a8b0[_0x53a15d(0x1c5)](_0x3a5181);break;case'arcgis-dynamic':_0x5be093=await a52_0x53a8b0[_0x53a15d(0x199)](_0x3a5181);break;case _0x53a15d(0x1e5):_0x5be093=await a52_0x53a8b0['getArcgisTileLayer'](_0x3a5181);break;case _0x53a15d(0x1bb):_0x5be093=await a52_0x53a8b0[_0x53a15d(0x1b7)](_0x3a5181);break;case _0x53a15d(0x1c8):_0x5be093=await a52_0x53a8b0['getArcgisWMTSLayer'](_0x3a5181);break;case _0x53a15d(0x1b3):_0x5be093=await a52_0x53a8b0[_0x53a15d(0x1a7)](_0x3a5181);break;case'geoserver-wfs':_0x5be093=await a52_0x53a8b0['getGeoserverWFSLayer'](_0x3a5181);break;case _0x53a15d(0x17d):_0x5be093=await a52_0x53a8b0['getGeoserverWMTSLayer'](_0x3a5181);break;case _0x53a15d(0x184):_0x5be093=await a52_0x53a8b0[_0x53a15d(0x19e)](_0x3a5181);break;case'tdt-c':_0x5be093=await a52_0x53a8b0[_0x53a15d(0x1af)](_0x3a5181);break;default:throw new Error(_0x53a15d(0x1a5)+_0x3a5181[_0x53a15d(0x1c7)]+'】服务类型');}return this[_0x53a15d(0x182)](_0x5be093),this['dispatchEvent'](new ChangeLayerEvent('changelayer',[_0x3a5181['id']],_0x53a15d(0x1ad))),_0x5be093;}async[a52_0x212a9c(0x1ca)](_0x33c103){const _0x5c32c7=a52_0x212a9c;let _0x575b5b=[];const _0x64d5e6=[];for(let _0x3088df=0x0;_0x3088df<_0x33c103[_0x5c32c7(0x193)];_0x3088df++){const _0x6de524=_0x33c103[_0x3088df];_0x64d5e6[_0x5c32c7(0x1a6)](_0x6de524['id']),_0x575b5b[_0x5c32c7(0x1a6)](this[_0x5c32c7(0x195)](_0x6de524));}const _0x42a77e=await Promise[_0x5c32c7(0x1b0)](_0x575b5b);return this[_0x5c32c7(0x1e0)](new ChangeLayerEvent(_0x5c32c7(0x1ae),_0x64d5e6,_0x5c32c7(0x1ad))),_0x42a77e;}[a52_0x212a9c(0x182)](_0x550e50,_0x305d87=![]){const _0x548ae3=a52_0x212a9c,_0x4f6f2f=_0x550e50,_0x42b31c=this[_0x548ae3(0x1b1)](_0x4f6f2f['id']);if(_0x42b31c==null){const _0x38624b=_0x4f6f2f['layerInfo']==undefined||_0x4f6f2f['layerInfo'][_0x548ae3(0x1d0)]==undefined||_0x4f6f2f['layerInfo'][_0x548ae3(0x1d0)]<0x0?undefined:calculateResolution(_0x4f6f2f[_0x548ae3(0x19d)][_0x548ae3(0x1d0)],this['getView']()[_0x548ae3(0x1e4)]()[_0x548ae3(0x1b4)]()||0x0);_0x550e50['setMinResolution'](_0x38624b);const _0x33a2ed=_0x4f6f2f[_0x548ae3(0x19d)]==undefined||_0x4f6f2f['layerInfo']['maxScale']==undefined||_0x4f6f2f['layerInfo'][_0x548ae3(0x1d2)]<0x0?undefined:calculateResolution(_0x4f6f2f[_0x548ae3(0x19d)][_0x548ae3(0x1d2)],this[_0x548ae3(0x1dd)]()[_0x548ae3(0x1e4)]()[_0x548ae3(0x1b4)]()||0x0);_0x550e50[_0x548ae3(0x1c0)](_0x33a2ed);const _0x6c1a3a=this[_0x548ae3(0x178)]()['getArray']()['length'];if(!this[_0x548ae3(0x1cd)][_0x548ae3(0x19b)]&&_0x6c1a3a==0x0&&_0x4f6f2f[_0x548ae3(0x19b)]&&_0x4f6f2f[_0x548ae3(0x19b)][_0x548ae3(0x189)]()!=this['getView']()['getProjection']()[_0x548ae3(0x189)]()){}let _0xa42475=_0x550e50[_0x548ae3(0x1e3)]();_0xa42475!=undefined&&_0xa42475>_0x6c1a3a&&(_0xa42475=_0x6c1a3a),this['getLayers']()[_0x548ae3(0x1b5)](_0xa42475==undefined?_0x6c1a3a:_0xa42475,_0x550e50),_0x305d87&&this[_0x548ae3(0x187)](_0x4f6f2f);}}[a52_0x212a9c(0x197)](_0x48d060){const _0x3a95d8=a52_0x212a9c,_0x1ceb8b=this[_0x3a95d8(0x1b1)](_0x48d060);_0x1ceb8b&&(this['removeLayer'](_0x1ceb8b),this[_0x3a95d8(0x1e0)](new ChangeLayerEvent('changelayer',[_0x48d060],'remove')));}[a52_0x212a9c(0x1b1)](_0x485165){const _0x2e873a=a52_0x212a9c;let _0x189311,_0xbb173f=this['getLayers']()['getArray']();for(let _0x3e73d0=0x0;_0x3e73d0<_0xbb173f[_0x2e873a(0x193)];_0x3e73d0++){let _0x6ff24a=_0xbb173f[_0x3e73d0]['id'];if(_0x485165==_0x6ff24a){_0x189311=_0xbb173f[_0x3e73d0];break;}}return _0x189311;}[a52_0x212a9c(0x1d3)](_0x11358d){const _0x59a614=a52_0x212a9c;let _0x53fb32,_0x3a14df=this[_0x59a614(0x178)]()['getArray']();for(let _0x53fb60=0x0;_0x53fb60<_0x3a14df[_0x59a614(0x193)];_0x53fb60++){const _0x359af1=_0x3a14df[_0x53fb60][_0x59a614(0x19d)];if(!_0x359af1)continue;let _0x3e3ba2=_0x359af1[_0x59a614(0x1e1)];if(_0x3e3ba2==_0x11358d){_0x53fb32=_0x3a14df[_0x53fb60];break;}}return _0x53fb32;}[a52_0x212a9c(0x18a)](_0x5e2b89){const _0x52c09d=a52_0x212a9c;let _0x21ddc7=this[_0x52c09d(0x178)]()[_0x52c09d(0x1d7)]();return _0x21ddc7[_0x52c09d(0x1b2)](_0x27cead=>_0x5e2b89[_0x52c09d(0x1a2)](_0x27cead['id']));}[a52_0x212a9c(0x1d1)](_0x23d05d){const _0x4a9ed7=a52_0x212a9c;let _0x2d62d6,_0x37a501=this[_0x4a9ed7(0x178)]()[_0x4a9ed7(0x1d7)]();for(let _0x5b7c74=0x0;_0x5b7c74<_0x37a501[_0x4a9ed7(0x193)];_0x5b7c74++){const _0x424a15=_0x37a501[_0x5b7c74];if(_0x424a15['id']===_0x23d05d){_0x2d62d6=_0x424a15;break;}}if(!_0x2d62d6){_0x2d62d6=new a52_0x437e38({'zIndex':0x270f,'source':new a52_0x5117a3()}),_0x2d62d6['id']=_0x23d05d;const _0x54e946=this[_0x4a9ed7(0x178)]()[_0x4a9ed7(0x17c)]();switch(_0x23d05d){case'lineTempLayer':this[_0x4a9ed7(0x178)]()[_0x4a9ed7(0x1b5)](_0x54e946-0x1>-0x1?_0x54e946-0x1:0x0,_0x2d62d6);break;case _0x4a9ed7(0x1b6):this[_0x4a9ed7(0x178)]()['insertAt'](_0x54e946-0x2>-0x1?_0x54e946-0x2:0x0,_0x2d62d6);break;case'pointTempLayer':this[_0x4a9ed7(0x178)]()[_0x4a9ed7(0x1b5)](_0x54e946,_0x2d62d6);break;default:break;}}return _0x2d62d6;}[a52_0x212a9c(0x1a0)](){const _0x1182ab=a52_0x212a9c;return this[_0x1182ab(0x1d1)](_0x1182ab(0x188));}['getLineTempLayer'](){const _0x384d19=a52_0x212a9c;return this[_0x384d19(0x1d1)](_0x384d19(0x1d9));}[a52_0x212a9c(0x1b8)](){const _0x36491b=a52_0x212a9c;return this[_0x36491b(0x1d1)]('polygonTempLayer');}[a52_0x212a9c(0x1ac)](_0x22f750){const _0x3c4011=a52_0x212a9c;let _0x2de0ac=this[_0x3c4011(0x1a0)]();switch(_0x22f750){case'Point':case'MultiPoint':_0x2de0ac=this[_0x3c4011(0x1a0)]();case'LineString':case _0x3c4011(0x19a):_0x2de0ac=this[_0x3c4011(0x1a1)]();case _0x3c4011(0x1bc):case _0x3c4011(0x1ce):_0x2de0ac=this['getPolygonTempLayer']();}return _0x2de0ac;}['resetViewProjection'](_0x1d7aad){const _0x5211b0=a52_0x212a9c;let _0x5ea62e=this[_0x5211b0(0x1dd)]()[_0x5211b0(0x1db)](),_0x405f85=this['getView']()[_0x5211b0(0x1e2)]();registerProj(_0x1d7aad),this[_0x5211b0(0x1dd)]()[_0x5211b0(0x1de)](_0x1d7aad);}[a52_0x212a9c(0x190)](){const _0x5b8d54=a52_0x212a9c;let _0x46b6ca=[];_0x46b6ca['push'](this[_0x5b8d54(0x1a0)]()),_0x46b6ca['push'](this[_0x5b8d54(0x1a1)]()),_0x46b6ca['push'](this[_0x5b8d54(0x1b8)]());const _0xb33a5d=this['getLayers']()[_0x5b8d54(0x1d7)]()[_0x5b8d54(0x193)];for(let _0x441634=0x0;_0x441634<_0x46b6ca[_0x5b8d54(0x193)];_0x441634++){const _0x2c3fd1=_0x46b6ca[_0x441634];this[_0x5b8d54(0x178)]()[_0x5b8d54(0x1b5)](_0xb33a5d-_0x441634-0x1,_0x2c3fd1);}}[a52_0x212a9c(0x196)](){const _0x3ac830=a52_0x212a9c;return this['getView']()[_0x3ac830(0x1bf)](this['getSize']());}[a52_0x212a9c(0x1da)](_0x4ede4a,_0x1f5ca8,_0x2a9951,_0x34768b=!![],_0x15ecd8={'color':a52_0x212a9c(0x181),'opacity':0.2,'outlineColor':a52_0x212a9c(0x1c2),'outlineWidth':0x2}){const _0x476431=a52_0x212a9c;var _0x51a545;const _0x3dbcb1=fromWKT(_0x4ede4a,_0x1f5ca8,this[_0x476431(0x1dd)]()['getProjection']()[_0x476431(0x189)]());if(!_0x3dbcb1)return;const _0x391875=this[_0x476431(0x1ac)](_0x3dbcb1[_0x476431(0x1cf)]()),_0x3692a8=getStyle(_0x15ecd8),_0x580182=new a52_0xa18a56();_0x580182[_0x476431(0x179)](_0x3dbcb1),_0x580182[_0x476431(0x1dc)](_0x3692a8),_0x580182[_0x476431(0x1c3)]=_0x2a9951,(_0x51a545=_0x391875[_0x476431(0x1a3)]())===null||_0x51a545===void 0x0?void 0x0:_0x51a545[_0x476431(0x1e7)](_0x580182),_0x34768b&&this[_0x476431(0x18d)](_0x3dbcb1,undefined,1.2,![]);}[a52_0x212a9c(0x194)](_0x476099,_0x4dd9e1,_0x1c82a8,_0x40557c=!![],_0x5b602c={'color':a52_0x212a9c(0x181),'opacity':0.2,'outlineColor':a52_0x212a9c(0x1c2),'outlineWidth':0x2}){const _0x2ec631=a52_0x212a9c;var _0x194350;const _0x2dd50c=fromWKTs(_0x476099,_0x4dd9e1,this['getView']()['getProjection']()[_0x2ec631(0x189)]());if(!_0x2dd50c||_0x2dd50c[_0x2ec631(0x193)]==0x0)return;const _0x54991b=this[_0x2ec631(0x1ac)](_0x2dd50c[0x0]['getType']()),_0x59c067=getStyle(_0x5b602c);let _0x13653f=[];for(const _0x34c46b of _0x2dd50c){const _0xe325a6=new a52_0xa18a56();_0xe325a6[_0x2ec631(0x179)](_0x34c46b),_0xe325a6[_0x2ec631(0x1dc)](_0x59c067),_0xe325a6['fromType']=_0x2ec631(0x1c9),_0xe325a6[_0x2ec631(0x18e)]=!![],_0xe325a6['tag']=_0x1c82a8,_0x13653f['push'](_0xe325a6);}(_0x194350=_0x54991b[_0x2ec631(0x1a3)]())===null||_0x194350===void 0x0?void 0x0:_0x194350['addFeatures'](_0x13653f),_0x40557c&&this[_0x2ec631(0x17f)](_0x2dd50c,undefined,1.2,![]);}[a52_0x212a9c(0x18f)](_0x2d8d5c,_0x50d115,_0x326836=1.2,_0x1abdfd=!![]){const _0x76385=a52_0x212a9c;if(!_0x2d8d5c)return;let _0x3475d0=fromWKT(_0x2d8d5c,_0x50d115,this[_0x76385(0x1dd)]()[_0x76385(0x1e4)]()[_0x76385(0x189)]());if(!_0x3475d0)return;this['locationGeometry'](_0x3475d0,_0x50d115,_0x326836,_0x1abdfd);}['locationWKTs'](_0x423886,_0x161689,_0x162ecd=1.2,_0x18a6b1=!![]){const _0x58ba82=a52_0x212a9c;if(!_0x423886||_0x423886[_0x58ba82(0x193)]===0x0)return;const _0x15663f=[];for(let _0x520136=0x0;_0x520136<_0x423886['length'];_0x520136++){let _0x101c71=_0x423886[_0x520136],_0x19f14f=fromWKT(_0x101c71,_0x161689,this['getView']()[_0x58ba82(0x1e4)]()['getCode']());if(!_0x19f14f)continue;_0x15663f[_0x58ba82(0x1a6)](_0x19f14f);}this[_0x58ba82(0x17f)](_0x15663f,_0x161689,_0x162ecd,_0x18a6b1);}[a52_0x212a9c(0x18d)](_0x844ec6,_0x23ce80,_0x19fff6=1.2,_0x24b729=!![]){const _0x252608=a52_0x212a9c;if(!_0x844ec6)return;let _0x42ad9f=_0x844ec6;_0x23ce80&&(_0x42ad9f=_0x844ec6[_0x252608(0x1c1)](_0x23ce80,this[_0x252608(0x1dd)]()[_0x252608(0x1e4)]()));switch(_0x42ad9f[_0x252608(0x1cf)]()){case'Point':this['getView']()[_0x252608(0x1aa)](_0x42ad9f[_0x252608(0x1d8)]());break;case'Polygon':case _0x252608(0x1b9):case _0x252608(0x19a):case _0x252608(0x1ce):case _0x252608(0x1a8):this[_0x252608(0x1dd)]()[_0x252608(0x1ab)](expandExtent(_0x42ad9f['getExtent'](),_0x19fff6));break;}if(_0x24b729){const _0x34e2d1=new a52_0x4d7958(this);_0x34e2d1[_0x252608(0x18c)]([_0x42ad9f],0x3);}}[a52_0x212a9c(0x17f)](_0x11c462,_0x5bfb0d,_0x293403=1.2,_0x43e052=!![]){const _0x4fdce3=a52_0x212a9c;if(!_0x11c462||_0x11c462[_0x4fdce3(0x193)]===0x0)return;let _0x5411bb=null;for(const _0x58ffc9 of _0x11c462){_0x5411bb?_0x5411bb=union(_0x5411bb,_0x58ffc9):_0x5411bb=_0x58ffc9;}_0x5411bb&&this[_0x4fdce3(0x18d)](_0x5411bb,_0x5bfb0d,_0x293403,![]);if(_0x43e052){const _0x5e0f94=new a52_0x4d7958(this);_0x5e0f94[_0x4fdce3(0x18c)](_0x11c462,0x3);}}}
|
|
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);}}}
|
package/mapView/View.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2d2d3d,_0x411257){var _0xcfa30f=a53_0x10cc,_0x447ce4=_0x2d2d3d();while(!![]){try{var _0x41a741=parseInt(_0xcfa30f(0xad))/0x1+parseInt(_0xcfa30f(0xb3))/0x2+-parseInt(_0xcfa30f(0xae))/0x3*(-parseInt(_0xcfa30f(0xab))/0x4)+-parseInt(_0xcfa30f(0xaa))/0x5*(-parseInt(_0xcfa30f(0xac))/0x6)+parseInt(_0xcfa30f(0xa9))/0x7*(-parseInt(_0xcfa30f(0xb0))/0x8)+-parseInt(_0xcfa30f(0xb2))/0x9+-parseInt(_0xcfa30f(0xaf))/0xa*(parseInt(_0xcfa30f(0xb4))/0xb);if(_0x41a741===_0x411257)break;else _0x447ce4['push'](_0x447ce4['shift']());}catch(_0x4b4025){_0x447ce4['push'](_0x447ce4['shift']());}}}(a53_0x34df,0x895e7));function a53_0x10cc(_0x4973bb,_0x5eec93){var _0x34df25=a53_0x34df();return a53_0x10cc=function(_0x10cc1c,_0x53e49f){_0x10cc1c=_0x10cc1c-0xa9;var _0x5d7b02=_0x34df25[_0x10cc1c];return _0x5d7b02;},a53_0x10cc(_0x4973bb,_0x5eec93);}import a53_0x4524d8 from'ol/View';function a53_0x34df(){var _0x3e10df=['1765992UNuFPq','110022oJoAgJ','setProperties','14OJrSpy','549215QULLYa','99100WEOPmD','36nwUaDV','62982KxRHWR','117uNHnOQ','470sokokW','3160808xPNolH','projection_','6734718tvTiUs'];a53_0x34df=function(){return _0x3e10df;};return a53_0x34df();}import{get}from'ol/proj';export default class OLView extends a53_0x4524d8{constructor(_0x681d6a){super(_0x681d6a);}['setProjection'](_0x2960e6){var _0x5a5d1f=a53_0x10cc;this[_0x5a5d1f(0xb1)]=get(_0x2960e6),this[_0x5a5d1f(0xb5)]({'projection_':get(_0x2960e6)});}}
|
package/package.json
CHANGED
package/plot/Plot.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x498c73,_0x4ca377){const _0x2225fc=a61_0x461a,_0x8ce982=_0x498c73();while(!![]){try{const _0x51d6b5=parseInt(_0x2225fc(0xce))/0x1*(-parseInt(_0x2225fc(0xc0))/0x2)+parseInt(_0x2225fc(0xcc))/0x3*(-parseInt(_0x2225fc(0xbf))/0x4)+parseInt(_0x2225fc(0xc8))/0x5*(-parseInt(_0x2225fc(0xbb))/0x6)+-parseInt(_0x2225fc(0xc2))/0x7*(parseInt(_0x2225fc(0xc4))/0x8)+-parseInt(_0x2225fc(0xbe))/0x9+-parseInt(_0x2225fc(0xc7))/0xa+parseInt(_0x2225fc(0xb8))/0xb;if(_0x51d6b5===_0x4ca377)break;else _0x8ce982['push'](_0x8ce982['shift']());}catch(_0xa37fcd){_0x8ce982['push'](_0x8ce982['shift']());}}}(a61_0x4953,0x1bd7e));import a61_0x236af8 from'../entity/GeometryType';import a61_0x56fab8 from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';function a61_0x461a(_0x36099c,_0x57c2c3){const _0x49539a=a61_0x4953();return a61_0x461a=function(_0x461a83,_0x4d3b97){_0x461a83=_0x461a83-0xb7;let _0x4ac0f8=_0x49539a[_0x461a83];return _0x4ac0f8;},a61_0x461a(_0x36099c,_0x57c2c3);}import{getPolygonStyle}from'../style/PolygonStyleFormat';import a61_0x1e0611 from'./geometry/polygon/RectAngle';import a61_0x34c4c1 from'./geometry/polyline/Polyline';import a61_0x5bf011 from'./geometry/point/Point';import a61_0x18a3c2 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};function a61_0x4953(){const _0x4fc52c=['91262juosBq','Ellipsoid','722995ZHYuit','MAX_VALUE','8PNudvg','Ellipse','assign','596930Cisvjx','5AYaMpA','toLowerCase','Polygon','SurfaceClosed','370593gHMeGy','Rectangle','1uRbntj','Arrow','PolyLine','7254478sAuoRB','ArrowPincerlike','Point','1214022hDhGms','Circle','pointermove','98775xFMSOF','4XXwQhA'];a61_0x4953=function(){return _0x4fc52c;};return a61_0x4953();}export function createPlot(_0xb98975,_0x251ed7){const _0x6dfc65=a61_0x461a;_0xb98975=_0xb98975[_0x6dfc65(0xc9)]();switch(_0xb98975){case a61_0x236af8[_0x6dfc65(0xba)]:case _0x6dfc65(0xbd):return new a61_0x5bf011(_0x251ed7);case a61_0x236af8[_0x6dfc65(0xb7)]:return new a61_0x34c4c1(_0x251ed7);case a61_0x236af8['Circle']:return new a61_0x18a3c2(_0x251ed7);case a61_0x236af8[_0x6dfc65(0xcd)]:return new a61_0x1e0611(_0x251ed7);case a61_0x236af8[_0x6dfc65(0xca)]:return new a61_0x56fab8(_0x251ed7);}}export function getPlotCount(_0x49db38){const _0xabd805=a61_0x461a;_0x49db38=_0x49db38[_0xabd805(0xc9)]();let _0x1acee7={'fixPoint':0x0,'minPoint':0x0};switch(_0x49db38){case a61_0x236af8[_0xabd805(0xba)]:_0x1acee7={'fixPoint':0x1,'minPoint':0x0};break;case a61_0x236af8[_0xabd805(0xb7)]:_0x1acee7={'fixPoint':Number[_0xabd805(0xc3)],'minPoint':0x1};break;case a61_0x236af8[_0xabd805(0xca)]:_0x1acee7={'fixPoint':Number[_0xabd805(0xc3)],'minPoint':0x2};break;case a61_0x236af8['Rectangle']:_0x1acee7={'fixPoint':0x2,'minPoint':0x1};break;case a61_0x236af8[_0xabd805(0xbc)]:_0x1acee7={'fixPoint':0x2,'minPoint':0x1};break;case a61_0x236af8['Curve']:_0x1acee7={'fixPoint':Number[_0xabd805(0xc3)],'minPoint':0x1};break;case a61_0x236af8[_0xabd805(0xc5)]:case a61_0x236af8[_0xabd805(0xc1)]:_0x1acee7={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x1acee7;}export function getStyle(_0x3a3865,_0x4868d3,_0x2ada3c){const _0xf1a98b=a61_0x461a;_0x3a3865=_0x3a3865[_0xf1a98b(0xc9)](),_0x4868d3=Object[_0xf1a98b(0xc6)](Object[_0xf1a98b(0xc6)]({},defaultStyle),_0x4868d3);switch(_0x3a3865){case a61_0x236af8[_0xf1a98b(0xba)]:return function(_0x4b4efa,_0x2b087b){return getPointSingleStyle(_0x3a3865,_0x4868d3,_0x2b087b,_0x2ada3c);};case a61_0x236af8[_0xf1a98b(0xb7)]:case a61_0x236af8['Curve']:return function(_0x1362c4,_0x90399a){return getPolylineStyle(_0x4868d3,'',_0x90399a,_0x2ada3c);};case a61_0x236af8[_0xf1a98b(0xbc)]:case a61_0x236af8[_0xf1a98b(0xcd)]:case a61_0x236af8[_0xf1a98b(0xc5)]:case a61_0x236af8['Ellipsoid']:case a61_0x236af8[_0xf1a98b(0xcb)]:case a61_0x236af8['Polygon']:case a61_0x236af8['ArrowAttack']:case a61_0x236af8[_0xf1a98b(0xb9)]:case a61_0x236af8[_0xf1a98b(0xcf)]:case a61_0x236af8['AssemblySite']:return function(_0x51353f,_0x4cc2ec){return getPolygonStyle(_0x4868d3,'',_0x4cc2ec,_0x2ada3c);};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a54_0x7a9964=a54_0x5af3;function a54_0x2243(){var _0x1a02a4=['stringify','points','332257AlmixA','98aBQVAc','finishDrawing','216616Uhyvrt','style','setPoints','Point','63xajRKh','42dqOfeo','2774170fBNUis','type','length','generate','updateLastPoint','getPlotType','isPlot','3693657YcSZGF','52404bPruYF','parse','getMap','2222496glOKtJ','map','setMap','updatePoint','65012TkepMn','30eMeSZs'];a54_0x2243=function(){return _0x1a02a4;};return a54_0x2243();}(function(_0x4d464e,_0x57f405){var _0x1b0999=a54_0x5af3,_0x452bbb=_0x4d464e();while(!![]){try{var _0x538b12=-parseInt(_0x1b0999(0x1ab))/0x1+-parseInt(_0x1b0999(0x1a7))/0x2*(parseInt(_0x1b0999(0x1b3))/0x3)+parseInt(_0x1b0999(0x1a3))/0x4+-parseInt(_0x1b0999(0x1b4))/0x5+parseInt(_0x1b0999(0x1bc))/0x6*(-parseInt(_0x1b0999(0x1ac))/0x7)+parseInt(_0x1b0999(0x1ae))/0x8*(parseInt(_0x1b0999(0x1b2))/0x9)+parseInt(_0x1b0999(0x1a8))/0xa*(parseInt(_0x1b0999(0x1bb))/0xb);if(_0x538b12===_0x57f405)break;else _0x452bbb['push'](_0x452bbb['shift']());}catch(_0x4fb1ad){_0x452bbb['push'](_0x452bbb['shift']());}}}(a54_0x2243,0x46549));import{Map}from'ol';import{Point as a54_0x40b1dc}from'ol/geom';function a54_0x5af3(_0x2bb82e,_0x2c5b12){var _0x22438d=a54_0x2243();return a54_0x5af3=function(_0x5af39e,_0x492896){_0x5af39e=_0x5af39e-0x1a3;var _0x2e255c=_0x22438d[_0x5af39e];return _0x2e255c;},a54_0x5af3(_0x2bb82e,_0x2c5b12);}class Point extends a54_0x40b1dc{constructor(_0x45312b){var _0x1d011a=a54_0x5af3;super([]),this['type']=_0x1d011a(0x1b1),this[_0x1d011a(0x1aa)]=_0x45312b,this[_0x1d011a(0x1b0)](_0x45312b);}[a54_0x7a9964(0x1b9)](){var _0x5b0014=a54_0x7a9964;return this[_0x5b0014(0x1b5)];}[a54_0x7a9964(0x1b7)](){var _0x32141c=a54_0x7a9964;this['setCoordinates'](this[_0x32141c(0x1aa)][0x0]);}[a54_0x7a9964(0x1a5)](_0x469224){var _0xeb152b=a54_0x7a9964;if(_0x469224&&_0x469224 instanceof Map)this[_0xeb152b(0x1a4)]=_0x469224;else throw new Error('传入的不是地图对象!');}[a54_0x7a9964(0x1be)](){var _0x177dd5=a54_0x7a9964;return this[_0x177dd5(0x1a4)];}[a54_0x7a9964(0x1ba)](){return!![];}[a54_0x7a9964(0x1b0)](_0x5cdd4a){var _0x241267=a54_0x7a9964;_0x5cdd4a&&_0x5cdd4a[_0x241267(0x1b6)]>=0x1&&(this[_0x241267(0x1aa)]=_0x5cdd4a,this[_0x241267(0x1b7)]());}['getPoints'](){var _0x5ba689=a54_0x7a9964;return this[_0x5ba689(0x1aa)];}[a54_0x7a9964(0x1a6)](_0x4885c4,_0x2ebcbd){var _0x282dc0=a54_0x7a9964;_0x2ebcbd>=0x0&&_0x2ebcbd<this[_0x282dc0(0x1aa)]['length']&&(this[_0x282dc0(0x1aa)][_0x2ebcbd]=_0x4885c4,this[_0x282dc0(0x1b7)]());}[a54_0x7a9964(0x1b8)](_0x12fb81){var _0x3bdf8a=a54_0x7a9964;this[_0x3bdf8a(0x1a6)](_0x12fb81,this[_0x3bdf8a(0x1aa)][_0x3bdf8a(0x1b6)]-0x1);}[a54_0x7a9964(0x1ad)](){}['setStyle'](_0x4ce98e){var _0x37de27=a54_0x7a9964;this[_0x37de27(0x1af)]=JSON[_0x37de27(0x1bd)](JSON[_0x37de27(0x1a9)](_0x4ce98e));}}export default Point;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a55_0x2684fb=a55_0x35a6;(function(_0x22bb68,_0x30d9f2){var _0x300266=a55_0x35a6,_0x14e929=_0x22bb68();while(!![]){try{var _0x4b58a8=-parseInt(_0x300266(0x152))/0x1*(-parseInt(_0x300266(0x160))/0x2)+parseInt(_0x300266(0x168))/0x3+-parseInt(_0x300266(0x150))/0x4*(parseInt(_0x300266(0x165))/0x5)+parseInt(_0x300266(0x16c))/0x6*(parseInt(_0x300266(0x153))/0x7)+parseInt(_0x300266(0x157))/0x8*(parseInt(_0x300266(0x167))/0x9)+-parseInt(_0x300266(0x16d))/0xa*(parseInt(_0x300266(0x163))/0xb)+parseInt(_0x300266(0x155))/0xc*(-parseInt(_0x300266(0x16b))/0xd);if(_0x4b58a8===_0x30d9f2)break;else _0x14e929['push'](_0x14e929['shift']());}catch(_0x24b28a){_0x14e929['push'](_0x14e929['shift']());}}}(a55_0x16ad,0x4aebb));function a55_0x35a6(_0xe692f5,_0x22cd16){var _0x16ad05=a55_0x16ad();return a55_0x35a6=function(_0x35a689,_0x5594e1){_0x35a689=_0x35a689-0x150;var _0x57c131=_0x16ad05[_0x35a689];return _0x57c131;},a55_0x35a6(_0xe692f5,_0x22cd16);}import{Polygon}from'ol/geom';function a55_0x16ad(){var _0x2bb154=['1332558sFbGkO','isPlot','setMap','289627YmBUnc','6rSvhfZ','10VuViRT','543436xeJorJ','getGeoJson','5ALWeVG','2852423QPmmSs','getType','156TMESvq','传入的不是地图对象!','353144IFqJHq','length','slice','writeGeometryObject','setStyle','getPointCount','parse','finishDrawing','generate','95474WadzLA','style','getMap','4423562CUwGGS','map','5OhtbEu','points','9trEBTS'];a55_0x16ad=function(){return _0x2bb154;};return a55_0x16ad();}import a55_0x153577 from'ol/format/GeoJSON';import a55_0x49e0c8 from'../../../mapView/Map';class BasePolygon extends Polygon{constructor(){super([]),this['points']=[];}[a55_0x2684fb(0x154)](){var _0x114965=a55_0x2684fb;return this['type']?this['type']:super[_0x114965(0x154)]();}[a55_0x2684fb(0x151)](){var _0x4f5606=a55_0x2684fb;return new a55_0x153577()[_0x4f5606(0x15a)](this);}[a55_0x2684fb(0x15b)](_0x2e5747){var _0x38baaa=a55_0x2684fb;_0x2e5747&&(this[_0x38baaa(0x161)]=JSON[_0x38baaa(0x15d)](JSON['stringify'](_0x2e5747)));}[a55_0x2684fb(0x16a)](_0x4472bf){var _0x2a9130=a55_0x2684fb;if(_0x4472bf&&_0x4472bf instanceof a55_0x49e0c8)this[_0x2a9130(0x164)]=_0x4472bf;else throw new Error(_0x2a9130(0x156));}[a55_0x2684fb(0x162)](){return this['map'];}[a55_0x2684fb(0x169)](){return!![];}['setPoints'](_0xc2fdea){var _0x408a89=a55_0x2684fb;this[_0x408a89(0x166)]=!_0xc2fdea?[]:_0xc2fdea,this['points'][_0x408a89(0x158)]>=0x1&&this[_0x408a89(0x15f)]();}[a55_0x2684fb(0x15f)](){}['getPoints'](){var _0x224981=a55_0x2684fb;return this['points'][_0x224981(0x159)](0x0);}[a55_0x2684fb(0x15c)](){var _0x7c7752=a55_0x2684fb;return this[_0x7c7752(0x166)][_0x7c7752(0x158)];}[a55_0x2684fb(0x15e)](){}}export default BasePolygon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a56_0x1e63d1=a56_0x37cd;(function(_0x26d7e5,_0x5136a0){const _0x181a53=a56_0x37cd,_0x3a1235=_0x26d7e5();while(!![]){try{const _0xd8296e=-parseInt(_0x181a53(0x1d3))/0x1*(-parseInt(_0x181a53(0x1de))/0x2)+parseInt(_0x181a53(0x1da))/0x3+-parseInt(_0x181a53(0x1e6))/0x4+-parseInt(_0x181a53(0x1e3))/0x5+parseInt(_0x181a53(0x1d7))/0x6*(parseInt(_0x181a53(0x1dc))/0x7)+-parseInt(_0x181a53(0x1d6))/0x8+parseInt(_0x181a53(0x1e0))/0x9;if(_0xd8296e===_0x5136a0)break;else _0x3a1235['push'](_0x3a1235['shift']());}catch(_0x5ba92c){_0x3a1235['push'](_0x3a1235['shift']());}}}(a56_0x16ed,0x48f94));import{Circle as a56_0x2dcd3c}from'ol/geom';import a56_0x596364 from'ol/format/GeoJSON';import{offset}from'ol/sphere';import{squaredDistance as a56_0x25414f}from'ol/coordinate';function a56_0x16ed(){const _0xc2ab46=['3800912NVeoSN','6LNPYCI','points','length','1613448yWjqEy','updatePoint','1636929IvnkoU','setCenter','678ywWlYa','type','3352266FxauEM','setCenterAndRadius','generate','1861075uTefkw','getRadius','Circle','2280560KzExUu','updateLastPoint','sqrt','1688DagIxO','setPoints','toRadians'];a56_0x16ed=function(){return _0xc2ab46;};return a56_0x16ed();}import{fromCircle}from'ol/geom/Polygon';import{compareArray}from'../../../utils/ArrayUtil';function a56_0x37cd(_0x2b4b57,_0x2c0c96){const _0x16ed53=a56_0x16ed();return a56_0x37cd=function(_0x37cd6a,_0x24acd3){_0x37cd6a=_0x37cd6a-0x1d2;let _0x444920=_0x16ed53[_0x37cd6a];return _0x444920;},a56_0x37cd(_0x2b4b57,_0x2c0c96);}class Circle extends a56_0x2dcd3c{constructor(_0x42fd36){const _0x1984e2=a56_0x37cd;super([]),this[_0x1984e2(0x1d8)]=_0x42fd36,this[_0x1984e2(0x1df)]=_0x1984e2(0x1e5),_0x42fd36&&_0x42fd36[_0x1984e2(0x1d9)]>0x0&&this[_0x1984e2(0x1d4)](_0x42fd36);}[a56_0x1e63d1(0x1d4)](_0x5da112){const _0x1955fb=a56_0x1e63d1;var _0x3944d1;((_0x3944d1=this['points'])===null||_0x3944d1===void 0x0?void 0x0:_0x3944d1[_0x1955fb(0x1d9)])>0x0&&(_0x5da112===null||_0x5da112===void 0x0?void 0x0:_0x5da112[_0x1955fb(0x1d9)])>0x0&&!compareArray(this[_0x1955fb(0x1d8)][0x0],_0x5da112[0x0])?this['setCenter'](_0x5da112[0x0]):(this[_0x1955fb(0x1d8)]=!_0x5da112?[]:_0x5da112,this[_0x1955fb(0x1d8)]['length']>=0x1&&(this[_0x1955fb(0x1e2)]&&this['generate']()));}[a56_0x1e63d1(0x1e2)](){const _0x3ef8e8=a56_0x1e63d1;let _0x34708b=this['points'][_0x3ef8e8(0x1d9)];if(_0x34708b<0x2)return![];else{const _0xbd9ff4=this[_0x3ef8e8(0x1d8)][0x0],_0x3adac1=a56_0x25414f(_0xbd9ff4,this[_0x3ef8e8(0x1d8)][0x1]);this[_0x3ef8e8(0x1e1)](_0xbd9ff4,Math[_0x3ef8e8(0x1d2)](_0x3adac1));}}['setCenter'](_0x4cd41b){const _0x5238b7=a56_0x1e63d1;this[_0x5238b7(0x1dd)](_0x4cd41b),this['points']=[_0x4cd41b,offset(_0x4cd41b,this[_0x5238b7(0x1e4)](),this[_0x5238b7(0x1d5)](0x5a))],this[_0x5238b7(0x1e2)]();}[a56_0x1e63d1(0x1d5)](_0x36d8a0){return _0x36d8a0*Math['PI']/0xb4;}['getGeoJson'](){return new a56_0x596364()['writeGeometryObject'](fromCircle(this));}['updatePoint'](_0xf8e6f4,_0x1b5296){const _0x195c29=a56_0x1e63d1;_0x1b5296>=0x0&&_0x1b5296<this[_0x195c29(0x1d8)][_0x195c29(0x1d9)]&&(this[_0x195c29(0x1d8)][_0x1b5296]=_0xf8e6f4,this[_0x195c29(0x1e2)]());}[a56_0x1e63d1(0x1e7)](_0xc3fd25){const _0x74da32=a56_0x1e63d1;this[_0x74da32(0x1db)](_0xc3fd25,this['points'][_0x74da32(0x1d9)]-0x1);}}export default Circle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a57_0x381e8f=a57_0x2538;(function(_0x2ce57c,_0x3b38b5){const _0x5cc000=a57_0x2538,_0x429e33=_0x2ce57c();while(!![]){try{const _0x4b4f7b=parseInt(_0x5cc000(0x85))/0x1*(parseInt(_0x5cc000(0x7f))/0x2)+-parseInt(_0x5cc000(0x75))/0x3+parseInt(_0x5cc000(0x73))/0x4+parseInt(_0x5cc000(0x74))/0x5*(parseInt(_0x5cc000(0x83))/0x6)+parseInt(_0x5cc000(0x80))/0x7+-parseInt(_0x5cc000(0x7d))/0x8*(parseInt(_0x5cc000(0x7c))/0x9)+-parseInt(_0x5cc000(0x89))/0xa*(parseInt(_0x5cc000(0x86))/0xb);if(_0x4b4f7b===_0x3b38b5)break;else _0x429e33['push'](_0x429e33['shift']());}catch(_0x2df33b){_0x429e33['push'](_0x429e33['shift']());}}}(a57_0x4b19,0x50159));import a57_0x4b89a5 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';function a57_0x2538(_0x201f27,_0x2af5e3){const _0x4b19f4=a57_0x4b19();return a57_0x2538=function(_0x2538a9,_0x17636b){_0x2538a9=_0x2538a9-0x71;let _0x242f9e=_0x4b19f4[_0x2538a9];return _0x242f9e;},a57_0x2538(_0x201f27,_0x2af5e3);}class Polygon extends a57_0x4b89a5{constructor(_0x430d4c){const _0x592694=a57_0x2538;super(),this[_0x592694(0x88)]=_0x592694(0x71),_0x430d4c&&_0x430d4c[_0x592694(0x82)]>0x0&&getDeepth(_0x430d4c)==0x2?this[_0x592694(0x87)](_0x430d4c):this['setCoordinates'](_0x430d4c);}[a57_0x381e8f(0x7b)](_0x530a58){const _0x1e457e=a57_0x381e8f;let _0x5a9618=_0x530a58[0x0],_0xd2f63=_0x530a58[_0x530a58[_0x1e457e(0x82)]-0x1];return _0x5a9618[0x0]===_0xd2f63[0x0]&&_0x5a9618[0x1]===_0xd2f63[0x1]&&_0x5a9618[0x2]===_0xd2f63[0x2];}[a57_0x381e8f(0x78)](){const _0x539ba2=a57_0x381e8f;let _0x483824=this[_0x539ba2(0x7a)]();if(_0x483824<0x2)return![];else{let _0x28369=JSON[_0x539ba2(0x7e)](JSON[_0x539ba2(0x79)](this[_0x539ba2(0x72)]));_0x483824>=0x3&&(!this[_0x539ba2(0x7b)](_0x28369)&&_0x28369[_0x539ba2(0x81)](_0x28369[0x0])),this['setCoordinates']([_0x28369]);}}[a57_0x381e8f(0x77)](_0x4fee38,_0x1229ef){const _0x167481=a57_0x381e8f;_0x1229ef>=0x0&&_0x1229ef<this[_0x167481(0x72)][_0x167481(0x82)]&&(this[_0x167481(0x72)][_0x1229ef]=_0x4fee38,this[_0x167481(0x78)]());}[a57_0x381e8f(0x76)](){return![];}[a57_0x381e8f(0x84)](_0x15fbc9){const _0x418b43=a57_0x381e8f;this[_0x418b43(0x77)](_0x15fbc9,this[_0x418b43(0x72)]['length']-0x1);}}export default Polygon;function a57_0x4b19(){const _0x230500=['generate','stringify','getPointCount','_closed','2923443YJZnHD','8psajZq','parse','2uUPiBJ','1607921naHahw','push','length','12VZcJmm','updateLastPoint','402547XIiPwk','11aIHUqE','setPoints','type','2296270sCyaLm','Polygon','points','1236232FfPtNw','31545upDlLs','214341GFZFkD','isPlot','updatePoint'];a57_0x4b19=function(){return _0x230500;};return a57_0x4b19();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a58_0x30a7da=a58_0x5ad5;function a58_0x256f(){const _0x36a8e0=['1769289swXklI','generate','5jAoykG','7iIRGCz','updatePoint','length','points','setCoordinates','486131LGEYGz','Polygon','4DtLyzt','8210424ITnwaP','3176550NCOOaC','type','8102630iJjSqA','9825522zMbqLT','3296354aldNqn'];a58_0x256f=function(){return _0x36a8e0;};return a58_0x256f();}function a58_0x5ad5(_0x5125b1,_0x138a5d){const _0x256f18=a58_0x256f();return a58_0x5ad5=function(_0x5ad587,_0x3fcf6e){_0x5ad587=_0x5ad587-0xb2;let _0x14aeaa=_0x256f18[_0x5ad587];return _0x14aeaa;},a58_0x5ad5(_0x5125b1,_0x138a5d);}(function(_0x5534aa,_0x12a9b2){const _0xd173bc=a58_0x5ad5,_0x59546b=_0x5534aa();while(!![]){try{const _0x362427=parseInt(_0xd173bc(0xb4))/0x1+parseInt(_0xd173bc(0xbc))/0x2+-parseInt(_0xd173bc(0xbd))/0x3*(parseInt(_0xd173bc(0xb6))/0x4)+-parseInt(_0xd173bc(0xbf))/0x5*(-parseInt(_0xd173bc(0xbb))/0x6)+parseInt(_0xd173bc(0xc0))/0x7*(-parseInt(_0xd173bc(0xb7))/0x8)+-parseInt(_0xd173bc(0xb8))/0x9+-parseInt(_0xd173bc(0xba))/0xa;if(_0x362427===_0x12a9b2)break;else _0x59546b['push'](_0x59546b['shift']());}catch(_0x2b07b3){_0x59546b['push'](_0x59546b['shift']());}}}(a58_0x256f,0xf2568));import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a58_0x222dd6 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a58_0x222dd6{constructor(_0x3fc984){const _0x31c3a2=a58_0x5ad5;super(),this[_0x31c3a2(0xb9)]=_0x31c3a2(0xb5),_0x3fc984&&_0x3fc984[_0x31c3a2(0xc2)]>0x0&&getDeepth(_0x3fc984)==0x2?this['setPoints'](_0x3fc984):this[_0x31c3a2(0xb3)](_0x3fc984);}['generate'](){const _0x721f10=a58_0x5ad5;if(this[_0x721f10(0xb2)][_0x721f10(0xc2)]===0x2){let _0x2be8ab=[],_0x5b2417=boundingExtent(this['points']),_0x44a69d=fromExtent(_0x5b2417);_0x2be8ab=_0x44a69d['getCoordinates'](),this[_0x721f10(0xb3)](_0x2be8ab);}}[a58_0x30a7da(0xc1)](_0x472176,_0xb86d5b){const _0x11f7e4=a58_0x30a7da;_0xb86d5b>=0x0&&_0xb86d5b<this[_0x11f7e4(0xb2)][_0x11f7e4(0xc2)]&&(this[_0x11f7e4(0xb2)][_0xb86d5b]=_0x472176,this[_0x11f7e4(0xbe)]());}['updateLastPoint'](_0xabeb81){const _0x4a9103=a58_0x30a7da;this[_0x4a9103(0xc1)](_0xabeb81,this[_0x4a9103(0xb2)]['length']-0x1);}}export default RectAngle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a59_0x4fb08a=a59_0x3f32;function a59_0x3f32(_0x1e3b85,_0x201ebf){var _0x3941c9=a59_0x3941();return a59_0x3f32=function(_0x3f3245,_0x52f1af){_0x3f3245=_0x3f3245-0x19d;var _0x2c60ee=_0x3941c9[_0x3f3245];return _0x2c60ee;},a59_0x3f32(_0x1e3b85,_0x201ebf);}(function(_0x1675b9,_0xd5aa2e){var _0x1fa646=a59_0x3f32,_0x3ca7fc=_0x1675b9();while(!![]){try{var _0x573c9a=parseInt(_0x1fa646(0x1b3))/0x1*(parseInt(_0x1fa646(0x1af))/0x2)+-parseInt(_0x1fa646(0x1b5))/0x3*(-parseInt(_0x1fa646(0x1b2))/0x4)+-parseInt(_0x1fa646(0x19d))/0x5+-parseInt(_0x1fa646(0x1ab))/0x6+-parseInt(_0x1fa646(0x19f))/0x7+-parseInt(_0x1fa646(0x1a8))/0x8*(parseInt(_0x1fa646(0x1a3))/0x9)+-parseInt(_0x1fa646(0x1a1))/0xa*(-parseInt(_0x1fa646(0x1a5))/0xb);if(_0x573c9a===_0xd5aa2e)break;else _0x3ca7fc['push'](_0x3ca7fc['shift']());}catch(_0x30b9d7){_0x3ca7fc['push'](_0x3ca7fc['shift']());}}}(a59_0x3941,0x764c6));import{LineString}from'ol/geom';import a59_0xf915d9 from'ol/format/GeoJSON';import a59_0x40a744 from'../../../mapView/Map';function a59_0x3941(){var _0x2e93b5=['map','80JWWVFc','generate','getPointCount','5743488mpXask','type','stringify','getPoints','1281254xLaLQi','points','parse','4rxhSkt','1IrEkSV','setPoints','2202861dhPXlO','writeGeometryObject','length','finishDrawing','isPlot','955115qcHCCD','getPlotType','2747808QWJBcL','style','10871810yKHjdK','传入的不是地图对象!','393057hljmam','setMap','11neVRhD','getMap'];a59_0x3941=function(){return _0x2e93b5;};return a59_0x3941();}class Plot extends LineString{constructor(){super([]),this['points']=[];}[a59_0x4fb08a(0x19e)](){var _0x213c6c=a59_0x4fb08a;return this[_0x213c6c(0x1ac)];}['getGeoJson'](){var _0x21ad13=a59_0x4fb08a;return new a59_0xf915d9()[_0x21ad13(0x1b6)](this);}['setStyle'](_0x47750b){var _0x526a67=a59_0x4fb08a;this[_0x526a67(0x1a0)]=JSON[_0x526a67(0x1b1)](JSON[_0x526a67(0x1ad)](_0x47750b));}[a59_0x4fb08a(0x1a4)](_0x487d21){var _0x9dddc2=a59_0x4fb08a;if(_0x487d21&&_0x487d21 instanceof a59_0x40a744)this[_0x9dddc2(0x1a7)]=_0x487d21;else throw new Error(_0x9dddc2(0x1a2));}[a59_0x4fb08a(0x1a6)](){return this['map'];}[a59_0x4fb08a(0x1b9)](){return!![];}[a59_0x4fb08a(0x1b4)](_0x475d58){var _0xcc3005=a59_0x4fb08a;this[_0xcc3005(0x1b0)]=!_0x475d58?[]:_0x475d58,this[_0xcc3005(0x1b0)][_0xcc3005(0x1b7)]>=0x1&&(this['generate']&&this[_0xcc3005(0x1a9)]());}[a59_0x4fb08a(0x1a9)](){}[a59_0x4fb08a(0x1ae)](){var _0x37a45f=a59_0x4fb08a;return this[_0x37a45f(0x1b0)]['slice'](0x0);}[a59_0x4fb08a(0x1aa)](){var _0x1c274c=a59_0x4fb08a;return this[_0x1c274c(0x1b0)]['length'];}[a59_0x4fb08a(0x1b8)](){}}export default Plot;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a60_0x49e32f=a60_0x48fc;function a60_0x373e(){var _0x3d25b2=['980602dxmVqL','536049EOyHlL','style','1ICqtKS','LineString','updatePoint','points','updateLastPoint','21mubiiJ','50064kGlldN','11GXnMCL','169438gyRdcv','type','length','stringify','203690OuQddC','60460nIJUdW','7368JhBECq','isPlot','generate','setCoordinates','320pCYxvE'];a60_0x373e=function(){return _0x3d25b2;};return a60_0x373e();}(function(_0x47a6e9,_0xdd0805){var _0x2fc7b7=a60_0x48fc,_0x2e9a94=_0x47a6e9();while(!![]){try{var _0x4c6b0a=parseInt(_0x2fc7b7(0x1e0))/0x1*(parseInt(_0x2fc7b7(0x1e8))/0x2)+-parseInt(_0x2fc7b7(0x1e5))/0x3*(parseInt(_0x2fc7b7(0x1d7))/0x4)+parseInt(_0x2fc7b7(0x1dc))/0x5*(-parseInt(_0x2fc7b7(0x1d8))/0x6)+parseInt(_0x2fc7b7(0x1dd))/0x7+-parseInt(_0x2fc7b7(0x1e6))/0x8+parseInt(_0x2fc7b7(0x1de))/0x9+-parseInt(_0x2fc7b7(0x1d6))/0xa*(-parseInt(_0x2fc7b7(0x1e7))/0xb);if(_0x4c6b0a===_0xdd0805)break;else _0x2e9a94['push'](_0x2e9a94['shift']());}catch(_0x4a084a){_0x2e9a94['push'](_0x2e9a94['shift']());}}}(a60_0x373e,0x1bda0));import a60_0x42d8f2 from'./BaseLine';class Polyline extends a60_0x42d8f2{constructor(_0x2b9c99){var _0x3466d6=a60_0x48fc;super(),this[_0x3466d6(0x1e9)]=_0x3466d6(0x1e1),this[_0x3466d6(0x1db)](_0x2b9c99);}[a60_0x49e32f(0x1da)](){var _0x50b7a7=a60_0x49e32f;this['setCoordinates'](this[_0x50b7a7(0x1e3)]);}[a60_0x49e32f(0x1e2)](_0x46b6f7,_0x446eaa){var _0x3e48c2=a60_0x49e32f;_0x446eaa>=0x0&&_0x446eaa<this['points'][_0x3e48c2(0x1d4)]&&(this['points'][_0x446eaa]=_0x46b6f7,this[_0x3e48c2(0x1da)]());}[a60_0x49e32f(0x1e4)](_0x54c135){var _0x98c42d=a60_0x49e32f;this[_0x98c42d(0x1e2)](_0x54c135,this[_0x98c42d(0x1e3)][_0x98c42d(0x1d4)]-0x1);}[a60_0x49e32f(0x1d9)](){return![];}['setStyle'](_0xe6980b){var _0x4247c3=a60_0x49e32f;this[_0x4247c3(0x1df)]=JSON['parse'](JSON[_0x4247c3(0x1d5)](_0xe6980b));}}function a60_0x48fc(_0x246918,_0xc39d1c){var _0x373e29=a60_0x373e();return a60_0x48fc=function(_0x48fc4c,_0x10355b){_0x48fc4c=_0x48fc4c-0x1d4;var _0x2443e7=_0x373e29[_0x48fc4c];return _0x2443e7;},a60_0x48fc(_0x246918,_0xc39d1c);}export default Polyline;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x1183b9,_0x89f9ca){const _0x465bd7=a63_0x37d1,_0x102f69=_0x1183b9();while(!![]){try{const _0x20f7d6=parseInt(_0x465bd7(0xe4))/0x1+-parseInt(_0x465bd7(0xfa))/0x2*(parseInt(_0x465bd7(0xf0))/0x3)+-parseInt(_0x465bd7(0xee))/0x4*(-parseInt(_0x465bd7(0x106))/0x5)+parseInt(_0x465bd7(0x10c))/0x6+parseInt(_0x465bd7(0xf3))/0x7+parseInt(_0x465bd7(0x103))/0x8*(-parseInt(_0x465bd7(0xf2))/0x9)+-parseInt(_0x465bd7(0xe1))/0xa;if(_0x20f7d6===_0x89f9ca)break;else _0x102f69['push'](_0x102f69['shift']());}catch(_0x9d770c){_0x102f69['push'](_0x102f69['shift']());}}}(a63_0x7243,0x94b5c));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a63_0x5676b7 from'ol/style/Style';import a63_0x507e6e from'ol/style/Circle';function a63_0x7243(){const _0x595003=['getImageData','image','imgUrl','save','getStride','horizontalOrigin','push','restore','zIndex','.png','model/','replace','data','point','getFlatInteriorPoint','CENTER','RIGHT','billboard','getFlatInteriorPoints','MultiLineString','stringify','markerColor','cloud','TOP','16846950bjuiXD','toUpperCase','modelKind','594485UeXAKW','MultiPoint','rotate','drawImage','LineString','createElement','scale','MultiPolygon','pixelOffset','geometry','1232828EMLNLN','height','369OetSKh','show','385137RToOgh','8303281TwXQrx','canvas','pixelSize','getFlatMidpoint','changeColor','verticalOrigin','parse','9684CCtFge','getType','opacity','translate','match','label','model','pixelRatio','text','8uVeGEf','putImageData','getContext','15GNHQuM','outlineOpacity','color','width','outline','length','1361286DTZheW'];a63_0x7243=function(){return _0x595003;};return a63_0x7243();}import a63_0x55bd77 from'ol/style/Fill';import a63_0xe01e1a from'ol/style/Stroke';function getMainStyle(_0x1133fa,_0x2c4b62=0x0,_0x4351ec){const _0xbc7e1b=a63_0x37d1;let _0x29ebdb;return _0x1133fa['image']||_0x1133fa[_0xbc7e1b(0xde)]?_0x29ebdb=new a63_0x5676b7({'renderer':(_0x2c1cb9,_0x5c8e2d)=>{preLoadImageRenderFunction(_0x1133fa,_0x2c1cb9,_0x5c8e2d,_0x4351ec,_rendererFunction);},'zIndex':Number(_0x2c4b62)}):_0x29ebdb=new a63_0x5676b7({'image':new a63_0x507e6e({'radius':_0x1133fa['radius']?_0x1133fa['radius']:_0x1133fa[_0xbc7e1b(0xf5)],'fill':new a63_0x55bd77({'color':getColor(_0x1133fa[_0xbc7e1b(0x108)],_0x1133fa[_0xbc7e1b(0xfc)])}),'stroke':_0x1133fa[_0xbc7e1b(0x10a)]&&_0x1133fa['outlineColor']?new a63_0xe01e1a({'color':getColor(_0x1133fa['outlineColor'],_0x1133fa[_0xbc7e1b(0x107)]),'width':_0x1133fa['outlineWidth']}):undefined}),'zIndex':Number(_0x2c4b62)}),_0x29ebdb;}function _rendererFunction(_0x1b60af,_0x2f858e,_0x370ec9,_0x1b6ed1,_0x3bedfd){const _0xf1f384=a63_0x37d1;if(!_0x3bedfd||_0x3bedfd[_0xf1f384(0x109)]===0x0){let _0x339278=new Image();_0x339278['src']=_0x1b60af[_0xf1f384(0x10e)];}if(_0x1b60af['changeColor']&&_0x1b60af['color']!==''){let _0x2e5abb=_0x1b60af[_0xf1f384(0xea)]||0x1,_0x190a74=_0x1b60af['width']||_0x3bedfd[_0xf1f384(0x109)]*_0x2e5abb,_0x5addf5=_0x1b60af[_0xf1f384(0xef)]||_0x3bedfd['height']*_0x2e5abb;_0x190a74=_0x190a74*_0x370ec9['pixelRatio'],_0x5addf5=_0x5addf5*_0x370ec9[_0xf1f384(0x101)];const _0x5e795e=document[_0xf1f384(0xe9)](_0xf1f384(0xf4));_0x5e795e[_0xf1f384(0x109)]=_0x190a74,_0x5e795e[_0xf1f384(0xef)]=_0x5addf5;const _0x2b8ac2=_0x5e795e[_0xf1f384(0x105)]('2d');_0x2b8ac2===null||_0x2b8ac2===void 0x0?void 0x0:_0x2b8ac2[_0xf1f384(0xe7)](_0x3bedfd,0x0,0x0,_0x190a74,_0x5addf5);let _0x486549=_0x2b8ac2===null||_0x2b8ac2===void 0x0?void 0x0:_0x2b8ac2[_0xf1f384(0x10d)](0x0,0x0,_0x190a74,_0x5addf5),_0x1a7a8c=_0x486549===null||_0x486549===void 0x0?void 0x0:_0x486549[_0xf1f384(0xd5)];_0x3bedfd=_0x5e795e;let _0x321c61=HexToRgb(_0x1b60af[_0xf1f384(0x108)]);if(_0x1a7a8c&&_0x321c61)for(var _0x109563=0x0;_0x109563<_0x1a7a8c[_0xf1f384(0x10b)];_0x109563+=0x4){_0x1a7a8c[_0x109563]=_0x321c61[0x0],_0x1a7a8c[_0x109563+0x1]=_0x321c61[0x1],_0x1a7a8c[_0x109563+0x2]=_0x321c61[0x2];}_0x486549&&(_0x2b8ac2===null||_0x2b8ac2===void 0x0?void 0x0:_0x2b8ac2[_0xf1f384(0x104)](_0x486549,0x0,0x0));}let _0x427103=_0x370ec9[_0xf1f384(0xed)],_0x3d9186=_0x370ec9['pixelRatio'],_0x3f8081=_0x427103[_0xf1f384(0x111)](),_0xeb0a2a=_0x427103[_0xf1f384(0xfb)](),_0x3e2318=[];switch(_0xeb0a2a){case _0xf1f384(0xe8):_0x3e2318=_0x427103[_0xf1f384(0xf6)]();break;case _0xf1f384(0xdc):_0x3e2318=_0x427103['getFlatMidpoints'](),_0x3f8081=0x2;break;case'Polygon':_0x3e2318=_0x427103[_0xf1f384(0xd7)](),_0x3f8081=0x3;break;case _0xf1f384(0xeb):{let _0x5c031a=_0x427103[_0xf1f384(0xdb)]();_0x3e2318=[];for(let _0x5b0ac5=0x0,_0x1f2a6f=_0x5c031a['length'];_0x5b0ac5<_0x1f2a6f;_0x5b0ac5+=0x3){_0x3e2318[_0xf1f384(0x113)](_0x5c031a[_0x5b0ac5],_0x5c031a[_0x5b0ac5+0x1]);}if(_0x3e2318[_0xf1f384(0x10b)]===0x0)return;_0x3f8081=0x2;break;}}if(_0x3e2318[_0xf1f384(0x10b)]>0x0&&_0x1b6ed1)for(let _0x11d1dd=0x0,_0x26d32b=_0x3e2318['length'];_0x11d1dd<_0x26d32b;_0x11d1dd+=_0x3f8081){let _0x481d3a=[_0x3e2318[_0x11d1dd],_0x3e2318[_0x11d1dd+0x1]],_0x28c0ca=_0x1b6ed1['getPixelFromCoordinate'](_0x481d3a);_0x28c0ca=[_0x28c0ca[0x0]*_0x3d9186,_0x28c0ca[0x1]*_0x3d9186],drawImage(_0x1b60af,_0x28c0ca,_0x370ec9,_0x3bedfd);}else{if(_0xeb0a2a===_0xf1f384(0xe5))for(let _0x31b3c5 of _0x2f858e){drawImage(_0x1b60af,_0x31b3c5,_0x370ec9,_0x3bedfd);}else drawImage(_0x1b60af,_0x2f858e,_0x370ec9,_0x3bedfd);}}function HexToRgb(_0x35a08c){const _0x5ad645=a63_0x37d1;_0x35a08c=_0x35a08c[_0x5ad645(0xd4)]('#','');let _0x18aad8=_0x35a08c[_0x5ad645(0xfe)](/../g);if(_0x18aad8){for(let _0x1ceca7=0x0;_0x1ceca7<0x3;_0x1ceca7++)_0x18aad8[_0x1ceca7]=parseInt(_0x18aad8[_0x1ceca7],0x10);}return _0x18aad8;}export function getImageOlStyle(_0x219154,_0x4f129e,_0xc50349,_0x54fb30){const _0x54a9dc=a63_0x37d1;var _0x53ccc0;if(_0x219154&&_0x219154['show']!==![]){_0x219154=JSON['parse'](JSON[_0x54a9dc(0xdd)](_0x219154)),_0x4f129e=(_0x53ccc0=_0x219154['zIndex'])!==null&&_0x53ccc0!==void 0x0?_0x53ccc0:_0x4f129e;let _0x181851=isShowStyle(_0x219154,_0xc50349,_0x54fb30);if(_0x181851)return _0x219154[_0x54a9dc(0x10e)]=parseImage(_0x219154['image']),getMainStyle(_0x219154,_0x4f129e,_0x54fb30);}}export function getPointStyle(_0x1a89c0,_0x5dc797,_0x56776a,_0xb75952){const _0x439c13=a63_0x37d1;var _0x42ff08,_0x3ffd23;_0x1a89c0=JSON[_0x439c13(0xf9)](JSON[_0x439c13(0xdd)](_0x1a89c0));let _0x2107bf=(_0x42ff08=_0x1a89c0[_0x439c13(0x115)])!==null&&_0x42ff08!==void 0x0?_0x42ff08:0x0,_0x3aa9ca=[],_0x367145=getImageOlStyle(_0x1a89c0,_0x2107bf,_0x56776a,_0xb75952);_0x367145&&_0x3aa9ca[_0x439c13(0x113)](_0x367145);let _0x118fb0=getImageOlStyle(_0x1a89c0[_0x439c13(0xda)],_0x2107bf,_0x56776a,_0xb75952);_0x118fb0&&_0x3aa9ca[_0x439c13(0x113)](_0x118fb0);if(_0x1a89c0[_0x439c13(0x100)]&&_0x1a89c0[_0x439c13(0x100)][_0x439c13(0xf1)]!==![]){let _0x170b0e=isShowStyle(_0x1a89c0[_0x439c13(0x100)],_0x56776a,_0xb75952);if(_0x170b0e){let _0x20121f=(_0x3ffd23=_0x1a89c0['model'][_0x439c13(0x115)])!==null&&_0x3ffd23!==void 0x0?_0x3ffd23:_0x2107bf,_0x30d9d0=_0x1a89c0['model']['imgUrl']||_0x439c13(0xd3)+_0x1a89c0['model']['modelKind']+_0x439c13(0xd2);_0x1a89c0['scale']=0x1,_0x1a89c0[_0x439c13(0x109)]=0x30,_0x1a89c0['height']=0x30,_0x1a89c0['verticalOrigin']='CENTER',_0x3aa9ca[_0x439c13(0x113)](getMainStyle(_0x1a89c0[_0x439c13(0x100)],_0x20121f,_0xb75952));}}if(_0x1a89c0[_0x439c13(0xff)]&&_0x1a89c0['label'][_0x439c13(0xf1)]!==![]){let _0x246080=new a63_0x5676b7({'text':createTextStyle(_0x1a89c0[_0x439c13(0xff)],_0x5dc797,_0x56776a,_0xb75952),'zIndex':Number(_0x2107bf)+0x1});_0x3aa9ca['push'](_0x246080);}return _0x3aa9ca;}export function getPointSingleStyle(_0x633dfc,_0x5923c7,_0x4807be,_0x52df40){const _0x2edff2=a63_0x37d1;_0x5923c7=JSON[_0x2edff2(0xf9)](JSON[_0x2edff2(0xdd)](_0x5923c7));let _0x36baec=_0x5923c7[_0x2edff2(0xff)],_0x5b9374;_0x36baec&&(_0x5b9374=_0x36baec[_0x2edff2(0x102)]?_0x36baec['text']:'');if(_0x633dfc===_0x2edff2(0xda))return _0x5923c7[_0x2edff2(0x10e)]=parseImage(_0x5923c7['image']),getPointStyle(_0x5923c7,_0x5b9374,_0x4807be,_0x52df40);else{if(_0x633dfc===_0x2edff2(0x100)){let _0x1880c2=_0x5923c7[_0x2edff2(0x10f)]||_0x2edff2(0xd3)+_0x5923c7[_0x2edff2(0xe3)]+_0x2edff2(0xd2);return _0x5923c7[_0x2edff2(0xea)]=0x1,_0x5923c7['width']=0x30,_0x5923c7[_0x2edff2(0xef)]=0x30,_0x5923c7[_0x2edff2(0xf8)]=_0x2edff2(0xd8),getPointStyle(_0x5923c7,_0x5b9374,_0x4807be,_0x52df40);}else{if(_0x633dfc===_0x2edff2(0xdf))return getPointStyle(_0x5923c7,_0x5b9374,_0x4807be,_0x52df40);else{if(_0x633dfc===_0x2edff2(0xd6))return getPointStyle(_0x5923c7,_0x5b9374,_0x4807be,_0x52df40);else return _0x633dfc===_0x2edff2(0xff)?new a63_0x5676b7({'text':createTextStyle(_0x5923c7,_0x5923c7[_0x2edff2(0x102)],_0x4807be,_0x52df40),'zIndex':_0x5923c7['zIndex']}):getPointStyle(_0x5923c7,_0x5b9374,_0x4807be,_0x52df40);}}}}function a63_0x37d1(_0x455bee,_0x17892c){const _0x724333=a63_0x7243();return a63_0x37d1=function(_0x37d11e,_0x251cd3){_0x37d11e=_0x37d11e-0xd2;let _0x38d0c8=_0x724333[_0x37d11e];return _0x38d0c8;},a63_0x37d1(_0x455bee,_0x17892c);}function drawImage(_0x473870,_0x3fde3f,_0xc99239,_0x5ed0c7){const _0x2c45c5=a63_0x37d1;var _0x236c3e,_0x133833,_0x435e2c,_0x3017c;let _0x56d718=_0xc99239['context'];try{_0x56d718[_0x2c45c5(0x110)]();let _0x5186e8=Number(_0x473870['pixelOffsetX']||((_0x236c3e=_0x473870[_0x2c45c5(0xec)])===null||_0x236c3e===void 0x0?void 0x0:_0x236c3e[0x0])||0x0),_0x3781e1=Number(_0x473870['pixelOffsetY']||((_0x133833=_0x473870[_0x2c45c5(0xec)])===null||_0x133833===void 0x0?void 0x0:_0x133833[0x1])||0x0);_0x56d718[_0x2c45c5(0xfd)](_0x3fde3f[0x0]+_0x5186e8,_0x3fde3f[0x1]+_0x3781e1);if(_0x473870['rotation'])_0x56d718[_0x2c45c5(0xe6)](toRadians(_0x473870['rotation']));_0x56d718['globalAlpha']=_0x473870['opacity']!=null?_0x473870['opacity']:0x1;if(_0x5ed0c7[_0x2c45c5(0x109)]>0x0){let _0xc4b19c=_0x473870[_0x2c45c5(0xea)]||0x1,_0x3bc733=_0x473870[_0x2c45c5(0x109)]||_0x5ed0c7['width']*_0xc4b19c,_0x2c44fb=_0x473870[_0x2c45c5(0xef)]||_0x5ed0c7[_0x2c45c5(0xef)]*_0xc4b19c;_0x3bc733=_0x3bc733*_0xc99239[_0x2c45c5(0x101)],_0x2c44fb=_0x2c44fb*_0xc99239[_0x2c45c5(0x101)];_0x473870[_0x2c45c5(0xf7)]&&(_0x3bc733=_0x5ed0c7[_0x2c45c5(0x109)],_0x2c44fb=_0x5ed0c7['height']);let _0x1b2840;switch((_0x435e2c=_0x473870[_0x2c45c5(0x112)])===null||_0x435e2c===void 0x0?void 0x0:_0x435e2c[_0x2c45c5(0xe2)]()){default:case _0x2c45c5(0xd8):_0x1b2840=-_0x3bc733/0x2;break;case'LEFT':_0x1b2840=0x0;break;case _0x2c45c5(0xd9):_0x1b2840=-_0x3bc733;break;}let _0x201ca9;switch((_0x3017c=_0x473870[_0x2c45c5(0xf8)])===null||_0x3017c===void 0x0?void 0x0:_0x3017c[_0x2c45c5(0xe2)]()){default:case'BOTTOM':_0x201ca9=-_0x2c44fb;break;case _0x2c45c5(0xd8):_0x201ca9=-_0x2c44fb/0x2;break;case _0x2c45c5(0xe0):_0x201ca9=0x0;break;}_0x56d718[_0x2c45c5(0xe7)](_0x5ed0c7,_0x1b2840,_0x201ca9,_0x3bc733,_0x2c44fb);}else _0x56d718[_0x2c45c5(0xe7)](_0x5ed0c7,0x0,0x0);_0x56d718['restore']();}catch(_0x2f9b94){_0x56d718[_0x2c45c5(0x114)](),console['warn'](_0x2f9b94);}}
|
|
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 +1 @@
|
|
|
1
|
-
(function(_0x125173,_0x8534b7){const _0x1d78c0=a64_0x520e,_0x1ae56d=_0x125173();while(!![]){try{const _0x1bb67b=parseInt(_0x1d78c0(0x106))/0x1*(-parseInt(_0x1d78c0(0xff))/0x2)+parseInt(_0x1d78c0(0xfd))/0x3+parseInt(_0x1d78c0(0x103))/0x4+-parseInt(_0x1d78c0(0xf6))/0x5*(-parseInt(_0x1d78c0(0xe9))/0x6)+-parseInt(_0x1d78c0(0xe1))/0x7+parseInt(_0x1d78c0(0x110))/0x8*(-parseInt(_0x1d78c0(0x102))/0x9)+parseInt(_0x1d78c0(0xf1))/0xa;if(_0x1bb67b===_0x8534b7)break;else _0x1ae56d['push'](_0x1ae56d['shift']());}catch(_0x280e17){_0x1ae56d['push'](_0x1ae56d['shift']());}}}(a64_0x3f63,0x6676e));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(_0x469420,_0x4a438d,_0x606f7,_0x2e79d2){const _0x404638=a64_0x520e;var _0x22b292;let _0x315a09=(_0x22b292=_0x469420[_0x404638(0x104)])!==null&&_0x22b292!==void 0x0?_0x22b292:0x0,_0x21c59e=new Style();_0x21c59e['setZIndex'](_0x315a09),_0x21c59e[_0x404638(0xf9)](new Fill({'color':_0x404638(0xfb)}));if(_0x469420[_0x404638(0xdd)]!==![]){if(!_0x469420[_0x404638(0x108)]||_0x469420[_0x404638(0x108)]==='color')_0x21c59e[_0x404638(0xf9)](new Fill({'color':getColor(_0x469420[_0x404638(0xd7)],_0x469420[_0x404638(0xda)])}));else{if(_0x469420[_0x404638(0x108)]===_0x404638(0xe6))_0x21c59e[_0x404638(0xf8)]((_0x216d5c,_0x27c53a)=>{preLoadImageRenderFunction(_0x469420,_0x216d5c,_0x27c53a,_0x2e79d2,_rendererFunction);});else _0x469420['fillType']==='grid'||_0x469420[_0x404638(0x108)]===_0x404638(0xdf)||_0x469420[_0x404638(0x108)]===_0x404638(0xef)?_0x21c59e[_0x404638(0xf8)]((_0xe6f4e5,_0x3560ec)=>{_rendererFunction(_0x469420,_0xe6f4e5,_0x3560ec,_0x2e79d2,null);}):_0x21c59e[_0x404638(0xf9)](new Fill({'color':getColor(_0x469420[_0x404638(0xd7)],_0x469420[_0x404638(0xda)])}));}}_0x469420['outline']!==![]&&_0x21c59e['setStroke'](new Stroke({'color':getColor(_0x469420[_0x404638(0xe0)],_0x469420['outlineOpacity']),'width':_0x469420['outlineWidth']}));let _0x17415b=[_0x21c59e];_0x469420['billboard']&&!_0x469420['billboard'][_0x404638(0xf4)]&&(_0x469420[_0x404638(0x107)]['verticalOrigin']=_0x404638(0xde));let _0x4059db=getImageOlStyle(_0x469420[_0x404638(0x107)],_0x315a09,_0x606f7,_0x2e79d2);_0x4059db&&_0x17415b[_0x404638(0xdb)](_0x4059db);if(_0x469420['label']&&_0x469420['label'][_0x404638(0x10b)]!==![]){!_0x469420[_0x404638(0xf3)][_0x404638(0xf4)]&&(_0x469420[_0x404638(0xf3)]['verticalOrigin']=_0x404638(0xde));let _0x47221c=new Style({'text':createTextStyle(_0x469420[_0x404638(0xf3)],_0x4a438d,_0x606f7,_0x2e79d2),'zIndex':Number(_0x315a09)+0x1});_0x17415b[_0x404638(0xdb)](_0x47221c);}return _0x17415b;}function _rendererFunction(_0x4427b0,_0x3a1e8f,_0x55cc4d,_0x41ca24,_0x563227){const _0x4abcf9=a64_0x520e;try{var _0x1e438a=_0x55cc4d[_0x4abcf9(0xd8)];for(var _0x362313=0x0,_0x251566=_0x3a1e8f['length'];_0x362313<_0x251566;_0x362313++){_0x1e438a['save'](),_0x1e438a[_0x4abcf9(0xf0)]();var _0x41f81f=_0x3a1e8f[_0x362313];let _0x767632=boundingExtent(_0x41f81f);_0x1e438a[_0x4abcf9(0xe8)](_0x767632[0x0],_0x767632[0x1]);let _0x87222a;switch(_0x4427b0[_0x4abcf9(0x108)]){case _0x4abcf9(0xe6):_0x87222a=_getImagePattern(_0x1e438a,_0x767632,_0x4427b0,_0x563227);break;case _0x4abcf9(0x101):_0x87222a=_getGridPattern(_0x1e438a,_0x767632,_0x4427b0);break;case _0x4abcf9(0xdf):_0x87222a=_getStripePattern(_0x1e438a,_0x767632,_0x4427b0);break;case'checkerboard':_0x87222a=_getCheckerBoardPattern(_0x1e438a,_0x767632,_0x4427b0);break;default:_0x87222a=_0x4abcf9(0xec);break;}for(var _0x29c52d=0x0,_0x3f3c06=_0x41f81f['length'];_0x29c52d<_0x3f3c06;_0x29c52d++){var _0x27ba37=_0x41f81f[_0x29c52d];_0x29c52d===0x0?_0x1e438a[_0x4abcf9(0x113)](_0x27ba37[0x0]-_0x767632[0x0],_0x27ba37[0x1]-_0x767632[0x1]):_0x1e438a[_0x4abcf9(0x100)](_0x27ba37[0x0]-_0x767632[0x0],_0x27ba37[0x1]-_0x767632[0x1]);}_0x1e438a['closePath'](),_0x1e438a[_0x4abcf9(0x105)]=_0x4abcf9(0xec),_0x1e438a[_0x4abcf9(0xdd)](),_0x1e438a[_0x4abcf9(0x105)]=_0x87222a,_0x1e438a[_0x4abcf9(0xdd)](),_0x4427b0[_0x4abcf9(0xea)]?(_0x1e438a[_0x4abcf9(0xed)]=getColor(_0x4427b0[_0x4abcf9(0xe0)],_0x4427b0['outlineOpacity']),_0x1e438a[_0x4abcf9(0x10c)]=_0x4427b0['outlineWidth']):_0x1e438a[_0x4abcf9(0xed)]=_0x4abcf9(0xdc),_0x1e438a[_0x4abcf9(0xf2)](),_0x1e438a[_0x4abcf9(0xee)]();}}catch(_0x1681bb){_0x1e438a['restore'](),console[_0x4abcf9(0x10a)](_0x1681bb);}}function a64_0x520e(_0x4fa5d9,_0x33fe26){const _0x3f6388=a64_0x3f63();return a64_0x520e=function(_0x520e61,_0x308f7c){_0x520e61=_0x520e61-0xd7;let _0x17a835=_0x3f6388[_0x520e61];return _0x17a835;},a64_0x520e(_0x4fa5d9,_0x33fe26);}function a64_0x3f63(){const _0x438e4f=['stroke','label','verticalOrigin','stripe_repeat','5IxrIcy','createElement','setRenderer','setFill','stripe_oddcolor','rgba(0,0,0,0)','repeatY','268461PtNPhw','src','46LhubWj','lineTo','grid','2806893ZctMcj','834316VdRysH','zIndex','fillStyle','18959acFrnv','billboard','fillType','width','warn','show','lineWidth','getContext','checkerboard_repeat','max','8HQmweD','repeatX','closePath','moveTo','color','context','oddColor','opacity','push','rgba(0,0,0,0.0)','fill','CENTER','stripe','outlineColor','2985556CPSVOb','grid_lineCount','createPattern','canvas','grid_lineThickness','image','repeat','translate','1235346JeuPmM','outline','height','rgba(0,0,0,0.01)','strokeStyle','restore','checkerboard','beginPath','10901790SEdhek'];a64_0x3f63=function(){return _0x438e4f;};return a64_0x3f63();}function _getImagePattern(_0x3f8cee,_0x227d35,_0x566535,_0x49d5f6){const _0x54a4a8=a64_0x520e;if(!_0x49d5f6||_0x49d5f6[_0x54a4a8(0x109)]===0x0){let _0x54c8e9=new Image();_0x54c8e9[_0x54a4a8(0xfe)]=_0x566535[_0x54a4a8(0xe6)];}var _0xcbf48f=getSize(_0x227d35);const _0x3c1c8b=document[_0x54a4a8(0xf7)](_0x54a4a8(0xe4)),_0x3f9303=_0x3c1c8b[_0x54a4a8(0x10d)]('2d');return _0x3c1c8b['width']=Math[_0x54a4a8(0x10f)](_0xcbf48f[0x0]/_0x566535[_0x54a4a8(0x111)],0x1),_0x3c1c8b['height']=Math[_0x54a4a8(0x10f)](_0xcbf48f[0x1]/_0x566535[_0x54a4a8(0xfc)],0x1),_0x3f9303&&(_0x3f9303['globalAlpha']=_0x566535[_0x54a4a8(0xda)],_0x3f9303['drawImage'](_0x49d5f6,0x0,0x0,_0x3c1c8b['width'],_0x3c1c8b[_0x54a4a8(0xeb)])),_0x3f8cee[_0x54a4a8(0xe3)](_0x3c1c8b,_0x54a4a8(0xe7));}function _getGridPattern(_0x3b4c30,_0xd77af0,_0x3403dd){const _0x3c1bee=a64_0x520e;var _0x11b347=getSize(_0xd77af0);const _0x820ec3=document[_0x3c1bee(0xf7)](_0x3c1bee(0xe4)),_0x5a3b0a=_0x820ec3[_0x3c1bee(0x10d)]('2d');return _0x820ec3[_0x3c1bee(0x109)]=Math[_0x3c1bee(0x10f)](_0x11b347[0x0]/_0x3403dd[_0x3c1bee(0xe2)],0x1),_0x820ec3[_0x3c1bee(0xeb)]=Math[_0x3c1bee(0x10f)](_0x11b347[0x1]/_0x3403dd[_0x3c1bee(0xe2)],0x1),_0x5a3b0a&&(_0x5a3b0a['strokeStyle']=getColor(_0x3403dd[_0x3c1bee(0xd7)],_0x3403dd[_0x3c1bee(0xda)]),_0x5a3b0a[_0x3c1bee(0x10c)]=_0x3403dd[_0x3c1bee(0xe5)]*0x4,_0x5a3b0a[_0x3c1bee(0xf0)](),_0x5a3b0a[_0x3c1bee(0x113)](0x0,_0x820ec3[_0x3c1bee(0xeb)]),_0x5a3b0a[_0x3c1bee(0x100)](_0x820ec3[_0x3c1bee(0x109)],_0x820ec3[_0x3c1bee(0xeb)]),_0x5a3b0a[_0x3c1bee(0x113)](_0x820ec3[_0x3c1bee(0x109)],0x0),_0x5a3b0a[_0x3c1bee(0x100)](_0x820ec3[_0x3c1bee(0x109)],_0x820ec3[_0x3c1bee(0xeb)]),_0x5a3b0a[_0x3c1bee(0xf2)]()),_0x3b4c30[_0x3c1bee(0xe3)](_0x820ec3,_0x3c1bee(0xe7));}function _getStripePattern(_0x7cf60b,_0x32c86c,_0x20bb9b){const _0x14729c=a64_0x520e;var _0x50a5c6=getSize(_0x32c86c);const _0x120f1b=document[_0x14729c(0xf7)](_0x14729c(0xe4)),_0x41ffdb=_0x120f1b[_0x14729c(0x10d)]('2d');let _0x579a2d=Math[_0x14729c(0x10f)](_0x50a5c6[0x1]/_0x20bb9b[_0x14729c(0xf5)],0x1);return _0x120f1b[_0x14729c(0x109)]=_0x50a5c6[0x0],_0x120f1b[_0x14729c(0xeb)]=_0x579a2d*0x2,_0x41ffdb&&(_0x41ffdb[_0x14729c(0xf0)](),_0x41ffdb[_0x14729c(0x113)](0x0,0x0),_0x41ffdb[_0x14729c(0x100)](_0x120f1b[_0x14729c(0x109)],0x0),_0x41ffdb['lineTo'](_0x120f1b[_0x14729c(0x109)],_0x579a2d),_0x41ffdb[_0x14729c(0x100)](0x0,_0x579a2d),_0x41ffdb['closePath'](),_0x41ffdb['fillStyle']=getColor(_0x20bb9b[_0x14729c(0xfa)],_0x20bb9b['opacity']),_0x41ffdb[_0x14729c(0xdd)](),_0x41ffdb[_0x14729c(0xf0)](),_0x41ffdb[_0x14729c(0x113)](0x0,_0x579a2d),_0x41ffdb['lineTo'](_0x120f1b[_0x14729c(0x109)],_0x579a2d),_0x41ffdb['lineTo'](_0x120f1b[_0x14729c(0x109)],_0x579a2d*0x2),_0x41ffdb[_0x14729c(0x100)](0x0,_0x579a2d*0x2),_0x41ffdb[_0x14729c(0x112)](),_0x41ffdb[_0x14729c(0x105)]=getColor(_0x20bb9b['color'],_0x20bb9b[_0x14729c(0xda)]),_0x41ffdb[_0x14729c(0xdd)]()),_0x7cf60b[_0x14729c(0xe3)](_0x120f1b,_0x14729c(0xe7));}function _getCheckerBoardPattern(_0x50c00a,_0x2e78e1,_0x3ac0b8){const _0x44e866=a64_0x520e;var _0x28e299=getSize(_0x2e78e1);const _0x589a49=document[_0x44e866(0xf7)](_0x44e866(0xe4)),_0x34582e=_0x589a49['getContext']('2d');let _0x10cdc0=Math['max'](_0x28e299[0x0]/_0x3ac0b8[_0x44e866(0x10e)],0x1),_0x16026a=Math[_0x44e866(0x10f)](_0x28e299[0x1]/_0x3ac0b8[_0x44e866(0x10e)],0x1);return _0x589a49['width']=_0x10cdc0*0x2,_0x589a49[_0x44e866(0xeb)]=_0x16026a*0x2,_0x34582e&&(_0x34582e[_0x44e866(0xf0)](),_0x34582e['moveTo'](0x0,0x0),_0x34582e['lineTo'](_0x10cdc0,0x0),_0x34582e['lineTo'](_0x10cdc0,_0x16026a),_0x34582e[_0x44e866(0x100)](0x0,_0x16026a),_0x34582e['closePath'](),_0x34582e['fillStyle']=getColor(_0x3ac0b8[_0x44e866(0xd9)],_0x3ac0b8['opacity']),_0x34582e['fill'](),_0x34582e[_0x44e866(0xf0)](),_0x34582e['moveTo'](_0x10cdc0,0x0),_0x34582e[_0x44e866(0x100)](_0x589a49[_0x44e866(0x109)],0x0),_0x34582e[_0x44e866(0x100)](_0x589a49[_0x44e866(0x109)],_0x16026a),_0x34582e[_0x44e866(0x100)](_0x10cdc0,_0x16026a),_0x34582e[_0x44e866(0x112)](),_0x34582e['fillStyle']=getColor(_0x3ac0b8[_0x44e866(0xd7)],_0x3ac0b8[_0x44e866(0xda)]),_0x34582e[_0x44e866(0xdd)](),_0x34582e[_0x44e866(0xf0)](),_0x34582e['moveTo'](0x0,_0x16026a),_0x34582e[_0x44e866(0x100)](_0x10cdc0,_0x16026a),_0x34582e[_0x44e866(0x100)](_0x10cdc0,_0x589a49['height']),_0x34582e[_0x44e866(0x100)](0x0,_0x589a49[_0x44e866(0xeb)]),_0x34582e[_0x44e866(0x112)](),_0x34582e[_0x44e866(0x105)]=getColor(_0x3ac0b8[_0x44e866(0xd7)],_0x3ac0b8[_0x44e866(0xda)]),_0x34582e[_0x44e866(0xdd)](),_0x34582e['beginPath'](),_0x34582e['moveTo'](_0x10cdc0,_0x16026a),_0x34582e[_0x44e866(0x100)](_0x589a49['width'],_0x16026a),_0x34582e[_0x44e866(0x100)](_0x589a49[_0x44e866(0x109)],_0x589a49[_0x44e866(0xeb)]),_0x34582e[_0x44e866(0x100)](_0x10cdc0,_0x589a49[_0x44e866(0xeb)]),_0x34582e[_0x44e866(0x112)](),_0x34582e[_0x44e866(0x105)]=getColor(_0x3ac0b8[_0x44e866(0xd9)],_0x3ac0b8['opacity']),_0x34582e[_0x44e866(0xdd)]()),_0x50c00a[_0x44e866(0xe3)](_0x589a49,_0x44e866(0xe7));}
|
|
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));}
|