ym-gis-2d 1.0.21 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/capabilities/index.js +1 -1
- package/controls/ControlManager.js +1 -1
- package/controls/LegendControl.js +1 -1
- package/controls/LegendControl.js.map +1 -1
- package/controls/MousePositionControl.js +1 -1
- package/controls/SwipeLayerControl.js +1 -1
- package/conver/kml/geoJSONToKml.js +1 -1
- package/conver/kml/index.js +1 -1
- package/conver/kml/kmlToGeoJSON.js +1 -1
- package/entity/Feature.js +1 -1
- package/entity/GeometryType.js +1 -1
- package/feature/FeatureManager.js +1 -1
- package/index.js +1 -1
- package/interaction/Draw.js +1 -1
- package/interaction/InteractionManager.js +1 -1
- package/interaction/Select.js +1 -1
- package/layers/ArcgisDynamicLayer.js +1 -1
- package/layers/ArcgisFeatureLayer.js +1 -1
- package/layers/ArcgisTileLayer.js +1 -1
- package/layers/ArcgisWMSLayer.js +1 -1
- package/layers/ArcgisWMTSLayer.js +1 -1
- package/layers/GeoserverVectorTile.js +1 -1
- package/layers/GeoserverWFSLayer.js +1 -1
- package/layers/GeoserverWMSLayer.js +1 -1
- package/layers/GeoserverWMTSLayer.js +1 -1
- package/layers/LayerManager.js +1 -1
- package/layers/TDTLayer.js +1 -1
- package/mapView/Map.js +1 -1
- package/mapView/View.js +1 -1
- package/package.json +1 -1
- package/plot/Plot.js +1 -1
- package/plot/geometry/point/Point.js +1 -1
- package/plot/geometry/polygon/BasePolygon.js +1 -1
- package/plot/geometry/polygon/Circle.js +1 -1
- package/plot/geometry/polygon/Polygon.js +1 -1
- package/plot/geometry/polygon/RectAngle.js +1 -1
- package/plot/geometry/polyline/BaseLine.js +1 -1
- package/plot/geometry/polyline/Polyline.js +1 -1
- package/style/PointStyleFormat.js +1 -1
- package/style/PolygonStyleFormat.js +1 -1
- package/style/PolylineStyleFormat.js +1 -1
- package/style/StyleManager.js +1 -1
- package/style/common.js +1 -1
- package/utils/ArrayUtil.js +1 -1
- package/utils/AxiosUtil.js +1 -1
- package/utils/EsriUtil.js +1 -1
- package/utils/GeometryUtil.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
|
+
function a50_0x52ef(_0x25fbff,_0x5d5749){const _0x52fbaa=a50_0x52fb();return a50_0x52ef=function(_0x52ef90,_0x31b057){_0x52ef90=_0x52ef90-0x1de;let _0x108a25=_0x52fbaa[_0x52ef90];return _0x108a25;},a50_0x52ef(_0x25fbff,_0x5d5749);}const a50_0x45b9e5=a50_0x52ef;function a50_0x52fb(){const _0x5c3bcd=['length','getGeoserverWFSLayer','getDynamicLayer','getArcgisTileLayer','2264yLcuRF','1107084hoGmBQ','570750rUATll','getGeoserverWmsLayer','getArcgisFeatureLayer','push','getGeoserverWMTSLayer','1107WFqoTr','getTDTLayer','21gKnbSi','getArcgisWmsLayer','1601598zbJCZz','url','getGeoserverVectorTileLayer','sublayers','415mjmYsN','15877900cLCChE','32524xbQtFL','getArcgisWMTSLayer','44870pVXqCK'];a50_0x52fb=function(){return _0x5c3bcd;};return a50_0x52fb();}(function(_0x3db450,_0x594e7c){const _0x60d7fc=a50_0x52ef,_0x246c95=_0x3db450();while(!![]){try{const _0x41e996=-parseInt(_0x60d7fc(0x1df))/0x1+parseInt(_0x60d7fc(0x1e5))/0x2+-parseInt(_0x60d7fc(0x1ef))/0x3+-parseInt(_0x60d7fc(0x1f5))/0x4*(parseInt(_0x60d7fc(0x1f3))/0x5)+parseInt(_0x60d7fc(0x1e6))/0x6*(-parseInt(_0x60d7fc(0x1ed))/0x7)+parseInt(_0x60d7fc(0x1e4))/0x8*(parseInt(_0x60d7fc(0x1eb))/0x9)+parseInt(_0x60d7fc(0x1f4))/0xa;if(_0x41e996===_0x594e7c)break;else _0x246c95['push'](_0x246c95['shift']());}catch(_0x1ddaff){_0x246c95['push'](_0x246c95['shift']());}}}(a50_0x52fb,0x9b8e5));import a50_0x473636 from'./ArcgisDynamicLayer';import a50_0x322ade from'./ArcgisFeatureLayer';import a50_0x225dd0 from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a50_0x467b53 from'./ArcgisTileLayer';import a50_0xc8a128 from'./GeoserverWMSLayer';import a50_0x86935d from'./GeoserverWMTSLayer';import a50_0x54509a from'./ArcgisWMSLayer';import a50_0x15beab from'./ArcgisWMTSLayer';import a50_0x1f983e from'./GeoserverWFSLayer';import a50_0x47fda8 from'./GeoserverVectorTile';export default class LayerManagement{static async[a50_0x45b9e5(0x1e2)](_0x14d02){const _0x32e9a0=a50_0x45b9e5,_0xf67b9b=await getDynamicLayerInfo(_0x14d02[_0x32e9a0(0x1f0)]?_0x14d02[_0x32e9a0(0x1f0)]:'');let _0x2b2fe3=new a50_0x473636(_0x14d02,_0xf67b9b);return _0x2b2fe3;}static async[a50_0x45b9e5(0x1e3)](_0x58e951){const _0xb597ba=a50_0x45b9e5,_0x3fdf21=await getDynamicLayerInfo(_0x58e951[_0xb597ba(0x1f0)]?_0x58e951[_0xb597ba(0x1f0)]:'');let _0x507c85=new a50_0x467b53(_0x58e951,_0x3fdf21);return _0x507c85;}static async[a50_0x45b9e5(0x1e8)](_0x53b78a){const _0x3fe716=a50_0x45b9e5,_0x2d3a19=await getDynamicLayerInfo(_0x53b78a['url']?_0x53b78a['url']:'');let _0x69aedd=[];if(_0x53b78a[_0x3fe716(0x1f2)])for(let _0x3e426d=0x0;_0x3e426d<_0x53b78a[_0x3fe716(0x1f2)][_0x3fe716(0x1e0)];_0x3e426d++){const _0x2c3a24=_0x53b78a[_0x3fe716(0x1f2)][_0x3e426d];_0x69aedd[_0x3fe716(0x1e9)](await getFeatureLayerInfo(_0x53b78a[_0x3fe716(0x1f0)]?_0x53b78a[_0x3fe716(0x1f0)]:'',_0x2c3a24));}let _0x3fc966=new a50_0x322ade(_0x53b78a,_0x2d3a19,_0x69aedd);return _0x3fc966;}static async[a50_0x45b9e5(0x1ee)](_0x2f5ada){const _0x3edb0e=a50_0x45b9e5;var _0x23c512;const _0x1bced4=(_0x23c512=_0x2f5ada[_0x3edb0e(0x1f2)])===null||_0x23c512===void 0x0?void 0x0:_0x23c512[0x0],_0x28f366=await getWMSLayerCapabilities(_0x2f5ada[_0x3edb0e(0x1f0)]?_0x2f5ada[_0x3edb0e(0x1f0)]:'',_0x1bced4==null?'':_0x1bced4);let _0xa3a4e=new a50_0x54509a(_0x2f5ada,_0x28f366);return _0xa3a4e;}static async[a50_0x45b9e5(0x1de)](_0xf70fbf){const _0x57e682=a50_0x45b9e5;var _0xef025d;const _0xab42e2=(_0xef025d=_0xf70fbf[_0x57e682(0x1f2)])===null||_0xef025d===void 0x0?void 0x0:_0xef025d[0x0],_0x471358=await getWMTSLayerCapabilities(_0xf70fbf['url']?_0xf70fbf[_0x57e682(0x1f0)]:'',_0xab42e2==null?'':_0xab42e2);let _0x22330e=new a50_0x15beab(_0xf70fbf,_0x471358);return _0x22330e;}static async[a50_0x45b9e5(0x1e7)](_0x3eab0e){const _0xa39cb0=a50_0x45b9e5;var _0x5303d3;const _0x2e14f2=(_0x5303d3=_0x3eab0e[_0xa39cb0(0x1f2)])===null||_0x5303d3===void 0x0?void 0x0:_0x5303d3[0x0],_0x5bd2f5=await getWMSLayerCapabilities(_0x3eab0e[_0xa39cb0(0x1f0)]?_0x3eab0e[_0xa39cb0(0x1f0)]:'',_0x2e14f2==null?'':_0x2e14f2);let _0x5b5bd4=new a50_0xc8a128(_0x3eab0e,_0x5bd2f5);return _0x5b5bd4;}static async[a50_0x45b9e5(0x1ea)](_0x5437b8){const _0x3608fb=a50_0x45b9e5;var _0x4aa553;const _0x30b6ee=(_0x4aa553=_0x5437b8[_0x3608fb(0x1f2)])===null||_0x4aa553===void 0x0?void 0x0:_0x4aa553[0x0],_0x32f742=await getWMTSLayerCapabilities(_0x5437b8[_0x3608fb(0x1f0)]?_0x5437b8['url']:'',_0x30b6ee==null?'':_0x30b6ee);let _0x585832=new a50_0x86935d(_0x5437b8,_0x32f742);return _0x585832;}static async[a50_0x45b9e5(0x1e1)](_0x351a3a){const _0x2ed447=a50_0x45b9e5;var _0x12556e;const _0x39f3f2=(_0x12556e=_0x351a3a[_0x2ed447(0x1f2)])===null||_0x12556e===void 0x0?void 0x0:_0x12556e[0x0],_0x7bffb0=await getWFSLayerCapabilities(_0x351a3a['url']?_0x351a3a['url']:'',_0x39f3f2==null?'':_0x39f3f2);let _0x376871=new a50_0x1f983e(_0x351a3a,_0x7bffb0);return _0x376871;}static async[a50_0x45b9e5(0x1f1)](_0x1f70ca){const _0x47b7dc=a50_0x45b9e5;var _0x4eab54;const _0x273616=(_0x4eab54=_0x1f70ca[_0x47b7dc(0x1f2)])===null||_0x4eab54===void 0x0?void 0x0:_0x4eab54[0x0],_0x144de4=await getWMTSLayerCapabilities(_0x1f70ca['url']?_0x1f70ca[_0x47b7dc(0x1f0)]:'',_0x273616==null?'':_0x273616);let _0x23fda6=new a50_0x47fda8(_0x1f70ca,_0x144de4);return _0x23fda6;}static async[a50_0x45b9e5(0x1ec)](_0x136b37){const _0x3fd355=a50_0x45b9e5;var _0x241d78;const _0x2bf1c3=(_0x241d78=_0x136b37[_0x3fd355(0x1f2)])===null||_0x241d78===void 0x0?void 0x0:_0x241d78[0x0],_0x1735b2=await getWMTSLayerCapabilities(_0x136b37['url']?_0x136b37[_0x3fd355(0x1f0)]:'',_0x2bf1c3==null?'':_0x2bf1c3);let _0x3fb153=new a50_0x225dd0(_0x136b37,_0x1735b2);return _0x3fb153;}}
|
package/layers/TDTLayer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a51_0x137c(){const _0x764359=['opacity','style','boundingBoxExtent','366eQGAXD','113dRNCtM','372BQMBcG','pow','60pTVtwU','sublayers','1360GRklrX','3700605fJRZCM','layerInfo','mapIndex','KVP','66175rHQbCv','15148152VcMshf','format','EPSG:4490','projection','url','length','162715AIlmph','9244565YYHEwV','7952720HCqVfb','tileMatrixSet'];a51_0x137c=function(){return _0x764359;};return a51_0x137c();}function a51_0x4984(_0x32a952,_0x500f9f){const _0x137c6e=a51_0x137c();return a51_0x4984=function(_0x498490,_0x10e731){_0x498490=_0x498490-0xaa;let _0x38858e=_0x137c6e[_0x498490];return _0x38858e;},a51_0x4984(_0x32a952,_0x500f9f);}(function(_0xff5595,_0x5d4676){const _0x4fe150=a51_0x4984,_0x34bd1e=_0xff5595();while(!![]){try{const _0x20c357=parseInt(_0x4fe150(0xb3))/0x1*(-parseInt(_0x4fe150(0xb8))/0x2)+parseInt(_0x4fe150(0xb9))/0x3+-parseInt(_0x4fe150(0xb4))/0x4*(parseInt(_0x4fe150(0xbd))/0x5)+parseInt(_0x4fe150(0xb2))/0x6*(-parseInt(_0x4fe150(0xab))/0x7)+-parseInt(_0x4fe150(0xad))/0x8+-parseInt(_0x4fe150(0xbe))/0x9+parseInt(_0x4fe150(0xb6))/0xa*(parseInt(_0x4fe150(0xac))/0xb);if(_0x20c357===_0x5d4676)break;else _0x34bd1e['push'](_0x34bd1e['shift']());}catch(_0x4056c7){_0x34bd1e['push'](_0x34bd1e['shift']());}}}(a51_0x137c,0xd52cf));import a51_0xd0e79d from'ol/layer/Tile';import{WMTS as a51_0x128bd6}from'ol/source';import a51_0x37ef0b from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a51_0xd0e79d{constructor(_0x2af118,_0x5b2d7e){const _0x43d2b8=a51_0x4984;let _0x343861='';_0x2af118['sublayers']&&_0x2af118[_0x43d2b8(0xb7)][_0x43d2b8(0xaa)]>0x0&&(_0x343861=_0x2af118[_0x43d2b8(0xb7)]['join'](','));const _0x424708=_0x43d2b8(0xc0);let _0x4b657f=registerProj(_0x424708);const _0x269c7c=[],_0x3840af=[];for(let _0x54e046=0x1;_0x54e046<0x13;_0x54e046++){_0x269c7c[_0x54e046]=getWidth(_0x5b2d7e['boundingBoxExtent'])/(0x100*Math[_0x43d2b8(0xb5)](0x2,_0x54e046)),_0x3840af[_0x54e046]=_0x54e046+'';}super({'opacity':_0x2af118[_0x43d2b8(0xaf)],'zIndex':_0x2af118[_0x43d2b8(0xbb)],'source':new a51_0x128bd6({'style':_0x5b2d7e[_0x43d2b8(0xb0)],'url':_0x2af118[_0x43d2b8(0xc2)],'tileGrid':new a51_0x37ef0b({'origin':getTopLeft(_0x5b2d7e['boundingBoxExtent']),'resolutions':_0x269c7c,'matrixIds':_0x3840af}),'layer':_0x343861,'matrixSet':_0x5b2d7e[_0x43d2b8(0xae)],'version':'1.0.0','format':_0x5b2d7e[_0x43d2b8(0xbf)][0x0],'projection':_0x424708,'requestEncoding':_0x43d2b8(0xbc)})}),this['id']=_0x2af118['id'],this['initialExtent']=_0x5b2d7e[_0x43d2b8(0xb1)],this[_0x43d2b8(0xc1)]=_0x4b657f,this[_0x43d2b8(0xba)]=_0x2af118;}}
|
package/mapView/Map.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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);}}}
|
|
1
|
+
const a52_0x1c16fc=a52_0xc2a0;(function(_0x112af5,_0x334d97){const _0x31de06=a52_0xc2a0,_0x533bfb=_0x112af5();while(!![]){try{const _0x163314=parseInt(_0x31de06(0x217))/0x1*(-parseInt(_0x31de06(0x22b))/0x2)+parseInt(_0x31de06(0x20b))/0x3*(-parseInt(_0x31de06(0x23b))/0x4)+-parseInt(_0x31de06(0x20e))/0x5+parseInt(_0x31de06(0x20a))/0x6*(parseInt(_0x31de06(0x262))/0x7)+parseInt(_0x31de06(0x1f8))/0x8+parseInt(_0x31de06(0x226))/0x9*(-parseInt(_0x31de06(0x261))/0xa)+-parseInt(_0x31de06(0x1ed))/0xb*(-parseInt(_0x31de06(0x23f))/0xc);if(_0x163314===_0x334d97)break;else _0x533bfb['push'](_0x533bfb['shift']());}catch(_0x9d62a1){_0x533bfb['push'](_0x533bfb['shift']());}}}(a52_0xf16b,0xa6c2d));import'ol/ol.css';function a52_0xf16b(){const _0x5be94e=['arcgis-feature','getLineTempLayer','interactionManager','addMapLayers','constrainResolution','geoserver-wmts','layerType','MultiPolygon','maxZoom','arcgis-dynamic','locationGeometrys','getArcgisWMTSLayer','getTDTLayer','fitLayer','transform','fitLayerById','addWKT','tag','getLayerById','getGeoserverVectorTileLayer','getGeoserverWFSLayer','geoserver-wms','layerIds','MultiLineString','arcgis-tile','3910VZdxDm','991655dNHDAT','addFeature','16495589MBKaAN','arcgis-wmts','getArray','getDynamicLayer','getArcgisTileLayer','pointTempLayer','projection','getCode','initialExtent','getGeoserverWMTSLayer','setCenter','10405584zUAJmG','getExtent','Polygon','zoom','maxResolution','setMaxResolution','getArcgisWmsLayer','getLayers','sortTemLayer','calculateExtent','setStyle','getLayerByLayerTag','filter','addFeatures','getTempLayerByGeoType','addMapLayer','removeLayerById','changelayer','24Knccui','109587MCTDUO','layerInfo','getZIndex','4699425mccWqb','getPointTempLayer','setGeometry','getGeoserverWmsLayer','locationGeometry','all','getProjection','getSource','maxScale','628850RWEVJN','Point','extent','MultiPoint','locationWKT','addLayer','getSize','getView','push','minScale','LineString','getMetersPerUnit','getMaxZoom','getPolygonTempLayer','getLayersByIds','15579NHtkok','_options','flashGeometrys','minResolution','】服务类型','2JsQZiy','add','getTempLayerById','fit','dispatchEvent','minZoom','includes','EPSG:','getType','resetViewProjection','insertAt','lineTempLayer','getMinZoom','rgba(255,\x200,\x200,\x201)','length','GeometryCollection','48ZixqoC','layerTag','polygonTempLayer','geoserver-vector-tile','12YeJLxk','getArcgisFeatureLayer','getCoordinates','getLength','rgba(255,\x200,\x200,\x200.2)','addWKTs','center','EPSG:4490','arcgis-wms'];a52_0xf16b=function(){return _0x5be94e;};return a52_0xf16b();}import'../assets/main.css';function a52_0xc2a0(_0x2753af,_0x38c185){const _0xf16b96=a52_0xf16b();return a52_0xc2a0=function(_0xc2a0d,_0x54462f){_0xc2a0d=_0xc2a0d-0x1ec;let _0x4cb3cc=_0xf16b96[_0xc2a0d];return _0x4cb3cc;},a52_0xc2a0(_0x2753af,_0x38c185);}import a52_0x4b466 from'ol/Map';import a52_0xd6de91 from'ol/events/Event';import{defaults as a52_0x344a5a}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a52_0x51b68b from'../layers/LayerManager';import a52_0x575dd3 from'ol/layer/Vector';import a52_0xcd9bfe from'ol/source/Vector';import a52_0x545ad2 from'../controls/ControlManager';import a52_0x39954c from'../entity/Feature';import a52_0x3e13c4 from'../interaction/InteractionManager';import a52_0x2869c2 from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a52_0x2d0f4e from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a52_0xd6de91{constructor(_0x1d7a59,_0x1d28d2,_0x1cc60a){const _0x5d2286=a52_0xc2a0;super(_0x1d7a59),this[_0x5d2286(0x25e)]=_0x1d28d2,this['changetype']=_0x1cc60a;}}export default class OLMap extends a52_0x4b466{constructor(_0x3472c6,_0x9924ff,_0x29ce05){const _0x3a223b=a52_0xc2a0;_0x9924ff=_0x9924ff?_0x9924ff:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x302645=_0x9924ff['projection']?_0x3a223b(0x232)+_0x9924ff[_0x3a223b(0x1f3)]:_0x3a223b(0x246);_0x9924ff[_0x3a223b(0x1fb)]=_0x9924ff[_0x3a223b(0x1fb)]?_0x9924ff[_0x3a223b(0x1fb)]:0xa,_0x9924ff[_0x3a223b(0x230)]=_0x9924ff[_0x3a223b(0x230)]?_0x9924ff[_0x3a223b(0x230)]:0x0,_0x9924ff[_0x3a223b(0x250)]=_0x9924ff[_0x3a223b(0x250)]?_0x9924ff[_0x3a223b(0x250)]:0x1c,_0x9924ff[_0x3a223b(0x24c)]=_0x9924ff['constrainResolution']?_0x9924ff[_0x3a223b(0x24c)]:![],_0x9924ff[_0x3a223b(0x245)]=_0x9924ff[_0x3a223b(0x245)]?_0x9924ff[_0x3a223b(0x245)]:[117.22718,31.820386],registerProj(_0x302645);const _0x266cc1={'target':_0x3472c6,'view':_0x29ce05?_0x29ce05:new a52_0x2869c2({'center':_0x9924ff[_0x3a223b(0x245)],'zoom':_0x9924ff[_0x3a223b(0x1fb)],'projection':_0x302645,'minZoom':_0x9924ff[_0x3a223b(0x230)],'maxZoom':_0x9924ff[_0x3a223b(0x250)],'minResolution':_0x9924ff[_0x3a223b(0x229)],'maxResolution':_0x9924ff[_0x3a223b(0x1fc)],'constrainResolution':_0x9924ff[_0x3a223b(0x24c)]}),'controls':a52_0x344a5a({'zoom':![]})};super(_0x266cc1),_0x9924ff[_0x3a223b(0x219)]&&this[_0x3a223b(0x21e)]()[_0x3a223b(0x22e)](_0x9924ff[_0x3a223b(0x219)]),this[_0x3a223b(0x24a)]=new a52_0x3e13c4(this),this['controlManager']=new a52_0x545ad2(this),this[_0x3a223b(0x227)]=_0x9924ff;}[a52_0x1c16fc(0x21e)](){const _0x48043d=a52_0x1c16fc;return super[_0x48043d(0x21e)]();}[a52_0x1c16fc(0x255)](_0x1e808c){const _0x1ddc58=a52_0x1c16fc;var _0x2c42ae;this['getView']()['fit'](transformExtent(_0x1e808c[_0x1ddc58(0x1f5)],(_0x2c42ae=_0x1e808c[_0x1ddc58(0x1f3)])===null||_0x2c42ae===void 0x0?void 0x0:_0x2c42ae[_0x1ddc58(0x1f4)](),this[_0x1ddc58(0x21e)]()[_0x1ddc58(0x214)]()[_0x1ddc58(0x1f4)]()));}[a52_0x1c16fc(0x257)](_0x477c61){const _0x181a2f=a52_0x1c16fc;let _0xe7bfac=this[_0x181a2f(0x25a)](_0x477c61);_0xe7bfac&&this[_0x181a2f(0x255)](_0xe7bfac);}async[a52_0x1c16fc(0x207)](_0x250c4d){const _0x1e6198=a52_0x1c16fc;let _0x7604;switch(_0x250c4d[_0x1e6198(0x24e)]){case _0x1e6198(0x248):_0x7604=await a52_0x51b68b[_0x1e6198(0x240)](_0x250c4d);break;case _0x1e6198(0x251):_0x7604=await a52_0x51b68b[_0x1e6198(0x1f0)](_0x250c4d);break;case _0x1e6198(0x260):_0x7604=await a52_0x51b68b[_0x1e6198(0x1f1)](_0x250c4d);break;case _0x1e6198(0x247):_0x7604=await a52_0x51b68b[_0x1e6198(0x1fe)](_0x250c4d);break;case _0x1e6198(0x1ee):_0x7604=await a52_0x51b68b[_0x1e6198(0x253)](_0x250c4d);break;case _0x1e6198(0x25d):_0x7604=await a52_0x51b68b[_0x1e6198(0x211)](_0x250c4d);break;case'geoserver-wfs':_0x7604=await a52_0x51b68b[_0x1e6198(0x25c)](_0x250c4d);break;case _0x1e6198(0x24d):_0x7604=await a52_0x51b68b[_0x1e6198(0x1f6)](_0x250c4d);break;case _0x1e6198(0x23e):_0x7604=await a52_0x51b68b[_0x1e6198(0x25b)](_0x250c4d);break;case'tdt-c':_0x7604=await a52_0x51b68b[_0x1e6198(0x254)](_0x250c4d);break;default:throw new Error('暂不支持【'+_0x250c4d[_0x1e6198(0x24e)]+_0x1e6198(0x22a));}return this[_0x1e6198(0x21c)](_0x7604),this[_0x1e6198(0x22f)](new ChangeLayerEvent('changelayer',[_0x250c4d['id']],_0x1e6198(0x22c))),_0x7604;}async[a52_0x1c16fc(0x24b)](_0x8606f3){const _0xc2f1f1=a52_0x1c16fc;let _0x415830=[];const _0x12480d=[];for(let _0x19b883=0x0;_0x19b883<_0x8606f3[_0xc2f1f1(0x239)];_0x19b883++){const _0x922528=_0x8606f3[_0x19b883];_0x12480d[_0xc2f1f1(0x21f)](_0x922528['id']),_0x415830['push'](this['addMapLayer'](_0x922528));}const _0x75e5be=await Promise[_0xc2f1f1(0x213)](_0x415830);return this[_0xc2f1f1(0x22f)](new ChangeLayerEvent(_0xc2f1f1(0x209),_0x12480d,'add')),_0x75e5be;}['addLayer'](_0x39ef54,_0x399f81=![]){const _0x5ddcc5=a52_0x1c16fc,_0x8eefcd=_0x39ef54,_0x34eeff=this[_0x5ddcc5(0x25a)](_0x8eefcd['id']);if(_0x34eeff==null){const _0x54cac5=_0x8eefcd['layerInfo']==undefined||_0x8eefcd[_0x5ddcc5(0x20c)]['minScale']==undefined||_0x8eefcd[_0x5ddcc5(0x20c)]['minScale']<0x0?undefined:calculateResolution(_0x8eefcd[_0x5ddcc5(0x20c)][_0x5ddcc5(0x220)],this[_0x5ddcc5(0x21e)]()[_0x5ddcc5(0x214)]()[_0x5ddcc5(0x222)]()||0x0);_0x39ef54['setMinResolution'](_0x54cac5);const _0x2b5d91=_0x8eefcd['layerInfo']==undefined||_0x8eefcd['layerInfo'][_0x5ddcc5(0x216)]==undefined||_0x8eefcd[_0x5ddcc5(0x20c)]['maxScale']<0x0?undefined:calculateResolution(_0x8eefcd['layerInfo'][_0x5ddcc5(0x216)],this[_0x5ddcc5(0x21e)]()[_0x5ddcc5(0x214)]()[_0x5ddcc5(0x222)]()||0x0);_0x39ef54[_0x5ddcc5(0x1fd)](_0x2b5d91);const _0x3b82a4=this[_0x5ddcc5(0x1ff)]()['getArray']()[_0x5ddcc5(0x239)];if(!this[_0x5ddcc5(0x227)][_0x5ddcc5(0x1f3)]&&_0x3b82a4==0x0&&_0x8eefcd[_0x5ddcc5(0x1f3)]&&_0x8eefcd[_0x5ddcc5(0x1f3)][_0x5ddcc5(0x1f4)]()!=this[_0x5ddcc5(0x21e)]()[_0x5ddcc5(0x214)]()[_0x5ddcc5(0x1f4)]()){}let _0xa25996=_0x39ef54[_0x5ddcc5(0x20d)]();_0xa25996!=undefined&&_0xa25996>_0x3b82a4&&(_0xa25996=_0x3b82a4),this[_0x5ddcc5(0x1ff)]()[_0x5ddcc5(0x235)](_0xa25996==undefined?_0x3b82a4:_0xa25996,_0x39ef54),_0x399f81&&this[_0x5ddcc5(0x255)](_0x8eefcd);}}[a52_0x1c16fc(0x208)](_0x4aec7d){const _0x49dfa3=a52_0x1c16fc,_0x1ce6d9=this['getLayerById'](_0x4aec7d);_0x1ce6d9&&(this['removeLayer'](_0x1ce6d9),this[_0x49dfa3(0x22f)](new ChangeLayerEvent('changelayer',[_0x4aec7d],'remove')));}[a52_0x1c16fc(0x25a)](_0x492d10){const _0x445e54=a52_0x1c16fc;let _0xa6aea1,_0x5e1e4b=this[_0x445e54(0x1ff)]()['getArray']();for(let _0x3bb531=0x0;_0x3bb531<_0x5e1e4b['length'];_0x3bb531++){let _0x5b698e=_0x5e1e4b[_0x3bb531]['id'];if(_0x492d10==_0x5b698e){_0xa6aea1=_0x5e1e4b[_0x3bb531];break;}}return _0xa6aea1;}[a52_0x1c16fc(0x203)](_0x55523c){const _0x348b1b=a52_0x1c16fc;let _0x3cf2e4,_0xf01bc3=this[_0x348b1b(0x1ff)]()[_0x348b1b(0x1ef)]();for(let _0x197a47=0x0;_0x197a47<_0xf01bc3[_0x348b1b(0x239)];_0x197a47++){const _0x1c9df8=_0xf01bc3[_0x197a47][_0x348b1b(0x20c)];if(!_0x1c9df8)continue;let _0x419ca0=_0x1c9df8[_0x348b1b(0x23c)];if(_0x419ca0==_0x55523c){_0x3cf2e4=_0xf01bc3[_0x197a47];break;}}return _0x3cf2e4;}[a52_0x1c16fc(0x225)](_0x39a209){const _0x40da48=a52_0x1c16fc;let _0x4eea16=this[_0x40da48(0x1ff)]()[_0x40da48(0x1ef)]();return _0x4eea16[_0x40da48(0x204)](_0x3daf54=>_0x39a209[_0x40da48(0x231)](_0x3daf54['id']));}[a52_0x1c16fc(0x22d)](_0x569ae8){const _0x4be854=a52_0x1c16fc;let _0x41557c,_0x2edcb7=this[_0x4be854(0x1ff)]()['getArray']();for(let _0x2980eb=0x0;_0x2980eb<_0x2edcb7[_0x4be854(0x239)];_0x2980eb++){const _0x569772=_0x2edcb7[_0x2980eb];if(_0x569772['id']===_0x569ae8){_0x41557c=_0x569772;break;}}if(!_0x41557c){_0x41557c=new a52_0x575dd3({'zIndex':0x270f,'source':new a52_0xcd9bfe()}),_0x41557c['id']=_0x569ae8;const _0xd6e82e=this[_0x4be854(0x1ff)]()[_0x4be854(0x242)]();switch(_0x569ae8){case _0x4be854(0x236):this[_0x4be854(0x1ff)]()[_0x4be854(0x235)](_0xd6e82e-0x1>-0x1?_0xd6e82e-0x1:0x0,_0x41557c);break;case _0x4be854(0x23d):this[_0x4be854(0x1ff)]()[_0x4be854(0x235)](_0xd6e82e-0x2>-0x1?_0xd6e82e-0x2:0x0,_0x41557c);break;case _0x4be854(0x1f2):this[_0x4be854(0x1ff)]()[_0x4be854(0x235)](_0xd6e82e,_0x41557c);break;default:break;}}return _0x41557c;}['getPointTempLayer'](){const _0x52380a=a52_0x1c16fc;return this[_0x52380a(0x22d)]('pointTempLayer');}['getLineTempLayer'](){const _0x3b2f28=a52_0x1c16fc;return this[_0x3b2f28(0x22d)](_0x3b2f28(0x236));}[a52_0x1c16fc(0x224)](){const _0x46c34a=a52_0x1c16fc;return this[_0x46c34a(0x22d)]('polygonTempLayer');}[a52_0x1c16fc(0x206)](_0x10fd5a){const _0x426720=a52_0x1c16fc;let _0x33ac8f=this['getPointTempLayer']();switch(_0x10fd5a){case _0x426720(0x218):case _0x426720(0x21a):_0x33ac8f=this[_0x426720(0x20f)]();case _0x426720(0x221):case _0x426720(0x25f):_0x33ac8f=this[_0x426720(0x249)]();case _0x426720(0x1fa):case _0x426720(0x24f):_0x33ac8f=this['getPolygonTempLayer']();}return _0x33ac8f;}[a52_0x1c16fc(0x234)](_0x2ebf32){const _0x416c26=a52_0x1c16fc;let _0x1a06ef=this['getView']()[_0x416c26(0x237)](),_0x1bceac=this[_0x416c26(0x21e)]()[_0x416c26(0x223)]();registerProj(_0x2ebf32),this[_0x416c26(0x21e)]()['setProjection'](_0x2ebf32);}[a52_0x1c16fc(0x200)](){const _0x33ba03=a52_0x1c16fc;let _0x116e04=[];_0x116e04[_0x33ba03(0x21f)](this[_0x33ba03(0x20f)]()),_0x116e04['push'](this[_0x33ba03(0x249)]()),_0x116e04[_0x33ba03(0x21f)](this['getPolygonTempLayer']());const _0x220a8b=this[_0x33ba03(0x1ff)]()[_0x33ba03(0x1ef)]()['length'];for(let _0x2988ca=0x0;_0x2988ca<_0x116e04[_0x33ba03(0x239)];_0x2988ca++){const _0x5ac2fe=_0x116e04[_0x2988ca];this[_0x33ba03(0x1ff)]()[_0x33ba03(0x235)](_0x220a8b-_0x2988ca-0x1,_0x5ac2fe);}}[a52_0x1c16fc(0x1f9)](){const _0x2092d9=a52_0x1c16fc;return this[_0x2092d9(0x21e)]()[_0x2092d9(0x201)](this[_0x2092d9(0x21d)]());}[a52_0x1c16fc(0x258)](_0x365c91,_0x4d893d,_0x53f3ed,_0x2fcc4b=!![],_0x50d4d4={'color':a52_0x1c16fc(0x243),'opacity':0.2,'outlineColor':a52_0x1c16fc(0x238),'outlineWidth':0x2}){const _0x345d3c=a52_0x1c16fc;var _0x220803;const _0x175db8=fromWKT(_0x365c91,_0x4d893d,this['getView']()[_0x345d3c(0x214)]()[_0x345d3c(0x1f4)]());if(!_0x175db8)return;const _0x2c372d=this[_0x345d3c(0x206)](_0x175db8[_0x345d3c(0x233)]()),_0x17d7e3=getStyle(_0x50d4d4),_0x2a905e=new a52_0x39954c();_0x2a905e[_0x345d3c(0x210)](_0x175db8),_0x2a905e[_0x345d3c(0x202)](_0x17d7e3),_0x2a905e[_0x345d3c(0x259)]=_0x53f3ed,(_0x220803=_0x2c372d[_0x345d3c(0x215)]())===null||_0x220803===void 0x0?void 0x0:_0x220803[_0x345d3c(0x1ec)](_0x2a905e),_0x2fcc4b&&this[_0x345d3c(0x212)](_0x175db8,undefined,1.2,![]);}[a52_0x1c16fc(0x244)](_0x48fcd0,_0x4afd3e,_0x288717,_0x3cf9d5=!![],_0x9b019a={'color':a52_0x1c16fc(0x243),'opacity':0.2,'outlineColor':a52_0x1c16fc(0x238),'outlineWidth':0x2}){const _0x5b2002=a52_0x1c16fc;var _0x1a14f6;const _0x1781e2=fromWKTs(_0x48fcd0,_0x4afd3e,this[_0x5b2002(0x21e)]()[_0x5b2002(0x214)]()[_0x5b2002(0x1f4)]());if(!_0x1781e2||_0x1781e2[_0x5b2002(0x239)]==0x0)return;const _0x223ba1=this[_0x5b2002(0x206)](_0x1781e2[0x0][_0x5b2002(0x233)]()),_0x35823b=getStyle(_0x9b019a);let _0x3d94f5=[];for(const _0x2cf4cd of _0x1781e2){const _0x5ef014=new a52_0x39954c();_0x5ef014[_0x5b2002(0x210)](_0x2cf4cd),_0x5ef014[_0x5b2002(0x202)](_0x35823b),_0x5ef014['fromType']='import',_0x5ef014['isSelected']=!![],_0x5ef014[_0x5b2002(0x259)]=_0x288717,_0x3d94f5['push'](_0x5ef014);}(_0x1a14f6=_0x223ba1['getSource']())===null||_0x1a14f6===void 0x0?void 0x0:_0x1a14f6[_0x5b2002(0x205)](_0x3d94f5),_0x3cf9d5&&this['locationGeometrys'](_0x1781e2,undefined,1.2,![]);}[a52_0x1c16fc(0x21b)](_0x3d0bf6,_0x4d5028,_0x468512=1.2,_0x34b374=!![]){const _0x1edcec=a52_0x1c16fc;if(!_0x3d0bf6)return;let _0x45e8a1=fromWKT(_0x3d0bf6,_0x4d5028,this[_0x1edcec(0x21e)]()[_0x1edcec(0x214)]()[_0x1edcec(0x1f4)]());if(!_0x45e8a1)return;this[_0x1edcec(0x212)](_0x45e8a1,_0x4d5028,_0x468512,_0x34b374);}['locationWKTs'](_0x2099bd,_0x34d9f8,_0x38a86b=1.2,_0x451641=!![]){const _0x21f6ce=a52_0x1c16fc;if(!_0x2099bd||_0x2099bd[_0x21f6ce(0x239)]===0x0)return;const _0x53465c=[];for(let _0x245522=0x0;_0x245522<_0x2099bd['length'];_0x245522++){let _0x5cb73a=_0x2099bd[_0x245522],_0x2f7aaa=fromWKT(_0x5cb73a,_0x34d9f8,this[_0x21f6ce(0x21e)]()[_0x21f6ce(0x214)]()[_0x21f6ce(0x1f4)]());if(!_0x2f7aaa)continue;_0x53465c['push'](_0x2f7aaa);}this[_0x21f6ce(0x252)](_0x53465c,_0x34d9f8,_0x38a86b,_0x451641);}['locationGeometry'](_0x5b3c83,_0x2b8c29,_0xff0ecd=1.2,_0x2a2171=!![]){const _0x55f77e=a52_0x1c16fc;if(!_0x5b3c83)return;let _0x1e8eaf=_0x5b3c83;_0x2b8c29&&(_0x1e8eaf=_0x5b3c83[_0x55f77e(0x256)](_0x2b8c29,this['getView']()[_0x55f77e(0x214)]()));switch(_0x1e8eaf[_0x55f77e(0x233)]()){case _0x55f77e(0x218):this[_0x55f77e(0x21e)]()[_0x55f77e(0x1f7)](_0x1e8eaf[_0x55f77e(0x241)]());break;case _0x55f77e(0x1fa):case'MultiPoint':case'MultiLineString':case'MultiPolygon':case _0x55f77e(0x23a):this[_0x55f77e(0x21e)]()[_0x55f77e(0x22e)](expandExtent(_0x1e8eaf[_0x55f77e(0x1f9)](),_0xff0ecd));break;}if(_0x2a2171){const _0x5cddec=new a52_0x2d0f4e(this);_0x5cddec[_0x55f77e(0x228)]([_0x1e8eaf],0x3);}}['locationGeometrys'](_0xfc2505,_0x1fc120,_0x30bca4=1.2,_0x26b4fc=!![]){const _0x3e4537=a52_0x1c16fc;if(!_0xfc2505||_0xfc2505[_0x3e4537(0x239)]===0x0)return;let _0x2b4423=null;for(const _0x5f52ec of _0xfc2505){_0x2b4423?_0x2b4423=union(_0x2b4423,_0x5f52ec):_0x2b4423=_0x5f52ec;}_0x2b4423&&this[_0x3e4537(0x212)](_0x2b4423,_0x1fc120,_0x30bca4,![]);if(_0x26b4fc){const _0x1b12fc=new a52_0x2d0f4e(this);_0x1b12fc['flashGeometrys'](_0xfc2505,0x3);}}}
|
package/mapView/View.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a53_0x355701=a53_0x1592;(function(_0x290149,_0x3a59b4){var _0x28e61b=a53_0x1592,_0x1813ab=_0x290149();while(!![]){try{var _0x32af5e=-parseInt(_0x28e61b(0x171))/0x1+parseInt(_0x28e61b(0x16a))/0x2*(-parseInt(_0x28e61b(0x16e))/0x3)+parseInt(_0x28e61b(0x172))/0x4+-parseInt(_0x28e61b(0x173))/0x5+parseInt(_0x28e61b(0x16f))/0x6*(parseInt(_0x28e61b(0x169))/0x7)+parseInt(_0x28e61b(0x16d))/0x8+-parseInt(_0x28e61b(0x16c))/0x9*(-parseInt(_0x28e61b(0x16b))/0xa);if(_0x32af5e===_0x3a59b4)break;else _0x1813ab['push'](_0x1813ab['shift']());}catch(_0x2cd62f){_0x1813ab['push'](_0x1813ab['shift']());}}}(a53_0x4252,0xd102a));function a53_0x1592(_0x540cb9,_0x3b3822){var _0x425207=a53_0x4252();return a53_0x1592=function(_0x159248,_0x2a87d8){_0x159248=_0x159248-0x169;var _0x451516=_0x425207[_0x159248];return _0x451516;},a53_0x1592(_0x540cb9,_0x3b3822);}import a53_0x38f8fb from'ol/View';import{get}from'ol/proj';export default class OLView extends a53_0x38f8fb{constructor(_0x5cba9b){super(_0x5cba9b);}[a53_0x355701(0x170)](_0x43c53f){var _0x20f933=a53_0x355701;this[_0x20f933(0x174)]=get(_0x43c53f),this[_0x20f933(0x175)]({'projection_':get(_0x43c53f)});}}function a53_0x4252(){var _0x3ec5ca=['4529935buPcou','projection_','setProperties','35SjZNHI','2455022zgiVQU','10NKkuMK','17171631DvbpUG','188424pchqid','3Rnkmlx','1431594bEpoqp','setProjection','1148763TIkPRz','4055440NSUwIk'];a53_0x4252=function(){return _0x3ec5ca;};return a53_0x4252();}
|
package/package.json
CHANGED
package/plot/Plot.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x50e7b0,_0x31c2a4){const _0x1fe3e3=a61_0x51db,_0x569d95=_0x50e7b0();while(!![]){try{const _0x2ed205=-parseInt(_0x1fe3e3(0x131))/0x1+-parseInt(_0x1fe3e3(0x11f))/0x2*(-parseInt(_0x1fe3e3(0x121))/0x3)+-parseInt(_0x1fe3e3(0x132))/0x4+parseInt(_0x1fe3e3(0x120))/0x5+-parseInt(_0x1fe3e3(0x122))/0x6+-parseInt(_0x1fe3e3(0x12a))/0x7*(-parseInt(_0x1fe3e3(0x127))/0x8)+parseInt(_0x1fe3e3(0x11d))/0x9*(parseInt(_0x1fe3e3(0x12e))/0xa);if(_0x2ed205===_0x31c2a4)break;else _0x569d95['push'](_0x569d95['shift']());}catch(_0x37f25e){_0x569d95['push'](_0x569d95['shift']());}}}(a61_0x401e,0x8d274));function a61_0x51db(_0x3f177b,_0x3d9ae0){const _0x401e73=a61_0x401e();return a61_0x51db=function(_0x51dbf1,_0x41c593){_0x51dbf1=_0x51dbf1-0x11c;let _0x5da446=_0x401e73[_0x51dbf1];return _0x5da446;},a61_0x51db(_0x3f177b,_0x3d9ae0);}import a61_0x42059f from'../entity/GeometryType';import a61_0x562cff from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';import{getPolygonStyle}from'../style/PolygonStyleFormat';import a61_0x276b86 from'./geometry/polygon/RectAngle';import a61_0x519f64 from'./geometry/polyline/Polyline';import a61_0xeea6ea from'./geometry/point/Point';import a61_0xb2fc3 from'./geometry/polygon/Circle';const defaultStyle={'color':[0x40,0xaf,0xc1,0.08],'fill':!![],'opacity':0.6,'outline':!![],'outlineColor':[0x40,0xaf,0xc1,0x1],'outlineOpacity':0.6,'outlineWidth':0x2};function a61_0x401e(){const _0x531e16=['4571JxgdCQ','assign','toLowerCase','Point','10qxoImf','MAX_VALUE','Polygon','1036631vqNiej','1876904xUfNot','Curve','Circle','15165459MfNaLX','Arrow','90454rGsUqd','1654130zfXbYa','15NNelMS','3095010BNKdlf','Rectangle','Ellipsoid','PolyLine','ArrowPincerlike','4384tHJmEB','Ellipse','SurfaceClosed'];a61_0x401e=function(){return _0x531e16;};return a61_0x401e();}export function createPlot(_0x19df27,_0xcd1d6){const _0x35bc7b=a61_0x51db;_0x19df27=_0x19df27[_0x35bc7b(0x12c)]();switch(_0x19df27){case a61_0x42059f[_0x35bc7b(0x12d)]:case'pointermove':return new a61_0xeea6ea(_0xcd1d6);case a61_0x42059f[_0x35bc7b(0x125)]:return new a61_0x519f64(_0xcd1d6);case a61_0x42059f[_0x35bc7b(0x11c)]:return new a61_0xb2fc3(_0xcd1d6);case a61_0x42059f['Rectangle']:return new a61_0x276b86(_0xcd1d6);case a61_0x42059f[_0x35bc7b(0x130)]:return new a61_0x562cff(_0xcd1d6);}}export function getPlotCount(_0x1fd29e){const _0x5436a1=a61_0x51db;_0x1fd29e=_0x1fd29e[_0x5436a1(0x12c)]();let _0x280b57={'fixPoint':0x0,'minPoint':0x0};switch(_0x1fd29e){case a61_0x42059f['Point']:_0x280b57={'fixPoint':0x1,'minPoint':0x0};break;case a61_0x42059f[_0x5436a1(0x125)]:_0x280b57={'fixPoint':Number[_0x5436a1(0x12f)],'minPoint':0x1};break;case a61_0x42059f[_0x5436a1(0x130)]:_0x280b57={'fixPoint':Number[_0x5436a1(0x12f)],'minPoint':0x2};break;case a61_0x42059f['Rectangle']:_0x280b57={'fixPoint':0x2,'minPoint':0x1};break;case a61_0x42059f[_0x5436a1(0x11c)]:_0x280b57={'fixPoint':0x2,'minPoint':0x1};break;case a61_0x42059f[_0x5436a1(0x133)]:_0x280b57={'fixPoint':Number[_0x5436a1(0x12f)],'minPoint':0x1};break;case a61_0x42059f[_0x5436a1(0x128)]:case a61_0x42059f[_0x5436a1(0x124)]:_0x280b57={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x280b57;}export function getStyle(_0x1bc9d8,_0x4dfa89,_0x64f61e){const _0x45f0b7=a61_0x51db;_0x1bc9d8=_0x1bc9d8['toLowerCase'](),_0x4dfa89=Object[_0x45f0b7(0x12b)](Object[_0x45f0b7(0x12b)]({},defaultStyle),_0x4dfa89);switch(_0x1bc9d8){case a61_0x42059f[_0x45f0b7(0x12d)]:return function(_0x347682,_0x3493d8){return getPointSingleStyle(_0x1bc9d8,_0x4dfa89,_0x3493d8,_0x64f61e);};case a61_0x42059f[_0x45f0b7(0x125)]:case a61_0x42059f[_0x45f0b7(0x133)]:return function(_0x560531,_0x162fde){return getPolylineStyle(_0x4dfa89,'',_0x162fde,_0x64f61e);};case a61_0x42059f[_0x45f0b7(0x11c)]:case a61_0x42059f[_0x45f0b7(0x123)]:case a61_0x42059f[_0x45f0b7(0x128)]:case a61_0x42059f['Ellipsoid']:case a61_0x42059f[_0x45f0b7(0x129)]:case a61_0x42059f[_0x45f0b7(0x130)]:case a61_0x42059f['ArrowAttack']:case a61_0x42059f[_0x45f0b7(0x126)]:case a61_0x42059f[_0x45f0b7(0x11e)]:case a61_0x42059f['AssemblySite']:return function(_0x2faef2,_0x111e28){return getPolygonStyle(_0x4dfa89,'',_0x111e28,_0x64f61e);};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a54_0x399f5b=a54_0x4b58;(function(_0x1a792f,_0x4d5310){var _0x12b818=a54_0x4b58,_0x4f6eca=_0x1a792f();while(!![]){try{var _0x59a22e=parseInt(_0x12b818(0x1be))/0x1*(parseInt(_0x12b818(0x1ad))/0x2)+-parseInt(_0x12b818(0x1bb))/0x3+parseInt(_0x12b818(0x1c0))/0x4*(-parseInt(_0x12b818(0x1c2))/0x5)+parseInt(_0x12b818(0x1b7))/0x6*(-parseInt(_0x12b818(0x1b6))/0x7)+parseInt(_0x12b818(0x1c1))/0x8*(-parseInt(_0x12b818(0x1a8))/0x9)+-parseInt(_0x12b818(0x1b2))/0xa+parseInt(_0x12b818(0x1b0))/0xb*(parseInt(_0x12b818(0x1ac))/0xc);if(_0x59a22e===_0x4d5310)break;else _0x4f6eca['push'](_0x4f6eca['shift']());}catch(_0x4a5d71){_0x4f6eca['push'](_0x4f6eca['shift']());}}}(a54_0x26d4,0x7a423));import{Map}from'ol';function a54_0x4b58(_0x3b6185,_0x2a74de){var _0x26d4ee=a54_0x26d4();return a54_0x4b58=function(_0x4b58b6,_0x4e8c1e){_0x4b58b6=_0x4b58b6-0x1a7;var _0x29ea96=_0x26d4ee[_0x4b58b6];return _0x29ea96;},a54_0x4b58(_0x3b6185,_0x2a74de);}import{Point as a54_0x35fb7d}from'ol/geom';class Point extends a54_0x35fb7d{constructor(_0x2ad932){var _0x1a3a9d=a54_0x4b58;super([]),this[_0x1a3a9d(0x1bd)]=_0x1a3a9d(0x1af),this[_0x1a3a9d(0x1b5)]=_0x2ad932,this['setPoints'](_0x2ad932);}[a54_0x399f5b(0x1bf)](){var _0x2748a5=a54_0x399f5b;return this[_0x2748a5(0x1bd)];}['generate'](){var _0x11f52e=a54_0x399f5b;this['setCoordinates'](this[_0x11f52e(0x1b5)][0x0]);}[a54_0x399f5b(0x1a9)](_0x5f0497){var _0x249b7c=a54_0x399f5b;if(_0x5f0497&&_0x5f0497 instanceof Map)this[_0x249b7c(0x1c5)]=_0x5f0497;else throw new Error(_0x249b7c(0x1ae));}[a54_0x399f5b(0x1b9)](){var _0x38c3c7=a54_0x399f5b;return this[_0x38c3c7(0x1c5)];}[a54_0x399f5b(0x1c3)](){return!![];}[a54_0x399f5b(0x1b1)](_0xbb494e){var _0x539c4c=a54_0x399f5b;_0xbb494e&&_0xbb494e['length']>=0x1&&(this['points']=_0xbb494e,this[_0x539c4c(0x1aa)]());}[a54_0x399f5b(0x1c4)](){var _0x5a8918=a54_0x399f5b;return this[_0x5a8918(0x1b5)];}['updatePoint'](_0x319883,_0x264b7f){_0x264b7f>=0x0&&_0x264b7f<this['points']['length']&&(this['points'][_0x264b7f]=_0x319883,this['generate']());}[a54_0x399f5b(0x1ba)](_0xdc420e){var _0x133160=a54_0x399f5b;this[_0x133160(0x1a7)](_0xdc420e,this[_0x133160(0x1b5)][_0x133160(0x1b8)]-0x1);}[a54_0x399f5b(0x1bc)](){}[a54_0x399f5b(0x1b4)](_0x507983){var _0x544563=a54_0x399f5b;this[_0x544563(0x1b3)]=JSON['parse'](JSON[_0x544563(0x1ab)](_0x507983));}}export default Point;function a54_0x26d4(){var _0x4a39ee=['stringify','592248kUYMLb','164siiFYg','传入的不是地图对象!','Point','352kOjMBL','setPoints','407770OmyoVp','style','setStyle','points','63WyFdea','412332uGveeT','length','getMap','updateLastPoint','533235HajFvb','finishDrawing','type','8544UXpeHv','getPlotType','1264lytMwq','128488iQCwfv','2455hhekpq','isPlot','getPoints','map','updatePoint','441shndDM','setMap','generate'];a54_0x26d4=function(){return _0x4a39ee;};return a54_0x26d4();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a55_0x7de2(_0x149120,_0x2004e9){var _0x1f0b23=a55_0x1f0b();return a55_0x7de2=function(_0x7de22c,_0x4f5a32){_0x7de22c=_0x7de22c-0xdc;var _0x2ae380=_0x1f0b23[_0x7de22c];return _0x2ae380;},a55_0x7de2(_0x149120,_0x2004e9);}var a55_0x13dec0=a55_0x7de2;(function(_0x89b6fa,_0x413144){var _0x3e1a79=a55_0x7de2,_0x1064e9=_0x89b6fa();while(!![]){try{var _0x28ed78=-parseInt(_0x3e1a79(0xdf))/0x1+-parseInt(_0x3e1a79(0xf3))/0x2+-parseInt(_0x3e1a79(0xdc))/0x3*(parseInt(_0x3e1a79(0xe2))/0x4)+-parseInt(_0x3e1a79(0xe1))/0x5*(-parseInt(_0x3e1a79(0xeb))/0x6)+-parseInt(_0x3e1a79(0xea))/0x7+-parseInt(_0x3e1a79(0xf0))/0x8*(-parseInt(_0x3e1a79(0xec))/0x9)+parseInt(_0x3e1a79(0xed))/0xa;if(_0x28ed78===_0x413144)break;else _0x1064e9['push'](_0x1064e9['shift']());}catch(_0x546fa9){_0x1064e9['push'](_0x1064e9['shift']());}}}(a55_0x1f0b,0x92d3b));import{Polygon}from'ol/geom';function a55_0x1f0b(){var _0x5a2d3d=['getPointCount','setStyle','186845rHpbRn','generate','565dKQfRx','4EkmGBd','style','slice','stringify','length','map','points','isPlot','3488352VXIZyJ','46122qwZJtP','942237icCDAO','12070290QliavK','getType','type','40MtUmDz','getGeoJson','getPoints','903836hxXflh','2581869WaDfay'];a55_0x1f0b=function(){return _0x5a2d3d;};return a55_0x1f0b();}import a55_0x3ca107 from'ol/format/GeoJSON';import a55_0x28de2b from'../../../mapView/Map';class BasePolygon extends Polygon{constructor(){var _0x58ad78=a55_0x7de2;super([]),this[_0x58ad78(0xe8)]=[];}[a55_0x13dec0(0xee)](){var _0x336e04=a55_0x13dec0;return this[_0x336e04(0xef)]?this['type']:super['getType']();}[a55_0x13dec0(0xf1)](){return new a55_0x3ca107()['writeGeometryObject'](this);}[a55_0x13dec0(0xde)](_0x2f7c47){var _0x36cfb8=a55_0x13dec0;_0x2f7c47&&(this[_0x36cfb8(0xe3)]=JSON['parse'](JSON[_0x36cfb8(0xe5)](_0x2f7c47)));}['setMap'](_0x1e6360){var _0x21cb68=a55_0x13dec0;if(_0x1e6360&&_0x1e6360 instanceof a55_0x28de2b)this[_0x21cb68(0xe7)]=_0x1e6360;else throw new Error('传入的不是地图对象!');}['getMap'](){var _0x1fa9fb=a55_0x13dec0;return this[_0x1fa9fb(0xe7)];}[a55_0x13dec0(0xe9)](){return!![];}['setPoints'](_0x1f14c5){var _0x90e1aa=a55_0x13dec0;this[_0x90e1aa(0xe8)]=!_0x1f14c5?[]:_0x1f14c5,this['points'][_0x90e1aa(0xe6)]>=0x1&&this[_0x90e1aa(0xe0)]();}[a55_0x13dec0(0xe0)](){}[a55_0x13dec0(0xf2)](){var _0x3d388e=a55_0x13dec0;return this['points'][_0x3d388e(0xe4)](0x0);}[a55_0x13dec0(0xdd)](){var _0x488de5=a55_0x13dec0;return this[_0x488de5(0xe8)]['length'];}['finishDrawing'](){}}export default BasePolygon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a56_0x4d817f=a56_0x1520;(function(_0x2fd5e5,_0x5e237a){const _0x4c47ee=a56_0x1520,_0x36e23f=_0x2fd5e5();while(!![]){try{const _0x1c5689=-parseInt(_0x4c47ee(0x208))/0x1*(parseInt(_0x4c47ee(0x203))/0x2)+-parseInt(_0x4c47ee(0x200))/0x3*(-parseInt(_0x4c47ee(0x1f8))/0x4)+parseInt(_0x4c47ee(0x1f9))/0x5*(-parseInt(_0x4c47ee(0x1f3))/0x6)+-parseInt(_0x4c47ee(0x1f4))/0x7*(-parseInt(_0x4c47ee(0x209))/0x8)+-parseInt(_0x4c47ee(0x206))/0x9*(-parseInt(_0x4c47ee(0x1ff))/0xa)+-parseInt(_0x4c47ee(0x207))/0xb*(parseInt(_0x4c47ee(0x205))/0xc)+parseInt(_0x4c47ee(0x202))/0xd*(parseInt(_0x4c47ee(0x1fd))/0xe);if(_0x1c5689===_0x5e237a)break;else _0x36e23f['push'](_0x36e23f['shift']());}catch(_0x17c122){_0x36e23f['push'](_0x36e23f['shift']());}}}(a56_0x5502,0x6b466));import{Circle as a56_0x2f83c1}from'ol/geom';import a56_0x883e51 from'ol/format/GeoJSON';import{offset}from'ol/sphere';import{squaredDistance as a56_0x1a8b0c}from'ol/coordinate';function a56_0x1520(_0x41f0fb,_0x1652d6){const _0x550220=a56_0x5502();return a56_0x1520=function(_0x152087,_0x29b405){_0x152087=_0x152087-0x1ef;let _0x4bf072=_0x550220[_0x152087];return _0x4bf072;},a56_0x1520(_0x41f0fb,_0x1652d6);}import{fromCircle}from'ol/geom/Polygon';import{compareArray}from'../../../utils/ArrayUtil';class Circle extends a56_0x2f83c1{constructor(_0xd1d0c6){const _0x24257e=a56_0x1520;super([]),this[_0x24257e(0x1f6)]=_0xd1d0c6,this[_0x24257e(0x1fb)]=_0x24257e(0x201),_0xd1d0c6&&_0xd1d0c6['length']>0x0&&this[_0x24257e(0x1f0)](_0xd1d0c6);}['setPoints'](_0x1084fa){const _0x327752=a56_0x1520;var _0x2c43ed;((_0x2c43ed=this[_0x327752(0x1f6)])===null||_0x2c43ed===void 0x0?void 0x0:_0x2c43ed[_0x327752(0x1fc)])>0x0&&(_0x1084fa===null||_0x1084fa===void 0x0?void 0x0:_0x1084fa[_0x327752(0x1fc)])>0x0&&!compareArray(this[_0x327752(0x1f6)][0x0],_0x1084fa[0x0])?this[_0x327752(0x1f7)](_0x1084fa[0x0]):(this[_0x327752(0x1f6)]=!_0x1084fa?[]:_0x1084fa,this[_0x327752(0x1f6)][_0x327752(0x1fc)]>=0x1&&(this[_0x327752(0x1f1)]&&this[_0x327752(0x1f1)]()));}['generate'](){const _0x137b16=a56_0x1520;let _0x469bf8=this[_0x137b16(0x1f6)][_0x137b16(0x1fc)];if(_0x469bf8<0x2)return![];else{const _0x4bd1ca=this[_0x137b16(0x1f6)][0x0],_0x1848bb=a56_0x1a8b0c(_0x4bd1ca,this[_0x137b16(0x1f6)][0x1]);this['setCenterAndRadius'](_0x4bd1ca,Math[_0x137b16(0x1fa)](_0x1848bb));}}['setCenter'](_0x26439b){const _0x476602=a56_0x1520;this['setCenter'](_0x26439b),this['points']=[_0x26439b,offset(_0x26439b,this[_0x476602(0x1ef)](),this[_0x476602(0x1f5)](0x5a))],this['generate']();}[a56_0x4d817f(0x1f5)](_0x56f70e){return _0x56f70e*Math['PI']/0xb4;}[a56_0x4d817f(0x1f2)](){const _0x372d40=a56_0x4d817f;return new a56_0x883e51()[_0x372d40(0x204)](fromCircle(this));}['updatePoint'](_0x328dac,_0x4b6e7e){const _0x1c7461=a56_0x4d817f;_0x4b6e7e>=0x0&&_0x4b6e7e<this[_0x1c7461(0x1f6)][_0x1c7461(0x1fc)]&&(this[_0x1c7461(0x1f6)][_0x4b6e7e]=_0x328dac,this[_0x1c7461(0x1f1)]());}['updateLastPoint'](_0x552e06){const _0x4d1f4e=a56_0x4d817f;this[_0x4d1f4e(0x1fe)](_0x552e06,this[_0x4d1f4e(0x1f6)][_0x4d1f4e(0x1fc)]-0x1);}}export default Circle;function a56_0x5502(){const _0x3ac263=['getRadius','setPoints','generate','getGeoJson','6396YObZMi','204099wcoPMM','toRadians','points','setCenter','466536MTKabh','3605qPGfef','sqrt','type','length','28FtiMuz','updatePoint','398270ZREqJr','3XjZRYZ','Circle','2314117YbhuyD','100574BoUiBM','writeGeometryObject','48rBuywg','108LAZejQ','1202531twpJAw','3bCHlma','232mBJXxU'];a56_0x5502=function(){return _0x3ac263;};return a56_0x5502();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a57_0x226729=a57_0x2094;(function(_0x10536d,_0x2023ef){const _0x2a4e40=a57_0x2094,_0x165ec8=_0x10536d();while(!![]){try{const _0x4078df=parseInt(_0x2a4e40(0x1c6))/0x1*(-parseInt(_0x2a4e40(0x1c4))/0x2)+-parseInt(_0x2a4e40(0x1c1))/0x3+parseInt(_0x2a4e40(0x1be))/0x4*(-parseInt(_0x2a4e40(0x1d3))/0x5)+parseInt(_0x2a4e40(0x1c3))/0x6*(-parseInt(_0x2a4e40(0x1d2))/0x7)+parseInt(_0x2a4e40(0x1d5))/0x8*(parseInt(_0x2a4e40(0x1cb))/0x9)+-parseInt(_0x2a4e40(0x1d0))/0xa*(-parseInt(_0x2a4e40(0x1d4))/0xb)+-parseInt(_0x2a4e40(0x1ca))/0xc*(-parseInt(_0x2a4e40(0x1bf))/0xd);if(_0x4078df===_0x2023ef)break;else _0x165ec8['push'](_0x165ec8['shift']());}catch(_0x423e1a){_0x165ec8['push'](_0x165ec8['shift']());}}}(a57_0x3779,0xcdacc));function a57_0x3779(){const _0x38c18d=['stringify','generate','_closed','Polygon','2586960SowKXD','getPointCount','7DvPQVf','5MfXZoY','66VxiwkH','12136IhrJOX','points','1376196ijoegi','13GKjDyp','setCoordinates','2816355onVsUL','isPlot','4374036VPYEMF','1744GYkQOu','updatePoint','347vtuzTp','length','setPoints','push','6204036oGHnDI','6453wEUFgK'];a57_0x3779=function(){return _0x38c18d;};return a57_0x3779();}function a57_0x2094(_0x3da98a,_0x453a65){const _0x377987=a57_0x3779();return a57_0x2094=function(_0x20946f,_0x393d2b){_0x20946f=_0x20946f-0x1bd;let _0x57256e=_0x377987[_0x20946f];return _0x57256e;},a57_0x2094(_0x3da98a,_0x453a65);}import a57_0x315363 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class Polygon extends a57_0x315363{constructor(_0x257ff6){const _0x3b6cb9=a57_0x2094;super(),this['type']=_0x3b6cb9(0x1cf),_0x257ff6&&_0x257ff6['length']>0x0&&getDeepth(_0x257ff6)==0x2?this[_0x3b6cb9(0x1c8)](_0x257ff6):this[_0x3b6cb9(0x1c0)](_0x257ff6);}[a57_0x226729(0x1ce)](_0x1e07c8){const _0x5b9a84=a57_0x226729;let _0x38258f=_0x1e07c8[0x0],_0x19f514=_0x1e07c8[_0x1e07c8[_0x5b9a84(0x1c7)]-0x1];return _0x38258f[0x0]===_0x19f514[0x0]&&_0x38258f[0x1]===_0x19f514[0x1]&&_0x38258f[0x2]===_0x19f514[0x2];}[a57_0x226729(0x1cd)](){const _0x576671=a57_0x226729;let _0x5766cc=this[_0x576671(0x1d1)]();if(_0x5766cc<0x2)return![];else{let _0xd62827=JSON['parse'](JSON[_0x576671(0x1cc)](this[_0x576671(0x1bd)]));_0x5766cc>=0x3&&(!this['_closed'](_0xd62827)&&_0xd62827[_0x576671(0x1c9)](_0xd62827[0x0])),this[_0x576671(0x1c0)]([_0xd62827]);}}[a57_0x226729(0x1c5)](_0x4d1cab,_0x32620d){const _0x30da95=a57_0x226729;_0x32620d>=0x0&&_0x32620d<this[_0x30da95(0x1bd)]['length']&&(this[_0x30da95(0x1bd)][_0x32620d]=_0x4d1cab,this[_0x30da95(0x1cd)]());}[a57_0x226729(0x1c2)](){return![];}['updateLastPoint'](_0x4b2c9c){const _0xb01ca0=a57_0x226729;this[_0xb01ca0(0x1c5)](_0x4b2c9c,this[_0xb01ca0(0x1bd)]['length']-0x1);}}export default Polygon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a58_0x27b0(){const _0x13a681=['setCoordinates','updatePoint','271013FymijR','length','points','getCoordinates','5962314fvxLgb','generate','Polygon','7aEygFQ','8794005oOERxO','6hBgdLI','3635310sUlwDH','5NuyAFO','404955EOGDnD','88xhVyMa','type','3031364FHijnS','232814VsMwuJ'];a58_0x27b0=function(){return _0x13a681;};return a58_0x27b0();}const a58_0x524bd0=a58_0xdc39;(function(_0x307136,_0x221ddd){const _0x12b32b=a58_0xdc39,_0x37d65f=_0x307136();while(!![]){try{const _0x54424b=parseInt(_0x12b32b(0xbe))/0x1+-parseInt(_0x12b32b(0xbb))/0x2*(-parseInt(_0x12b32b(0xb4))/0x3)+parseInt(_0x12b32b(0xba))/0x4*(parseInt(_0x12b32b(0xb6))/0x5)+-parseInt(_0x12b32b(0xaf))/0x6*(-parseInt(_0x12b32b(0xb2))/0x7)+-parseInt(_0x12b32b(0xb8))/0x8*(parseInt(_0x12b32b(0xb7))/0x9)+-parseInt(_0x12b32b(0xb5))/0xa+-parseInt(_0x12b32b(0xb3))/0xb;if(_0x54424b===_0x221ddd)break;else _0x37d65f['push'](_0x37d65f['shift']());}catch(_0x4841cf){_0x37d65f['push'](_0x37d65f['shift']());}}}(a58_0x27b0,0x91dd0));import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a58_0x280137 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';function a58_0xdc39(_0x58d129,_0x102bde){const _0x27b009=a58_0x27b0();return a58_0xdc39=function(_0xdc398d,_0x4180a0){_0xdc398d=_0xdc398d-0xad;let _0x391bc8=_0x27b009[_0xdc398d];return _0x391bc8;},a58_0xdc39(_0x58d129,_0x102bde);}class RectAngle extends a58_0x280137{constructor(_0x46df47){const _0x9e5c20=a58_0xdc39;super(),this[_0x9e5c20(0xb9)]=_0x9e5c20(0xb1),_0x46df47&&_0x46df47['length']>0x0&&getDeepth(_0x46df47)==0x2?this['setPoints'](_0x46df47):this[_0x9e5c20(0xbc)](_0x46df47);}['generate'](){const _0x35ef0a=a58_0xdc39;if(this[_0x35ef0a(0xad)][_0x35ef0a(0xbf)]===0x2){let _0x52c644=[],_0x362bff=boundingExtent(this['points']),_0x504c75=fromExtent(_0x362bff);_0x52c644=_0x504c75[_0x35ef0a(0xae)](),this[_0x35ef0a(0xbc)](_0x52c644);}}[a58_0x524bd0(0xbd)](_0x370d46,_0x1acdcb){const _0x22abbb=a58_0x524bd0;_0x1acdcb>=0x0&&_0x1acdcb<this[_0x22abbb(0xad)]['length']&&(this[_0x22abbb(0xad)][_0x1acdcb]=_0x370d46,this[_0x22abbb(0xb0)]());}['updateLastPoint'](_0x11de65){const _0x45b5dd=a58_0x524bd0;this[_0x45b5dd(0xbd)](_0x11de65,this[_0x45b5dd(0xad)]['length']-0x1);}}export default RectAngle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a59_0x8157(_0x23362b,_0x9f11d7){var _0x41d5b6=a59_0x41d5();return a59_0x8157=function(_0x815790,_0x1c3495){_0x815790=_0x815790-0x109;var _0xb3581=_0x41d5b6[_0x815790];return _0xb3581;},a59_0x8157(_0x23362b,_0x9f11d7);}function a59_0x41d5(){var _0x51d908=['16955HFhOvg','length','传入的不是地图对象!','3562600GzMJgR','generate','style','slice','setMap','9NZpVeK','setPoints','finishDrawing','setStyle','7648893teXcQx','points','1539043lqPOBc','getPointCount','1hoYcnd','map','1789150miOSuN','220xKppzL','getPlotType','getGeoJson','isPlot','956kNnrSw','stringify','getPoints','891270ZjMHIh','6486312SqcLDQ'];a59_0x41d5=function(){return _0x51d908;};return a59_0x41d5();}var a59_0x12d755=a59_0x8157;(function(_0xd7001d,_0xce2e07){var _0x45205c=a59_0x8157,_0x5d76df=_0xd7001d();while(!![]){try{var _0xbf89cf=parseInt(_0x45205c(0x122))/0x1*(-parseInt(_0x45205c(0x124))/0x2)+-parseInt(_0x45205c(0x110))/0x3+parseInt(_0x45205c(0x10d))/0x4*(-parseInt(_0x45205c(0x112))/0x5)+-parseInt(_0x45205c(0x111))/0x6+parseInt(_0x45205c(0x11e))/0x7+parseInt(_0x45205c(0x115))/0x8*(-parseInt(_0x45205c(0x11a))/0x9)+-parseInt(_0x45205c(0x109))/0xa*(-parseInt(_0x45205c(0x120))/0xb);if(_0xbf89cf===_0xce2e07)break;else _0x5d76df['push'](_0x5d76df['shift']());}catch(_0x3288f3){_0x5d76df['push'](_0x5d76df['shift']());}}}(a59_0x41d5,0x9ccf6));import{LineString}from'ol/geom';import a59_0x45387e from'ol/format/GeoJSON';import a59_0x373eb2 from'../../../mapView/Map';class Plot extends LineString{constructor(){super([]),this['points']=[];}[a59_0x12d755(0x10a)](){return this['type'];}[a59_0x12d755(0x10b)](){return new a59_0x45387e()['writeGeometryObject'](this);}[a59_0x12d755(0x11d)](_0x1bd68b){var _0x3bc9f1=a59_0x12d755;this[_0x3bc9f1(0x117)]=JSON['parse'](JSON[_0x3bc9f1(0x10e)](_0x1bd68b));}[a59_0x12d755(0x119)](_0x5896b3){var _0x343130=a59_0x12d755;if(_0x5896b3&&_0x5896b3 instanceof a59_0x373eb2)this[_0x343130(0x123)]=_0x5896b3;else throw new Error(_0x343130(0x114));}['getMap'](){var _0x46776f=a59_0x12d755;return this[_0x46776f(0x123)];}[a59_0x12d755(0x10c)](){return!![];}[a59_0x12d755(0x11b)](_0x511a48){var _0x23ba0d=a59_0x12d755;this[_0x23ba0d(0x11f)]=!_0x511a48?[]:_0x511a48,this[_0x23ba0d(0x11f)][_0x23ba0d(0x113)]>=0x1&&(this[_0x23ba0d(0x116)]&&this[_0x23ba0d(0x116)]());}[a59_0x12d755(0x116)](){}[a59_0x12d755(0x10f)](){var _0x772d6f=a59_0x12d755;return this['points'][_0x772d6f(0x118)](0x0);}[a59_0x12d755(0x121)](){var _0x3d5d00=a59_0x12d755;return this[_0x3d5d00(0x11f)][_0x3d5d00(0x113)];}[a59_0x12d755(0x11c)](){}}export default Plot;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var a60_0x16b542=a60_0x37f1;function a60_0x467a(){var _0x318da3=['108977klNiJN','length','7gkYCwe','320MEHUSb','type','generate','330868xGAOob','setStyle','1033452bhFWXc','style','updatePoint','292830rcWeUz','178981UqXgpf','parse','20HRYGFt','stringify','updateLastPoint','822codcSA','setCoordinates','419576iqXCqk','232xwGyne','points'];a60_0x467a=function(){return _0x318da3;};return a60_0x467a();}(function(_0x45a857,_0x530273){var _0x25aab2=a60_0x37f1,_0x4f95e5=_0x45a857();while(!![]){try{var _0x488b7e=parseInt(_0x25aab2(0x10b))/0x1+parseInt(_0x25aab2(0x105))/0x2+-parseInt(_0x25aab2(0x110))/0x3*(parseInt(_0x25aab2(0x113))/0x4)+parseInt(_0x25aab2(0x10d))/0x5*(parseInt(_0x25aab2(0x10a))/0x6)+parseInt(_0x25aab2(0x117))/0x7*(parseInt(_0x25aab2(0x112))/0x8)+-parseInt(_0x25aab2(0x107))/0x9+-parseInt(_0x25aab2(0x118))/0xa*(parseInt(_0x25aab2(0x115))/0xb);if(_0x488b7e===_0x530273)break;else _0x4f95e5['push'](_0x4f95e5['shift']());}catch(_0x8d370d){_0x4f95e5['push'](_0x4f95e5['shift']());}}}(a60_0x467a,0x233d2));function a60_0x37f1(_0x825757,_0x487692){var _0x467a49=a60_0x467a();return a60_0x37f1=function(_0x37f19d,_0x49e394){_0x37f19d=_0x37f19d-0x105;var _0x1b7c57=_0x467a49[_0x37f19d];return _0x1b7c57;},a60_0x37f1(_0x825757,_0x487692);}import a60_0xc2cb86 from'./BaseLine';class Polyline extends a60_0xc2cb86{constructor(_0x1dad02){var _0xf248eb=a60_0x37f1;super(),this[_0xf248eb(0x119)]='LineString',this[_0xf248eb(0x111)](_0x1dad02);}['generate'](){var _0x54524c=a60_0x37f1;this[_0x54524c(0x111)](this[_0x54524c(0x114)]);}['updatePoint'](_0x4ac5d5,_0x518956){var _0x27eb0d=a60_0x37f1;_0x518956>=0x0&&_0x518956<this[_0x27eb0d(0x114)]['length']&&(this[_0x27eb0d(0x114)][_0x518956]=_0x4ac5d5,this[_0x27eb0d(0x11a)]());}[a60_0x16b542(0x10f)](_0x5c4559){var _0x1d772d=a60_0x16b542;this[_0x1d772d(0x109)](_0x5c4559,this[_0x1d772d(0x114)][_0x1d772d(0x116)]-0x1);}['isPlot'](){return![];}[a60_0x16b542(0x106)](_0x4a411d){var _0x5ad8db=a60_0x16b542;this[_0x5ad8db(0x108)]=JSON[_0x5ad8db(0x10c)](JSON[_0x5ad8db(0x10e)](_0x4a411d));}}export default Polyline;
|
|
@@ -1 +1 @@
|
|
|
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
|
+
(function(_0x31e028,_0x4f2233){const _0x4c9197=a63_0x3231,_0x125632=_0x31e028();while(!![]){try{const _0x27de6a=parseInt(_0x4c9197(0x95))/0x1+-parseInt(_0x4c9197(0x9a))/0x2*(parseInt(_0x4c9197(0xa1))/0x3)+parseInt(_0x4c9197(0xad))/0x4+-parseInt(_0x4c9197(0x8a))/0x5*(-parseInt(_0x4c9197(0x6e))/0x6)+parseInt(_0x4c9197(0x96))/0x7+parseInt(_0x4c9197(0x88))/0x8+-parseInt(_0x4c9197(0x9e))/0x9*(parseInt(_0x4c9197(0x7f))/0xa);if(_0x27de6a===_0x4f2233)break;else _0x125632['push'](_0x125632['shift']());}catch(_0x32b205){_0x125632['push'](_0x125632['shift']());}}}(a63_0x1dc1,0x78c3f));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a63_0x3af911 from'ol/style/Style';import a63_0x1f593d from'ol/style/Circle';function a63_0x1dc1(){const _0x51c47b=['LEFT','.png','data','10ttTbGD','CENTER','length','drawImage','height','model','toUpperCase','TOP','verticalOrigin','6717752WUxwHR','opacity','5POLLgK','MultiPolygon','pixelOffsetY','getFlatInteriorPoint','replace','canvas','color','outlineColor','globalAlpha','radius','model/','386671xlKOqX','2582181bpLrbL','getContext','parse','modelKind','3464QZnIQa','stringify','Polygon','outlineWidth','5405274EKfojo','getFlatInteriorPoints','scale','1095mpVUAC','zIndex','MultiLineString','MultiPoint','image','rotate','src','label','pixelOffsetX','outlineOpacity','width','restore','485528nvGrMr','warn','changeColor','imgUrl','context','match','push','horizontalOrigin','show','getFlatMidpoints','64596BxJZrZ','pixelSize','BOTTOM','getImageData','pixelRatio','rotation','getStride','createElement','geometry','save','getFlatMidpoint','pixelOffset','cloud','text'];a63_0x1dc1=function(){return _0x51c47b;};return a63_0x1dc1();}function a63_0x3231(_0x7824c2,_0x262f22){const _0x1dc162=a63_0x1dc1();return a63_0x3231=function(_0x32318c,_0x5ac8db){_0x32318c=_0x32318c-0x6b;let _0x210401=_0x1dc162[_0x32318c];return _0x210401;},a63_0x3231(_0x7824c2,_0x262f22);}import a63_0x31e713 from'ol/style/Fill';import a63_0x266522 from'ol/style/Stroke';function getMainStyle(_0x2747ae,_0x4271d0=0x0,_0x2da87b){const _0x25dd9c=a63_0x3231;let _0x3f2d36;return _0x2747ae[_0x25dd9c(0xa5)]||_0x2747ae['markerColor']?_0x3f2d36=new a63_0x3af911({'renderer':(_0x2bd8d3,_0x47ded3)=>{preLoadImageRenderFunction(_0x2747ae,_0x2bd8d3,_0x47ded3,_0x2da87b,_rendererFunction);},'zIndex':Number(_0x4271d0)}):_0x3f2d36=new a63_0x3af911({'image':new a63_0x1f593d({'radius':_0x2747ae['radius']?_0x2747ae[_0x25dd9c(0x93)]:_0x2747ae[_0x25dd9c(0x6f)],'fill':new a63_0x31e713({'color':getColor(_0x2747ae[_0x25dd9c(0x90)],_0x2747ae[_0x25dd9c(0x89)])}),'stroke':_0x2747ae['outline']&&_0x2747ae[_0x25dd9c(0x91)]?new a63_0x266522({'color':getColor(_0x2747ae['outlineColor'],_0x2747ae[_0x25dd9c(0xaa)]),'width':_0x2747ae[_0x25dd9c(0x9d)]}):undefined}),'zIndex':Number(_0x4271d0)}),_0x3f2d36;}function _rendererFunction(_0x523ff4,_0x3611be,_0x34398d,_0x5f0b44,_0x1fbcdd){const _0x348f56=a63_0x3231;if(!_0x1fbcdd||_0x1fbcdd[_0x348f56(0xab)]===0x0){let _0x976065=new Image();_0x976065[_0x348f56(0xa7)]=_0x523ff4[_0x348f56(0xa5)];}if(_0x523ff4['changeColor']&&_0x523ff4['color']!==''){let _0x1a9efa=_0x523ff4[_0x348f56(0xa0)]||0x1,_0x3c1ec1=_0x523ff4[_0x348f56(0xab)]||_0x1fbcdd['width']*_0x1a9efa,_0x56c04a=_0x523ff4['height']||_0x1fbcdd[_0x348f56(0x83)]*_0x1a9efa;_0x3c1ec1=_0x3c1ec1*_0x34398d[_0x348f56(0x72)],_0x56c04a=_0x56c04a*_0x34398d[_0x348f56(0x72)];const _0x39451e=document[_0x348f56(0x75)](_0x348f56(0x8f));_0x39451e['width']=_0x3c1ec1,_0x39451e[_0x348f56(0x83)]=_0x56c04a;const _0x3be890=_0x39451e[_0x348f56(0x97)]('2d');_0x3be890===null||_0x3be890===void 0x0?void 0x0:_0x3be890[_0x348f56(0x82)](_0x1fbcdd,0x0,0x0,_0x3c1ec1,_0x56c04a);let _0x41e9ef=_0x3be890===null||_0x3be890===void 0x0?void 0x0:_0x3be890[_0x348f56(0x71)](0x0,0x0,_0x3c1ec1,_0x56c04a),_0x40dac2=_0x41e9ef===null||_0x41e9ef===void 0x0?void 0x0:_0x41e9ef[_0x348f56(0x7e)];_0x1fbcdd=_0x39451e;let _0x1067ec=HexToRgb(_0x523ff4['color']);if(_0x40dac2&&_0x1067ec)for(var _0x4a0c53=0x0;_0x4a0c53<_0x40dac2[_0x348f56(0x81)];_0x4a0c53+=0x4){_0x40dac2[_0x4a0c53]=_0x1067ec[0x0],_0x40dac2[_0x4a0c53+0x1]=_0x1067ec[0x1],_0x40dac2[_0x4a0c53+0x2]=_0x1067ec[0x2];}_0x41e9ef&&(_0x3be890===null||_0x3be890===void 0x0?void 0x0:_0x3be890['putImageData'](_0x41e9ef,0x0,0x0));}let _0x226072=_0x34398d[_0x348f56(0x76)],_0x10f333=_0x34398d[_0x348f56(0x72)],_0x21e31a=_0x226072[_0x348f56(0x74)](),_0xa3166d=_0x226072['getType'](),_0xa778a3=[];switch(_0xa3166d){case'LineString':_0xa778a3=_0x226072[_0x348f56(0x78)]();break;case _0x348f56(0xa3):_0xa778a3=_0x226072[_0x348f56(0x6d)](),_0x21e31a=0x2;break;case _0x348f56(0x9c):_0xa778a3=_0x226072[_0x348f56(0x8d)](),_0x21e31a=0x3;break;case _0x348f56(0x8b):{let _0x4dfecb=_0x226072[_0x348f56(0x9f)]();_0xa778a3=[];for(let _0x547986=0x0,_0x2eb182=_0x4dfecb[_0x348f56(0x81)];_0x547986<_0x2eb182;_0x547986+=0x3){_0xa778a3[_0x348f56(0xb3)](_0x4dfecb[_0x547986],_0x4dfecb[_0x547986+0x1]);}if(_0xa778a3['length']===0x0)return;_0x21e31a=0x2;break;}}if(_0xa778a3[_0x348f56(0x81)]>0x0&&_0x5f0b44)for(let _0x30ceab=0x0,_0x57d78b=_0xa778a3['length'];_0x30ceab<_0x57d78b;_0x30ceab+=_0x21e31a){let _0x5b176a=[_0xa778a3[_0x30ceab],_0xa778a3[_0x30ceab+0x1]],_0x30bf61=_0x5f0b44['getPixelFromCoordinate'](_0x5b176a);_0x30bf61=[_0x30bf61[0x0]*_0x10f333,_0x30bf61[0x1]*_0x10f333],drawImage(_0x523ff4,_0x30bf61,_0x34398d,_0x1fbcdd);}else{if(_0xa3166d===_0x348f56(0xa4))for(let _0x45fcda of _0x3611be){drawImage(_0x523ff4,_0x45fcda,_0x34398d,_0x1fbcdd);}else drawImage(_0x523ff4,_0x3611be,_0x34398d,_0x1fbcdd);}}function HexToRgb(_0x3c2a53){const _0x153dc0=a63_0x3231;_0x3c2a53=_0x3c2a53[_0x153dc0(0x8e)]('#','');let _0x57f7f0=_0x3c2a53[_0x153dc0(0xb2)](/../g);if(_0x57f7f0){for(let _0x4f3ef1=0x0;_0x4f3ef1<0x3;_0x4f3ef1++)_0x57f7f0[_0x4f3ef1]=parseInt(_0x57f7f0[_0x4f3ef1],0x10);}return _0x57f7f0;}export function getImageOlStyle(_0x5c2c9f,_0x5b4925,_0x113731,_0x176105){const _0x5a7051=a63_0x3231;var _0x140fb1;if(_0x5c2c9f&&_0x5c2c9f['show']!==![]){_0x5c2c9f=JSON[_0x5a7051(0x98)](JSON[_0x5a7051(0x9b)](_0x5c2c9f)),_0x5b4925=(_0x140fb1=_0x5c2c9f[_0x5a7051(0xa2)])!==null&&_0x140fb1!==void 0x0?_0x140fb1:_0x5b4925;let _0xcadc9a=isShowStyle(_0x5c2c9f,_0x113731,_0x176105);if(_0xcadc9a)return _0x5c2c9f[_0x5a7051(0xa5)]=parseImage(_0x5c2c9f[_0x5a7051(0xa5)]),getMainStyle(_0x5c2c9f,_0x5b4925,_0x176105);}}export function getPointStyle(_0x4ac1ba,_0x2fe111,_0x8ec8b6,_0x58051f){const _0x4a4b89=a63_0x3231;var _0x4970f8,_0x1644c3;_0x4ac1ba=JSON[_0x4a4b89(0x98)](JSON[_0x4a4b89(0x9b)](_0x4ac1ba));let _0x112ca0=(_0x4970f8=_0x4ac1ba[_0x4a4b89(0xa2)])!==null&&_0x4970f8!==void 0x0?_0x4970f8:0x0,_0x39f37f=[],_0x173ed3=getImageOlStyle(_0x4ac1ba,_0x112ca0,_0x8ec8b6,_0x58051f);_0x173ed3&&_0x39f37f['push'](_0x173ed3);let _0x5f3718=getImageOlStyle(_0x4ac1ba['billboard'],_0x112ca0,_0x8ec8b6,_0x58051f);_0x5f3718&&_0x39f37f[_0x4a4b89(0xb3)](_0x5f3718);if(_0x4ac1ba[_0x4a4b89(0x84)]&&_0x4ac1ba[_0x4a4b89(0x84)][_0x4a4b89(0x6c)]!==![]){let _0x1210c8=isShowStyle(_0x4ac1ba[_0x4a4b89(0x84)],_0x8ec8b6,_0x58051f);if(_0x1210c8){let _0x508492=(_0x1644c3=_0x4ac1ba[_0x4a4b89(0x84)]['zIndex'])!==null&&_0x1644c3!==void 0x0?_0x1644c3:_0x112ca0,_0x3a2792=_0x4ac1ba[_0x4a4b89(0x84)]['imgUrl']||_0x4a4b89(0x94)+_0x4ac1ba[_0x4a4b89(0x84)][_0x4a4b89(0x99)]+_0x4a4b89(0x7d);_0x4ac1ba[_0x4a4b89(0xa0)]=0x1,_0x4ac1ba['width']=0x30,_0x4ac1ba[_0x4a4b89(0x83)]=0x30,_0x4ac1ba[_0x4a4b89(0x87)]=_0x4a4b89(0x80),_0x39f37f[_0x4a4b89(0xb3)](getMainStyle(_0x4ac1ba[_0x4a4b89(0x84)],_0x508492,_0x58051f));}}if(_0x4ac1ba[_0x4a4b89(0xa8)]&&_0x4ac1ba[_0x4a4b89(0xa8)][_0x4a4b89(0x6c)]!==![]){let _0x23cc90=new a63_0x3af911({'text':createTextStyle(_0x4ac1ba[_0x4a4b89(0xa8)],_0x2fe111,_0x8ec8b6,_0x58051f),'zIndex':Number(_0x112ca0)+0x1});_0x39f37f[_0x4a4b89(0xb3)](_0x23cc90);}return _0x39f37f;}export function getPointSingleStyle(_0x1b4067,_0x11bf15,_0x32198e,_0x530d34){const _0xade546=a63_0x3231;_0x11bf15=JSON[_0xade546(0x98)](JSON['stringify'](_0x11bf15));let _0xd99a0=_0x11bf15[_0xade546(0xa8)],_0x1da25f;_0xd99a0&&(_0x1da25f=_0xd99a0[_0xade546(0x7b)]?_0xd99a0['text']:'');if(_0x1b4067==='billboard')return _0x11bf15[_0xade546(0xa5)]=parseImage(_0x11bf15[_0xade546(0xa5)]),getPointStyle(_0x11bf15,_0x1da25f,_0x32198e,_0x530d34);else{if(_0x1b4067===_0xade546(0x84)){let _0x45e49b=_0x11bf15[_0xade546(0xb0)]||_0xade546(0x94)+_0x11bf15[_0xade546(0x99)]+'.png';return _0x11bf15['scale']=0x1,_0x11bf15[_0xade546(0xab)]=0x30,_0x11bf15[_0xade546(0x83)]=0x30,_0x11bf15[_0xade546(0x87)]='CENTER',getPointStyle(_0x11bf15,_0x1da25f,_0x32198e,_0x530d34);}else{if(_0x1b4067===_0xade546(0x7a))return getPointStyle(_0x11bf15,_0x1da25f,_0x32198e,_0x530d34);else{if(_0x1b4067==='point')return getPointStyle(_0x11bf15,_0x1da25f,_0x32198e,_0x530d34);else return _0x1b4067===_0xade546(0xa8)?new a63_0x3af911({'text':createTextStyle(_0x11bf15,_0x11bf15[_0xade546(0x7b)],_0x32198e,_0x530d34),'zIndex':_0x11bf15[_0xade546(0xa2)]}):getPointStyle(_0x11bf15,_0x1da25f,_0x32198e,_0x530d34);}}}}function drawImage(_0x23d861,_0xc1ac15,_0x3edebe,_0x23af03){const _0x206ffc=a63_0x3231;var _0x1f9997,_0x33b242,_0x2d67fd,_0x25a7f9;let _0x680c11=_0x3edebe[_0x206ffc(0xb1)];try{_0x680c11[_0x206ffc(0x77)]();let _0x15bff9=Number(_0x23d861[_0x206ffc(0xa9)]||((_0x1f9997=_0x23d861['pixelOffset'])===null||_0x1f9997===void 0x0?void 0x0:_0x1f9997[0x0])||0x0),_0x473403=Number(_0x23d861[_0x206ffc(0x8c)]||((_0x33b242=_0x23d861[_0x206ffc(0x79)])===null||_0x33b242===void 0x0?void 0x0:_0x33b242[0x1])||0x0);_0x680c11['translate'](_0xc1ac15[0x0]+_0x15bff9,_0xc1ac15[0x1]+_0x473403);if(_0x23d861[_0x206ffc(0x73)])_0x680c11[_0x206ffc(0xa6)](toRadians(_0x23d861[_0x206ffc(0x73)]));_0x680c11[_0x206ffc(0x92)]=_0x23d861[_0x206ffc(0x89)]!=null?_0x23d861[_0x206ffc(0x89)]:0x1;if(_0x23af03[_0x206ffc(0xab)]>0x0){let _0xe32df1=_0x23d861[_0x206ffc(0xa0)]||0x1,_0x2a5d78=_0x23d861[_0x206ffc(0xab)]||_0x23af03[_0x206ffc(0xab)]*_0xe32df1,_0x301135=_0x23d861[_0x206ffc(0x83)]||_0x23af03[_0x206ffc(0x83)]*_0xe32df1;_0x2a5d78=_0x2a5d78*_0x3edebe[_0x206ffc(0x72)],_0x301135=_0x301135*_0x3edebe['pixelRatio'];_0x23d861[_0x206ffc(0xaf)]&&(_0x2a5d78=_0x23af03[_0x206ffc(0xab)],_0x301135=_0x23af03[_0x206ffc(0x83)]);let _0x18e3bc;switch((_0x2d67fd=_0x23d861[_0x206ffc(0x6b)])===null||_0x2d67fd===void 0x0?void 0x0:_0x2d67fd[_0x206ffc(0x85)]()){default:case _0x206ffc(0x80):_0x18e3bc=-_0x2a5d78/0x2;break;case _0x206ffc(0x7c):_0x18e3bc=0x0;break;case'RIGHT':_0x18e3bc=-_0x2a5d78;break;}let _0x1ac4e7;switch((_0x25a7f9=_0x23d861['verticalOrigin'])===null||_0x25a7f9===void 0x0?void 0x0:_0x25a7f9[_0x206ffc(0x85)]()){default:case _0x206ffc(0x70):_0x1ac4e7=-_0x301135;break;case _0x206ffc(0x80):_0x1ac4e7=-_0x301135/0x2;break;case _0x206ffc(0x86):_0x1ac4e7=0x0;break;}_0x680c11[_0x206ffc(0x82)](_0x23af03,_0x18e3bc,_0x1ac4e7,_0x2a5d78,_0x301135);}else _0x680c11['drawImage'](_0x23af03,0x0,0x0);_0x680c11['restore']();}catch(_0x453a33){_0x680c11[_0x206ffc(0xac)](),console[_0x206ffc(0xae)](_0x453a33);}}
|
|
@@ -1 +1 @@
|
|
|
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));}
|
|
1
|
+
(function(_0x3b34a6,_0x5939d6){const _0x581e19=a64_0x107d,_0x5d0ab1=_0x3b34a6();while(!![]){try{const _0x5da444=parseInt(_0x581e19(0x220))/0x1*(-parseInt(_0x581e19(0x22e))/0x2)+parseInt(_0x581e19(0x200))/0x3*(parseInt(_0x581e19(0x21f))/0x4)+parseInt(_0x581e19(0x215))/0x5+-parseInt(_0x581e19(0x21b))/0x6+parseInt(_0x581e19(0x20f))/0x7*(-parseInt(_0x581e19(0x20a))/0x8)+-parseInt(_0x581e19(0x223))/0x9+parseInt(_0x581e19(0x208))/0xa;if(_0x5da444===_0x5939d6)break;else _0x5d0ab1['push'](_0x5d0ab1['shift']());}catch(_0x69244a){_0x5d0ab1['push'](_0x5d0ab1['shift']());}}}(a64_0x2fa0,0x581d0));function a64_0x2fa0(){const _0x12573d=['zIndex','1912590cBeAUL','strokeStyle','billboard','checkerboard_repeat','translate','outlineOpacity','fillStyle','canvas','height','label','src','22438qgpFzd','outlineColor','closePath','CENTER','restore','oddColor','createElement','checkerboard','repeat','stripe','width','globalAlpha','rgba(0,0,0,0.01)','fillType','grid','lineTo','length','beginPath','666963zYruyy','setZIndex','drawImage','save','stroke','lineWidth','opacity','outlineWidth','6019270aPeebx','show','712IcjEOB','fill','createPattern','max','setFill','18263HQiviK','context','setRenderer','repeatX','grid_lineThickness','color','1918405ACoRsU','verticalOrigin','outline','rgba(0,0,0,0)','moveTo','getContext','2187186cxldKe','image','grid_lineCount','warn','12vHdABj','43IvrPsF','push'];a64_0x2fa0=function(){return _0x12573d;};return a64_0x2fa0();}import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';function a64_0x107d(_0x5b854e,_0x507e28){const _0x2fa0fc=a64_0x2fa0();return a64_0x107d=function(_0x107dee,_0x4a65ee){_0x107dee=_0x107dee-0x1f0;let _0x4f10a4=_0x2fa0fc[_0x107dee];return _0x4f10a4;},a64_0x107d(_0x5b854e,_0x507e28);}import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x5e9770,_0x103a05,_0x41446e,_0x53c92a){const _0x1cd701=a64_0x107d;var _0x72c2cb;let _0x427e0e=(_0x72c2cb=_0x5e9770[_0x1cd701(0x222)])!==null&&_0x72c2cb!==void 0x0?_0x72c2cb:0x0,_0x3db979=new Style();_0x3db979[_0x1cd701(0x201)](_0x427e0e),_0x3db979[_0x1cd701(0x20e)](new Fill({'color':_0x1cd701(0x218)}));if(_0x5e9770[_0x1cd701(0x20b)]!==![]){if(!_0x5e9770[_0x1cd701(0x1fb)]||_0x5e9770[_0x1cd701(0x1fb)]===_0x1cd701(0x214))_0x3db979[_0x1cd701(0x20e)](new Fill({'color':getColor(_0x5e9770[_0x1cd701(0x214)],_0x5e9770[_0x1cd701(0x206)])}));else{if(_0x5e9770['fillType']==='image')_0x3db979['setRenderer']((_0x2424d2,_0x9bf2ed)=>{preLoadImageRenderFunction(_0x5e9770,_0x2424d2,_0x9bf2ed,_0x53c92a,_rendererFunction);});else _0x5e9770[_0x1cd701(0x1fb)]===_0x1cd701(0x1fc)||_0x5e9770[_0x1cd701(0x1fb)]===_0x1cd701(0x1f7)||_0x5e9770[_0x1cd701(0x1fb)]===_0x1cd701(0x1f5)?_0x3db979[_0x1cd701(0x211)]((_0x36cc28,_0x1af65b)=>{_rendererFunction(_0x5e9770,_0x36cc28,_0x1af65b,_0x53c92a,null);}):_0x3db979[_0x1cd701(0x20e)](new Fill({'color':getColor(_0x5e9770[_0x1cd701(0x214)],_0x5e9770[_0x1cd701(0x206)])}));}}_0x5e9770[_0x1cd701(0x217)]!==![]&&_0x3db979['setStroke'](new Stroke({'color':getColor(_0x5e9770[_0x1cd701(0x22f)],_0x5e9770[_0x1cd701(0x228)]),'width':_0x5e9770['outlineWidth']}));let _0x38a4b2=[_0x3db979];_0x5e9770[_0x1cd701(0x225)]&&!_0x5e9770[_0x1cd701(0x225)]['verticalOrigin']&&(_0x5e9770[_0x1cd701(0x225)][_0x1cd701(0x216)]=_0x1cd701(0x1f1));let _0x5e99e9=getImageOlStyle(_0x5e9770[_0x1cd701(0x225)],_0x427e0e,_0x41446e,_0x53c92a);_0x5e99e9&&_0x38a4b2[_0x1cd701(0x221)](_0x5e99e9);if(_0x5e9770[_0x1cd701(0x22c)]&&_0x5e9770[_0x1cd701(0x22c)][_0x1cd701(0x209)]!==![]){!_0x5e9770[_0x1cd701(0x22c)]['verticalOrigin']&&(_0x5e9770[_0x1cd701(0x22c)]['verticalOrigin']=_0x1cd701(0x1f1));let _0x406994=new Style({'text':createTextStyle(_0x5e9770[_0x1cd701(0x22c)],_0x103a05,_0x41446e,_0x53c92a),'zIndex':Number(_0x427e0e)+0x1});_0x38a4b2[_0x1cd701(0x221)](_0x406994);}return _0x38a4b2;}function _rendererFunction(_0x46d77a,_0x4cf15e,_0x3f4354,_0x21a5fd,_0x314d51){const _0xc39d28=a64_0x107d;try{var _0x33ae2b=_0x3f4354[_0xc39d28(0x210)];for(var _0xced8c1=0x0,_0x5eae5b=_0x4cf15e[_0xc39d28(0x1fe)];_0xced8c1<_0x5eae5b;_0xced8c1++){_0x33ae2b[_0xc39d28(0x203)](),_0x33ae2b[_0xc39d28(0x1ff)]();var _0x4b35e4=_0x4cf15e[_0xced8c1];let _0x2cb6cb=boundingExtent(_0x4b35e4);_0x33ae2b[_0xc39d28(0x227)](_0x2cb6cb[0x0],_0x2cb6cb[0x1]);let _0x27ace8;switch(_0x46d77a[_0xc39d28(0x1fb)]){case'image':_0x27ace8=_getImagePattern(_0x33ae2b,_0x2cb6cb,_0x46d77a,_0x314d51);break;case'grid':_0x27ace8=_getGridPattern(_0x33ae2b,_0x2cb6cb,_0x46d77a);break;case _0xc39d28(0x1f7):_0x27ace8=_getStripePattern(_0x33ae2b,_0x2cb6cb,_0x46d77a);break;case _0xc39d28(0x1f5):_0x27ace8=_getCheckerBoardPattern(_0x33ae2b,_0x2cb6cb,_0x46d77a);break;default:_0x27ace8=_0xc39d28(0x1fa);break;}for(var _0x1d3f45=0x0,_0x2d6fa6=_0x4b35e4['length'];_0x1d3f45<_0x2d6fa6;_0x1d3f45++){var _0x51eb4f=_0x4b35e4[_0x1d3f45];_0x1d3f45===0x0?_0x33ae2b[_0xc39d28(0x219)](_0x51eb4f[0x0]-_0x2cb6cb[0x0],_0x51eb4f[0x1]-_0x2cb6cb[0x1]):_0x33ae2b[_0xc39d28(0x1fd)](_0x51eb4f[0x0]-_0x2cb6cb[0x0],_0x51eb4f[0x1]-_0x2cb6cb[0x1]);}_0x33ae2b[_0xc39d28(0x1f0)](),_0x33ae2b[_0xc39d28(0x229)]=_0xc39d28(0x1fa),_0x33ae2b[_0xc39d28(0x20b)](),_0x33ae2b[_0xc39d28(0x229)]=_0x27ace8,_0x33ae2b[_0xc39d28(0x20b)](),_0x46d77a['outline']?(_0x33ae2b[_0xc39d28(0x224)]=getColor(_0x46d77a['outlineColor'],_0x46d77a['outlineOpacity']),_0x33ae2b[_0xc39d28(0x205)]=_0x46d77a[_0xc39d28(0x207)]):_0x33ae2b[_0xc39d28(0x224)]='rgba(0,0,0,0.0)',_0x33ae2b[_0xc39d28(0x204)](),_0x33ae2b[_0xc39d28(0x1f2)]();}}catch(_0x42280e){_0x33ae2b[_0xc39d28(0x1f2)](),console[_0xc39d28(0x21e)](_0x42280e);}}function _getImagePattern(_0x29e184,_0x46bec5,_0x8c6ad0,_0x5ec294){const _0x4547bd=a64_0x107d;if(!_0x5ec294||_0x5ec294[_0x4547bd(0x1f8)]===0x0){let _0x4e3eda=new Image();_0x4e3eda[_0x4547bd(0x22d)]=_0x8c6ad0[_0x4547bd(0x21c)];}var _0x23816b=getSize(_0x46bec5);const _0x2f2446=document[_0x4547bd(0x1f4)](_0x4547bd(0x22a)),_0x2272b3=_0x2f2446[_0x4547bd(0x21a)]('2d');return _0x2f2446['width']=Math['max'](_0x23816b[0x0]/_0x8c6ad0[_0x4547bd(0x212)],0x1),_0x2f2446[_0x4547bd(0x22b)]=Math[_0x4547bd(0x20d)](_0x23816b[0x1]/_0x8c6ad0['repeatY'],0x1),_0x2272b3&&(_0x2272b3[_0x4547bd(0x1f9)]=_0x8c6ad0['opacity'],_0x2272b3[_0x4547bd(0x202)](_0x5ec294,0x0,0x0,_0x2f2446[_0x4547bd(0x1f8)],_0x2f2446['height'])),_0x29e184[_0x4547bd(0x20c)](_0x2f2446,_0x4547bd(0x1f6));}function _getGridPattern(_0x52bb34,_0x5f36a6,_0x59f1d3){const _0x320092=a64_0x107d;var _0x5bd8a0=getSize(_0x5f36a6);const _0x5dac03=document[_0x320092(0x1f4)](_0x320092(0x22a)),_0x54a788=_0x5dac03['getContext']('2d');return _0x5dac03[_0x320092(0x1f8)]=Math['max'](_0x5bd8a0[0x0]/_0x59f1d3[_0x320092(0x21d)],0x1),_0x5dac03[_0x320092(0x22b)]=Math[_0x320092(0x20d)](_0x5bd8a0[0x1]/_0x59f1d3[_0x320092(0x21d)],0x1),_0x54a788&&(_0x54a788['strokeStyle']=getColor(_0x59f1d3[_0x320092(0x214)],_0x59f1d3['opacity']),_0x54a788[_0x320092(0x205)]=_0x59f1d3[_0x320092(0x213)]*0x4,_0x54a788[_0x320092(0x1ff)](),_0x54a788[_0x320092(0x219)](0x0,_0x5dac03['height']),_0x54a788[_0x320092(0x1fd)](_0x5dac03[_0x320092(0x1f8)],_0x5dac03[_0x320092(0x22b)]),_0x54a788[_0x320092(0x219)](_0x5dac03[_0x320092(0x1f8)],0x0),_0x54a788[_0x320092(0x1fd)](_0x5dac03[_0x320092(0x1f8)],_0x5dac03[_0x320092(0x22b)]),_0x54a788[_0x320092(0x204)]()),_0x52bb34[_0x320092(0x20c)](_0x5dac03,_0x320092(0x1f6));}function _getStripePattern(_0x2638d0,_0x2c2363,_0x16e797){const _0x2e2a85=a64_0x107d;var _0xaebfbd=getSize(_0x2c2363);const _0x309b80=document['createElement'](_0x2e2a85(0x22a)),_0x4af0d2=_0x309b80[_0x2e2a85(0x21a)]('2d');let _0x31a684=Math[_0x2e2a85(0x20d)](_0xaebfbd[0x1]/_0x16e797['stripe_repeat'],0x1);return _0x309b80['width']=_0xaebfbd[0x0],_0x309b80[_0x2e2a85(0x22b)]=_0x31a684*0x2,_0x4af0d2&&(_0x4af0d2['beginPath'](),_0x4af0d2[_0x2e2a85(0x219)](0x0,0x0),_0x4af0d2[_0x2e2a85(0x1fd)](_0x309b80['width'],0x0),_0x4af0d2[_0x2e2a85(0x1fd)](_0x309b80['width'],_0x31a684),_0x4af0d2[_0x2e2a85(0x1fd)](0x0,_0x31a684),_0x4af0d2[_0x2e2a85(0x1f0)](),_0x4af0d2[_0x2e2a85(0x229)]=getColor(_0x16e797['stripe_oddcolor'],_0x16e797[_0x2e2a85(0x206)]),_0x4af0d2[_0x2e2a85(0x20b)](),_0x4af0d2[_0x2e2a85(0x1ff)](),_0x4af0d2[_0x2e2a85(0x219)](0x0,_0x31a684),_0x4af0d2[_0x2e2a85(0x1fd)](_0x309b80[_0x2e2a85(0x1f8)],_0x31a684),_0x4af0d2[_0x2e2a85(0x1fd)](_0x309b80[_0x2e2a85(0x1f8)],_0x31a684*0x2),_0x4af0d2[_0x2e2a85(0x1fd)](0x0,_0x31a684*0x2),_0x4af0d2[_0x2e2a85(0x1f0)](),_0x4af0d2[_0x2e2a85(0x229)]=getColor(_0x16e797[_0x2e2a85(0x214)],_0x16e797['opacity']),_0x4af0d2[_0x2e2a85(0x20b)]()),_0x2638d0[_0x2e2a85(0x20c)](_0x309b80,_0x2e2a85(0x1f6));}function _getCheckerBoardPattern(_0x10845d,_0x2f528a,_0x2c342c){const _0x47ad63=a64_0x107d;var _0x3cbba8=getSize(_0x2f528a);const _0x94321e=document[_0x47ad63(0x1f4)]('canvas'),_0x4b5163=_0x94321e[_0x47ad63(0x21a)]('2d');let _0x2a2c1a=Math[_0x47ad63(0x20d)](_0x3cbba8[0x0]/_0x2c342c[_0x47ad63(0x226)],0x1),_0x317c52=Math[_0x47ad63(0x20d)](_0x3cbba8[0x1]/_0x2c342c[_0x47ad63(0x226)],0x1);return _0x94321e[_0x47ad63(0x1f8)]=_0x2a2c1a*0x2,_0x94321e[_0x47ad63(0x22b)]=_0x317c52*0x2,_0x4b5163&&(_0x4b5163[_0x47ad63(0x1ff)](),_0x4b5163[_0x47ad63(0x219)](0x0,0x0),_0x4b5163['lineTo'](_0x2a2c1a,0x0),_0x4b5163[_0x47ad63(0x1fd)](_0x2a2c1a,_0x317c52),_0x4b5163[_0x47ad63(0x1fd)](0x0,_0x317c52),_0x4b5163[_0x47ad63(0x1f0)](),_0x4b5163[_0x47ad63(0x229)]=getColor(_0x2c342c[_0x47ad63(0x1f3)],_0x2c342c[_0x47ad63(0x206)]),_0x4b5163[_0x47ad63(0x20b)](),_0x4b5163[_0x47ad63(0x1ff)](),_0x4b5163[_0x47ad63(0x219)](_0x2a2c1a,0x0),_0x4b5163[_0x47ad63(0x1fd)](_0x94321e[_0x47ad63(0x1f8)],0x0),_0x4b5163[_0x47ad63(0x1fd)](_0x94321e[_0x47ad63(0x1f8)],_0x317c52),_0x4b5163[_0x47ad63(0x1fd)](_0x2a2c1a,_0x317c52),_0x4b5163[_0x47ad63(0x1f0)](),_0x4b5163[_0x47ad63(0x229)]=getColor(_0x2c342c['color'],_0x2c342c[_0x47ad63(0x206)]),_0x4b5163[_0x47ad63(0x20b)](),_0x4b5163[_0x47ad63(0x1ff)](),_0x4b5163['moveTo'](0x0,_0x317c52),_0x4b5163[_0x47ad63(0x1fd)](_0x2a2c1a,_0x317c52),_0x4b5163[_0x47ad63(0x1fd)](_0x2a2c1a,_0x94321e[_0x47ad63(0x22b)]),_0x4b5163[_0x47ad63(0x1fd)](0x0,_0x94321e[_0x47ad63(0x22b)]),_0x4b5163[_0x47ad63(0x1f0)](),_0x4b5163['fillStyle']=getColor(_0x2c342c[_0x47ad63(0x214)],_0x2c342c['opacity']),_0x4b5163[_0x47ad63(0x20b)](),_0x4b5163[_0x47ad63(0x1ff)](),_0x4b5163['moveTo'](_0x2a2c1a,_0x317c52),_0x4b5163['lineTo'](_0x94321e[_0x47ad63(0x1f8)],_0x317c52),_0x4b5163['lineTo'](_0x94321e['width'],_0x94321e[_0x47ad63(0x22b)]),_0x4b5163[_0x47ad63(0x1fd)](_0x2a2c1a,_0x94321e['height']),_0x4b5163[_0x47ad63(0x1f0)](),_0x4b5163[_0x47ad63(0x229)]=getColor(_0x2c342c[_0x47ad63(0x1f3)],_0x2c342c['opacity']),_0x4b5163['fill']()),_0x10845d[_0x47ad63(0x20c)](_0x94321e,_0x47ad63(0x1f6));}
|