ym-gis-2d 1.0.20 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/capabilities/index.js +1 -1
- package/controls/ControlManager.js +1 -1
- package/controls/LegendControl.d.ts +1 -0
- package/controls/LegendControl.d.ts.map +1 -1
- package/controls/LegendControl.js +1 -1
- package/controls/LegendControl.js.map +1 -1
- package/controls/MousePositionControl.js +1 -1
- package/controls/SwipeLayerControl.js +1 -1
- package/conver/kml/geoJSONToKml.js +1 -1
- package/conver/kml/index.js +1 -1
- package/conver/kml/kmlToGeoJSON.js +1 -1
- package/entity/Feature.js +1 -1
- package/entity/GeometryType.js +1 -1
- package/feature/FeatureManager.js +1 -1
- package/index.js +1 -1
- package/interaction/Draw.js +1 -1
- package/interaction/InteractionManager.js +1 -1
- package/interaction/Select.js +1 -1
- package/layers/ArcgisDynamicLayer.js +1 -1
- package/layers/ArcgisFeatureLayer.js +1 -1
- package/layers/ArcgisTileLayer.js +1 -1
- package/layers/ArcgisWMSLayer.js +1 -1
- package/layers/ArcgisWMTSLayer.js +1 -1
- package/layers/GeoserverVectorTile.js +1 -1
- package/layers/GeoserverWFSLayer.js +1 -1
- package/layers/GeoserverWMSLayer.js +1 -1
- package/layers/GeoserverWMTSLayer.js +1 -1
- package/layers/LayerManager.js +1 -1
- package/layers/TDTLayer.js +1 -1
- package/mapView/Map.js +1 -1
- package/mapView/View.js +1 -1
- package/package.json +1 -1
- package/plot/Plot.js +1 -1
- package/plot/geometry/point/Point.js +1 -1
- package/plot/geometry/polygon/BasePolygon.js +1 -1
- package/plot/geometry/polygon/Circle.js +1 -1
- package/plot/geometry/polygon/Polygon.js +1 -1
- package/plot/geometry/polygon/RectAngle.js +1 -1
- package/plot/geometry/polyline/BaseLine.js +1 -1
- package/plot/geometry/polyline/Polyline.js +1 -1
- package/style/PointStyleFormat.js +1 -1
- package/style/PolygonStyleFormat.js +1 -1
- package/style/PolylineStyleFormat.js +1 -1
- package/style/StyleManager.js +1 -1
- package/style/common.js +1 -1
- package/utils/ArrayUtil.js +1 -1
- package/utils/AxiosUtil.js +1 -1
- package/utils/EsriUtil.js +1 -1
- package/utils/GeometryUtil.js +1 -1
- package/utils/LayerUtil.js +1 -1
- package/utils/RegisterProjUtil.js +1 -1
- package/utils/ResolutionUtil.js +1 -1
- package/utils/StringUtil.js +1 -1
- package/utils/StyleUtil.js +1 -1
- package/utils/UrlUtil.js +1 -1
- package/utils/XmlUtil.js +1 -1
- package/utils/format/CQL.js +1 -1
- package/utils/format/IsMatchCql.js +1 -1
- package/utils/plug/canvas/ImageCache.js +1 -1
- package/utils/plug/canvas/PinBuilder.js +1 -1
- package/utils/plug/canvas/PinIcon.js +1 -1
- package/utils/plug/canvas/writeTextToCanvas.js +1 -1
- package/utils/tasks/esri/Identify.js +1 -1
- package/utils/tasks/esri/Query.js +1 -1
- package/utils/tasks/esri/Task.js +1 -1
- package/utils/tasks/geoserver/QueryTask.js +1 -1
- package/utils/tasks/index.js +1 -1
- package/ym-gis-2d.es.js +1 -1
- package/ym-gis-2d.umd.js +1 -1
package/layers/LayerManager.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a50_0x11232b=a50_0x55e3;(function(_0x1aab4c,_0x32087f){const _0x478e58=a50_0x55e3,_0x5e4d34=_0x1aab4c();while(!![]){try{const _0x175e7f=-parseInt(_0x478e58(0x10b))/0x1+-parseInt(_0x478e58(0x110))/0x2+-parseInt(_0x478e58(0x106))/0x3+-parseInt(_0x478e58(0x108))/0x4+-parseInt(_0x478e58(0x105))/0x5*(parseInt(_0x478e58(0x111))/0x6)+parseInt(_0x478e58(0x107))/0x7+parseInt(_0x478e58(0x102))/0x8*(parseInt(_0x478e58(0x112))/0x9);if(_0x175e7f===_0x32087f)break;else _0x5e4d34['push'](_0x5e4d34['shift']());}catch(_0x367841){_0x5e4d34['push'](_0x5e4d34['shift']());}}}(a50_0x1bb7,0x5aeb6));import a50_0x44b719 from'./ArcgisDynamicLayer';import a50_0x46c18e from'./ArcgisFeatureLayer';import a50_0x40899c from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a50_0x143324 from'./ArcgisTileLayer';import a50_0x4123f5 from'./GeoserverWMSLayer';import a50_0x466ae0 from'./GeoserverWMTSLayer';import a50_0x59b9fd from'./ArcgisWMSLayer';import a50_0x9aa3c6 from'./ArcgisWMTSLayer';function a50_0x55e3(_0x30e4f4,_0x302f1f){const _0x1bb79e=a50_0x1bb7();return a50_0x55e3=function(_0x55e330,_0x20cd19){_0x55e330=_0x55e330-0x102;let _0xd2f7cf=_0x1bb79e[_0x55e330];return _0xd2f7cf;},a50_0x55e3(_0x30e4f4,_0x302f1f);}import a50_0x3727c4 from'./GeoserverWFSLayer';import a50_0x27b157 from'./GeoserverVectorTile';function a50_0x1bb7(){const _0x5868b2=['getGeoserverVectorTileLayer','getGeoserverWMTSLayer','sublayers','getArcgisWmsLayer','80ybMHmg','getArcgisFeatureLayer','length','28480NXUtHv','1545378lRmmPA','1955191IKYEbh','1737160tFaxnw','push','getGeoserverWFSLayer','82445ESiEvI','url','getArcgisWMTSLayer','getTDTLayer','getArcgisTileLayer','1364564TUGsLi','114rRWlGs','1723914ZaZuLe'];a50_0x1bb7=function(){return _0x5868b2;};return a50_0x1bb7();}export default class LayerManagement{static async['getDynamicLayer'](_0x2a000f){const _0x30730b=a50_0x55e3,_0x458a91=await getDynamicLayerInfo(_0x2a000f['url']?_0x2a000f[_0x30730b(0x10c)]:'');let _0x39e859=new a50_0x44b719(_0x2a000f,_0x458a91);return _0x39e859;}static async[a50_0x11232b(0x10f)](_0x22b25b){const _0x3fea8a=a50_0x11232b,_0x59c2e9=await getDynamicLayerInfo(_0x22b25b[_0x3fea8a(0x10c)]?_0x22b25b[_0x3fea8a(0x10c)]:'');let _0x15d792=new a50_0x143324(_0x22b25b,_0x59c2e9);return _0x15d792;}static async[a50_0x11232b(0x103)](_0x463c39){const _0x5b08c9=a50_0x11232b,_0x5da341=await getDynamicLayerInfo(_0x463c39[_0x5b08c9(0x10c)]?_0x463c39[_0x5b08c9(0x10c)]:'');let _0x24a494=[];if(_0x463c39['sublayers'])for(let _0x3dfa2c=0x0;_0x3dfa2c<_0x463c39[_0x5b08c9(0x115)][_0x5b08c9(0x104)];_0x3dfa2c++){const _0x262ca3=_0x463c39[_0x5b08c9(0x115)][_0x3dfa2c];_0x24a494[_0x5b08c9(0x109)](await getFeatureLayerInfo(_0x463c39['url']?_0x463c39[_0x5b08c9(0x10c)]:'',_0x262ca3));}let _0x2e3010=new a50_0x46c18e(_0x463c39,_0x5da341,_0x24a494);return _0x2e3010;}static async[a50_0x11232b(0x116)](_0x5294e0){const _0x5734f1=a50_0x11232b;var _0x5d8495;const _0x52352b=(_0x5d8495=_0x5294e0[_0x5734f1(0x115)])===null||_0x5d8495===void 0x0?void 0x0:_0x5d8495[0x0],_0x15a56f=await getWMSLayerCapabilities(_0x5294e0[_0x5734f1(0x10c)]?_0x5294e0[_0x5734f1(0x10c)]:'',_0x52352b==null?'':_0x52352b);let _0x4d2bc9=new a50_0x59b9fd(_0x5294e0,_0x15a56f);return _0x4d2bc9;}static async[a50_0x11232b(0x10d)](_0x4b52d5){const _0x1bdc7e=a50_0x11232b;var _0x578d0e;const _0x17c66f=(_0x578d0e=_0x4b52d5['sublayers'])===null||_0x578d0e===void 0x0?void 0x0:_0x578d0e[0x0],_0x446153=await getWMTSLayerCapabilities(_0x4b52d5[_0x1bdc7e(0x10c)]?_0x4b52d5[_0x1bdc7e(0x10c)]:'',_0x17c66f==null?'':_0x17c66f);let _0xd79d43=new a50_0x9aa3c6(_0x4b52d5,_0x446153);return _0xd79d43;}static async['getGeoserverWmsLayer'](_0x55e73e){const _0x1c9f16=a50_0x11232b;var _0x13ef04;const _0x10efff=(_0x13ef04=_0x55e73e[_0x1c9f16(0x115)])===null||_0x13ef04===void 0x0?void 0x0:_0x13ef04[0x0],_0x51bf36=await getWMSLayerCapabilities(_0x55e73e[_0x1c9f16(0x10c)]?_0x55e73e[_0x1c9f16(0x10c)]:'',_0x10efff==null?'':_0x10efff);let _0x2a6105=new a50_0x4123f5(_0x55e73e,_0x51bf36);return _0x2a6105;}static async[a50_0x11232b(0x114)](_0x30cbf4){const _0x4ce553=a50_0x11232b;var _0xd98e85;const _0x53787c=(_0xd98e85=_0x30cbf4[_0x4ce553(0x115)])===null||_0xd98e85===void 0x0?void 0x0:_0xd98e85[0x0],_0x5bb15f=await getWMTSLayerCapabilities(_0x30cbf4[_0x4ce553(0x10c)]?_0x30cbf4[_0x4ce553(0x10c)]:'',_0x53787c==null?'':_0x53787c);let _0x4730e4=new a50_0x466ae0(_0x30cbf4,_0x5bb15f);return _0x4730e4;}static async[a50_0x11232b(0x10a)](_0x1020b2){const _0x2679a6=a50_0x11232b;var _0x6f4496;const _0xd845d5=(_0x6f4496=_0x1020b2[_0x2679a6(0x115)])===null||_0x6f4496===void 0x0?void 0x0:_0x6f4496[0x0],_0x5581ac=await getWFSLayerCapabilities(_0x1020b2[_0x2679a6(0x10c)]?_0x1020b2['url']:'',_0xd845d5==null?'':_0xd845d5);let _0x4321a6=new a50_0x3727c4(_0x1020b2,_0x5581ac);return _0x4321a6;}static async[a50_0x11232b(0x113)](_0x387f88){const _0x4cb62f=a50_0x11232b;var _0x5bcf85;const _0x1f06eb=(_0x5bcf85=_0x387f88[_0x4cb62f(0x115)])===null||_0x5bcf85===void 0x0?void 0x0:_0x5bcf85[0x0],_0xe6c749=await getWMTSLayerCapabilities(_0x387f88[_0x4cb62f(0x10c)]?_0x387f88[_0x4cb62f(0x10c)]:'',_0x1f06eb==null?'':_0x1f06eb);let _0x229f72=new a50_0x27b157(_0x387f88,_0xe6c749);return _0x229f72;}static async[a50_0x11232b(0x10e)](_0x411cfc){const _0x380cd4=a50_0x11232b;var _0x1319fe;const _0x246458=(_0x1319fe=_0x411cfc['sublayers'])===null||_0x1319fe===void 0x0?void 0x0:_0x1319fe[0x0],_0x320343=await getWMTSLayerCapabilities(_0x411cfc[_0x380cd4(0x10c)]?_0x411cfc[_0x380cd4(0x10c)]:'',_0x246458==null?'':_0x246458);let _0x5c5c53=new a50_0x40899c(_0x411cfc,_0x320343);return _0x5c5c53;}}
|
package/layers/TDTLayer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x45e5f5,_0x3fb5cd){const _0x467862=a51_0x30b8,_0xfdf29f=_0x45e5f5();while(!![]){try{const _0x5e91fa=-parseInt(_0x467862(0x15c))/0x1*(-parseInt(_0x467862(0x171))/0x2)+parseInt(_0x467862(0x15e))/0x3*(parseInt(_0x467862(0x15f))/0x4)+parseInt(_0x467862(0x167))/0x5+parseInt(_0x467862(0x160))/0x6*(-parseInt(_0x467862(0x164))/0x7)+parseInt(_0x467862(0x173))/0x8*(-parseInt(_0x467862(0x166))/0x9)+-parseInt(_0x467862(0x170))/0xa+parseInt(_0x467862(0x15b))/0xb;if(_0x5e91fa===_0x3fb5cd)break;else _0xfdf29f['push'](_0xfdf29f['shift']());}catch(_0x3a2867){_0xfdf29f['push'](_0xfdf29f['shift']());}}}(a51_0x3ed2,0x75078));import a51_0x1cc431 from'ol/layer/Tile';import{WMTS as a51_0x2d7786}from'ol/source';import a51_0xe7f6a0 from'ol/tilegrid/WMTS';function a51_0x3ed2(){const _0x5417f5=['168687XSlqJe','1707380xNthnE','EPSG:4490','projection','tileMatrixSet','format','style','mapIndex','url','initialExtent','2345050ibvfRa','112ErESIM','layerInfo','224yWTyIm','opacity','KVP','2065569WOHjTW','12914VRblnk','join','1686vEzJST','6248hBzRva','5349732sfNbxe','boundingBoxExtent','length','1.0.0','7nFUIvN','sublayers'];a51_0x3ed2=function(){return _0x5417f5;};return a51_0x3ed2();}import{registerProj}from'../utils/RegisterProjUtil';function a51_0x30b8(_0xb9b7c0,_0x190bca){const _0x3ed2e4=a51_0x3ed2();return a51_0x30b8=function(_0x30b851,_0x36f6c6){_0x30b851=_0x30b851-0x15b;let _0xe7744d=_0x3ed2e4[_0x30b851];return _0xe7744d;},a51_0x30b8(_0xb9b7c0,_0x190bca);}import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a51_0x1cc431{constructor(_0x53dac0,_0x4d06da){const _0x167745=a51_0x30b8;let _0x5cd81a='';_0x53dac0[_0x167745(0x165)]&&_0x53dac0[_0x167745(0x165)][_0x167745(0x162)]>0x0&&(_0x5cd81a=_0x53dac0[_0x167745(0x165)][_0x167745(0x15d)](','));const _0x81ef48=_0x167745(0x168);let _0x195adc=registerProj(_0x81ef48);const _0x30e462=[],_0x3c41b0=[];for(let _0x9981c5=0x1;_0x9981c5<0x13;_0x9981c5++){_0x30e462[_0x9981c5]=getWidth(_0x4d06da['boundingBoxExtent'])/(0x100*Math['pow'](0x2,_0x9981c5)),_0x3c41b0[_0x9981c5]=_0x9981c5+'';}super({'opacity':_0x53dac0[_0x167745(0x174)],'zIndex':_0x53dac0[_0x167745(0x16d)],'source':new a51_0x2d7786({'style':_0x4d06da[_0x167745(0x16c)],'url':_0x53dac0[_0x167745(0x16e)],'tileGrid':new a51_0xe7f6a0({'origin':getTopLeft(_0x4d06da[_0x167745(0x161)]),'resolutions':_0x30e462,'matrixIds':_0x3c41b0}),'layer':_0x5cd81a,'matrixSet':_0x4d06da[_0x167745(0x16a)],'version':_0x167745(0x163),'format':_0x4d06da[_0x167745(0x16b)][0x0],'projection':_0x81ef48,'requestEncoding':_0x167745(0x175)})}),this['id']=_0x53dac0['id'],this[_0x167745(0x16f)]=_0x4d06da[_0x167745(0x161)],this[_0x167745(0x169)]=_0x195adc,this[_0x167745(0x172)]=_0x53dac0;}}
|
package/mapView/Map.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a52_0x3e4bc2=a52_0x1fa7;(function(_0x33b28b,_0x2ac5bd){const _0x9300dc=a52_0x1fa7,_0x5eedb5=_0x33b28b();while(!![]){try{const _0x239ae0=parseInt(_0x9300dc(0x1b4))/0x1+-parseInt(_0x9300dc(0x1aa))/0x2*(-parseInt(_0x9300dc(0x197))/0x3)+parseInt(_0x9300dc(0x196))/0x4*(parseInt(_0x9300dc(0x1ae))/0x5)+parseInt(_0x9300dc(0x1cd))/0x6+parseInt(_0x9300dc(0x1c2))/0x7*(parseInt(_0x9300dc(0x1b8))/0x8)+-parseInt(_0x9300dc(0x1bf))/0x9+-parseInt(_0x9300dc(0x1ca))/0xa;if(_0x239ae0===_0x2ac5bd)break;else _0x5eedb5['push'](_0x5eedb5['shift']());}catch(_0x2a65d4){_0x5eedb5['push'](_0x5eedb5['shift']());}}}(a52_0x499b,0x9d666));import'ol/ol.css';import'../assets/main.css';import a52_0x494e7f from'ol/Map';function a52_0x499b(){const _0x2de00a=['getCoordinates','geoserver-vector-tile','center','changetype','MultiPolygon','locationGeometry','push','getArcgisTileLayer','getMetersPerUnit','polygonTempLayer','getMaxZoom','addFeature','rgba(255,\x200,\x200,\x200.2)','minZoom','calculateExtent','getLayersByIds','rgba(255,\x200,\x200,\x201)','getGeoserverVectorTileLayer','addMapLayers','remove','getCode','add','zoom','flashGeometrys','getLayerById','arcgis-wmts','tag','fitLayer','minResolution','controlManager','constrainResolution','52QTysus','87174MUrTwI','pointTempLayer','length','extent','insertAt','_options','setMaxResolution','getGeoserverWmsLayer','GeometryCollection','addWKT','getZIndex','setGeometry','EPSG:','fromType','projection','】服务类型','dispatchEvent','arcgis-feature','filter','34WwYLTT','all','geoserver-wmts','addFeatures','446115PXkvTN','getLength','MultiPoint','fitLayerById','getPolygonTempLayer','fit','573122bVTOCi','interactionManager','addLayer','getArray','976416ILmRsm','LineString','getTempLayerByGeoType','getProjection','addMapLayer','MultiLineString','changelayer','8056845aBmzcX','getLineTempLayer','layerIds','35emRgUN','tdt-c','minScale','getType','暂不支持【','getArcgisFeatureLayer','locationWKTs','getSource','24451930tVDPUv','getLayers','Point','6887046KXTUsG','getLayerByLayerTag','layerType','getGeoserverWFSLayer','getPointTempLayer','getTDTLayer','layerInfo','removeLayerById','getExtent','Polygon','setStyle','getArcgisWmsLayer','layerTag','arcgis-wms','setMinResolution','lineTempLayer','transform','getView','maxZoom','import'];a52_0x499b=function(){return _0x2de00a;};return a52_0x499b();}import a52_0x53a454 from'ol/events/Event';import{defaults as a52_0x13e1c4}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a52_0x1a4a35 from'../layers/LayerManager';import a52_0x41a549 from'ol/layer/Vector';import a52_0x36ef32 from'ol/source/Vector';import a52_0x4a8c09 from'../controls/ControlManager';import a52_0x34d9e9 from'../entity/Feature';import a52_0x16a01c from'../interaction/InteractionManager';import a52_0x22421d from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a52_0x4ca572 from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';function a52_0x1fa7(_0x2b060b,_0x20a553){const _0x499be3=a52_0x499b();return a52_0x1fa7=function(_0x1fa7f9,_0x1b53b3){_0x1fa7f9=_0x1fa7f9-0x177;let _0x53ae23=_0x499be3[_0x1fa7f9];return _0x53ae23;},a52_0x1fa7(_0x2b060b,_0x20a553);}import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a52_0x53a454{constructor(_0x309055,_0x686037,_0x63bf72){const _0x46774a=a52_0x1fa7;super(_0x309055),this[_0x46774a(0x1c1)]=_0x686037,this[_0x46774a(0x17a)]=_0x63bf72;}}export default class OLMap extends a52_0x494e7f{constructor(_0x25fbf0,_0x1d06ce,_0x366519){const _0x507913=a52_0x1fa7;_0x1d06ce=_0x1d06ce?_0x1d06ce:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0xc39a3d=_0x1d06ce[_0x507913(0x1a5)]?_0x507913(0x1a3)+_0x1d06ce[_0x507913(0x1a5)]:'EPSG:4490';_0x1d06ce[_0x507913(0x18d)]=_0x1d06ce[_0x507913(0x18d)]?_0x1d06ce[_0x507913(0x18d)]:0xa,_0x1d06ce['minZoom']=_0x1d06ce[_0x507913(0x184)]?_0x1d06ce[_0x507913(0x184)]:0x0,_0x1d06ce[_0x507913(0x1df)]=_0x1d06ce['maxZoom']?_0x1d06ce[_0x507913(0x1df)]:0x1c,_0x1d06ce[_0x507913(0x195)]=_0x1d06ce['constrainResolution']?_0x1d06ce[_0x507913(0x195)]:![],_0x1d06ce[_0x507913(0x179)]=_0x1d06ce[_0x507913(0x179)]?_0x1d06ce[_0x507913(0x179)]:[117.22718,31.820386],registerProj(_0xc39a3d);const _0x249e16={'target':_0x25fbf0,'view':_0x366519?_0x366519:new a52_0x22421d({'center':_0x1d06ce[_0x507913(0x179)],'zoom':_0x1d06ce[_0x507913(0x18d)],'projection':_0xc39a3d,'minZoom':_0x1d06ce['minZoom'],'maxZoom':_0x1d06ce[_0x507913(0x1df)],'minResolution':_0x1d06ce[_0x507913(0x193)],'maxResolution':_0x1d06ce['maxResolution'],'constrainResolution':_0x1d06ce[_0x507913(0x195)]}),'controls':a52_0x13e1c4({'zoom':![]})};super(_0x249e16),_0x1d06ce[_0x507913(0x19a)]&&this[_0x507913(0x1de)]()['fit'](_0x1d06ce[_0x507913(0x19a)]),this[_0x507913(0x1b5)]=new a52_0x16a01c(this),this[_0x507913(0x194)]=new a52_0x4a8c09(this),this[_0x507913(0x19c)]=_0x1d06ce;}['getView'](){const _0x487307=a52_0x1fa7;return super[_0x487307(0x1de)]();}[a52_0x3e4bc2(0x192)](_0x3c5a50){const _0xb0ea09=a52_0x3e4bc2;var _0x1c6426;this['getView']()[_0xb0ea09(0x1b3)](transformExtent(_0x3c5a50['initialExtent'],(_0x1c6426=_0x3c5a50[_0xb0ea09(0x1a5)])===null||_0x1c6426===void 0x0?void 0x0:_0x1c6426['getCode'](),this[_0xb0ea09(0x1de)]()[_0xb0ea09(0x1bb)]()[_0xb0ea09(0x18b)]()));}[a52_0x3e4bc2(0x1b1)](_0x4efb55){const _0x3dbaa4=a52_0x3e4bc2;let _0x322e94=this[_0x3dbaa4(0x18f)](_0x4efb55);_0x322e94&&this['fitLayer'](_0x322e94);}async[a52_0x3e4bc2(0x1bc)](_0x39cae5){const _0x3ceabd=a52_0x3e4bc2;let _0x2dd966;switch(_0x39cae5[_0x3ceabd(0x1cf)]){case _0x3ceabd(0x1a8):_0x2dd966=await a52_0x1a4a35[_0x3ceabd(0x1c7)](_0x39cae5);break;case'arcgis-dynamic':_0x2dd966=await a52_0x1a4a35['getDynamicLayer'](_0x39cae5);break;case'arcgis-tile':_0x2dd966=await a52_0x1a4a35[_0x3ceabd(0x17e)](_0x39cae5);break;case _0x3ceabd(0x1da):_0x2dd966=await a52_0x1a4a35[_0x3ceabd(0x1d8)](_0x39cae5);break;case _0x3ceabd(0x190):_0x2dd966=await a52_0x1a4a35['getArcgisWMTSLayer'](_0x39cae5);break;case'geoserver-wms':_0x2dd966=await a52_0x1a4a35[_0x3ceabd(0x19e)](_0x39cae5);break;case'geoserver-wfs':_0x2dd966=await a52_0x1a4a35[_0x3ceabd(0x1d0)](_0x39cae5);break;case _0x3ceabd(0x1ac):_0x2dd966=await a52_0x1a4a35['getGeoserverWMTSLayer'](_0x39cae5);break;case _0x3ceabd(0x178):_0x2dd966=await a52_0x1a4a35[_0x3ceabd(0x188)](_0x39cae5);break;case _0x3ceabd(0x1c3):_0x2dd966=await a52_0x1a4a35[_0x3ceabd(0x1d2)](_0x39cae5);break;default:throw new Error(_0x3ceabd(0x1c6)+_0x39cae5['layerType']+_0x3ceabd(0x1a6));}return this[_0x3ceabd(0x1b6)](_0x2dd966),this['dispatchEvent'](new ChangeLayerEvent('changelayer',[_0x39cae5['id']],_0x3ceabd(0x18c))),_0x2dd966;}async[a52_0x3e4bc2(0x189)](_0x13e497){const _0x515fb9=a52_0x3e4bc2;let _0x5a7098=[];const _0x2a79a6=[];for(let _0x37c26d=0x0;_0x37c26d<_0x13e497[_0x515fb9(0x199)];_0x37c26d++){const _0x110b0d=_0x13e497[_0x37c26d];_0x2a79a6[_0x515fb9(0x17d)](_0x110b0d['id']),_0x5a7098[_0x515fb9(0x17d)](this['addMapLayer'](_0x110b0d));}const _0x3cd2df=await Promise[_0x515fb9(0x1ab)](_0x5a7098);return this[_0x515fb9(0x1a7)](new ChangeLayerEvent(_0x515fb9(0x1be),_0x2a79a6,'add')),_0x3cd2df;}[a52_0x3e4bc2(0x1b6)](_0x1b1e44,_0x3817f6=![]){const _0x166481=a52_0x3e4bc2,_0x5c4dc9=_0x1b1e44,_0x5865ae=this[_0x166481(0x18f)](_0x5c4dc9['id']);if(_0x5865ae==null){const _0x39c7dc=_0x5c4dc9['layerInfo']==undefined||_0x5c4dc9[_0x166481(0x1d3)][_0x166481(0x1c4)]==undefined||_0x5c4dc9[_0x166481(0x1d3)][_0x166481(0x1c4)]<0x0?undefined:calculateResolution(_0x5c4dc9[_0x166481(0x1d3)][_0x166481(0x1c4)],this[_0x166481(0x1de)]()[_0x166481(0x1bb)]()[_0x166481(0x17f)]()||0x0);_0x1b1e44[_0x166481(0x1db)](_0x39c7dc);const _0xed28f0=_0x5c4dc9['layerInfo']==undefined||_0x5c4dc9[_0x166481(0x1d3)]['maxScale']==undefined||_0x5c4dc9[_0x166481(0x1d3)]['maxScale']<0x0?undefined:calculateResolution(_0x5c4dc9[_0x166481(0x1d3)]['maxScale'],this[_0x166481(0x1de)]()[_0x166481(0x1bb)]()[_0x166481(0x17f)]()||0x0);_0x1b1e44[_0x166481(0x19d)](_0xed28f0);const _0x57f4d3=this[_0x166481(0x1cb)]()[_0x166481(0x1b7)]()[_0x166481(0x199)];if(!this[_0x166481(0x19c)][_0x166481(0x1a5)]&&_0x57f4d3==0x0&&_0x5c4dc9['projection']&&_0x5c4dc9['projection'][_0x166481(0x18b)]()!=this[_0x166481(0x1de)]()[_0x166481(0x1bb)]()[_0x166481(0x18b)]()){}let _0x2bba35=_0x1b1e44[_0x166481(0x1a1)]();_0x2bba35!=undefined&&_0x2bba35>_0x57f4d3&&(_0x2bba35=_0x57f4d3),this[_0x166481(0x1cb)]()[_0x166481(0x19b)](_0x2bba35==undefined?_0x57f4d3:_0x2bba35,_0x1b1e44),_0x3817f6&&this[_0x166481(0x192)](_0x5c4dc9);}}[a52_0x3e4bc2(0x1d4)](_0x24e1e7){const _0x436979=a52_0x3e4bc2,_0x4b975f=this[_0x436979(0x18f)](_0x24e1e7);_0x4b975f&&(this['removeLayer'](_0x4b975f),this[_0x436979(0x1a7)](new ChangeLayerEvent(_0x436979(0x1be),[_0x24e1e7],_0x436979(0x18a))));}[a52_0x3e4bc2(0x18f)](_0x5408af){const _0x47a5a3=a52_0x3e4bc2;let _0x1c5317,_0x24beda=this[_0x47a5a3(0x1cb)]()[_0x47a5a3(0x1b7)]();for(let _0x21e383=0x0;_0x21e383<_0x24beda[_0x47a5a3(0x199)];_0x21e383++){let _0x5e4413=_0x24beda[_0x21e383]['id'];if(_0x5408af==_0x5e4413){_0x1c5317=_0x24beda[_0x21e383];break;}}return _0x1c5317;}[a52_0x3e4bc2(0x1ce)](_0x5b009b){const _0x5996c6=a52_0x3e4bc2;let _0x3a7845,_0x36d9a8=this[_0x5996c6(0x1cb)]()[_0x5996c6(0x1b7)]();for(let _0x5a9f59=0x0;_0x5a9f59<_0x36d9a8[_0x5996c6(0x199)];_0x5a9f59++){const _0x188ee4=_0x36d9a8[_0x5a9f59][_0x5996c6(0x1d3)];if(!_0x188ee4)continue;let _0x3b48e2=_0x188ee4[_0x5996c6(0x1d9)];if(_0x3b48e2==_0x5b009b){_0x3a7845=_0x36d9a8[_0x5a9f59];break;}}return _0x3a7845;}[a52_0x3e4bc2(0x186)](_0x74ff6d){const _0x347035=a52_0x3e4bc2;let _0x211ede=this['getLayers']()[_0x347035(0x1b7)]();return _0x211ede[_0x347035(0x1a9)](_0x57def8=>_0x74ff6d['includes'](_0x57def8['id']));}['getTempLayerById'](_0x340134){const _0x6bb1f1=a52_0x3e4bc2;let _0x2a2f16,_0x5f2d8c=this[_0x6bb1f1(0x1cb)]()[_0x6bb1f1(0x1b7)]();for(let _0x24debf=0x0;_0x24debf<_0x5f2d8c[_0x6bb1f1(0x199)];_0x24debf++){const _0x41bed5=_0x5f2d8c[_0x24debf];if(_0x41bed5['id']===_0x340134){_0x2a2f16=_0x41bed5;break;}}if(!_0x2a2f16){_0x2a2f16=new a52_0x41a549({'zIndex':0x270f,'source':new a52_0x36ef32()}),_0x2a2f16['id']=_0x340134;const _0xa937e7=this['getLayers']()[_0x6bb1f1(0x1af)]();switch(_0x340134){case _0x6bb1f1(0x1dc):this[_0x6bb1f1(0x1cb)]()['insertAt'](_0xa937e7-0x1>-0x1?_0xa937e7-0x1:0x0,_0x2a2f16);break;case _0x6bb1f1(0x180):this[_0x6bb1f1(0x1cb)]()[_0x6bb1f1(0x19b)](_0xa937e7-0x2>-0x1?_0xa937e7-0x2:0x0,_0x2a2f16);break;case _0x6bb1f1(0x198):this[_0x6bb1f1(0x1cb)]()[_0x6bb1f1(0x19b)](_0xa937e7,_0x2a2f16);break;default:break;}}return _0x2a2f16;}[a52_0x3e4bc2(0x1d1)](){const _0x44cf73=a52_0x3e4bc2;return this['getTempLayerById'](_0x44cf73(0x198));}[a52_0x3e4bc2(0x1c0)](){const _0x136511=a52_0x3e4bc2;return this['getTempLayerById'](_0x136511(0x1dc));}[a52_0x3e4bc2(0x1b2)](){return this['getTempLayerById']('polygonTempLayer');}['getTempLayerByGeoType'](_0x3b3e51){const _0x3537fb=a52_0x3e4bc2;let _0x3aaac0=this[_0x3537fb(0x1d1)]();switch(_0x3b3e51){case _0x3537fb(0x1cc):case _0x3537fb(0x1b0):_0x3aaac0=this[_0x3537fb(0x1d1)]();case _0x3537fb(0x1b9):case _0x3537fb(0x1bd):_0x3aaac0=this[_0x3537fb(0x1c0)]();case _0x3537fb(0x1d6):case _0x3537fb(0x17b):_0x3aaac0=this[_0x3537fb(0x1b2)]();}return _0x3aaac0;}['resetViewProjection'](_0x479f3d){const _0x21051e=a52_0x3e4bc2;let _0x1f27b8=this['getView']()['getMinZoom'](),_0x495563=this[_0x21051e(0x1de)]()[_0x21051e(0x181)]();registerProj(_0x479f3d),this[_0x21051e(0x1de)]()['setProjection'](_0x479f3d);}['sortTemLayer'](){const _0xbdab7e=a52_0x3e4bc2;let _0x43ff64=[];_0x43ff64[_0xbdab7e(0x17d)](this[_0xbdab7e(0x1d1)]()),_0x43ff64[_0xbdab7e(0x17d)](this[_0xbdab7e(0x1c0)]()),_0x43ff64[_0xbdab7e(0x17d)](this[_0xbdab7e(0x1b2)]());const _0x19cba0=this[_0xbdab7e(0x1cb)]()['getArray']()[_0xbdab7e(0x199)];for(let _0x2b16ca=0x0;_0x2b16ca<_0x43ff64[_0xbdab7e(0x199)];_0x2b16ca++){const _0x3eba82=_0x43ff64[_0x2b16ca];this[_0xbdab7e(0x1cb)]()[_0xbdab7e(0x19b)](_0x19cba0-_0x2b16ca-0x1,_0x3eba82);}}[a52_0x3e4bc2(0x1d5)](){const _0x4af675=a52_0x3e4bc2;return this[_0x4af675(0x1de)]()[_0x4af675(0x185)](this['getSize']());}[a52_0x3e4bc2(0x1a0)](_0x36e7cf,_0x21e794,_0x45a775,_0x29de2e=!![],_0x187f34={'color':a52_0x3e4bc2(0x183),'opacity':0.2,'outlineColor':a52_0x3e4bc2(0x187),'outlineWidth':0x2}){const _0x30cede=a52_0x3e4bc2;var _0x497fd7;const _0x5ed579=fromWKT(_0x36e7cf,_0x21e794,this[_0x30cede(0x1de)]()[_0x30cede(0x1bb)]()[_0x30cede(0x18b)]());if(!_0x5ed579)return;const _0x90bdb2=this['getTempLayerByGeoType'](_0x5ed579[_0x30cede(0x1c5)]()),_0x2e0392=getStyle(_0x187f34),_0x535cc2=new a52_0x34d9e9();_0x535cc2['setGeometry'](_0x5ed579),_0x535cc2[_0x30cede(0x1d7)](_0x2e0392),_0x535cc2['tag']=_0x45a775,(_0x497fd7=_0x90bdb2[_0x30cede(0x1c9)]())===null||_0x497fd7===void 0x0?void 0x0:_0x497fd7[_0x30cede(0x182)](_0x535cc2),_0x29de2e&&this[_0x30cede(0x17c)](_0x5ed579,undefined,1.2,![]);}['addWKTs'](_0x168bae,_0x941f76,_0x35d9c8,_0x4a91c5=!![],_0x2869ce={'color':a52_0x3e4bc2(0x183),'opacity':0.2,'outlineColor':a52_0x3e4bc2(0x187),'outlineWidth':0x2}){const _0x12fff8=a52_0x3e4bc2;var _0x5697ef;const _0x36c1a3=fromWKTs(_0x168bae,_0x941f76,this[_0x12fff8(0x1de)]()[_0x12fff8(0x1bb)]()[_0x12fff8(0x18b)]());if(!_0x36c1a3||_0x36c1a3[_0x12fff8(0x199)]==0x0)return;const _0x3d042d=this[_0x12fff8(0x1ba)](_0x36c1a3[0x0][_0x12fff8(0x1c5)]()),_0x5db964=getStyle(_0x2869ce);let _0x3cafe1=[];for(const _0x2447f9 of _0x36c1a3){const _0x60d311=new a52_0x34d9e9();_0x60d311[_0x12fff8(0x1a2)](_0x2447f9),_0x60d311[_0x12fff8(0x1d7)](_0x5db964),_0x60d311[_0x12fff8(0x1a4)]=_0x12fff8(0x1e0),_0x60d311['isSelected']=!![],_0x60d311[_0x12fff8(0x191)]=_0x35d9c8,_0x3cafe1[_0x12fff8(0x17d)](_0x60d311);}(_0x5697ef=_0x3d042d[_0x12fff8(0x1c9)]())===null||_0x5697ef===void 0x0?void 0x0:_0x5697ef[_0x12fff8(0x1ad)](_0x3cafe1),_0x4a91c5&&this['locationGeometrys'](_0x36c1a3,undefined,1.2,![]);}['locationWKT'](_0x73d267,_0x53ce96,_0x2805ff=1.2,_0x2ea971=!![]){const _0x5435a0=a52_0x3e4bc2;if(!_0x73d267)return;let _0x15cea4=fromWKT(_0x73d267,_0x53ce96,this[_0x5435a0(0x1de)]()[_0x5435a0(0x1bb)]()[_0x5435a0(0x18b)]());if(!_0x15cea4)return;this[_0x5435a0(0x17c)](_0x15cea4,_0x53ce96,_0x2805ff,_0x2ea971);}[a52_0x3e4bc2(0x1c8)](_0x70def5,_0x45b4c8,_0x41de45=1.2,_0x110a91=!![]){const _0x56bd70=a52_0x3e4bc2;if(!_0x70def5||_0x70def5['length']===0x0)return;const _0x4f112c=[];for(let _0x5ea397=0x0;_0x5ea397<_0x70def5['length'];_0x5ea397++){let _0x29d81d=_0x70def5[_0x5ea397],_0x53d801=fromWKT(_0x29d81d,_0x45b4c8,this[_0x56bd70(0x1de)]()[_0x56bd70(0x1bb)]()[_0x56bd70(0x18b)]());if(!_0x53d801)continue;_0x4f112c[_0x56bd70(0x17d)](_0x53d801);}this['locationGeometrys'](_0x4f112c,_0x45b4c8,_0x41de45,_0x110a91);}[a52_0x3e4bc2(0x17c)](_0x441579,_0x5d485d,_0x2e2e38=1.2,_0x2c1b1b=!![]){const _0x79571a=a52_0x3e4bc2;if(!_0x441579)return;let _0x1be520=_0x441579;_0x5d485d&&(_0x1be520=_0x441579[_0x79571a(0x1dd)](_0x5d485d,this['getView']()[_0x79571a(0x1bb)]()));switch(_0x1be520['getType']()){case'Point':this[_0x79571a(0x1de)]()['setCenter'](_0x1be520[_0x79571a(0x177)]());break;case'Polygon':case _0x79571a(0x1b0):case _0x79571a(0x1bd):case _0x79571a(0x17b):case _0x79571a(0x19f):this[_0x79571a(0x1de)]()[_0x79571a(0x1b3)](expandExtent(_0x1be520['getExtent'](),_0x2e2e38));break;}if(_0x2c1b1b){const _0xab56be=new a52_0x4ca572(this);_0xab56be[_0x79571a(0x18e)]([_0x1be520],0x3);}}['locationGeometrys'](_0x5464ad,_0x41d44c,_0x4be8ff=1.2,_0x1517bc=!![]){const _0x345d1c=a52_0x3e4bc2;if(!_0x5464ad||_0x5464ad[_0x345d1c(0x199)]===0x0)return;let _0xdc8bd6=null;for(const _0x52f58e of _0x5464ad){_0xdc8bd6?_0xdc8bd6=union(_0xdc8bd6,_0x52f58e):_0xdc8bd6=_0x52f58e;}_0xdc8bd6&&this['locationGeometry'](_0xdc8bd6,_0x41d44c,_0x4be8ff,![]);if(_0x1517bc){const _0x2ce4f3=new a52_0x4ca572(this);_0x2ce4f3[_0x345d1c(0x18e)](_0x5464ad,0x3);}}}
|
|
1
|
+
const a52_0x118347=a52_0x3bfb;(function(_0x3ea82b,_0x58fe00){const _0x46676e=a52_0x3bfb,_0x79f36=_0x3ea82b();while(!![]){try{const _0x3711c4=parseInt(_0x46676e(0xc3))/0x1*(-parseInt(_0x46676e(0xc0))/0x2)+-parseInt(_0x46676e(0xb1))/0x3*(-parseInt(_0x46676e(0xb0))/0x4)+-parseInt(_0x46676e(0xdf))/0x5*(-parseInt(_0x46676e(0x8c))/0x6)+parseInt(_0x46676e(0xc7))/0x7*(parseInt(_0x46676e(0xe8))/0x8)+parseInt(_0x46676e(0x9c))/0x9+-parseInt(_0x46676e(0x9b))/0xa+parseInt(_0x46676e(0x8f))/0xb*(-parseInt(_0x46676e(0xc4))/0xc);if(_0x3711c4===_0x58fe00)break;else _0x79f36['push'](_0x79f36['shift']());}catch(_0x8940e6){_0x79f36['push'](_0x79f36['shift']());}}}(a52_0x7e79,0xe7a51));import'ol/ol.css';function a52_0x3bfb(_0x3a932c,_0x147f7a){const _0x7e796a=a52_0x7e79();return a52_0x3bfb=function(_0x3bfbe5,_0x3e1d0a){_0x3bfbe5=_0x3bfbe5-0x84;let _0x23e0a2=_0x7e796a[_0x3bfbe5];return _0x23e0a2;},a52_0x3bfb(_0x3a932c,_0x147f7a);}function a52_0x7e79(){const _0x5e0a71=['center','getMetersPerUnit','locationGeometry','addMapLayer','getLayers','setMinResolution','MultiPoint','getTDTLayer','interactionManager','LineString','addWKT','locationWKT','5728325wHZMBT','getLineTempLayer','setProjection','removeLayerById','sortTemLayer','add','getMinZoom','getGeoserverWMTSLayer','getSize','72BFfFSW','addLayer','zoom','push','maxZoom','getSource','getLayerById','locationWKTs','minScale','initialExtent','includes','Polygon','暂不支持【','6lHojse','polygonTempLayer','getExtent','33lcUkIY','getArcgisFeatureLayer','getArcgisTileLayer','layerInfo','rgba(255,\x200,\x200,\x200.2)','fit','geoserver-wms','insertAt','getLayerByLayerTag','setCenter','getDynamicLayer','changelayer','11188350qjHJzF','10990215QUSUWy','getPolygonTempLayer','geoserver-wmts','getPointTempLayer','length','getCode','getProjection','getTempLayerById','filter','MultiLineString','getGeoserverWmsLayer','resetViewProjection','maxResolution','arcgis-dynamic','import','addMapLayers','maxScale','minZoom','setGeometry','remove','492iqJBdu','22449eGBjZQ','tag','getTempLayerByGeoType','fromType','transform','getLayersByIds','getGeoserverWFSLayer','locationGeometrys','lineTempLayer','geoserver-vector-tile','GeometryCollection','getArray','pointTempLayer','setMaxResolution','getView','6100taCRyF','layerIds','geoserver-wfs','486PmVFMY','5517696fIEOow','arcgis-wms','fitLayer','1277241oUmJfs','setStyle','projection','rgba(255,\x200,\x200,\x201)','Point','tdt-c','constrainResolution','MultiPolygon','getType','dispatchEvent','_options','layerType'];a52_0x7e79=function(){return _0x5e0a71;};return a52_0x7e79();}import'../assets/main.css';import a52_0x2b5026 from'ol/Map';import a52_0x43864e from'ol/events/Event';import{defaults as a52_0x208f94}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a52_0x1145c8 from'../layers/LayerManager';import a52_0x965aeb from'ol/layer/Vector';import a52_0x1d4aa4 from'ol/source/Vector';import a52_0x59cbce from'../controls/ControlManager';import a52_0x1a9393 from'../entity/Feature';import a52_0x575dce from'../interaction/InteractionManager';import a52_0x372fa5 from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a52_0x99b79d from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a52_0x43864e{constructor(_0x4ff7d4,_0x23cd78,_0x6a57fb){const _0x1ba68b=a52_0x3bfb;super(_0x4ff7d4),this[_0x1ba68b(0xc1)]=_0x23cd78,this['changetype']=_0x6a57fb;}}export default class OLMap extends a52_0x2b5026{constructor(_0x70d9de,_0x2bfa3e,_0x19f75e){const _0x372ce7=a52_0x3bfb;_0x2bfa3e=_0x2bfa3e?_0x2bfa3e:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x1fcfa1=_0x2bfa3e[_0x372ce7(0xc9)]?'EPSG:'+_0x2bfa3e[_0x372ce7(0xc9)]:'EPSG:4490';_0x2bfa3e[_0x372ce7(0xea)]=_0x2bfa3e['zoom']?_0x2bfa3e[_0x372ce7(0xea)]:0xa,_0x2bfa3e[_0x372ce7(0xad)]=_0x2bfa3e[_0x372ce7(0xad)]?_0x2bfa3e[_0x372ce7(0xad)]:0x0,_0x2bfa3e['maxZoom']=_0x2bfa3e['maxZoom']?_0x2bfa3e[_0x372ce7(0xec)]:0x1c,_0x2bfa3e[_0x372ce7(0xcd)]=_0x2bfa3e['constrainResolution']?_0x2bfa3e[_0x372ce7(0xcd)]:![],_0x2bfa3e['center']=_0x2bfa3e[_0x372ce7(0xd3)]?_0x2bfa3e[_0x372ce7(0xd3)]:[117.22718,31.820386],registerProj(_0x1fcfa1);const _0x6efd0c={'target':_0x70d9de,'view':_0x19f75e?_0x19f75e:new a52_0x372fa5({'center':_0x2bfa3e[_0x372ce7(0xd3)],'zoom':_0x2bfa3e[_0x372ce7(0xea)],'projection':_0x1fcfa1,'minZoom':_0x2bfa3e[_0x372ce7(0xad)],'maxZoom':_0x2bfa3e[_0x372ce7(0xec)],'minResolution':_0x2bfa3e['minResolution'],'maxResolution':_0x2bfa3e[_0x372ce7(0xa8)],'constrainResolution':_0x2bfa3e[_0x372ce7(0xcd)]}),'controls':a52_0x208f94({'zoom':![]})};super(_0x6efd0c),_0x2bfa3e['extent']&&this[_0x372ce7(0xbf)]()['fit'](_0x2bfa3e['extent']),this[_0x372ce7(0xdb)]=new a52_0x575dce(this),this['controlManager']=new a52_0x59cbce(this),this[_0x372ce7(0xd1)]=_0x2bfa3e;}[a52_0x118347(0xbf)](){const _0x401f1c=a52_0x118347;return super[_0x401f1c(0xbf)]();}[a52_0x118347(0xc6)](_0x3b0fd0){const _0x106e26=a52_0x118347;var _0x112927;this['getView']()[_0x106e26(0x94)](transformExtent(_0x3b0fd0[_0x106e26(0x88)],(_0x112927=_0x3b0fd0[_0x106e26(0xc9)])===null||_0x112927===void 0x0?void 0x0:_0x112927[_0x106e26(0xa1)](),this[_0x106e26(0xbf)]()[_0x106e26(0xa2)]()[_0x106e26(0xa1)]()));}['fitLayerById'](_0x16e481){const _0x3cb307=a52_0x118347;let _0x3d7007=this[_0x3cb307(0x85)](_0x16e481);_0x3d7007&&this['fitLayer'](_0x3d7007);}async['addMapLayer'](_0x32307e){const _0x25a058=a52_0x118347;let _0x4a48d3;switch(_0x32307e[_0x25a058(0xd2)]){case'arcgis-feature':_0x4a48d3=await a52_0x1145c8[_0x25a058(0x90)](_0x32307e);break;case _0x25a058(0xa9):_0x4a48d3=await a52_0x1145c8[_0x25a058(0x99)](_0x32307e);break;case'arcgis-tile':_0x4a48d3=await a52_0x1145c8[_0x25a058(0x91)](_0x32307e);break;case _0x25a058(0xc5):_0x4a48d3=await a52_0x1145c8['getArcgisWmsLayer'](_0x32307e);break;case'arcgis-wmts':_0x4a48d3=await a52_0x1145c8['getArcgisWMTSLayer'](_0x32307e);break;case _0x25a058(0x95):_0x4a48d3=await a52_0x1145c8[_0x25a058(0xa6)](_0x32307e);break;case _0x25a058(0xc2):_0x4a48d3=await a52_0x1145c8[_0x25a058(0xb7)](_0x32307e);break;case _0x25a058(0x9e):_0x4a48d3=await a52_0x1145c8[_0x25a058(0xe6)](_0x32307e);break;case _0x25a058(0xba):_0x4a48d3=await a52_0x1145c8['getGeoserverVectorTileLayer'](_0x32307e);break;case _0x25a058(0xcc):_0x4a48d3=await a52_0x1145c8[_0x25a058(0xda)](_0x32307e);break;default:throw new Error(_0x25a058(0x8b)+_0x32307e[_0x25a058(0xd2)]+'】服务类型');}return this[_0x25a058(0xe9)](_0x4a48d3),this[_0x25a058(0xd0)](new ChangeLayerEvent(_0x25a058(0x9a),[_0x32307e['id']],_0x25a058(0xe4))),_0x4a48d3;}async[a52_0x118347(0xab)](_0x24c6fb){const _0x10e6dc=a52_0x118347;let _0x219c00=[];const _0x5b57e8=[];for(let _0x3dc9c5=0x0;_0x3dc9c5<_0x24c6fb['length'];_0x3dc9c5++){const _0x41ff89=_0x24c6fb[_0x3dc9c5];_0x5b57e8[_0x10e6dc(0xeb)](_0x41ff89['id']),_0x219c00[_0x10e6dc(0xeb)](this[_0x10e6dc(0xd6)](_0x41ff89));}const _0x92ca6d=await Promise['all'](_0x219c00);return this[_0x10e6dc(0xd0)](new ChangeLayerEvent(_0x10e6dc(0x9a),_0x5b57e8,'add')),_0x92ca6d;}[a52_0x118347(0xe9)](_0x2cb837,_0xef3270=![]){const _0x1d4c25=a52_0x118347,_0x28a974=_0x2cb837,_0x134a4f=this[_0x1d4c25(0x85)](_0x28a974['id']);if(_0x134a4f==null){const _0x269dad=_0x28a974[_0x1d4c25(0x92)]==undefined||_0x28a974[_0x1d4c25(0x92)]['minScale']==undefined||_0x28a974[_0x1d4c25(0x92)][_0x1d4c25(0x87)]<0x0?undefined:calculateResolution(_0x28a974[_0x1d4c25(0x92)][_0x1d4c25(0x87)],this[_0x1d4c25(0xbf)]()[_0x1d4c25(0xa2)]()[_0x1d4c25(0xd4)]()||0x0);_0x2cb837[_0x1d4c25(0xd8)](_0x269dad);const _0x43b21a=_0x28a974['layerInfo']==undefined||_0x28a974[_0x1d4c25(0x92)]['maxScale']==undefined||_0x28a974['layerInfo'][_0x1d4c25(0xac)]<0x0?undefined:calculateResolution(_0x28a974[_0x1d4c25(0x92)][_0x1d4c25(0xac)],this[_0x1d4c25(0xbf)]()[_0x1d4c25(0xa2)]()[_0x1d4c25(0xd4)]()||0x0);_0x2cb837[_0x1d4c25(0xbe)](_0x43b21a);const _0x5daf5d=this[_0x1d4c25(0xd7)]()['getArray']()[_0x1d4c25(0xa0)];if(!this['_options']['projection']&&_0x5daf5d==0x0&&_0x28a974[_0x1d4c25(0xc9)]&&_0x28a974[_0x1d4c25(0xc9)][_0x1d4c25(0xa1)]()!=this[_0x1d4c25(0xbf)]()[_0x1d4c25(0xa2)]()[_0x1d4c25(0xa1)]()){}let _0x5c0f1e=_0x2cb837['getZIndex']();_0x5c0f1e!=undefined&&_0x5c0f1e>_0x5daf5d&&(_0x5c0f1e=_0x5daf5d),this[_0x1d4c25(0xd7)]()[_0x1d4c25(0x96)](_0x5c0f1e==undefined?_0x5daf5d:_0x5c0f1e,_0x2cb837),_0xef3270&&this['fitLayer'](_0x28a974);}}[a52_0x118347(0xe2)](_0x5d0ef6){const _0x464f2b=a52_0x118347,_0x3b22cd=this[_0x464f2b(0x85)](_0x5d0ef6);_0x3b22cd&&(this['removeLayer'](_0x3b22cd),this[_0x464f2b(0xd0)](new ChangeLayerEvent('changelayer',[_0x5d0ef6],_0x464f2b(0xaf))));}['getLayerById'](_0x5054ac){const _0x1bfc0b=a52_0x118347;let _0x592698,_0x44e0be=this[_0x1bfc0b(0xd7)]()[_0x1bfc0b(0xbc)]();for(let _0x548234=0x0;_0x548234<_0x44e0be[_0x1bfc0b(0xa0)];_0x548234++){let _0x45d943=_0x44e0be[_0x548234]['id'];if(_0x5054ac==_0x45d943){_0x592698=_0x44e0be[_0x548234];break;}}return _0x592698;}[a52_0x118347(0x97)](_0x3b68f0){const _0x1aa3be=a52_0x118347;let _0x405cb8,_0x3f3d10=this[_0x1aa3be(0xd7)]()[_0x1aa3be(0xbc)]();for(let _0x2db71e=0x0;_0x2db71e<_0x3f3d10['length'];_0x2db71e++){const _0xf505d4=_0x3f3d10[_0x2db71e][_0x1aa3be(0x92)];if(!_0xf505d4)continue;let _0x21c083=_0xf505d4['layerTag'];if(_0x21c083==_0x3b68f0){_0x405cb8=_0x3f3d10[_0x2db71e];break;}}return _0x405cb8;}[a52_0x118347(0xb6)](_0x2d2d79){const _0x27da44=a52_0x118347;let _0x424b8e=this[_0x27da44(0xd7)]()[_0x27da44(0xbc)]();return _0x424b8e[_0x27da44(0xa4)](_0x54eea2=>_0x2d2d79[_0x27da44(0x89)](_0x54eea2['id']));}[a52_0x118347(0xa3)](_0x4f92dd){const _0x373782=a52_0x118347;let _0x510182,_0x220625=this[_0x373782(0xd7)]()['getArray']();for(let _0x39266e=0x0;_0x39266e<_0x220625[_0x373782(0xa0)];_0x39266e++){const _0xb0eec9=_0x220625[_0x39266e];if(_0xb0eec9['id']===_0x4f92dd){_0x510182=_0xb0eec9;break;}}if(!_0x510182){_0x510182=new a52_0x965aeb({'zIndex':0x270f,'source':new a52_0x1d4aa4()}),_0x510182['id']=_0x4f92dd;const _0x12dc03=this[_0x373782(0xd7)]()['getLength']();switch(_0x4f92dd){case _0x373782(0xb9):this[_0x373782(0xd7)]()[_0x373782(0x96)](_0x12dc03-0x1>-0x1?_0x12dc03-0x1:0x0,_0x510182);break;case _0x373782(0x8d):this[_0x373782(0xd7)]()[_0x373782(0x96)](_0x12dc03-0x2>-0x1?_0x12dc03-0x2:0x0,_0x510182);break;case _0x373782(0xbd):this[_0x373782(0xd7)]()['insertAt'](_0x12dc03,_0x510182);break;default:break;}}return _0x510182;}[a52_0x118347(0x9f)](){const _0x8d094e=a52_0x118347;return this[_0x8d094e(0xa3)](_0x8d094e(0xbd));}[a52_0x118347(0xe0)](){const _0x141700=a52_0x118347;return this[_0x141700(0xa3)](_0x141700(0xb9));}[a52_0x118347(0x9d)](){const _0x4c417c=a52_0x118347;return this['getTempLayerById'](_0x4c417c(0x8d));}['getTempLayerByGeoType'](_0x26a990){const _0x5080df=a52_0x118347;let _0x287cb0=this['getPointTempLayer']();switch(_0x26a990){case _0x5080df(0xcb):case _0x5080df(0xd9):_0x287cb0=this[_0x5080df(0x9f)]();case _0x5080df(0xdc):case _0x5080df(0xa5):_0x287cb0=this['getLineTempLayer']();case _0x5080df(0x8a):case _0x5080df(0xce):_0x287cb0=this['getPolygonTempLayer']();}return _0x287cb0;}[a52_0x118347(0xa7)](_0x12bb4c){const _0x19dd74=a52_0x118347;let _0x3c4e0a=this['getView']()[_0x19dd74(0xe5)](),_0x50bddf=this[_0x19dd74(0xbf)]()['getMaxZoom']();registerProj(_0x12bb4c),this['getView']()[_0x19dd74(0xe1)](_0x12bb4c);}[a52_0x118347(0xe3)](){const _0x4fec98=a52_0x118347;let _0x16ddaa=[];_0x16ddaa[_0x4fec98(0xeb)](this[_0x4fec98(0x9f)]()),_0x16ddaa[_0x4fec98(0xeb)](this['getLineTempLayer']()),_0x16ddaa[_0x4fec98(0xeb)](this[_0x4fec98(0x9d)]());const _0x1adac3=this['getLayers']()['getArray']()['length'];for(let _0x598e7b=0x0;_0x598e7b<_0x16ddaa[_0x4fec98(0xa0)];_0x598e7b++){const _0x4bb192=_0x16ddaa[_0x598e7b];this['getLayers']()['insertAt'](_0x1adac3-_0x598e7b-0x1,_0x4bb192);}}[a52_0x118347(0x8e)](){const _0x239c72=a52_0x118347;return this[_0x239c72(0xbf)]()['calculateExtent'](this[_0x239c72(0xe7)]());}[a52_0x118347(0xdd)](_0x1de749,_0x475acc,_0xd3793a,_0x451fd7=!![],_0x331750={'color':a52_0x118347(0x93),'opacity':0.2,'outlineColor':a52_0x118347(0xca),'outlineWidth':0x2}){const _0x3414e4=a52_0x118347;var _0x2defcf;const _0xa56fd0=fromWKT(_0x1de749,_0x475acc,this['getView']()[_0x3414e4(0xa2)]()[_0x3414e4(0xa1)]());if(!_0xa56fd0)return;const _0x238ba9=this[_0x3414e4(0xb3)](_0xa56fd0[_0x3414e4(0xcf)]()),_0xafeade=getStyle(_0x331750),_0x38e865=new a52_0x1a9393();_0x38e865[_0x3414e4(0xae)](_0xa56fd0),_0x38e865['setStyle'](_0xafeade),_0x38e865[_0x3414e4(0xb2)]=_0xd3793a,(_0x2defcf=_0x238ba9[_0x3414e4(0x84)]())===null||_0x2defcf===void 0x0?void 0x0:_0x2defcf['addFeature'](_0x38e865),_0x451fd7&&this[_0x3414e4(0xd5)](_0xa56fd0,undefined,1.2,![]);}['addWKTs'](_0x636c0e,_0x20d0cb,_0x70385,_0xf01b5f=!![],_0x1b264d={'color':a52_0x118347(0x93),'opacity':0.2,'outlineColor':'rgba(255,\x200,\x200,\x201)','outlineWidth':0x2}){const _0x22fcaf=a52_0x118347;var _0x2db906;const _0x2b32d9=fromWKTs(_0x636c0e,_0x20d0cb,this[_0x22fcaf(0xbf)]()['getProjection']()[_0x22fcaf(0xa1)]());if(!_0x2b32d9||_0x2b32d9[_0x22fcaf(0xa0)]==0x0)return;const _0x2f1858=this[_0x22fcaf(0xb3)](_0x2b32d9[0x0][_0x22fcaf(0xcf)]()),_0x90fb91=getStyle(_0x1b264d);let _0x32d0a4=[];for(const _0x182215 of _0x2b32d9){const _0x5b997f=new a52_0x1a9393();_0x5b997f[_0x22fcaf(0xae)](_0x182215),_0x5b997f[_0x22fcaf(0xc8)](_0x90fb91),_0x5b997f[_0x22fcaf(0xb4)]=_0x22fcaf(0xaa),_0x5b997f['isSelected']=!![],_0x5b997f[_0x22fcaf(0xb2)]=_0x70385,_0x32d0a4[_0x22fcaf(0xeb)](_0x5b997f);}(_0x2db906=_0x2f1858[_0x22fcaf(0x84)]())===null||_0x2db906===void 0x0?void 0x0:_0x2db906['addFeatures'](_0x32d0a4),_0xf01b5f&&this[_0x22fcaf(0xb8)](_0x2b32d9,undefined,1.2,![]);}[a52_0x118347(0xde)](_0x410c62,_0x38231b,_0x3f63d3=1.2,_0x59b182=!![]){const _0x2ee370=a52_0x118347;if(!_0x410c62)return;let _0x2ce282=fromWKT(_0x410c62,_0x38231b,this['getView']()['getProjection']()[_0x2ee370(0xa1)]());if(!_0x2ce282)return;this['locationGeometry'](_0x2ce282,_0x38231b,_0x3f63d3,_0x59b182);}[a52_0x118347(0x86)](_0x28e883,_0x590020,_0x470430=1.2,_0x4525c6=!![]){const _0x25f064=a52_0x118347;if(!_0x28e883||_0x28e883[_0x25f064(0xa0)]===0x0)return;const _0x125ad3=[];for(let _0x1c66e5=0x0;_0x1c66e5<_0x28e883[_0x25f064(0xa0)];_0x1c66e5++){let _0x263c45=_0x28e883[_0x1c66e5],_0x4bfab7=fromWKT(_0x263c45,_0x590020,this[_0x25f064(0xbf)]()[_0x25f064(0xa2)]()[_0x25f064(0xa1)]());if(!_0x4bfab7)continue;_0x125ad3[_0x25f064(0xeb)](_0x4bfab7);}this[_0x25f064(0xb8)](_0x125ad3,_0x590020,_0x470430,_0x4525c6);}[a52_0x118347(0xd5)](_0x44a8ad,_0x527dd3,_0x33bcfa=1.2,_0x2001b3=!![]){const _0x2b9e9a=a52_0x118347;if(!_0x44a8ad)return;let _0x3dab58=_0x44a8ad;_0x527dd3&&(_0x3dab58=_0x44a8ad[_0x2b9e9a(0xb5)](_0x527dd3,this[_0x2b9e9a(0xbf)]()[_0x2b9e9a(0xa2)]()));switch(_0x3dab58['getType']()){case _0x2b9e9a(0xcb):this[_0x2b9e9a(0xbf)]()[_0x2b9e9a(0x98)](_0x3dab58['getCoordinates']());break;case _0x2b9e9a(0x8a):case _0x2b9e9a(0xd9):case _0x2b9e9a(0xa5):case'MultiPolygon':case _0x2b9e9a(0xbb):this[_0x2b9e9a(0xbf)]()[_0x2b9e9a(0x94)](expandExtent(_0x3dab58['getExtent'](),_0x33bcfa));break;}if(_0x2001b3){const _0xe9b392=new a52_0x99b79d(this);_0xe9b392['flashGeometrys']([_0x3dab58],0x3);}}[a52_0x118347(0xb8)](_0x55ff8f,_0x28fe8e,_0x22149c=1.2,_0x1af4fa=!![]){const _0x1f83b4=a52_0x118347;if(!_0x55ff8f||_0x55ff8f[_0x1f83b4(0xa0)]===0x0)return;let _0x2869f8=null;for(const _0x43b54e of _0x55ff8f){_0x2869f8?_0x2869f8=union(_0x2869f8,_0x43b54e):_0x2869f8=_0x43b54e;}_0x2869f8&&this[_0x1f83b4(0xd5)](_0x2869f8,_0x28fe8e,_0x22149c,![]);if(_0x1af4fa){const _0x53e5f0=new a52_0x99b79d(this);_0x53e5f0['flashGeometrys'](_0x55ff8f,0x3);}}}
|
package/mapView/View.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a53_0xbdf0(_0x5e886a,_0x5189a9){var _0x3d91a4=a53_0x3d91();return a53_0xbdf0=function(_0xbdf0e0,_0x52c0b8){_0xbdf0e0=_0xbdf0e0-0x150;var _0x4dd604=_0x3d91a4[_0xbdf0e0];return _0x4dd604;},a53_0xbdf0(_0x5e886a,_0x5189a9);}function a53_0x3d91(){var _0x309dcd=['3mXYadW','13CjwYHL','projection_','7935471LKorcz','1778484EhaTah','135911etnAse','4PwUUMz','4864008ZkTVqL','170VtJIeB','1764344CLsGYJ','5bQKSOS','setProjection','252xHccWE','58201ULHJaa','196312NsNZvH'];a53_0x3d91=function(){return _0x309dcd;};return a53_0x3d91();}var a53_0x47e8f6=a53_0xbdf0;(function(_0xedf555,_0x32f221){var _0xc30efa=a53_0xbdf0,_0x4faae6=_0xedf555();while(!![]){try{var _0x46ce58=parseInt(_0xc30efa(0x154))/0x1*(parseInt(_0xc30efa(0x155))/0x2)+parseInt(_0xc30efa(0x15e))/0x3*(-parseInt(_0xc30efa(0x158))/0x4)+parseInt(_0xc30efa(0x159))/0x5*(-parseInt(_0xc30efa(0x156))/0x6)+-parseInt(_0xc30efa(0x15b))/0x7*(-parseInt(_0xc30efa(0x15d))/0x8)+parseInt(_0xc30efa(0x152))/0x9+-parseInt(_0xc30efa(0x157))/0xa*(parseInt(_0xc30efa(0x15c))/0xb)+-parseInt(_0xc30efa(0x153))/0xc*(-parseInt(_0xc30efa(0x150))/0xd);if(_0x46ce58===_0x32f221)break;else _0x4faae6['push'](_0x4faae6['shift']());}catch(_0x102fe2){_0x4faae6['push'](_0x4faae6['shift']());}}}(a53_0x3d91,0xcdebb));import a53_0x49f531 from'ol/View';import{get}from'ol/proj';export default class OLView extends a53_0x49f531{constructor(_0x3a97c4){super(_0x3a97c4);}[a53_0x47e8f6(0x15a)](_0x3e5e01){var _0x5682aa=a53_0x47e8f6;this[_0x5682aa(0x151)]=get(_0x3e5e01),this['setProperties']({'projection_':get(_0x3e5e01)});}}
|
package/package.json
CHANGED
package/plot/Plot.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5e7377,_0xdcb24f){const _0x83e7b3=a61_0x373e,_0x5cdf24=_0x5e7377();while(!![]){try{const _0x2d3e11=-parseInt(_0x83e7b3(0x108))/0x1*(-parseInt(_0x83e7b3(0x103))/0x2)+parseInt(_0x83e7b3(0xf7))/0x3+parseInt(_0x83e7b3(0x10f))/0x4*(parseInt(_0x83e7b3(0xfc))/0x5)+-parseInt(_0x83e7b3(0xfe))/0x6*(-parseInt(_0x83e7b3(0x101))/0x7)+-parseInt(_0x83e7b3(0xfb))/0x8+-parseInt(_0x83e7b3(0x104))/0x9+parseInt(_0x83e7b3(0x106))/0xa*(parseInt(_0x83e7b3(0x10a))/0xb);if(_0x2d3e11===_0xdcb24f)break;else _0x5cdf24['push'](_0x5cdf24['shift']());}catch(_0x83ec10){_0x5cdf24['push'](_0x5cdf24['shift']());}}}(a61_0x2ffe,0x46929));import a61_0x2e4157 from'../entity/GeometryType';import a61_0x311328 from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';import{getPolygonStyle}from'../style/PolygonStyleFormat';import a61_0x4201d2 from'./geometry/polygon/RectAngle';import a61_0x521f1a from'./geometry/polyline/Polyline';function a61_0x2ffe(){const _0x392d56=['ArrowAttack','190531GrcgLV','pointermove','Polygon','Circle','Ellipsoid','213340Bchuwu','ArrowPincerlike','Rectangle','Ellipse','233598KqgAaT','AssemblySite','toLowerCase','Point','155512HeSFCZ','5RTZVea','MAX_VALUE','150JYWqIj','PolyLine','SurfaceClosed','119735hfvRsF','Curve','142056dLdZWZ','3671595trPazD','assign','50VSvxIJ','Arrow','1tJhLre'];a61_0x2ffe=function(){return _0x392d56;};return a61_0x2ffe();}import a61_0x2d70d5 from'./geometry/point/Point';function a61_0x373e(_0x1085f0,_0xd8a61f){const _0x2ffe33=a61_0x2ffe();return a61_0x373e=function(_0x373e5a,_0x369051){_0x373e5a=_0x373e5a-0xf5;let _0xa9e8fb=_0x2ffe33[_0x373e5a];return _0xa9e8fb;},a61_0x373e(_0x1085f0,_0xd8a61f);}import a61_0x37dd1b from'./geometry/polygon/Circle';const defaultStyle={'color':[0x40,0xaf,0xc1,0.08],'fill':!![],'opacity':0.6,'outline':!![],'outlineColor':[0x40,0xaf,0xc1,0x1],'outlineOpacity':0.6,'outlineWidth':0x2};export function createPlot(_0x2ce804,_0x2f9122){const _0x1fd355=a61_0x373e;_0x2ce804=_0x2ce804[_0x1fd355(0xf9)]();switch(_0x2ce804){case a61_0x2e4157[_0x1fd355(0xfa)]:case _0x1fd355(0x10b):return new a61_0x2d70d5(_0x2f9122);case a61_0x2e4157['PolyLine']:return new a61_0x521f1a(_0x2f9122);case a61_0x2e4157[_0x1fd355(0x10d)]:return new a61_0x37dd1b(_0x2f9122);case a61_0x2e4157[_0x1fd355(0xf5)]:return new a61_0x4201d2(_0x2f9122);case a61_0x2e4157[_0x1fd355(0x10c)]:return new a61_0x311328(_0x2f9122);}}export function getPlotCount(_0xf3fab5){const _0x12b387=a61_0x373e;_0xf3fab5=_0xf3fab5[_0x12b387(0xf9)]();let _0x2245a0={'fixPoint':0x0,'minPoint':0x0};switch(_0xf3fab5){case a61_0x2e4157[_0x12b387(0xfa)]:_0x2245a0={'fixPoint':0x1,'minPoint':0x0};break;case a61_0x2e4157['PolyLine']:_0x2245a0={'fixPoint':Number['MAX_VALUE'],'minPoint':0x1};break;case a61_0x2e4157['Polygon']:_0x2245a0={'fixPoint':Number[_0x12b387(0xfd)],'minPoint':0x2};break;case a61_0x2e4157[_0x12b387(0xf5)]:_0x2245a0={'fixPoint':0x2,'minPoint':0x1};break;case a61_0x2e4157[_0x12b387(0x10d)]:_0x2245a0={'fixPoint':0x2,'minPoint':0x1};break;case a61_0x2e4157[_0x12b387(0x102)]:_0x2245a0={'fixPoint':Number[_0x12b387(0xfd)],'minPoint':0x1};break;case a61_0x2e4157[_0x12b387(0xf6)]:case a61_0x2e4157[_0x12b387(0x10e)]:_0x2245a0={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x2245a0;}export function getStyle(_0x406ccf,_0x11ff57,_0x11a171){const _0x3e4951=a61_0x373e;_0x406ccf=_0x406ccf['toLowerCase'](),_0x11ff57=Object[_0x3e4951(0x105)](Object['assign']({},defaultStyle),_0x11ff57);switch(_0x406ccf){case a61_0x2e4157['Point']:return function(_0x15d03c,_0x56bc19){return getPointSingleStyle(_0x406ccf,_0x11ff57,_0x56bc19,_0x11a171);};case a61_0x2e4157[_0x3e4951(0xff)]:case a61_0x2e4157['Curve']:return function(_0x18f378,_0x57414e){return getPolylineStyle(_0x11ff57,'',_0x57414e,_0x11a171);};case a61_0x2e4157[_0x3e4951(0x10d)]:case a61_0x2e4157[_0x3e4951(0xf5)]:case a61_0x2e4157[_0x3e4951(0xf6)]:case a61_0x2e4157[_0x3e4951(0x10e)]:case a61_0x2e4157[_0x3e4951(0x100)]:case a61_0x2e4157['Polygon']:case a61_0x2e4157[_0x3e4951(0x109)]:case a61_0x2e4157[_0x3e4951(0x110)]:case a61_0x2e4157[_0x3e4951(0x107)]:case a61_0x2e4157[_0x3e4951(0xf8)]:return function(_0x1b8b2c,_0x8855f5){return getPolygonStyle(_0x11ff57,'',_0x8855f5,_0x11a171);};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a54_0x134b(){var _0x415b50=['传入的不是地图对象!','1438440UFBdPB','isPlot','4065972EpcITY','map','points','length','type','setPoints','setStyle','380485MWCozX','stringify','8QLckZs','779304hMJDAC','10426725eEmaoM','setCoordinates','getPlotType','4490Ahmcxq','updateLastPoint','1372tkUWsU','finishDrawing','826605InjKTt','updatePoint','generate'];a54_0x134b=function(){return _0x415b50;};return a54_0x134b();}var a54_0x11e36b=a54_0x5ba4;(function(_0x8823,_0x47b8f4){var _0x491ece=a54_0x5ba4,_0x5cb60a=_0x8823();while(!![]){try{var _0x24a295=parseInt(_0x491ece(0x1e9))/0x1+parseInt(_0x491ece(0x1ed))/0x2+-parseInt(_0x491ece(0x1e1))/0x3+parseInt(_0x491ece(0x1e7))/0x4*(-parseInt(_0x491ece(0x1e5))/0x5)+parseInt(_0x491ece(0x1ef))/0x6+parseInt(_0x491ece(0x1de))/0x7*(-parseInt(_0x491ece(0x1e0))/0x8)+-parseInt(_0x491ece(0x1e2))/0x9;if(_0x24a295===_0x47b8f4)break;else _0x5cb60a['push'](_0x5cb60a['shift']());}catch(_0x575094){_0x5cb60a['push'](_0x5cb60a['shift']());}}}(a54_0x134b,0x6c1c9));import{Map}from'ol';function a54_0x5ba4(_0x50d4b5,_0x5d83ad){var _0x134bf8=a54_0x134b();return a54_0x5ba4=function(_0x5ba44c,_0x495f82){_0x5ba44c=_0x5ba44c-0x1de;var _0x92ade3=_0x134bf8[_0x5ba44c];return _0x92ade3;},a54_0x5ba4(_0x50d4b5,_0x5d83ad);}import{Point as a54_0x5c144b}from'ol/geom';class Point extends a54_0x5c144b{constructor(_0x2ee55c){var _0x210521=a54_0x5ba4;super([]),this[_0x210521(0x1f3)]='Point',this[_0x210521(0x1f1)]=_0x2ee55c,this[_0x210521(0x1f4)](_0x2ee55c);}[a54_0x11e36b(0x1e4)](){var _0x3fc44d=a54_0x11e36b;return this[_0x3fc44d(0x1f3)];}['generate'](){var _0x8e3f55=a54_0x11e36b;this[_0x8e3f55(0x1e3)](this[_0x8e3f55(0x1f1)][0x0]);}['setMap'](_0x2bfbd3){var _0xb0c52d=a54_0x11e36b;if(_0x2bfbd3&&_0x2bfbd3 instanceof Map)this[_0xb0c52d(0x1f0)]=_0x2bfbd3;else throw new Error(_0xb0c52d(0x1ec));}['getMap'](){var _0x2faad9=a54_0x11e36b;return this[_0x2faad9(0x1f0)];}[a54_0x11e36b(0x1ee)](){return!![];}[a54_0x11e36b(0x1f4)](_0xb12750){var _0xe45402=a54_0x11e36b;_0xb12750&&_0xb12750['length']>=0x1&&(this['points']=_0xb12750,this[_0xe45402(0x1eb)]());}['getPoints'](){var _0x4d42d6=a54_0x11e36b;return this[_0x4d42d6(0x1f1)];}['updatePoint'](_0x5022b5,_0x4d5a12){var _0x53993e=a54_0x11e36b;_0x4d5a12>=0x0&&_0x4d5a12<this[_0x53993e(0x1f1)]['length']&&(this[_0x53993e(0x1f1)][_0x4d5a12]=_0x5022b5,this[_0x53993e(0x1eb)]());}[a54_0x11e36b(0x1e6)](_0x344b73){var _0x35e0df=a54_0x11e36b;this[_0x35e0df(0x1ea)](_0x344b73,this[_0x35e0df(0x1f1)][_0x35e0df(0x1f2)]-0x1);}[a54_0x11e36b(0x1e8)](){}[a54_0x11e36b(0x1f5)](_0x9483dc){var _0x3529e8=a54_0x11e36b;this['style']=JSON['parse'](JSON[_0x3529e8(0x1df)](_0x9483dc));}}export default Point;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a55_0x47194f=a55_0x2195;function a55_0xcb6c(){var _0x453ec9=['length','717180eAKTqf','393834ITyMAs','parse','5400304xWrdhu','slice','stringify','generate','writeGeometryObject','传入的不是地图对象!','getPoints','isPlot','4YQjNDH','map','getGeoJson','getType','649550SNIiOL','getPointCount','type','2192029dEIbDe','33994ntVaHt','finishDrawing','setPoints','1152096LlDwGK','points','setStyle'];a55_0xcb6c=function(){return _0x453ec9;};return a55_0xcb6c();}function a55_0x2195(_0x35c4fe,_0x7de267){var _0xcb6c20=a55_0xcb6c();return a55_0x2195=function(_0x2195b0,_0x5b8561){_0x2195b0=_0x2195b0-0x1e6;var _0x135bbd=_0xcb6c20[_0x2195b0];return _0x135bbd;},a55_0x2195(_0x35c4fe,_0x7de267);}(function(_0x29fdbe,_0x49f704){var _0x561245=a55_0x2195,_0x2f8264=_0x29fdbe();while(!![]){try{var _0x50da21=-parseInt(_0x561245(0x1f9))/0x1+parseInt(_0x561245(0x1f1))/0x2*(parseInt(_0x561245(0x1e7))/0x3)+parseInt(_0x561245(0x1fc))/0x4+parseInt(_0x561245(0x1f5))/0x5+-parseInt(_0x561245(0x1e6))/0x6+parseInt(_0x561245(0x1f8))/0x7+-parseInt(_0x561245(0x1e9))/0x8;if(_0x50da21===_0x49f704)break;else _0x2f8264['push'](_0x2f8264['shift']());}catch(_0x3794df){_0x2f8264['push'](_0x2f8264['shift']());}}}(a55_0xcb6c,0x284d3));import{Polygon}from'ol/geom';import a55_0x4793b5 from'ol/format/GeoJSON';import a55_0x2b0e89 from'../../../mapView/Map';class BasePolygon extends Polygon{constructor(){var _0x594954=a55_0x2195;super([]),this[_0x594954(0x1fd)]=[];}[a55_0x47194f(0x1f4)](){var _0x2b8db4=a55_0x47194f;return this[_0x2b8db4(0x1f7)]?this['type']:super[_0x2b8db4(0x1f4)]();}[a55_0x47194f(0x1f3)](){var _0x510bff=a55_0x47194f;return new a55_0x4793b5()[_0x510bff(0x1ed)](this);}[a55_0x47194f(0x1fe)](_0x3dd12d){var _0x196443=a55_0x47194f;_0x3dd12d&&(this['style']=JSON[_0x196443(0x1e8)](JSON[_0x196443(0x1eb)](_0x3dd12d)));}['setMap'](_0x27c7e5){var _0x2f8126=a55_0x47194f;if(_0x27c7e5&&_0x27c7e5 instanceof a55_0x2b0e89)this[_0x2f8126(0x1f2)]=_0x27c7e5;else throw new Error(_0x2f8126(0x1ee));}['getMap'](){var _0x575956=a55_0x47194f;return this[_0x575956(0x1f2)];}[a55_0x47194f(0x1f0)](){return!![];}[a55_0x47194f(0x1fb)](_0x49817f){var _0x1cdfcb=a55_0x47194f;this[_0x1cdfcb(0x1fd)]=!_0x49817f?[]:_0x49817f,this[_0x1cdfcb(0x1fd)][_0x1cdfcb(0x1ff)]>=0x1&&this['generate']();}[a55_0x47194f(0x1ec)](){}[a55_0x47194f(0x1ef)](){var _0x9aa1e8=a55_0x47194f;return this['points'][_0x9aa1e8(0x1ea)](0x0);}[a55_0x47194f(0x1f6)](){var _0x4a4ef3=a55_0x47194f;return this[_0x4a4ef3(0x1fd)][_0x4a4ef3(0x1ff)];}[a55_0x47194f(0x1fa)](){}}export default BasePolygon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a56_0x1a195c=a56_0x1c3a;(function(_0x3cc88b,_0x4e398d){const _0x4870ce=a56_0x1c3a,_0x3fde62=_0x3cc88b();while(!![]){try{const _0x195de6=-parseInt(_0x4870ce(0x96))/0x1*(-parseInt(_0x4870ce(0x9d))/0x2)+-parseInt(_0x4870ce(0xa9))/0x3+-parseInt(_0x4870ce(0xa1))/0x4*(parseInt(_0x4870ce(0xa7))/0x5)+parseInt(_0x4870ce(0xa0))/0x6*(-parseInt(_0x4870ce(0x9b))/0x7)+parseInt(_0x4870ce(0x9f))/0x8+-parseInt(_0x4870ce(0xa4))/0x9+parseInt(_0x4870ce(0x9c))/0xa;if(_0x195de6===_0x4e398d)break;else _0x3fde62['push'](_0x3fde62['shift']());}catch(_0x5bbcd3){_0x3fde62['push'](_0x3fde62['shift']());}}}(a56_0x4232,0x7b683));import{Circle as a56_0x136381}from'ol/geom';import a56_0x5c8b86 from'ol/format/GeoJSON';function a56_0x4232(){const _0xdbaa05=['setCenterAndRadius','setCenter','6759Idtgvv','generate','getRadius','writeGeometryObject','setPoints','56YyFmDs','734810ERjkje','226iXoDfs','toRadians','7993200yudRGt','76572IzslSW','4dorfER','updatePoint','sqrt','2267082NpvpUZ','points','type','3117540vnJBeZ','getGeoJson','1060263osOkkS','length'];a56_0x4232=function(){return _0xdbaa05;};return a56_0x4232();}import{offset}from'ol/sphere';import{squaredDistance as a56_0x5cd095}from'ol/coordinate';import{fromCircle}from'ol/geom/Polygon';import{compareArray}from'../../../utils/ArrayUtil';class Circle extends a56_0x136381{constructor(_0x17e020){const _0x23703b=a56_0x1c3a;super([]),this[_0x23703b(0xa5)]=_0x17e020,this[_0x23703b(0xa6)]='Circle',_0x17e020&&_0x17e020['length']>0x0&&this[_0x23703b(0x9a)](_0x17e020);}['setPoints'](_0x182867){const _0x1b2880=a56_0x1c3a;var _0x578a8d;((_0x578a8d=this['points'])===null||_0x578a8d===void 0x0?void 0x0:_0x578a8d[_0x1b2880(0x93)])>0x0&&(_0x182867===null||_0x182867===void 0x0?void 0x0:_0x182867[_0x1b2880(0x93)])>0x0&&!compareArray(this[_0x1b2880(0xa5)][0x0],_0x182867[0x0])?this[_0x1b2880(0x95)](_0x182867[0x0]):(this[_0x1b2880(0xa5)]=!_0x182867?[]:_0x182867,this[_0x1b2880(0xa5)][_0x1b2880(0x93)]>=0x1&&(this[_0x1b2880(0x97)]&&this[_0x1b2880(0x97)]()));}[a56_0x1a195c(0x97)](){const _0x519d65=a56_0x1a195c;let _0x47016e=this[_0x519d65(0xa5)]['length'];if(_0x47016e<0x2)return![];else{const _0x5ed59c=this[_0x519d65(0xa5)][0x0],_0x43acd1=a56_0x5cd095(_0x5ed59c,this[_0x519d65(0xa5)][0x1]);this[_0x519d65(0x94)](_0x5ed59c,Math[_0x519d65(0xa3)](_0x43acd1));}}['setCenter'](_0x1753cf){const _0x3423df=a56_0x1a195c;this['setCenter'](_0x1753cf),this[_0x3423df(0xa5)]=[_0x1753cf,offset(_0x1753cf,this[_0x3423df(0x98)](),this[_0x3423df(0x9e)](0x5a))],this[_0x3423df(0x97)]();}['toRadians'](_0x5583b9){return _0x5583b9*Math['PI']/0xb4;}[a56_0x1a195c(0xa8)](){const _0x4ac260=a56_0x1a195c;return new a56_0x5c8b86()[_0x4ac260(0x99)](fromCircle(this));}[a56_0x1a195c(0xa2)](_0x509862,_0x201d82){const _0x523f18=a56_0x1a195c;_0x201d82>=0x0&&_0x201d82<this[_0x523f18(0xa5)]['length']&&(this[_0x523f18(0xa5)][_0x201d82]=_0x509862,this[_0x523f18(0x97)]());}['updateLastPoint'](_0x5f038e){const _0x13b85f=a56_0x1a195c;this[_0x13b85f(0xa2)](_0x5f038e,this[_0x13b85f(0xa5)][_0x13b85f(0x93)]-0x1);}}function a56_0x1c3a(_0x4a69b9,_0x282eb7){const _0x42327d=a56_0x4232();return a56_0x1c3a=function(_0x1c3ac8,_0x1da192){_0x1c3ac8=_0x1c3ac8-0x93;let _0x443fdb=_0x42327d[_0x1c3ac8];return _0x443fdb;},a56_0x1c3a(_0x4a69b9,_0x282eb7);}export default Circle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a57_0x132ac8=a57_0x5f19;(function(_0xef9a1b,_0x2c8997){const _0x303300=a57_0x5f19,_0x584518=_0xef9a1b();while(!![]){try{const _0x32a4fe=parseInt(_0x303300(0x1e6))/0x1*(-parseInt(_0x303300(0x1ee))/0x2)+-parseInt(_0x303300(0x1f4))/0x3*(parseInt(_0x303300(0x1e4))/0x4)+-parseInt(_0x303300(0x1f2))/0x5+parseInt(_0x303300(0x1dc))/0x6+parseInt(_0x303300(0x1e1))/0x7*(-parseInt(_0x303300(0x1e5))/0x8)+-parseInt(_0x303300(0x1ec))/0x9*(parseInt(_0x303300(0x1df))/0xa)+-parseInt(_0x303300(0x1ea))/0xb*(-parseInt(_0x303300(0x1e7))/0xc);if(_0x32a4fe===_0x2c8997)break;else _0x584518['push'](_0x584518['shift']());}catch(_0x26a827){_0x584518['push'](_0x584518['shift']());}}}(a57_0xc9a0,0x44bfb));function a57_0xc9a0(){const _0x56f297=['35228IrTARv','16RNFnPc','470180tNccKf','12gUiRyU','stringify','length','17166281jEJmvX','getPointCount','405PqHPxa','setPoints','2YqjKpW','push','parse','_closed','1655625Ejyvtc','setCoordinates','105uCHuec','Polygon','1801092VDxfTN','isPlot','points','45660qUEAJj','updateLastPoint','924483AXpuIY','generate','updatePoint'];a57_0xc9a0=function(){return _0x56f297;};return a57_0xc9a0();}import a57_0x408c33 from'./BasePolygon';function a57_0x5f19(_0x28588e,_0x81a043){const _0xc9a0dd=a57_0xc9a0();return a57_0x5f19=function(_0x5f19f3,_0x4f2f22){_0x5f19f3=_0x5f19f3-0x1dc;let _0x211007=_0xc9a0dd[_0x5f19f3];return _0x211007;},a57_0x5f19(_0x28588e,_0x81a043);}import{getDeepth}from'../../../utils/ArrayUtil';class Polygon extends a57_0x408c33{constructor(_0x21f0cc){const _0x47742c=a57_0x5f19;super(),this['type']=_0x47742c(0x1f5),_0x21f0cc&&_0x21f0cc['length']>0x0&&getDeepth(_0x21f0cc)==0x2?this[_0x47742c(0x1ed)](_0x21f0cc):this[_0x47742c(0x1f3)](_0x21f0cc);}[a57_0x132ac8(0x1f1)](_0xf3cb08){const _0x10ce38=a57_0x132ac8;let _0x48fc29=_0xf3cb08[0x0],_0x7c81b=_0xf3cb08[_0xf3cb08[_0x10ce38(0x1e9)]-0x1];return _0x48fc29[0x0]===_0x7c81b[0x0]&&_0x48fc29[0x1]===_0x7c81b[0x1]&&_0x48fc29[0x2]===_0x7c81b[0x2];}[a57_0x132ac8(0x1e2)](){const _0xac61ef=a57_0x132ac8;let _0x44ed7b=this[_0xac61ef(0x1eb)]();if(_0x44ed7b<0x2)return![];else{let _0x17dccc=JSON[_0xac61ef(0x1f0)](JSON[_0xac61ef(0x1e8)](this['points']));_0x44ed7b>=0x3&&(!this[_0xac61ef(0x1f1)](_0x17dccc)&&_0x17dccc[_0xac61ef(0x1ef)](_0x17dccc[0x0])),this[_0xac61ef(0x1f3)]([_0x17dccc]);}}[a57_0x132ac8(0x1e3)](_0x26944e,_0x32a31e){const _0x4d42b7=a57_0x132ac8;_0x32a31e>=0x0&&_0x32a31e<this[_0x4d42b7(0x1de)]['length']&&(this['points'][_0x32a31e]=_0x26944e,this[_0x4d42b7(0x1e2)]());}[a57_0x132ac8(0x1dd)](){return![];}[a57_0x132ac8(0x1e0)](_0x2c97b2){const _0x1a6480=a57_0x132ac8;this[_0x1a6480(0x1e3)](_0x2c97b2,this[_0x1a6480(0x1de)]['length']-0x1);}}export default Polygon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a58_0x16f4(_0x32cc26,_0x31a25f){const _0x5af575=a58_0x5af5();return a58_0x16f4=function(_0x16f4fb,_0x24ba78){_0x16f4fb=_0x16f4fb-0x88;let _0x338004=_0x5af575[_0x16f4fb];return _0x338004;},a58_0x16f4(_0x32cc26,_0x31a25f);}const a58_0x499462=a58_0x16f4;function a58_0x5af5(){const _0x8772d4=['1405170pulpJl','1SecZCX','84cjpGKP','149190ZkcEKN','generate','1842096pLTbFi','343576FWyJub','803132PanXFm','points','36xDRgFm','356079UWHYpD','updatePoint','1600124lXGxIU','length','21aPiOVo','getCoordinates','updateLastPoint','setPoints','type'];a58_0x5af5=function(){return _0x8772d4;};return a58_0x5af5();}(function(_0x13d87f,_0x3068fd){const _0x44b761=a58_0x16f4,_0x387e30=_0x13d87f();while(!![]){try{const _0x31fa12=-parseInt(_0x44b761(0x97))/0x1*(-parseInt(_0x44b761(0x8f))/0x2)+parseInt(_0x44b761(0x8d))/0x3+-parseInt(_0x44b761(0x88))/0x4+parseInt(_0x44b761(0x99))/0x5*(-parseInt(_0x44b761(0x98))/0x6)+-parseInt(_0x44b761(0x91))/0x7*(parseInt(_0x44b761(0x89))/0x8)+parseInt(_0x44b761(0x8c))/0x9*(parseInt(_0x44b761(0x96))/0xa)+parseInt(_0x44b761(0x8a))/0xb;if(_0x31fa12===_0x3068fd)break;else _0x387e30['push'](_0x387e30['shift']());}catch(_0x3f05be){_0x387e30['push'](_0x387e30['shift']());}}}(a58_0x5af5,0x857b2));import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a58_0x3b7d3d from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a58_0x3b7d3d{constructor(_0x3e5a5a){const _0x18673e=a58_0x16f4;super(),this[_0x18673e(0x95)]='Polygon',_0x3e5a5a&&_0x3e5a5a[_0x18673e(0x90)]>0x0&&getDeepth(_0x3e5a5a)==0x2?this[_0x18673e(0x94)](_0x3e5a5a):this['setCoordinates'](_0x3e5a5a);}[a58_0x499462(0x9a)](){const _0x2721cf=a58_0x499462;if(this[_0x2721cf(0x8b)][_0x2721cf(0x90)]===0x2){let _0x5691d6=[],_0x5a4425=boundingExtent(this['points']),_0x59b580=fromExtent(_0x5a4425);_0x5691d6=_0x59b580[_0x2721cf(0x92)](),this['setCoordinates'](_0x5691d6);}}[a58_0x499462(0x8e)](_0x5b77ae,_0x579b17){const _0x475679=a58_0x499462;_0x579b17>=0x0&&_0x579b17<this[_0x475679(0x8b)][_0x475679(0x90)]&&(this['points'][_0x579b17]=_0x5b77ae,this[_0x475679(0x9a)]());}[a58_0x499462(0x93)](_0x4ece82){const _0x418eb6=a58_0x499462;this['updatePoint'](_0x4ece82,this['points'][_0x418eb6(0x90)]-0x1);}}export default RectAngle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a59_0x178625=a59_0xf5e2;(function(_0x4d458a,_0x2871c2){var _0x599789=a59_0xf5e2,_0x4a004d=_0x4d458a();while(!![]){try{var _0xc20e70=parseInt(_0x599789(0x14d))/0x1+parseInt(_0x599789(0x163))/0x2+parseInt(_0x599789(0x159))/0x3+parseInt(_0x599789(0x161))/0x4*(parseInt(_0x599789(0x154))/0x5)+-parseInt(_0x599789(0x152))/0x6+parseInt(_0x599789(0x162))/0x7+parseInt(_0x599789(0x157))/0x8;if(_0xc20e70===_0x2871c2)break;else _0x4a004d['push'](_0x4a004d['shift']());}catch(_0x5e10a8){_0x4a004d['push'](_0x4a004d['shift']());}}}(a59_0x1ab1,0x301ff));import{LineString}from'ol/geom';function a59_0x1ab1(){var _0x3dd12c=['stringify','292965MqBSpc','setStyle','points','126392iMuhbN','传入的不是地图对象!','265536DOnsfY','setMap','generate','style','map','slice','getPoints','getMap','4fyEFVE','423885BLgZtw','150120CdDevQ','220171RRSrtm','getPlotType','writeGeometryObject','finishDrawing','isPlot','1929426uRmAFh'];a59_0x1ab1=function(){return _0x3dd12c;};return a59_0x1ab1();}import a59_0x37653f from'ol/format/GeoJSON';import a59_0x19d6a2 from'../../../mapView/Map';class Plot extends LineString{constructor(){var _0x2e6a1e=a59_0xf5e2;super([]),this[_0x2e6a1e(0x156)]=[];}[a59_0x178625(0x14e)](){return this['type'];}['getGeoJson'](){var _0x145e31=a59_0x178625;return new a59_0x37653f()[_0x145e31(0x14f)](this);}[a59_0x178625(0x155)](_0x3a30e3){var _0x281a14=a59_0x178625;this[_0x281a14(0x15c)]=JSON['parse'](JSON[_0x281a14(0x153)](_0x3a30e3));}[a59_0x178625(0x15a)](_0x5d85ea){var _0x5505ea=a59_0x178625;if(_0x5d85ea&&_0x5d85ea instanceof a59_0x19d6a2)this[_0x5505ea(0x15d)]=_0x5d85ea;else throw new Error(_0x5505ea(0x158));}[a59_0x178625(0x160)](){return this['map'];}[a59_0x178625(0x151)](){return!![];}['setPoints'](_0x5d5a7b){var _0x7149ac=a59_0x178625;this[_0x7149ac(0x156)]=!_0x5d5a7b?[]:_0x5d5a7b,this['points']['length']>=0x1&&(this['generate']&&this[_0x7149ac(0x15b)]());}[a59_0x178625(0x15b)](){}[a59_0x178625(0x15f)](){var _0x292b93=a59_0x178625;return this[_0x292b93(0x156)][_0x292b93(0x15e)](0x0);}['getPointCount'](){return this['points']['length'];}[a59_0x178625(0x150)](){}}function a59_0xf5e2(_0x3e0dc0,_0x13866f){var _0x1ab1e6=a59_0x1ab1();return a59_0xf5e2=function(_0xf5e222,_0x412ae9){_0xf5e222=_0xf5e222-0x14d;var _0x26c5ff=_0x1ab1e6[_0xf5e222];return _0x26c5ff;},a59_0xf5e2(_0x3e0dc0,_0x13866f);}export default Plot;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a60_0x37ac(_0x117966,_0x3383b6){var _0x23d665=a60_0x23d6();return a60_0x37ac=function(_0x37acb3,_0xace1a){_0x37acb3=_0x37acb3-0x17d;var _0xc9c260=_0x23d665[_0x37acb3];return _0xc9c260;},a60_0x37ac(_0x117966,_0x3383b6);}var a60_0x54edfb=a60_0x37ac;(function(_0xb725e9,_0x192ea8){var _0x4fdd86=a60_0x37ac,_0x5dedab=_0xb725e9();while(!![]){try{var _0x3c23e4=-parseInt(_0x4fdd86(0x18e))/0x1*(-parseInt(_0x4fdd86(0x186))/0x2)+parseInt(_0x4fdd86(0x189))/0x3*(parseInt(_0x4fdd86(0x190))/0x4)+parseInt(_0x4fdd86(0x18b))/0x5*(-parseInt(_0x4fdd86(0x182))/0x6)+-parseInt(_0x4fdd86(0x183))/0x7*(parseInt(_0x4fdd86(0x17d))/0x8)+parseInt(_0x4fdd86(0x180))/0x9+-parseInt(_0x4fdd86(0x18f))/0xa*(-parseInt(_0x4fdd86(0x187))/0xb)+parseInt(_0x4fdd86(0x184))/0xc*(parseInt(_0x4fdd86(0x181))/0xd);if(_0x3c23e4===_0x192ea8)break;else _0x5dedab['push'](_0x5dedab['shift']());}catch(_0x468d06){_0x5dedab['push'](_0x5dedab['shift']());}}}(a60_0x23d6,0x8bf18));import a60_0x306fca from'./BaseLine';function a60_0x23d6(){var _0x314058=['stringify','6796EYsGvq','70nvwSCt','82564ZFjuIB','generate','style','32gcIAdb','type','points','2056995mqdXDv','3848hvDYTG','6gEnOiE','1873627vikzlR','10344gUlIQp','setStyle','140NHEdrT','627154uWoCCa','updateLastPoint','48niGQFY','setCoordinates','224645xUWcDc','length'];a60_0x23d6=function(){return _0x314058;};return a60_0x23d6();}class Polyline extends a60_0x306fca{constructor(_0x490887){var _0x37bd9a=a60_0x37ac;super(),this[_0x37bd9a(0x17e)]='LineString',this[_0x37bd9a(0x18a)](_0x490887);}[a60_0x54edfb(0x191)](){var _0x49022e=a60_0x54edfb;this[_0x49022e(0x18a)](this[_0x49022e(0x17f)]);}['updatePoint'](_0x9e7fc0,_0x25a8c8){var _0x3e5612=a60_0x54edfb;_0x25a8c8>=0x0&&_0x25a8c8<this[_0x3e5612(0x17f)][_0x3e5612(0x18c)]&&(this[_0x3e5612(0x17f)][_0x25a8c8]=_0x9e7fc0,this[_0x3e5612(0x191)]());}[a60_0x54edfb(0x188)](_0x55abab){var _0x4283cc=a60_0x54edfb;this['updatePoint'](_0x55abab,this['points'][_0x4283cc(0x18c)]-0x1);}['isPlot'](){return![];}[a60_0x54edfb(0x185)](_0xe9ccc2){var _0x5e0dc0=a60_0x54edfb;this[_0x5e0dc0(0x192)]=JSON['parse'](JSON[_0x5e0dc0(0x18d)](_0xe9ccc2));}}export default Polyline;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x994d1b,_0x397678){const _0x1efb8c=a63_0x2588,_0x79c4ff=_0x994d1b();while(!![]){try{const _0xe9c2ff=parseInt(_0x1efb8c(0x197))/0x1+parseInt(_0x1efb8c(0x17f))/0x2*(parseInt(_0x1efb8c(0x19e))/0x3)+parseInt(_0x1efb8c(0x169))/0x4*(-parseInt(_0x1efb8c(0x1a1))/0x5)+parseInt(_0x1efb8c(0x160))/0x6*(parseInt(_0x1efb8c(0x193))/0x7)+parseInt(_0x1efb8c(0x1a0))/0x8*(-parseInt(_0x1efb8c(0x1aa))/0x9)+parseInt(_0x1efb8c(0x194))/0xa+-parseInt(_0x1efb8c(0x1a2))/0xb*(parseInt(_0x1efb8c(0x195))/0xc);if(_0xe9c2ff===_0x397678)break;else _0x79c4ff['push'](_0x79c4ff['shift']());}catch(_0x1b9b0b){_0x79c4ff['push'](_0x79c4ff['shift']());}}}(a63_0x27e7,0xbc8c9));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a63_0x27cc72 from'ol/style/Style';import a63_0x22d36a from'ol/style/Circle';import a63_0x3e9701 from'ol/style/Fill';function a63_0x2588(_0x2c4f2c,_0x56ace8){const _0x27e7c2=a63_0x27e7();return a63_0x2588=function(_0x258831,_0x753a1d){_0x258831=_0x258831-0x160;let _0x13bb53=_0x27e7c2[_0x258831];return _0x13bb53;},a63_0x2588(_0x2c4f2c,_0x56ace8);}function a63_0x27e7(){const _0x213513=['getFlatMidpoint','getContext','4WWszQt','modelKind','markerColor','color','match','globalAlpha','model','drawImage','geometry','.png','width','warn','rotation','length','zIndex','getStride','parse','image','BOTTOM','pixelSize','radius','CENTER','18BdYGCm','restore','stringify','show','height','model/','pixelRatio','point','scale','horizontalOrigin','RIGHT','text','getFlatInteriorPoints','pixelOffsetX','rotate','MultiPolygon','translate','changeColor','push','pixelOffset','175LBPeCy','11514050LwEugw','313188EuPbGH','verticalOrigin','307298MkrBMC','toUpperCase','data','label','outlineWidth','outlineColor','context','273267RqnBmx','putImageData','8SGfqcz','2058065rzGrZn','803ozzlaP','opacity','TOP','LineString','MultiLineString','MultiPoint','getImageData','cloud','2980053vXZwjx','274020bPeCcP','LEFT','save','getType','getFlatInteriorPoint','billboard','outline'];a63_0x27e7=function(){return _0x213513;};return a63_0x27e7();}import a63_0x785d5f from'ol/style/Stroke';function getMainStyle(_0x2fd2cf,_0xde0e4a=0x0,_0x7b89d2){const _0x57ecf9=a63_0x2588;let _0x286044;return _0x2fd2cf['image']||_0x2fd2cf[_0x57ecf9(0x16b)]?_0x286044=new a63_0x27cc72({'renderer':(_0x1bc343,_0xdc519f)=>{preLoadImageRenderFunction(_0x2fd2cf,_0x1bc343,_0xdc519f,_0x7b89d2,_rendererFunction);},'zIndex':Number(_0xde0e4a)}):_0x286044=new a63_0x27cc72({'image':new a63_0x22d36a({'radius':_0x2fd2cf[_0x57ecf9(0x17d)]?_0x2fd2cf[_0x57ecf9(0x17d)]:_0x2fd2cf[_0x57ecf9(0x17c)],'fill':new a63_0x3e9701({'color':getColor(_0x2fd2cf['color'],_0x2fd2cf[_0x57ecf9(0x1a3)])}),'stroke':_0x2fd2cf[_0x57ecf9(0x166)]&&_0x2fd2cf['outlineColor']?new a63_0x785d5f({'color':getColor(_0x2fd2cf[_0x57ecf9(0x19c)],_0x2fd2cf['outlineOpacity']),'width':_0x2fd2cf[_0x57ecf9(0x19b)]}):undefined}),'zIndex':Number(_0xde0e4a)}),_0x286044;}function _rendererFunction(_0x1fb796,_0x182f48,_0x3c5c08,_0x5f1ca4,_0x43a90d){const _0x394d3f=a63_0x2588;if(!_0x43a90d||_0x43a90d[_0x394d3f(0x173)]===0x0){let _0x29e25b=new Image();_0x29e25b['src']=_0x1fb796[_0x394d3f(0x17a)];}if(_0x1fb796[_0x394d3f(0x190)]&&_0x1fb796[_0x394d3f(0x16c)]!==''){let _0x434b88=_0x1fb796[_0x394d3f(0x187)]||0x1,_0xb59011=_0x1fb796[_0x394d3f(0x173)]||_0x43a90d[_0x394d3f(0x173)]*_0x434b88,_0x5a088b=_0x1fb796[_0x394d3f(0x183)]||_0x43a90d['height']*_0x434b88;_0xb59011=_0xb59011*_0x3c5c08['pixelRatio'],_0x5a088b=_0x5a088b*_0x3c5c08['pixelRatio'];const _0x73a419=document['createElement']('canvas');_0x73a419[_0x394d3f(0x173)]=_0xb59011,_0x73a419['height']=_0x5a088b;const _0x44e4e0=_0x73a419[_0x394d3f(0x168)]('2d');_0x44e4e0===null||_0x44e4e0===void 0x0?void 0x0:_0x44e4e0[_0x394d3f(0x170)](_0x43a90d,0x0,0x0,_0xb59011,_0x5a088b);let _0x3eaac9=_0x44e4e0===null||_0x44e4e0===void 0x0?void 0x0:_0x44e4e0[_0x394d3f(0x1a8)](0x0,0x0,_0xb59011,_0x5a088b),_0xfa76bf=_0x3eaac9===null||_0x3eaac9===void 0x0?void 0x0:_0x3eaac9[_0x394d3f(0x199)];_0x43a90d=_0x73a419;let _0x36b30a=HexToRgb(_0x1fb796[_0x394d3f(0x16c)]);if(_0xfa76bf&&_0x36b30a)for(var _0x4b5b2a=0x0;_0x4b5b2a<_0xfa76bf[_0x394d3f(0x176)];_0x4b5b2a+=0x4){_0xfa76bf[_0x4b5b2a]=_0x36b30a[0x0],_0xfa76bf[_0x4b5b2a+0x1]=_0x36b30a[0x1],_0xfa76bf[_0x4b5b2a+0x2]=_0x36b30a[0x2];}_0x3eaac9&&(_0x44e4e0===null||_0x44e4e0===void 0x0?void 0x0:_0x44e4e0[_0x394d3f(0x19f)](_0x3eaac9,0x0,0x0));}let _0x611a34=_0x3c5c08[_0x394d3f(0x171)],_0x40c73f=_0x3c5c08[_0x394d3f(0x185)],_0x1afb3b=_0x611a34[_0x394d3f(0x178)](),_0x37d8b8=_0x611a34[_0x394d3f(0x163)](),_0x4dd0af=[];switch(_0x37d8b8){case _0x394d3f(0x1a5):_0x4dd0af=_0x611a34[_0x394d3f(0x167)]();break;case _0x394d3f(0x1a6):_0x4dd0af=_0x611a34['getFlatMidpoints'](),_0x1afb3b=0x2;break;case'Polygon':_0x4dd0af=_0x611a34[_0x394d3f(0x164)](),_0x1afb3b=0x3;break;case _0x394d3f(0x18e):{let _0x1db9d0=_0x611a34[_0x394d3f(0x18b)]();_0x4dd0af=[];for(let _0xb0fbda=0x0,_0x35a821=_0x1db9d0['length'];_0xb0fbda<_0x35a821;_0xb0fbda+=0x3){_0x4dd0af['push'](_0x1db9d0[_0xb0fbda],_0x1db9d0[_0xb0fbda+0x1]);}if(_0x4dd0af['length']===0x0)return;_0x1afb3b=0x2;break;}}if(_0x4dd0af[_0x394d3f(0x176)]>0x0&&_0x5f1ca4)for(let _0x7add4=0x0,_0x1c55a8=_0x4dd0af[_0x394d3f(0x176)];_0x7add4<_0x1c55a8;_0x7add4+=_0x1afb3b){let _0x10f4e6=[_0x4dd0af[_0x7add4],_0x4dd0af[_0x7add4+0x1]],_0xd5d33=_0x5f1ca4['getPixelFromCoordinate'](_0x10f4e6);_0xd5d33=[_0xd5d33[0x0]*_0x40c73f,_0xd5d33[0x1]*_0x40c73f],drawImage(_0x1fb796,_0xd5d33,_0x3c5c08,_0x43a90d);}else{if(_0x37d8b8===_0x394d3f(0x1a7))for(let _0x4d83ca of _0x182f48){drawImage(_0x1fb796,_0x4d83ca,_0x3c5c08,_0x43a90d);}else drawImage(_0x1fb796,_0x182f48,_0x3c5c08,_0x43a90d);}}function HexToRgb(_0x528dbe){const _0x24bd83=a63_0x2588;_0x528dbe=_0x528dbe['replace']('#','');let _0x3e61d2=_0x528dbe[_0x24bd83(0x16d)](/../g);if(_0x3e61d2){for(let _0x3082ff=0x0;_0x3082ff<0x3;_0x3082ff++)_0x3e61d2[_0x3082ff]=parseInt(_0x3e61d2[_0x3082ff],0x10);}return _0x3e61d2;}export function getImageOlStyle(_0x5e3867,_0xced534,_0x235746,_0x46c4a6){const _0x245d6b=a63_0x2588;var _0x2b7182;if(_0x5e3867&&_0x5e3867[_0x245d6b(0x182)]!==![]){_0x5e3867=JSON[_0x245d6b(0x179)](JSON[_0x245d6b(0x181)](_0x5e3867)),_0xced534=(_0x2b7182=_0x5e3867[_0x245d6b(0x177)])!==null&&_0x2b7182!==void 0x0?_0x2b7182:_0xced534;let _0x10f5c4=isShowStyle(_0x5e3867,_0x235746,_0x46c4a6);if(_0x10f5c4)return _0x5e3867[_0x245d6b(0x17a)]=parseImage(_0x5e3867['image']),getMainStyle(_0x5e3867,_0xced534,_0x46c4a6);}}export function getPointStyle(_0x394d71,_0x2c4b71,_0x50cd9f,_0xc8691f){const _0x3b0a21=a63_0x2588;var _0x2e8693,_0x6e4a98;_0x394d71=JSON[_0x3b0a21(0x179)](JSON[_0x3b0a21(0x181)](_0x394d71));let _0x254413=(_0x2e8693=_0x394d71[_0x3b0a21(0x177)])!==null&&_0x2e8693!==void 0x0?_0x2e8693:0x0,_0x387c2f=[],_0x2e329d=getImageOlStyle(_0x394d71,_0x254413,_0x50cd9f,_0xc8691f);_0x2e329d&&_0x387c2f[_0x3b0a21(0x191)](_0x2e329d);let _0x46e2fd=getImageOlStyle(_0x394d71[_0x3b0a21(0x165)],_0x254413,_0x50cd9f,_0xc8691f);_0x46e2fd&&_0x387c2f[_0x3b0a21(0x191)](_0x46e2fd);if(_0x394d71[_0x3b0a21(0x16f)]&&_0x394d71[_0x3b0a21(0x16f)][_0x3b0a21(0x182)]!==![]){let _0x4ec2ad=isShowStyle(_0x394d71[_0x3b0a21(0x16f)],_0x50cd9f,_0xc8691f);if(_0x4ec2ad){let _0x442666=(_0x6e4a98=_0x394d71[_0x3b0a21(0x16f)][_0x3b0a21(0x177)])!==null&&_0x6e4a98!==void 0x0?_0x6e4a98:_0x254413,_0x368366=_0x394d71[_0x3b0a21(0x16f)]['imgUrl']||_0x3b0a21(0x184)+_0x394d71[_0x3b0a21(0x16f)][_0x3b0a21(0x16a)]+_0x3b0a21(0x172);_0x394d71[_0x3b0a21(0x187)]=0x1,_0x394d71[_0x3b0a21(0x173)]=0x30,_0x394d71[_0x3b0a21(0x183)]=0x30,_0x394d71['verticalOrigin']=_0x3b0a21(0x17e),_0x387c2f[_0x3b0a21(0x191)](getMainStyle(_0x394d71[_0x3b0a21(0x16f)],_0x442666,_0xc8691f));}}if(_0x394d71['label']&&_0x394d71[_0x3b0a21(0x19a)][_0x3b0a21(0x182)]!==![]){let _0x1afb15=new a63_0x27cc72({'text':createTextStyle(_0x394d71[_0x3b0a21(0x19a)],_0x2c4b71,_0x50cd9f,_0xc8691f),'zIndex':Number(_0x254413)+0x1});_0x387c2f['push'](_0x1afb15);}return _0x387c2f;}export function getPointSingleStyle(_0x22a62c,_0x236cf6,_0x465d5f,_0x4e711c){const _0x3d9afc=a63_0x2588;_0x236cf6=JSON[_0x3d9afc(0x179)](JSON[_0x3d9afc(0x181)](_0x236cf6));let _0x2d858c=_0x236cf6['label'],_0x1a2104;_0x2d858c&&(_0x1a2104=_0x2d858c[_0x3d9afc(0x18a)]?_0x2d858c[_0x3d9afc(0x18a)]:'');if(_0x22a62c===_0x3d9afc(0x165))return _0x236cf6['image']=parseImage(_0x236cf6['image']),getPointStyle(_0x236cf6,_0x1a2104,_0x465d5f,_0x4e711c);else{if(_0x22a62c===_0x3d9afc(0x16f)){let _0x45e720=_0x236cf6['imgUrl']||'model/'+_0x236cf6['modelKind']+_0x3d9afc(0x172);return _0x236cf6[_0x3d9afc(0x187)]=0x1,_0x236cf6['width']=0x30,_0x236cf6[_0x3d9afc(0x183)]=0x30,_0x236cf6[_0x3d9afc(0x196)]=_0x3d9afc(0x17e),getPointStyle(_0x236cf6,_0x1a2104,_0x465d5f,_0x4e711c);}else{if(_0x22a62c===_0x3d9afc(0x1a9))return getPointStyle(_0x236cf6,_0x1a2104,_0x465d5f,_0x4e711c);else{if(_0x22a62c===_0x3d9afc(0x186))return getPointStyle(_0x236cf6,_0x1a2104,_0x465d5f,_0x4e711c);else return _0x22a62c===_0x3d9afc(0x19a)?new a63_0x27cc72({'text':createTextStyle(_0x236cf6,_0x236cf6['text'],_0x465d5f,_0x4e711c),'zIndex':_0x236cf6[_0x3d9afc(0x177)]}):getPointStyle(_0x236cf6,_0x1a2104,_0x465d5f,_0x4e711c);}}}}function drawImage(_0x1b89b8,_0x54bfef,_0x23c0f9,_0x3a2bde){const _0x550047=a63_0x2588;var _0x939421,_0x490c50,_0x207a0a,_0x445cb8;let _0x54a885=_0x23c0f9[_0x550047(0x19d)];try{_0x54a885[_0x550047(0x162)]();let _0x9b335=Number(_0x1b89b8[_0x550047(0x18c)]||((_0x939421=_0x1b89b8[_0x550047(0x192)])===null||_0x939421===void 0x0?void 0x0:_0x939421[0x0])||0x0),_0x3d8d29=Number(_0x1b89b8['pixelOffsetY']||((_0x490c50=_0x1b89b8[_0x550047(0x192)])===null||_0x490c50===void 0x0?void 0x0:_0x490c50[0x1])||0x0);_0x54a885[_0x550047(0x18f)](_0x54bfef[0x0]+_0x9b335,_0x54bfef[0x1]+_0x3d8d29);if(_0x1b89b8[_0x550047(0x175)])_0x54a885[_0x550047(0x18d)](toRadians(_0x1b89b8[_0x550047(0x175)]));_0x54a885[_0x550047(0x16e)]=_0x1b89b8[_0x550047(0x1a3)]!=null?_0x1b89b8[_0x550047(0x1a3)]:0x1;if(_0x3a2bde[_0x550047(0x173)]>0x0){let _0x25f40f=_0x1b89b8[_0x550047(0x187)]||0x1,_0x4e441d=_0x1b89b8[_0x550047(0x173)]||_0x3a2bde[_0x550047(0x173)]*_0x25f40f,_0x384ce9=_0x1b89b8[_0x550047(0x183)]||_0x3a2bde[_0x550047(0x183)]*_0x25f40f;_0x4e441d=_0x4e441d*_0x23c0f9[_0x550047(0x185)],_0x384ce9=_0x384ce9*_0x23c0f9['pixelRatio'];_0x1b89b8[_0x550047(0x190)]&&(_0x4e441d=_0x3a2bde[_0x550047(0x173)],_0x384ce9=_0x3a2bde['height']);let _0x2a34e5;switch((_0x207a0a=_0x1b89b8[_0x550047(0x188)])===null||_0x207a0a===void 0x0?void 0x0:_0x207a0a[_0x550047(0x198)]()){default:case _0x550047(0x17e):_0x2a34e5=-_0x4e441d/0x2;break;case _0x550047(0x161):_0x2a34e5=0x0;break;case _0x550047(0x189):_0x2a34e5=-_0x4e441d;break;}let _0x3e2189;switch((_0x445cb8=_0x1b89b8[_0x550047(0x196)])===null||_0x445cb8===void 0x0?void 0x0:_0x445cb8[_0x550047(0x198)]()){default:case _0x550047(0x17b):_0x3e2189=-_0x384ce9;break;case _0x550047(0x17e):_0x3e2189=-_0x384ce9/0x2;break;case _0x550047(0x1a4):_0x3e2189=0x0;break;}_0x54a885['drawImage'](_0x3a2bde,_0x2a34e5,_0x3e2189,_0x4e441d,_0x384ce9);}else _0x54a885[_0x550047(0x170)](_0x3a2bde,0x0,0x0);_0x54a885[_0x550047(0x180)]();}catch(_0x3c6e75){_0x54a885['restore'](),console[_0x550047(0x174)](_0x3c6e75);}}
|
|
1
|
+
(function(_0x4ee22a,_0xee9c65){const _0x4a4c60=a63_0x4987,_0x3eccb3=_0x4ee22a();while(!![]){try{const _0x2d8c9e=-parseInt(_0x4a4c60(0x1ae))/0x1*(-parseInt(_0x4a4c60(0x171))/0x2)+parseInt(_0x4a4c60(0x1ad))/0x3+parseInt(_0x4a4c60(0x1a0))/0x4*(parseInt(_0x4a4c60(0x177))/0x5)+parseInt(_0x4a4c60(0x18b))/0x6+parseInt(_0x4a4c60(0x18e))/0x7*(-parseInt(_0x4a4c60(0x175))/0x8)+-parseInt(_0x4a4c60(0x1a2))/0x9*(-parseInt(_0x4a4c60(0x173))/0xa)+-parseInt(_0x4a4c60(0x190))/0xb;if(_0x2d8c9e===_0xee9c65)break;else _0x3eccb3['push'](_0x3eccb3['shift']());}catch(_0x236bf6){_0x3eccb3['push'](_0x3eccb3['shift']());}}}(a63_0x31bc,0x76727));function a63_0x4987(_0x4ee62e,_0x3f05f6){const _0x31bc78=a63_0x31bc();return a63_0x4987=function(_0x4987f9,_0x4ab488){_0x4987f9=_0x4987f9-0x16e;let _0x5f234a=_0x31bc78[_0x4987f9];return _0x5f234a;},a63_0x4987(_0x4ee62e,_0x3f05f6);}import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a63_0x3219ff from'ol/style/Style';import a63_0xcfb648 from'ol/style/Circle';import a63_0x28f8df from'ol/style/Fill';import a63_0x2d8a17 from'ol/style/Stroke';function getMainStyle(_0x3d3949,_0x14a68b=0x0,_0x26a126){const _0x3c8857=a63_0x4987;let _0xc9d736;return _0x3d3949[_0x3c8857(0x172)]||_0x3d3949[_0x3c8857(0x178)]?_0xc9d736=new a63_0x3219ff({'renderer':(_0x5f5c92,_0x7adc81)=>{preLoadImageRenderFunction(_0x3d3949,_0x5f5c92,_0x7adc81,_0x26a126,_rendererFunction);},'zIndex':Number(_0x14a68b)}):_0xc9d736=new a63_0x3219ff({'image':new a63_0xcfb648({'radius':_0x3d3949[_0x3c8857(0x183)]?_0x3d3949[_0x3c8857(0x183)]:_0x3d3949[_0x3c8857(0x184)],'fill':new a63_0x28f8df({'color':getColor(_0x3d3949[_0x3c8857(0x1b6)],_0x3d3949[_0x3c8857(0x17e)])}),'stroke':_0x3d3949[_0x3c8857(0x1af)]&&_0x3d3949[_0x3c8857(0x18a)]?new a63_0x2d8a17({'color':getColor(_0x3d3949[_0x3c8857(0x18a)],_0x3d3949['outlineOpacity']),'width':_0x3d3949['outlineWidth']}):undefined}),'zIndex':Number(_0x14a68b)}),_0xc9d736;}function _rendererFunction(_0x15c3d2,_0x374712,_0x2d3dd9,_0x574f31,_0x1da23d){const _0x30ab5b=a63_0x4987;if(!_0x1da23d||_0x1da23d['width']===0x0){let _0x16cd01=new Image();_0x16cd01[_0x30ab5b(0x1a1)]=_0x15c3d2[_0x30ab5b(0x172)];}if(_0x15c3d2[_0x30ab5b(0x17c)]&&_0x15c3d2[_0x30ab5b(0x1b6)]!==''){let _0x5bacd3=_0x15c3d2[_0x30ab5b(0x18d)]||0x1,_0xeb163e=_0x15c3d2[_0x30ab5b(0x182)]||_0x1da23d['width']*_0x5bacd3,_0xe0ba5=_0x15c3d2[_0x30ab5b(0x179)]||_0x1da23d[_0x30ab5b(0x179)]*_0x5bacd3;_0xeb163e=_0xeb163e*_0x2d3dd9['pixelRatio'],_0xe0ba5=_0xe0ba5*_0x2d3dd9[_0x30ab5b(0x19c)];const _0x1db160=document[_0x30ab5b(0x19a)](_0x30ab5b(0x185));_0x1db160[_0x30ab5b(0x182)]=_0xeb163e,_0x1db160[_0x30ab5b(0x179)]=_0xe0ba5;const _0x1058e5=_0x1db160[_0x30ab5b(0x197)]('2d');_0x1058e5===null||_0x1058e5===void 0x0?void 0x0:_0x1058e5['drawImage'](_0x1da23d,0x0,0x0,_0xeb163e,_0xe0ba5);let _0x58141b=_0x1058e5===null||_0x1058e5===void 0x0?void 0x0:_0x1058e5[_0x30ab5b(0x193)](0x0,0x0,_0xeb163e,_0xe0ba5),_0x42f0d7=_0x58141b===null||_0x58141b===void 0x0?void 0x0:_0x58141b[_0x30ab5b(0x17d)];_0x1da23d=_0x1db160;let _0x2f8359=HexToRgb(_0x15c3d2[_0x30ab5b(0x1b6)]);if(_0x42f0d7&&_0x2f8359)for(var _0x2f1460=0x0;_0x2f1460<_0x42f0d7[_0x30ab5b(0x17f)];_0x2f1460+=0x4){_0x42f0d7[_0x2f1460]=_0x2f8359[0x0],_0x42f0d7[_0x2f1460+0x1]=_0x2f8359[0x1],_0x42f0d7[_0x2f1460+0x2]=_0x2f8359[0x2];}_0x58141b&&(_0x1058e5===null||_0x1058e5===void 0x0?void 0x0:_0x1058e5[_0x30ab5b(0x1ab)](_0x58141b,0x0,0x0));}let _0x823c87=_0x2d3dd9[_0x30ab5b(0x17b)],_0x499145=_0x2d3dd9[_0x30ab5b(0x19c)],_0xb3e5b1=_0x823c87[_0x30ab5b(0x19d)](),_0x2a603b=_0x823c87[_0x30ab5b(0x16f)](),_0x4b111e=[];switch(_0x2a603b){case _0x30ab5b(0x1a7):_0x4b111e=_0x823c87[_0x30ab5b(0x188)]();break;case _0x30ab5b(0x18f):_0x4b111e=_0x823c87['getFlatMidpoints'](),_0xb3e5b1=0x2;break;case _0x30ab5b(0x194):_0x4b111e=_0x823c87[_0x30ab5b(0x1aa)](),_0xb3e5b1=0x3;break;case _0x30ab5b(0x19e):{let _0x3671c1=_0x823c87[_0x30ab5b(0x19b)]();_0x4b111e=[];for(let _0x423a8f=0x0,_0x410a8f=_0x3671c1[_0x30ab5b(0x17f)];_0x423a8f<_0x410a8f;_0x423a8f+=0x3){_0x4b111e['push'](_0x3671c1[_0x423a8f],_0x3671c1[_0x423a8f+0x1]);}if(_0x4b111e[_0x30ab5b(0x17f)]===0x0)return;_0xb3e5b1=0x2;break;}}if(_0x4b111e[_0x30ab5b(0x17f)]>0x0&&_0x574f31)for(let _0x7271d8=0x0,_0x44bfd9=_0x4b111e[_0x30ab5b(0x17f)];_0x7271d8<_0x44bfd9;_0x7271d8+=_0xb3e5b1){let _0x498299=[_0x4b111e[_0x7271d8],_0x4b111e[_0x7271d8+0x1]],_0x983c15=_0x574f31[_0x30ab5b(0x195)](_0x498299);_0x983c15=[_0x983c15[0x0]*_0x499145,_0x983c15[0x1]*_0x499145],drawImage(_0x15c3d2,_0x983c15,_0x2d3dd9,_0x1da23d);}else{if(_0x2a603b===_0x30ab5b(0x192))for(let _0x4cb676 of _0x374712){drawImage(_0x15c3d2,_0x4cb676,_0x2d3dd9,_0x1da23d);}else drawImage(_0x15c3d2,_0x374712,_0x2d3dd9,_0x1da23d);}}function a63_0x31bc(){const _0x4b6d27=['billboard','stringify','label','color','replace','imgUrl','modelKind','getType','parse','814mNQmrM','image','80720BhGfYp','push','14872KvRIuC','rotate','1490xGwTwM','markerColor','height','CENTER','geometry','changeColor','data','opacity','length','RIGHT','BOTTOM','width','radius','pixelSize','canvas','warn','point','getFlatMidpoint','zIndex','outlineColor','3755190osUWQS','show','scale','1596NwqqXC','MultiLineString','21009890zZgVXo','verticalOrigin','MultiPoint','getImageData','Polygon','getPixelFromCoordinate','pixelOffset','getContext','.png','cloud','createElement','getFlatInteriorPoints','pixelRatio','getStride','MultiPolygon','TOP','8080EUHlGS','src','621NRkcpS','model','save','toUpperCase','translate','LineString','match','drawImage','getFlatInteriorPoint','putImageData','text','2537301KNKAKJ','463dVthQN','outline','restore','LEFT','rotation'];a63_0x31bc=function(){return _0x4b6d27;};return a63_0x31bc();}function HexToRgb(_0x576753){const _0x1a39b4=a63_0x4987;_0x576753=_0x576753[_0x1a39b4(0x1b7)]('#','');let _0x3004d4=_0x576753[_0x1a39b4(0x1a8)](/../g);if(_0x3004d4){for(let _0x20b5c0=0x0;_0x20b5c0<0x3;_0x20b5c0++)_0x3004d4[_0x20b5c0]=parseInt(_0x3004d4[_0x20b5c0],0x10);}return _0x3004d4;}export function getImageOlStyle(_0xd59803,_0x3f9a5d,_0x591dc6,_0x23afa2){const _0x6dddc9=a63_0x4987;var _0x48573e;if(_0xd59803&&_0xd59803[_0x6dddc9(0x18c)]!==![]){_0xd59803=JSON[_0x6dddc9(0x170)](JSON[_0x6dddc9(0x1b4)](_0xd59803)),_0x3f9a5d=(_0x48573e=_0xd59803[_0x6dddc9(0x189)])!==null&&_0x48573e!==void 0x0?_0x48573e:_0x3f9a5d;let _0x5a6c7f=isShowStyle(_0xd59803,_0x591dc6,_0x23afa2);if(_0x5a6c7f)return _0xd59803['image']=parseImage(_0xd59803[_0x6dddc9(0x172)]),getMainStyle(_0xd59803,_0x3f9a5d,_0x23afa2);}}export function getPointStyle(_0x74f4b7,_0x5c3d60,_0x3def89,_0x1d66a2){const _0x3d9282=a63_0x4987;var _0xdadd25,_0x3b06ed;_0x74f4b7=JSON[_0x3d9282(0x170)](JSON[_0x3d9282(0x1b4)](_0x74f4b7));let _0x4b95a8=(_0xdadd25=_0x74f4b7[_0x3d9282(0x189)])!==null&&_0xdadd25!==void 0x0?_0xdadd25:0x0,_0x4903bc=[],_0x152b6b=getImageOlStyle(_0x74f4b7,_0x4b95a8,_0x3def89,_0x1d66a2);_0x152b6b&&_0x4903bc[_0x3d9282(0x174)](_0x152b6b);let _0x492399=getImageOlStyle(_0x74f4b7['billboard'],_0x4b95a8,_0x3def89,_0x1d66a2);_0x492399&&_0x4903bc['push'](_0x492399);if(_0x74f4b7['model']&&_0x74f4b7[_0x3d9282(0x1a3)][_0x3d9282(0x18c)]!==![]){let _0x575f17=isShowStyle(_0x74f4b7[_0x3d9282(0x1a3)],_0x3def89,_0x1d66a2);if(_0x575f17){let _0x2250bf=(_0x3b06ed=_0x74f4b7['model']['zIndex'])!==null&&_0x3b06ed!==void 0x0?_0x3b06ed:_0x4b95a8,_0xaae926=_0x74f4b7[_0x3d9282(0x1a3)]['imgUrl']||'model/'+_0x74f4b7[_0x3d9282(0x1a3)][_0x3d9282(0x16e)]+_0x3d9282(0x198);_0x74f4b7[_0x3d9282(0x18d)]=0x1,_0x74f4b7[_0x3d9282(0x182)]=0x30,_0x74f4b7[_0x3d9282(0x179)]=0x30,_0x74f4b7[_0x3d9282(0x191)]=_0x3d9282(0x17a),_0x4903bc[_0x3d9282(0x174)](getMainStyle(_0x74f4b7['model'],_0x2250bf,_0x1d66a2));}}if(_0x74f4b7['label']&&_0x74f4b7[_0x3d9282(0x1b5)][_0x3d9282(0x18c)]!==![]){let _0x489ebf=new a63_0x3219ff({'text':createTextStyle(_0x74f4b7[_0x3d9282(0x1b5)],_0x5c3d60,_0x3def89,_0x1d66a2),'zIndex':Number(_0x4b95a8)+0x1});_0x4903bc[_0x3d9282(0x174)](_0x489ebf);}return _0x4903bc;}export function getPointSingleStyle(_0x3b8c6e,_0x26a82e,_0x5da7bc,_0x5af07b){const _0x514d06=a63_0x4987;_0x26a82e=JSON['parse'](JSON[_0x514d06(0x1b4)](_0x26a82e));let _0x3f2374=_0x26a82e[_0x514d06(0x1b5)],_0x2acef6;_0x3f2374&&(_0x2acef6=_0x3f2374['text']?_0x3f2374[_0x514d06(0x1ac)]:'');if(_0x3b8c6e===_0x514d06(0x1b3))return _0x26a82e[_0x514d06(0x172)]=parseImage(_0x26a82e[_0x514d06(0x172)]),getPointStyle(_0x26a82e,_0x2acef6,_0x5da7bc,_0x5af07b);else{if(_0x3b8c6e===_0x514d06(0x1a3)){let _0x3dfdd2=_0x26a82e[_0x514d06(0x1b8)]||'model/'+_0x26a82e['modelKind']+_0x514d06(0x198);return _0x26a82e['scale']=0x1,_0x26a82e[_0x514d06(0x182)]=0x30,_0x26a82e[_0x514d06(0x179)]=0x30,_0x26a82e['verticalOrigin']='CENTER',getPointStyle(_0x26a82e,_0x2acef6,_0x5da7bc,_0x5af07b);}else{if(_0x3b8c6e===_0x514d06(0x199))return getPointStyle(_0x26a82e,_0x2acef6,_0x5da7bc,_0x5af07b);else{if(_0x3b8c6e===_0x514d06(0x187))return getPointStyle(_0x26a82e,_0x2acef6,_0x5da7bc,_0x5af07b);else return _0x3b8c6e===_0x514d06(0x1b5)?new a63_0x3219ff({'text':createTextStyle(_0x26a82e,_0x26a82e[_0x514d06(0x1ac)],_0x5da7bc,_0x5af07b),'zIndex':_0x26a82e[_0x514d06(0x189)]}):getPointStyle(_0x26a82e,_0x2acef6,_0x5da7bc,_0x5af07b);}}}}function drawImage(_0x2fe696,_0x56a91c,_0x3c9fe4,_0x3f695f){const _0x54c87f=a63_0x4987;var _0x156ea6,_0x190173,_0x4ecf40,_0x5d32e7;let _0x490577=_0x3c9fe4['context'];try{_0x490577[_0x54c87f(0x1a4)]();let _0x2092c8=Number(_0x2fe696['pixelOffsetX']||((_0x156ea6=_0x2fe696[_0x54c87f(0x196)])===null||_0x156ea6===void 0x0?void 0x0:_0x156ea6[0x0])||0x0),_0x517a7e=Number(_0x2fe696['pixelOffsetY']||((_0x190173=_0x2fe696[_0x54c87f(0x196)])===null||_0x190173===void 0x0?void 0x0:_0x190173[0x1])||0x0);_0x490577[_0x54c87f(0x1a6)](_0x56a91c[0x0]+_0x2092c8,_0x56a91c[0x1]+_0x517a7e);if(_0x2fe696[_0x54c87f(0x1b2)])_0x490577[_0x54c87f(0x176)](toRadians(_0x2fe696[_0x54c87f(0x1b2)]));_0x490577['globalAlpha']=_0x2fe696[_0x54c87f(0x17e)]!=null?_0x2fe696[_0x54c87f(0x17e)]:0x1;if(_0x3f695f[_0x54c87f(0x182)]>0x0){let _0x5ee49f=_0x2fe696[_0x54c87f(0x18d)]||0x1,_0x475139=_0x2fe696[_0x54c87f(0x182)]||_0x3f695f[_0x54c87f(0x182)]*_0x5ee49f,_0x5a19b3=_0x2fe696[_0x54c87f(0x179)]||_0x3f695f[_0x54c87f(0x179)]*_0x5ee49f;_0x475139=_0x475139*_0x3c9fe4[_0x54c87f(0x19c)],_0x5a19b3=_0x5a19b3*_0x3c9fe4[_0x54c87f(0x19c)];_0x2fe696['changeColor']&&(_0x475139=_0x3f695f[_0x54c87f(0x182)],_0x5a19b3=_0x3f695f[_0x54c87f(0x179)]);let _0xc616fa;switch((_0x4ecf40=_0x2fe696['horizontalOrigin'])===null||_0x4ecf40===void 0x0?void 0x0:_0x4ecf40['toUpperCase']()){default:case _0x54c87f(0x17a):_0xc616fa=-_0x475139/0x2;break;case _0x54c87f(0x1b1):_0xc616fa=0x0;break;case _0x54c87f(0x180):_0xc616fa=-_0x475139;break;}let _0x7cac44;switch((_0x5d32e7=_0x2fe696[_0x54c87f(0x191)])===null||_0x5d32e7===void 0x0?void 0x0:_0x5d32e7[_0x54c87f(0x1a5)]()){default:case _0x54c87f(0x181):_0x7cac44=-_0x5a19b3;break;case _0x54c87f(0x17a):_0x7cac44=-_0x5a19b3/0x2;break;case _0x54c87f(0x19f):_0x7cac44=0x0;break;}_0x490577[_0x54c87f(0x1a9)](_0x3f695f,_0xc616fa,_0x7cac44,_0x475139,_0x5a19b3);}else _0x490577['drawImage'](_0x3f695f,0x0,0x0);_0x490577[_0x54c87f(0x1b0)]();}catch(_0x880d71){_0x490577[_0x54c87f(0x1b0)](),console[_0x54c87f(0x186)](_0x880d71);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x5e6764,_0x5b1841){const _0x17e96e=a64_0x1c42,_0x148c2f=_0x5e6764();while(!![]){try{const _0x5b4587=parseInt(_0x17e96e(0x1ea))/0x1*(parseInt(_0x17e96e(0x1d0))/0x2)+parseInt(_0x17e96e(0x1c5))/0x3+-parseInt(_0x17e96e(0x1ed))/0x4*(parseInt(_0x17e96e(0x1ae))/0x5)+-parseInt(_0x17e96e(0x1da))/0x6*(parseInt(_0x17e96e(0x1c7))/0x7)+-parseInt(_0x17e96e(0x1d4))/0x8*(-parseInt(_0x17e96e(0x1ce))/0x9)+parseInt(_0x17e96e(0x1bc))/0xa+-parseInt(_0x17e96e(0x1c8))/0xb*(parseInt(_0x17e96e(0x1ef))/0xc);if(_0x5b4587===_0x5b1841)break;else _0x148c2f['push'](_0x148c2f['shift']());}catch(_0x2df4d0){_0x148c2f['push'](_0x148c2f['shift']());}}}(a64_0x51e1,0x6091d));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';function a64_0x51e1(){const _0x3e8b8e=['970pxJjxN','setRenderer','outlineWidth','rgba(0,0,0,0)','billboard','opacity','globalAlpha','checkerboard','stripe','fill','label','repeatX','stripe_oddcolor','image','4582650HGnAdu','checkerboard_repeat','setStroke','grid_lineThickness','CENTER','color','lineWidth','width','fillType','2215464QYXuFM','src','14BCRRDS','319HJwFce','beginPath','rgba(0,0,0,0.01)','push','context','max','32229Vpxvcn','translate','1291662vBXvaZ','restore','closePath','outlineColor','784huiaLA','moveTo','grid','createElement','strokeStyle','setZIndex','1557624QxJfLE','verticalOrigin','getContext','outlineOpacity','repeat','lineTo','stroke','grid_lineCount','zIndex','createPattern','fillStyle','height','repeatY','oddColor','length','setFill','1OhmrkB','canvas','stripe_repeat','9572jmVroN','outline','337044QzljrN'];a64_0x51e1=function(){return _0x3e8b8e;};return a64_0x51e1();}import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0xa91f01,_0x4e5739,_0x1f48c1,_0x227d77){const _0x578d5b=a64_0x1c42;var _0x564d1a;let _0x29868a=(_0x564d1a=_0xa91f01[_0x578d5b(0x1e2)])!==null&&_0x564d1a!==void 0x0?_0x564d1a:0x0,_0x36634d=new Style();_0x36634d[_0x578d5b(0x1d9)](_0x29868a),_0x36634d['setFill'](new Fill({'color':_0x578d5b(0x1b1)}));if(_0xa91f01[_0x578d5b(0x1b7)]!==![]){if(!_0xa91f01[_0x578d5b(0x1c4)]||_0xa91f01['fillType']===_0x578d5b(0x1c1))_0x36634d['setFill'](new Fill({'color':getColor(_0xa91f01[_0x578d5b(0x1c1)],_0xa91f01[_0x578d5b(0x1b3)])}));else{if(_0xa91f01[_0x578d5b(0x1c4)]==='image')_0x36634d['setRenderer']((_0x2577c9,_0x521402)=>{preLoadImageRenderFunction(_0xa91f01,_0x2577c9,_0x521402,_0x227d77,_rendererFunction);});else _0xa91f01[_0x578d5b(0x1c4)]==='grid'||_0xa91f01[_0x578d5b(0x1c4)]===_0x578d5b(0x1b6)||_0xa91f01['fillType']===_0x578d5b(0x1b5)?_0x36634d[_0x578d5b(0x1af)]((_0x4522ef,_0x566bb6)=>{_rendererFunction(_0xa91f01,_0x4522ef,_0x566bb6,_0x227d77,null);}):_0x36634d[_0x578d5b(0x1e9)](new Fill({'color':getColor(_0xa91f01[_0x578d5b(0x1c1)],_0xa91f01[_0x578d5b(0x1b3)])}));}}_0xa91f01[_0x578d5b(0x1ee)]!==![]&&_0x36634d[_0x578d5b(0x1be)](new Stroke({'color':getColor(_0xa91f01['outlineColor'],_0xa91f01[_0x578d5b(0x1dd)]),'width':_0xa91f01[_0x578d5b(0x1b0)]}));let _0x4591db=[_0x36634d];_0xa91f01[_0x578d5b(0x1b2)]&&!_0xa91f01[_0x578d5b(0x1b2)][_0x578d5b(0x1db)]&&(_0xa91f01['billboard'][_0x578d5b(0x1db)]=_0x578d5b(0x1c0));let _0x55c9f4=getImageOlStyle(_0xa91f01[_0x578d5b(0x1b2)],_0x29868a,_0x1f48c1,_0x227d77);_0x55c9f4&&_0x4591db[_0x578d5b(0x1cb)](_0x55c9f4);if(_0xa91f01[_0x578d5b(0x1b8)]&&_0xa91f01[_0x578d5b(0x1b8)]['show']!==![]){!_0xa91f01[_0x578d5b(0x1b8)][_0x578d5b(0x1db)]&&(_0xa91f01[_0x578d5b(0x1b8)][_0x578d5b(0x1db)]='CENTER');let _0x2670e4=new Style({'text':createTextStyle(_0xa91f01[_0x578d5b(0x1b8)],_0x4e5739,_0x1f48c1,_0x227d77),'zIndex':Number(_0x29868a)+0x1});_0x4591db[_0x578d5b(0x1cb)](_0x2670e4);}return _0x4591db;}function _rendererFunction(_0x3cf8e3,_0xd85eb7,_0x3b9af5,_0x2c49ba,_0x13544f){const _0x4e8ad0=a64_0x1c42;try{var _0x51f35a=_0x3b9af5[_0x4e8ad0(0x1cc)];for(var _0x25d8e7=0x0,_0x100deb=_0xd85eb7[_0x4e8ad0(0x1e8)];_0x25d8e7<_0x100deb;_0x25d8e7++){_0x51f35a['save'](),_0x51f35a[_0x4e8ad0(0x1c9)]();var _0x3accf8=_0xd85eb7[_0x25d8e7];let _0x57a17e=boundingExtent(_0x3accf8);_0x51f35a[_0x4e8ad0(0x1cf)](_0x57a17e[0x0],_0x57a17e[0x1]);let _0x4588ff;switch(_0x3cf8e3[_0x4e8ad0(0x1c4)]){case'image':_0x4588ff=_getImagePattern(_0x51f35a,_0x57a17e,_0x3cf8e3,_0x13544f);break;case _0x4e8ad0(0x1d6):_0x4588ff=_getGridPattern(_0x51f35a,_0x57a17e,_0x3cf8e3);break;case'stripe':_0x4588ff=_getStripePattern(_0x51f35a,_0x57a17e,_0x3cf8e3);break;case _0x4e8ad0(0x1b5):_0x4588ff=_getCheckerBoardPattern(_0x51f35a,_0x57a17e,_0x3cf8e3);break;default:_0x4588ff=_0x4e8ad0(0x1ca);break;}for(var _0x74fb03=0x0,_0x5d6e40=_0x3accf8['length'];_0x74fb03<_0x5d6e40;_0x74fb03++){var _0x4aaa6f=_0x3accf8[_0x74fb03];_0x74fb03===0x0?_0x51f35a[_0x4e8ad0(0x1d5)](_0x4aaa6f[0x0]-_0x57a17e[0x0],_0x4aaa6f[0x1]-_0x57a17e[0x1]):_0x51f35a[_0x4e8ad0(0x1df)](_0x4aaa6f[0x0]-_0x57a17e[0x0],_0x4aaa6f[0x1]-_0x57a17e[0x1]);}_0x51f35a[_0x4e8ad0(0x1d2)](),_0x51f35a[_0x4e8ad0(0x1e4)]=_0x4e8ad0(0x1ca),_0x51f35a['fill'](),_0x51f35a['fillStyle']=_0x4588ff,_0x51f35a[_0x4e8ad0(0x1b7)](),_0x3cf8e3[_0x4e8ad0(0x1ee)]?(_0x51f35a[_0x4e8ad0(0x1d8)]=getColor(_0x3cf8e3[_0x4e8ad0(0x1d3)],_0x3cf8e3[_0x4e8ad0(0x1dd)]),_0x51f35a[_0x4e8ad0(0x1c2)]=_0x3cf8e3[_0x4e8ad0(0x1b0)]):_0x51f35a['strokeStyle']='rgba(0,0,0,0.0)',_0x51f35a['stroke'](),_0x51f35a[_0x4e8ad0(0x1d1)]();}}catch(_0x15eb35){_0x51f35a[_0x4e8ad0(0x1d1)](),console['warn'](_0x15eb35);}}function _getImagePattern(_0x7ff73,_0x5c9daf,_0x1bc0b1,_0x3a5c95){const _0x3c8664=a64_0x1c42;if(!_0x3a5c95||_0x3a5c95[_0x3c8664(0x1c3)]===0x0){let _0xfde398=new Image();_0xfde398[_0x3c8664(0x1c6)]=_0x1bc0b1[_0x3c8664(0x1bb)];}var _0x482fdd=getSize(_0x5c9daf);const _0x3e3860=document[_0x3c8664(0x1d7)](_0x3c8664(0x1eb)),_0x5bae71=_0x3e3860[_0x3c8664(0x1dc)]('2d');return _0x3e3860[_0x3c8664(0x1c3)]=Math[_0x3c8664(0x1cd)](_0x482fdd[0x0]/_0x1bc0b1[_0x3c8664(0x1b9)],0x1),_0x3e3860[_0x3c8664(0x1e5)]=Math['max'](_0x482fdd[0x1]/_0x1bc0b1[_0x3c8664(0x1e6)],0x1),_0x5bae71&&(_0x5bae71[_0x3c8664(0x1b4)]=_0x1bc0b1[_0x3c8664(0x1b3)],_0x5bae71['drawImage'](_0x3a5c95,0x0,0x0,_0x3e3860[_0x3c8664(0x1c3)],_0x3e3860[_0x3c8664(0x1e5)])),_0x7ff73[_0x3c8664(0x1e3)](_0x3e3860,_0x3c8664(0x1de));}function a64_0x1c42(_0x1c4515,_0x43de85){const _0x51e1ef=a64_0x51e1();return a64_0x1c42=function(_0x1c42f0,_0x441707){_0x1c42f0=_0x1c42f0-0x1ae;let _0x401eb3=_0x51e1ef[_0x1c42f0];return _0x401eb3;},a64_0x1c42(_0x1c4515,_0x43de85);}function _getGridPattern(_0x356c05,_0x2669cd,_0x4ba469){const _0xbe2b8d=a64_0x1c42;var _0x3e92c3=getSize(_0x2669cd);const _0x157d85=document[_0xbe2b8d(0x1d7)](_0xbe2b8d(0x1eb)),_0x24889b=_0x157d85[_0xbe2b8d(0x1dc)]('2d');return _0x157d85[_0xbe2b8d(0x1c3)]=Math[_0xbe2b8d(0x1cd)](_0x3e92c3[0x0]/_0x4ba469['grid_lineCount'],0x1),_0x157d85[_0xbe2b8d(0x1e5)]=Math[_0xbe2b8d(0x1cd)](_0x3e92c3[0x1]/_0x4ba469[_0xbe2b8d(0x1e1)],0x1),_0x24889b&&(_0x24889b[_0xbe2b8d(0x1d8)]=getColor(_0x4ba469[_0xbe2b8d(0x1c1)],_0x4ba469[_0xbe2b8d(0x1b3)]),_0x24889b[_0xbe2b8d(0x1c2)]=_0x4ba469[_0xbe2b8d(0x1bf)]*0x4,_0x24889b['beginPath'](),_0x24889b['moveTo'](0x0,_0x157d85[_0xbe2b8d(0x1e5)]),_0x24889b[_0xbe2b8d(0x1df)](_0x157d85[_0xbe2b8d(0x1c3)],_0x157d85['height']),_0x24889b['moveTo'](_0x157d85[_0xbe2b8d(0x1c3)],0x0),_0x24889b[_0xbe2b8d(0x1df)](_0x157d85['width'],_0x157d85[_0xbe2b8d(0x1e5)]),_0x24889b[_0xbe2b8d(0x1e0)]()),_0x356c05[_0xbe2b8d(0x1e3)](_0x157d85,'repeat');}function _getStripePattern(_0x178a91,_0x6a303,_0x5e0e16){const _0x367595=a64_0x1c42;var _0xe22d10=getSize(_0x6a303);const _0x4bdc82=document[_0x367595(0x1d7)](_0x367595(0x1eb)),_0x4d80c6=_0x4bdc82[_0x367595(0x1dc)]('2d');let _0x5f42ea=Math[_0x367595(0x1cd)](_0xe22d10[0x1]/_0x5e0e16[_0x367595(0x1ec)],0x1);return _0x4bdc82[_0x367595(0x1c3)]=_0xe22d10[0x0],_0x4bdc82[_0x367595(0x1e5)]=_0x5f42ea*0x2,_0x4d80c6&&(_0x4d80c6[_0x367595(0x1c9)](),_0x4d80c6[_0x367595(0x1d5)](0x0,0x0),_0x4d80c6[_0x367595(0x1df)](_0x4bdc82[_0x367595(0x1c3)],0x0),_0x4d80c6['lineTo'](_0x4bdc82[_0x367595(0x1c3)],_0x5f42ea),_0x4d80c6[_0x367595(0x1df)](0x0,_0x5f42ea),_0x4d80c6[_0x367595(0x1d2)](),_0x4d80c6['fillStyle']=getColor(_0x5e0e16[_0x367595(0x1ba)],_0x5e0e16['opacity']),_0x4d80c6[_0x367595(0x1b7)](),_0x4d80c6['beginPath'](),_0x4d80c6[_0x367595(0x1d5)](0x0,_0x5f42ea),_0x4d80c6[_0x367595(0x1df)](_0x4bdc82['width'],_0x5f42ea),_0x4d80c6[_0x367595(0x1df)](_0x4bdc82[_0x367595(0x1c3)],_0x5f42ea*0x2),_0x4d80c6[_0x367595(0x1df)](0x0,_0x5f42ea*0x2),_0x4d80c6[_0x367595(0x1d2)](),_0x4d80c6['fillStyle']=getColor(_0x5e0e16[_0x367595(0x1c1)],_0x5e0e16[_0x367595(0x1b3)]),_0x4d80c6[_0x367595(0x1b7)]()),_0x178a91[_0x367595(0x1e3)](_0x4bdc82,_0x367595(0x1de));}function _getCheckerBoardPattern(_0x29d812,_0x11d7be,_0x3129fb){const _0x5508d7=a64_0x1c42;var _0x1aa3cd=getSize(_0x11d7be);const _0x9bd2ce=document[_0x5508d7(0x1d7)]('canvas'),_0x3d30d6=_0x9bd2ce[_0x5508d7(0x1dc)]('2d');let _0x1a32dd=Math[_0x5508d7(0x1cd)](_0x1aa3cd[0x0]/_0x3129fb[_0x5508d7(0x1bd)],0x1),_0x44ec85=Math['max'](_0x1aa3cd[0x1]/_0x3129fb[_0x5508d7(0x1bd)],0x1);return _0x9bd2ce['width']=_0x1a32dd*0x2,_0x9bd2ce[_0x5508d7(0x1e5)]=_0x44ec85*0x2,_0x3d30d6&&(_0x3d30d6['beginPath'](),_0x3d30d6[_0x5508d7(0x1d5)](0x0,0x0),_0x3d30d6[_0x5508d7(0x1df)](_0x1a32dd,0x0),_0x3d30d6[_0x5508d7(0x1df)](_0x1a32dd,_0x44ec85),_0x3d30d6[_0x5508d7(0x1df)](0x0,_0x44ec85),_0x3d30d6[_0x5508d7(0x1d2)](),_0x3d30d6[_0x5508d7(0x1e4)]=getColor(_0x3129fb[_0x5508d7(0x1e7)],_0x3129fb[_0x5508d7(0x1b3)]),_0x3d30d6['fill'](),_0x3d30d6[_0x5508d7(0x1c9)](),_0x3d30d6[_0x5508d7(0x1d5)](_0x1a32dd,0x0),_0x3d30d6[_0x5508d7(0x1df)](_0x9bd2ce[_0x5508d7(0x1c3)],0x0),_0x3d30d6[_0x5508d7(0x1df)](_0x9bd2ce[_0x5508d7(0x1c3)],_0x44ec85),_0x3d30d6['lineTo'](_0x1a32dd,_0x44ec85),_0x3d30d6[_0x5508d7(0x1d2)](),_0x3d30d6['fillStyle']=getColor(_0x3129fb['color'],_0x3129fb[_0x5508d7(0x1b3)]),_0x3d30d6[_0x5508d7(0x1b7)](),_0x3d30d6[_0x5508d7(0x1c9)](),_0x3d30d6[_0x5508d7(0x1d5)](0x0,_0x44ec85),_0x3d30d6[_0x5508d7(0x1df)](_0x1a32dd,_0x44ec85),_0x3d30d6[_0x5508d7(0x1df)](_0x1a32dd,_0x9bd2ce[_0x5508d7(0x1e5)]),_0x3d30d6['lineTo'](0x0,_0x9bd2ce[_0x5508d7(0x1e5)]),_0x3d30d6[_0x5508d7(0x1d2)](),_0x3d30d6[_0x5508d7(0x1e4)]=getColor(_0x3129fb['color'],_0x3129fb[_0x5508d7(0x1b3)]),_0x3d30d6[_0x5508d7(0x1b7)](),_0x3d30d6[_0x5508d7(0x1c9)](),_0x3d30d6[_0x5508d7(0x1d5)](_0x1a32dd,_0x44ec85),_0x3d30d6[_0x5508d7(0x1df)](_0x9bd2ce[_0x5508d7(0x1c3)],_0x44ec85),_0x3d30d6[_0x5508d7(0x1df)](_0x9bd2ce['width'],_0x9bd2ce['height']),_0x3d30d6[_0x5508d7(0x1df)](_0x1a32dd,_0x9bd2ce['height']),_0x3d30d6[_0x5508d7(0x1d2)](),_0x3d30d6[_0x5508d7(0x1e4)]=getColor(_0x3129fb['oddColor'],_0x3129fb[_0x5508d7(0x1b3)]),_0x3d30d6[_0x5508d7(0x1b7)]()),_0x29d812[_0x5508d7(0x1e3)](_0x9bd2ce,_0x5508d7(0x1de));}
|
|
1
|
+
(function(_0x3ff5e6,_0x5927e8){const _0x525b1a=a64_0x64e5,_0x3163a4=_0x3ff5e6();while(!![]){try{const _0x47e25e=parseInt(_0x525b1a(0x1dd))/0x1+-parseInt(_0x525b1a(0x208))/0x2*(parseInt(_0x525b1a(0x201))/0x3)+parseInt(_0x525b1a(0x1e2))/0x4+parseInt(_0x525b1a(0x1fd))/0x5+parseInt(_0x525b1a(0x1fa))/0x6*(parseInt(_0x525b1a(0x205))/0x7)+-parseInt(_0x525b1a(0x1d9))/0x8*(-parseInt(_0x525b1a(0x20c))/0x9)+parseInt(_0x525b1a(0x1f2))/0xa*(-parseInt(_0x525b1a(0x1fc))/0xb);if(_0x47e25e===_0x5927e8)break;else _0x3163a4['push'](_0x3163a4['shift']());}catch(_0x1008dc){_0x3163a4['push'](_0x3163a4['shift']());}}}(a64_0xdf83,0x819e9));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';function a64_0x64e5(_0x40f860,_0x2433c2){const _0xdf8375=a64_0xdf83();return a64_0x64e5=function(_0x64e5bc,_0x5ea395){_0x64e5bc=_0x64e5bc-0x1d2;let _0x47a61f=_0xdf8375[_0x64e5bc];return _0x47a61f;},a64_0x64e5(_0x40f860,_0x2433c2);}import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x2d253a,_0xd2846,_0xe1688e,_0x1d3284){const _0x39c93f=a64_0x64e5;var _0x4bc333;let _0xe2c001=(_0x4bc333=_0x2d253a[_0x39c93f(0x1f3)])!==null&&_0x4bc333!==void 0x0?_0x4bc333:0x0,_0x54278e=new Style();_0x54278e['setZIndex'](_0xe2c001),_0x54278e[_0x39c93f(0x20a)](new Fill({'color':_0x39c93f(0x200)}));if(_0x2d253a[_0x39c93f(0x1e7)]!==![]){if(!_0x2d253a[_0x39c93f(0x20d)]||_0x2d253a['fillType']==='color')_0x54278e[_0x39c93f(0x20a)](new Fill({'color':getColor(_0x2d253a['color'],_0x2d253a['opacity'])}));else{if(_0x2d253a['fillType']===_0x39c93f(0x212))_0x54278e['setRenderer']((_0x25fea2,_0x272697)=>{preLoadImageRenderFunction(_0x2d253a,_0x25fea2,_0x272697,_0x1d3284,_rendererFunction);});else _0x2d253a[_0x39c93f(0x20d)]===_0x39c93f(0x20f)||_0x2d253a['fillType']===_0x39c93f(0x1fb)||_0x2d253a[_0x39c93f(0x20d)]==='checkerboard'?_0x54278e[_0x39c93f(0x1ef)]((_0x5120e0,_0x17aebb)=>{_rendererFunction(_0x2d253a,_0x5120e0,_0x17aebb,_0x1d3284,null);}):_0x54278e[_0x39c93f(0x20a)](new Fill({'color':getColor(_0x2d253a[_0x39c93f(0x1e4)],_0x2d253a[_0x39c93f(0x1e3)])}));}}_0x2d253a[_0x39c93f(0x1da)]!==![]&&_0x54278e[_0x39c93f(0x1eb)](new Stroke({'color':getColor(_0x2d253a[_0x39c93f(0x1d8)],_0x2d253a[_0x39c93f(0x1de)]),'width':_0x2d253a[_0x39c93f(0x1e1)]}));let _0x54faa1=[_0x54278e];_0x2d253a[_0x39c93f(0x206)]&&!_0x2d253a['billboard']['verticalOrigin']&&(_0x2d253a[_0x39c93f(0x206)]['verticalOrigin']='CENTER');let _0x371e28=getImageOlStyle(_0x2d253a[_0x39c93f(0x206)],_0xe2c001,_0xe1688e,_0x1d3284);_0x371e28&&_0x54faa1['push'](_0x371e28);if(_0x2d253a[_0x39c93f(0x1f5)]&&_0x2d253a['label'][_0x39c93f(0x1f7)]!==![]){!_0x2d253a[_0x39c93f(0x1f5)][_0x39c93f(0x1ea)]&&(_0x2d253a[_0x39c93f(0x1f5)][_0x39c93f(0x1ea)]=_0x39c93f(0x202));let _0x46dd11=new Style({'text':createTextStyle(_0x2d253a[_0x39c93f(0x1f5)],_0xd2846,_0xe1688e,_0x1d3284),'zIndex':Number(_0xe2c001)+0x1});_0x54faa1[_0x39c93f(0x1e8)](_0x46dd11);}return _0x54faa1;}function a64_0xdf83(){const _0x1ccb2e=['length','outlineWidth','1772416mlzUNG','opacity','color','context','src','fill','push','grid_lineCount','verticalOrigin','setStroke','createPattern','grid_lineThickness','restore','setRenderer','max','moveTo','16463030IxvWyC','zIndex','rgba(0,0,0,0.0)','label','fillStyle','show','globalAlpha','oddColor','12pSVakV','stripe','11urirJT','4573055cMyOOv','lineWidth','stroke','rgba(0,0,0,0)','151737YEwxTO','CENTER','getContext','height','2985297oZPhvi','billboard','warn','34Dnwoxl','strokeStyle','setFill','save','54081cGNbaL','fillType','repeatY','grid','stripe_repeat','canvas','image','lineTo','repeat','width','closePath','beginPath','stripe_oddcolor','checkerboard_repeat','outlineColor','944nOrWnl','outline','createElement','translate','117348PSJxqB','outlineOpacity','rgba(0,0,0,0.01)'];a64_0xdf83=function(){return _0x1ccb2e;};return a64_0xdf83();}function _rendererFunction(_0x3562fd,_0x1e742a,_0x4df8f8,_0x513c9b,_0x59251b){const _0x54f874=a64_0x64e5;try{var _0x160494=_0x4df8f8[_0x54f874(0x1e5)];for(var _0x39ffcd=0x0,_0x2c4ca1=_0x1e742a[_0x54f874(0x1e0)];_0x39ffcd<_0x2c4ca1;_0x39ffcd++){_0x160494[_0x54f874(0x20b)](),_0x160494[_0x54f874(0x1d5)]();var _0x198e96=_0x1e742a[_0x39ffcd];let _0x4cad33=boundingExtent(_0x198e96);_0x160494[_0x54f874(0x1dc)](_0x4cad33[0x0],_0x4cad33[0x1]);let _0x3fc442;switch(_0x3562fd[_0x54f874(0x20d)]){case _0x54f874(0x212):_0x3fc442=_getImagePattern(_0x160494,_0x4cad33,_0x3562fd,_0x59251b);break;case _0x54f874(0x20f):_0x3fc442=_getGridPattern(_0x160494,_0x4cad33,_0x3562fd);break;case _0x54f874(0x1fb):_0x3fc442=_getStripePattern(_0x160494,_0x4cad33,_0x3562fd);break;case'checkerboard':_0x3fc442=_getCheckerBoardPattern(_0x160494,_0x4cad33,_0x3562fd);break;default:_0x3fc442=_0x54f874(0x1df);break;}for(var _0x46306b=0x0,_0x28a094=_0x198e96[_0x54f874(0x1e0)];_0x46306b<_0x28a094;_0x46306b++){var _0x37dbc4=_0x198e96[_0x46306b];_0x46306b===0x0?_0x160494[_0x54f874(0x1f1)](_0x37dbc4[0x0]-_0x4cad33[0x0],_0x37dbc4[0x1]-_0x4cad33[0x1]):_0x160494['lineTo'](_0x37dbc4[0x0]-_0x4cad33[0x0],_0x37dbc4[0x1]-_0x4cad33[0x1]);}_0x160494[_0x54f874(0x1d4)](),_0x160494[_0x54f874(0x1f6)]=_0x54f874(0x1df),_0x160494[_0x54f874(0x1e7)](),_0x160494[_0x54f874(0x1f6)]=_0x3fc442,_0x160494[_0x54f874(0x1e7)](),_0x3562fd['outline']?(_0x160494['strokeStyle']=getColor(_0x3562fd[_0x54f874(0x1d8)],_0x3562fd[_0x54f874(0x1de)]),_0x160494[_0x54f874(0x1fe)]=_0x3562fd['outlineWidth']):_0x160494[_0x54f874(0x209)]=_0x54f874(0x1f4),_0x160494['stroke'](),_0x160494[_0x54f874(0x1ee)]();}}catch(_0x54e753){_0x160494[_0x54f874(0x1ee)](),console[_0x54f874(0x207)](_0x54e753);}}function _getImagePattern(_0x4b019d,_0xd7de1f,_0x258013,_0x34d9dd){const _0x2d6ab2=a64_0x64e5;if(!_0x34d9dd||_0x34d9dd[_0x2d6ab2(0x1d3)]===0x0){let _0xa69f04=new Image();_0xa69f04[_0x2d6ab2(0x1e6)]=_0x258013[_0x2d6ab2(0x212)];}var _0x89ef5a=getSize(_0xd7de1f);const _0x1679c2=document[_0x2d6ab2(0x1db)](_0x2d6ab2(0x211)),_0x3ca1b4=_0x1679c2['getContext']('2d');return _0x1679c2[_0x2d6ab2(0x1d3)]=Math['max'](_0x89ef5a[0x0]/_0x258013['repeatX'],0x1),_0x1679c2[_0x2d6ab2(0x204)]=Math[_0x2d6ab2(0x1f0)](_0x89ef5a[0x1]/_0x258013[_0x2d6ab2(0x20e)],0x1),_0x3ca1b4&&(_0x3ca1b4[_0x2d6ab2(0x1f8)]=_0x258013[_0x2d6ab2(0x1e3)],_0x3ca1b4['drawImage'](_0x34d9dd,0x0,0x0,_0x1679c2['width'],_0x1679c2[_0x2d6ab2(0x204)])),_0x4b019d['createPattern'](_0x1679c2,_0x2d6ab2(0x1d2));}function _getGridPattern(_0x30b184,_0x3e4860,_0xf0bfa8){const _0x576847=a64_0x64e5;var _0x565c18=getSize(_0x3e4860);const _0x55d524=document[_0x576847(0x1db)](_0x576847(0x211)),_0xbdc490=_0x55d524[_0x576847(0x203)]('2d');return _0x55d524['width']=Math[_0x576847(0x1f0)](_0x565c18[0x0]/_0xf0bfa8[_0x576847(0x1e9)],0x1),_0x55d524[_0x576847(0x204)]=Math[_0x576847(0x1f0)](_0x565c18[0x1]/_0xf0bfa8[_0x576847(0x1e9)],0x1),_0xbdc490&&(_0xbdc490[_0x576847(0x209)]=getColor(_0xf0bfa8[_0x576847(0x1e4)],_0xf0bfa8[_0x576847(0x1e3)]),_0xbdc490['lineWidth']=_0xf0bfa8[_0x576847(0x1ed)]*0x4,_0xbdc490[_0x576847(0x1d5)](),_0xbdc490[_0x576847(0x1f1)](0x0,_0x55d524[_0x576847(0x204)]),_0xbdc490[_0x576847(0x213)](_0x55d524['width'],_0x55d524[_0x576847(0x204)]),_0xbdc490[_0x576847(0x1f1)](_0x55d524[_0x576847(0x1d3)],0x0),_0xbdc490[_0x576847(0x213)](_0x55d524[_0x576847(0x1d3)],_0x55d524[_0x576847(0x204)]),_0xbdc490[_0x576847(0x1ff)]()),_0x30b184[_0x576847(0x1ec)](_0x55d524,_0x576847(0x1d2));}function _getStripePattern(_0x41a598,_0x28c730,_0x1a005e){const _0x31de78=a64_0x64e5;var _0x5cc737=getSize(_0x28c730);const _0x3f195e=document[_0x31de78(0x1db)]('canvas'),_0x8ceaee=_0x3f195e['getContext']('2d');let _0x33d38d=Math['max'](_0x5cc737[0x1]/_0x1a005e[_0x31de78(0x210)],0x1);return _0x3f195e[_0x31de78(0x1d3)]=_0x5cc737[0x0],_0x3f195e['height']=_0x33d38d*0x2,_0x8ceaee&&(_0x8ceaee[_0x31de78(0x1d5)](),_0x8ceaee[_0x31de78(0x1f1)](0x0,0x0),_0x8ceaee['lineTo'](_0x3f195e[_0x31de78(0x1d3)],0x0),_0x8ceaee[_0x31de78(0x213)](_0x3f195e['width'],_0x33d38d),_0x8ceaee[_0x31de78(0x213)](0x0,_0x33d38d),_0x8ceaee[_0x31de78(0x1d4)](),_0x8ceaee[_0x31de78(0x1f6)]=getColor(_0x1a005e[_0x31de78(0x1d6)],_0x1a005e[_0x31de78(0x1e3)]),_0x8ceaee[_0x31de78(0x1e7)](),_0x8ceaee[_0x31de78(0x1d5)](),_0x8ceaee[_0x31de78(0x1f1)](0x0,_0x33d38d),_0x8ceaee[_0x31de78(0x213)](_0x3f195e[_0x31de78(0x1d3)],_0x33d38d),_0x8ceaee['lineTo'](_0x3f195e['width'],_0x33d38d*0x2),_0x8ceaee[_0x31de78(0x213)](0x0,_0x33d38d*0x2),_0x8ceaee[_0x31de78(0x1d4)](),_0x8ceaee[_0x31de78(0x1f6)]=getColor(_0x1a005e[_0x31de78(0x1e4)],_0x1a005e[_0x31de78(0x1e3)]),_0x8ceaee[_0x31de78(0x1e7)]()),_0x41a598[_0x31de78(0x1ec)](_0x3f195e,_0x31de78(0x1d2));}function _getCheckerBoardPattern(_0x357cb9,_0x4e1eb6,_0x320e53){const _0x1ec570=a64_0x64e5;var _0x158c52=getSize(_0x4e1eb6);const _0x322ef9=document[_0x1ec570(0x1db)](_0x1ec570(0x211)),_0x369eb5=_0x322ef9[_0x1ec570(0x203)]('2d');let _0x225d6a=Math['max'](_0x158c52[0x0]/_0x320e53[_0x1ec570(0x1d7)],0x1),_0x2ecaac=Math[_0x1ec570(0x1f0)](_0x158c52[0x1]/_0x320e53['checkerboard_repeat'],0x1);return _0x322ef9[_0x1ec570(0x1d3)]=_0x225d6a*0x2,_0x322ef9[_0x1ec570(0x204)]=_0x2ecaac*0x2,_0x369eb5&&(_0x369eb5['beginPath'](),_0x369eb5[_0x1ec570(0x1f1)](0x0,0x0),_0x369eb5[_0x1ec570(0x213)](_0x225d6a,0x0),_0x369eb5[_0x1ec570(0x213)](_0x225d6a,_0x2ecaac),_0x369eb5[_0x1ec570(0x213)](0x0,_0x2ecaac),_0x369eb5[_0x1ec570(0x1d4)](),_0x369eb5['fillStyle']=getColor(_0x320e53[_0x1ec570(0x1f9)],_0x320e53[_0x1ec570(0x1e3)]),_0x369eb5[_0x1ec570(0x1e7)](),_0x369eb5[_0x1ec570(0x1d5)](),_0x369eb5[_0x1ec570(0x1f1)](_0x225d6a,0x0),_0x369eb5[_0x1ec570(0x213)](_0x322ef9[_0x1ec570(0x1d3)],0x0),_0x369eb5[_0x1ec570(0x213)](_0x322ef9[_0x1ec570(0x1d3)],_0x2ecaac),_0x369eb5[_0x1ec570(0x213)](_0x225d6a,_0x2ecaac),_0x369eb5['closePath'](),_0x369eb5[_0x1ec570(0x1f6)]=getColor(_0x320e53[_0x1ec570(0x1e4)],_0x320e53[_0x1ec570(0x1e3)]),_0x369eb5[_0x1ec570(0x1e7)](),_0x369eb5[_0x1ec570(0x1d5)](),_0x369eb5['moveTo'](0x0,_0x2ecaac),_0x369eb5[_0x1ec570(0x213)](_0x225d6a,_0x2ecaac),_0x369eb5[_0x1ec570(0x213)](_0x225d6a,_0x322ef9[_0x1ec570(0x204)]),_0x369eb5['lineTo'](0x0,_0x322ef9[_0x1ec570(0x204)]),_0x369eb5['closePath'](),_0x369eb5[_0x1ec570(0x1f6)]=getColor(_0x320e53[_0x1ec570(0x1e4)],_0x320e53[_0x1ec570(0x1e3)]),_0x369eb5[_0x1ec570(0x1e7)](),_0x369eb5[_0x1ec570(0x1d5)](),_0x369eb5[_0x1ec570(0x1f1)](_0x225d6a,_0x2ecaac),_0x369eb5[_0x1ec570(0x213)](_0x322ef9[_0x1ec570(0x1d3)],_0x2ecaac),_0x369eb5[_0x1ec570(0x213)](_0x322ef9['width'],_0x322ef9[_0x1ec570(0x204)]),_0x369eb5['lineTo'](_0x225d6a,_0x322ef9[_0x1ec570(0x204)]),_0x369eb5['closePath'](),_0x369eb5[_0x1ec570(0x1f6)]=getColor(_0x320e53[_0x1ec570(0x1f9)],_0x320e53[_0x1ec570(0x1e3)]),_0x369eb5[_0x1ec570(0x1e7)]()),_0x357cb9[_0x1ec570(0x1ec)](_0x322ef9,_0x1ec570(0x1d2));}
|