ym-gis-2d 1.0.24 → 1.0.25
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
|
+
const a50_0x3b05d5=a50_0x28d3;(function(_0x56ec51,_0x926810){const _0x4839dc=a50_0x28d3,_0x31146c=_0x56ec51();while(!![]){try{const _0x38f77f=parseInt(_0x4839dc(0x158))/0x1*(parseInt(_0x4839dc(0x160))/0x2)+parseInt(_0x4839dc(0x152))/0x3*(-parseInt(_0x4839dc(0x151))/0x4)+parseInt(_0x4839dc(0x150))/0x5*(parseInt(_0x4839dc(0x15e))/0x6)+-parseInt(_0x4839dc(0x164))/0x7+-parseInt(_0x4839dc(0x15c))/0x8+-parseInt(_0x4839dc(0x165))/0x9+parseInt(_0x4839dc(0x157))/0xa;if(_0x38f77f===_0x926810)break;else _0x31146c['push'](_0x31146c['shift']());}catch(_0x1e3928){_0x31146c['push'](_0x31146c['shift']());}}}(a50_0x42f0,0x685ed));import a50_0x55487a from'./ArcgisDynamicLayer';import a50_0x38e104 from'./ArcgisFeatureLayer';import a50_0x35ee22 from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a50_0x2e579c from'./ArcgisTileLayer';import a50_0x38196a from'./GeoserverWMSLayer';import a50_0x2c8325 from'./GeoserverWMTSLayer';import a50_0x2ec78d from'./ArcgisWMSLayer';function a50_0x42f0(){const _0x5925ba=['length','sublayers','14444640kuixpL','12VSNQvd','getGeoserverVectorTileLayer','getGeoserverWMTSLayer','getGeoserverWmsLayer','3820608KLlmKP','getDynamicLayer','5538nLlWWN','getArcgisFeatureLayer','68396MbMOfD','getArcgisWmsLayer','getGeoserverWFSLayer','getArcgisWMTSLayer','1646078DWgdIF','1353879pBhjtC','getTDTLayer','970WyKBXn','340vLwRML','26232hDdTbu','url','getArcgisTileLayer'];a50_0x42f0=function(){return _0x5925ba;};return a50_0x42f0();}import a50_0x6c00f4 from'./ArcgisWMTSLayer';import a50_0x45743e from'./GeoserverWFSLayer';function a50_0x28d3(_0x36e626,_0x111af4){const _0x42f060=a50_0x42f0();return a50_0x28d3=function(_0x28d301,_0x414d24){_0x28d301=_0x28d301-0x14f;let _0x4e3968=_0x42f060[_0x28d301];return _0x4e3968;},a50_0x28d3(_0x36e626,_0x111af4);}import a50_0x2a2df7 from'./GeoserverVectorTile';export default class LayerManagement{static async[a50_0x3b05d5(0x15d)](_0x26535a){const _0x1d8f14=a50_0x3b05d5,_0x250c04=await getDynamicLayerInfo(_0x26535a[_0x1d8f14(0x153)]?_0x26535a['url']:'');let _0xe37c62=new a50_0x55487a(_0x26535a,_0x250c04);return _0xe37c62;}static async[a50_0x3b05d5(0x154)](_0x3e9dd0){const _0x504c78=a50_0x3b05d5,_0x182ebd=await getDynamicLayerInfo(_0x3e9dd0[_0x504c78(0x153)]?_0x3e9dd0['url']:'');let _0xb71091=new a50_0x2e579c(_0x3e9dd0,_0x182ebd);return _0xb71091;}static async[a50_0x3b05d5(0x15f)](_0x5d05ab){const _0x29be59=a50_0x3b05d5,_0x52b854=await getDynamicLayerInfo(_0x5d05ab[_0x29be59(0x153)]?_0x5d05ab[_0x29be59(0x153)]:'');let _0xf8ad1b=[];if(_0x5d05ab[_0x29be59(0x156)])for(let _0x12e366=0x0;_0x12e366<_0x5d05ab[_0x29be59(0x156)][_0x29be59(0x155)];_0x12e366++){const _0x46985f=_0x5d05ab[_0x29be59(0x156)][_0x12e366];_0xf8ad1b['push'](await getFeatureLayerInfo(_0x5d05ab[_0x29be59(0x153)]?_0x5d05ab['url']:'',_0x46985f));}let _0x48ab86=new a50_0x38e104(_0x5d05ab,_0x52b854,_0xf8ad1b);return _0x48ab86;}static async[a50_0x3b05d5(0x161)](_0x54d3c7){const _0x50ac78=a50_0x3b05d5;var _0x118e4c;const _0x50d289=(_0x118e4c=_0x54d3c7['sublayers'])===null||_0x118e4c===void 0x0?void 0x0:_0x118e4c[0x0],_0x588224=await getWMSLayerCapabilities(_0x54d3c7[_0x50ac78(0x153)]?_0x54d3c7[_0x50ac78(0x153)]:'',_0x50d289==null?'':_0x50d289);let _0x3c2c86=new a50_0x2ec78d(_0x54d3c7,_0x588224);return _0x3c2c86;}static async[a50_0x3b05d5(0x163)](_0x4a1e68){const _0xefcd63=a50_0x3b05d5;var _0x49fed3;const _0x3dba06=(_0x49fed3=_0x4a1e68[_0xefcd63(0x156)])===null||_0x49fed3===void 0x0?void 0x0:_0x49fed3[0x0],_0x37b824=await getWMTSLayerCapabilities(_0x4a1e68[_0xefcd63(0x153)]?_0x4a1e68['url']:'',_0x3dba06==null?'':_0x3dba06);let _0x43fefc=new a50_0x6c00f4(_0x4a1e68,_0x37b824);return _0x43fefc;}static async[a50_0x3b05d5(0x15b)](_0x3397bd){const _0x5ad181=a50_0x3b05d5;var _0xef9bb4;const _0x365221=(_0xef9bb4=_0x3397bd['sublayers'])===null||_0xef9bb4===void 0x0?void 0x0:_0xef9bb4[0x0],_0x2663c7=await getWMSLayerCapabilities(_0x3397bd[_0x5ad181(0x153)]?_0x3397bd[_0x5ad181(0x153)]:'',_0x365221==null?'':_0x365221);let _0x1ca1be=new a50_0x38196a(_0x3397bd,_0x2663c7);return _0x1ca1be;}static async[a50_0x3b05d5(0x15a)](_0x4653ea){const _0x384398=a50_0x3b05d5;var _0x2cba1b;const _0x57409f=(_0x2cba1b=_0x4653ea[_0x384398(0x156)])===null||_0x2cba1b===void 0x0?void 0x0:_0x2cba1b[0x0],_0x51f055=await getWMTSLayerCapabilities(_0x4653ea[_0x384398(0x153)]?_0x4653ea['url']:'',_0x57409f==null?'':_0x57409f);let _0xd274c3=new a50_0x2c8325(_0x4653ea,_0x51f055);return _0xd274c3;}static async[a50_0x3b05d5(0x162)](_0x532b4c){const _0x50feb8=a50_0x3b05d5;var _0x353c06;const _0x2448b0=(_0x353c06=_0x532b4c[_0x50feb8(0x156)])===null||_0x353c06===void 0x0?void 0x0:_0x353c06[0x0],_0xc68e91=await getWFSLayerCapabilities(_0x532b4c[_0x50feb8(0x153)]?_0x532b4c[_0x50feb8(0x153)]:'',_0x2448b0==null?'':_0x2448b0);let _0x50b2ab=new a50_0x45743e(_0x532b4c,_0xc68e91);return _0x50b2ab;}static async[a50_0x3b05d5(0x159)](_0x312b01){const _0x316ec8=a50_0x3b05d5;var _0x3a9b8e;const _0x295615=(_0x3a9b8e=_0x312b01[_0x316ec8(0x156)])===null||_0x3a9b8e===void 0x0?void 0x0:_0x3a9b8e[0x0],_0x57ca45=await getWMTSLayerCapabilities(_0x312b01[_0x316ec8(0x153)]?_0x312b01['url']:'',_0x295615==null?'':_0x295615);let _0x1f42d9=new a50_0x2a2df7(_0x312b01,_0x57ca45);return _0x1f42d9;}static async[a50_0x3b05d5(0x14f)](_0x394141){const _0xd381ab=a50_0x3b05d5;var _0x1ed37b;const _0x587bd7=(_0x1ed37b=_0x394141[_0xd381ab(0x156)])===null||_0x1ed37b===void 0x0?void 0x0:_0x1ed37b[0x0],_0x352356=await getWMTSLayerCapabilities(_0x394141['url']?_0x394141[_0xd381ab(0x153)]:'',_0x587bd7==null?'':_0x587bd7);let _0x30932e=new a50_0x35ee22(_0x394141,_0x352356);return _0x30932e;}}
|
package/layers/TDTLayer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xd65f00,_0x58b653){const _0x5e619b=a51_0x4eab,_0x27058e=_0xd65f00();while(!![]){try{const _0x543b02=-parseInt(_0x5e619b(0xd3))/0x1+parseInt(_0x5e619b(0xd5))/0x2*(-parseInt(_0x5e619b(0xd8))/0x3)+parseInt(_0x5e619b(0xcd))/0x4*(parseInt(_0x5e619b(0xcf))/0x5)+parseInt(_0x5e619b(0xd6))/0x6*(parseInt(_0x5e619b(0xde))/0x7)+parseInt(_0x5e619b(0xda))/0x8+-parseInt(_0x5e619b(0xd7))/0x9*(parseInt(_0x5e619b(0xce))/0xa)+parseInt(_0x5e619b(0xd0))/0xb*(-parseInt(_0x5e619b(0xdf))/0xc);if(_0x543b02===_0x58b653)break;else _0x27058e['push'](_0x27058e['shift']());}catch(_0x218120){_0x27058e['push'](_0x27058e['shift']());}}}(a51_0x4d8e,0x9e96b));import a51_0x5c54ea from'ol/layer/Tile';import{WMTS as a51_0x141fd2}from'ol/source';import a51_0x390d36 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';function a51_0x4d8e(){const _0x3016dd=['492ZcvxEb','KVP','8423288ZirINb','projection','initialExtent','url','36533FSHCeS','6231096kwIiax','layerInfo','length','format','boundingBoxExtent','sublayers','style','tileMatrixSet','EPSG:4490','3975472vMNWfd','10ddsTqt','5eYoUnq','22wyPgsZ','opacity','1.0.0','1072950vhIowe','join','3034lRRiby','1416ButoZX','2417670JWiakW'];a51_0x4d8e=function(){return _0x3016dd;};return a51_0x4d8e();}function a51_0x4eab(_0x330c89,_0x489664){const _0x4d8ea0=a51_0x4d8e();return a51_0x4eab=function(_0x4eabef,_0x26fd36){_0x4eabef=_0x4eabef-0xca;let _0x2ac716=_0x4d8ea0[_0x4eabef];return _0x2ac716;},a51_0x4eab(_0x330c89,_0x489664);}import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a51_0x5c54ea{constructor(_0x3d23b5,_0x2f3297){const _0x4bb15e=a51_0x4eab;let _0x575875='';_0x3d23b5['sublayers']&&_0x3d23b5[_0x4bb15e(0xe4)][_0x4bb15e(0xe1)]>0x0&&(_0x575875=_0x3d23b5[_0x4bb15e(0xe4)][_0x4bb15e(0xd4)](','));const _0x435a40=_0x4bb15e(0xcc);let _0x12a9d8=registerProj(_0x435a40);const _0x1a823c=[],_0x12fb62=[];for(let _0xc30a2d=0x1;_0xc30a2d<0x13;_0xc30a2d++){_0x1a823c[_0xc30a2d]=getWidth(_0x2f3297['boundingBoxExtent'])/(0x100*Math['pow'](0x2,_0xc30a2d)),_0x12fb62[_0xc30a2d]=_0xc30a2d+'';}super({'opacity':_0x3d23b5[_0x4bb15e(0xd1)],'zIndex':_0x3d23b5['mapIndex'],'source':new a51_0x141fd2({'style':_0x2f3297[_0x4bb15e(0xca)],'url':_0x3d23b5[_0x4bb15e(0xdd)],'tileGrid':new a51_0x390d36({'origin':getTopLeft(_0x2f3297[_0x4bb15e(0xe3)]),'resolutions':_0x1a823c,'matrixIds':_0x12fb62}),'layer':_0x575875,'matrixSet':_0x2f3297[_0x4bb15e(0xcb)],'version':_0x4bb15e(0xd2),'format':_0x2f3297[_0x4bb15e(0xe2)][0x0],'projection':_0x435a40,'requestEncoding':_0x4bb15e(0xd9)})}),this['id']=_0x3d23b5['id'],this[_0x4bb15e(0xdc)]=_0x2f3297[_0x4bb15e(0xe3)],this[_0x4bb15e(0xdb)]=_0x12a9d8,this[_0x4bb15e(0xe0)]=_0x3d23b5;}}
|
package/mapView/Map.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a52_0x2b48d8=a52_0x3239;(function(_0x5881ba,_0x264050){const _0x2c250e=a52_0x3239,_0x38c11e=_0x5881ba();while(!![]){try{const _0x3de4dc=parseInt(_0x2c250e(0x80))/0x1*(-parseInt(_0x2c250e(0xb4))/0x2)+parseInt(_0x2c250e(0x95))/0x3+-parseInt(_0x2c250e(0xda))/0x4*(parseInt(_0x2c250e(0x81))/0x5)+parseInt(_0x2c250e(0xd7))/0x6+parseInt(_0x2c250e(0x8e))/0x7+parseInt(_0x2c250e(0x97))/0x8*(-parseInt(_0x2c250e(0xdf))/0x9)+parseInt(_0x2c250e(0x8b))/0xa;if(_0x3de4dc===_0x264050)break;else _0x38c11e['push'](_0x38c11e['shift']());}catch(_0x245498){_0x38c11e['push'](_0x38c11e['shift']());}}}(a52_0x1a14,0x19896));import'ol/ol.css';import'../assets/main.css';function a52_0x3239(_0x338779,_0x2d1653){const _0x1a1410=a52_0x1a14();return a52_0x3239=function(_0x32391e,_0x352a7c){_0x32391e=_0x32391e-0x73;let _0xc8021=_0x1a1410[_0x32391e];return _0xc8021;},a52_0x3239(_0x338779,_0x2d1653);}import a52_0x2c73e8 from'ol/Map';import a52_0x3a4e2c from'ol/events/Event';import{defaults as a52_0x59262d}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';function a52_0x1a14(){const _0x24bbb8=['getZIndex','getMetersPerUnit','flashGeometrys','transform','arcgis-feature','zoom','interactionManager','getGeoserverWFSLayer','getView','setProperties','Polygon','setMaxResolution','getLength','maxResolution','changetype','constrainResolution','addLayer','geoserver-wmts','getCoordinates','Point','addFeature','fitLayer','pointTempLayer','lineTempLayer','length','import','arcgis-wms','6ogcGyA','push','geoserver-wfs','getPointTempLayer','locationGeometry','getArcgisTileLayer','isSelected','locationGeometrys','dispatchEvent','layerType','projection','setCenter','geoserver-vector-tile','resetViewProjection','layerInfo','getPolygonTempLayer','getProjection','setGeometry','addWKT','controlManager','removeLayerById','getType','addWKTs','maxScale','getSize','MultiLineString','minScale','rgba(255,\x200,\x200,\x201)','】服务类型','getLayerById','removeLayer','fit','changelayer','addFeatures','getDynamicLayer','462756MjFHxg','maxZoom','getLayers','228604KyKmtb','minZoom','fitLayerById','getLineTempLayer','getTempLayerById','30051BVjGwy','tag','polygonTempLayer','geoserver-wms','calculateExtent','MultiPolygon','getGeoserverWmsLayer','getArray','rgba(255,\x200,\x200,\x200.2)','getCode','getExtent','getTDTLayer','setStyle','arcgis-wmts','add','getArcgisFeatureLayer','2315HpXqqb','5sAFafJ','EPSG:','GeometryCollection','center','insertAt','EPSG:4490','getSource','extent','tdt-c','getGeoserverWMTSLayer','853430OklJlX','setProjection','sortTemLayer','869554hwTclt','locationWKTs','addMapLayers','MultiPoint','_options','remove','getTempLayerByGeoType','257046Fgzlol','arcgis-tile','488WLtajg','addMapLayer'];a52_0x1a14=function(){return _0x24bbb8;};return a52_0x1a14();}import{transformExtent}from'ol/proj';import a52_0x4b59ee from'../layers/LayerManager';import a52_0x2b13ca from'ol/layer/Vector';import a52_0xdef04d from'ol/source/Vector';import a52_0x3b8ad5 from'../controls/ControlManager';import a52_0x1e0812 from'../entity/Feature';import a52_0x2b543e from'../interaction/InteractionManager';import a52_0xa6d28d from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a52_0x5a5720 from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a52_0x3a4e2c{constructor(_0x458964,_0x217405,_0x541f27){const _0x1d4902=a52_0x3239;super(_0x458964),this['layerIds']=_0x217405,this[_0x1d4902(0xa7)]=_0x541f27;}}export default class OLMap extends a52_0x2c73e8{constructor(_0x5e57ce,_0x5d9f0d,_0x12b711){const _0x15b816=a52_0x3239;_0x5d9f0d=_0x5d9f0d?_0x5d9f0d:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x112daa=_0x5d9f0d['projection']?_0x15b816(0x82)+_0x5d9f0d[_0x15b816(0xbe)]:_0x15b816(0x86);_0x5d9f0d[_0x15b816(0x9e)]=_0x5d9f0d['zoom']?_0x5d9f0d[_0x15b816(0x9e)]:0xa,_0x5d9f0d[_0x15b816(0xdb)]=_0x5d9f0d['minZoom']?_0x5d9f0d[_0x15b816(0xdb)]:0x0,_0x5d9f0d[_0x15b816(0xd8)]=_0x5d9f0d[_0x15b816(0xd8)]?_0x5d9f0d[_0x15b816(0xd8)]:0x1c,_0x5d9f0d[_0x15b816(0xa8)]=_0x5d9f0d['constrainResolution']?_0x5d9f0d['constrainResolution']:![],_0x5d9f0d['center']=_0x5d9f0d[_0x15b816(0x84)]?_0x5d9f0d['center']:[117.22718,31.820386],registerProj(_0x112daa);const _0x41cdea={'target':_0x5e57ce,'view':_0x12b711?_0x12b711:new a52_0xa6d28d({'center':_0x5d9f0d['center'],'zoom':_0x5d9f0d['zoom'],'projection':_0x112daa,'minZoom':_0x5d9f0d[_0x15b816(0xdb)],'maxZoom':_0x5d9f0d['maxZoom'],'minResolution':_0x5d9f0d['minResolution'],'maxResolution':_0x5d9f0d[_0x15b816(0xa6)],'constrainResolution':_0x5d9f0d['constrainResolution']}),'controls':a52_0x59262d({'zoom':![]})};super(_0x41cdea),_0x5d9f0d[_0x15b816(0x88)]&&this[_0x15b816(0xa1)]()['fit'](_0x5d9f0d[_0x15b816(0x88)]),this[_0x15b816(0x9f)]=new a52_0x2b543e(this),this[_0x15b816(0xc7)]=new a52_0x3b8ad5(this),this[_0x15b816(0x92)]=_0x5d9f0d;}[a52_0x2b48d8(0xa1)](){const _0x22e41b=a52_0x2b48d8;return super[_0x22e41b(0xa1)]();}[a52_0x2b48d8(0xae)](_0x1548bc){const _0x44d744=a52_0x2b48d8;var _0x8b66a2;this[_0x44d744(0xa1)]()[_0x44d744(0xd3)](transformExtent(_0x1548bc['initialExtent'],(_0x8b66a2=_0x1548bc[_0x44d744(0xbe)])===null||_0x8b66a2===void 0x0?void 0x0:_0x8b66a2[_0x44d744(0x79)](),this[_0x44d744(0xa1)]()['getProjection']()[_0x44d744(0x79)]()));}[a52_0x2b48d8(0xdc)](_0x4edbec){const _0x5d8e6b=a52_0x2b48d8;let _0xed6eef=this[_0x5d8e6b(0xd1)](_0x4edbec);_0xed6eef&&this[_0x5d8e6b(0xae)](_0xed6eef);}async[a52_0x2b48d8(0x98)](_0x394dba){const _0x580b3e=a52_0x2b48d8;let _0xac318e;switch(_0x394dba['layerType']){case _0x580b3e(0x9d):_0xac318e=await a52_0x4b59ee[_0x580b3e(0x7f)](_0x394dba);break;case'arcgis-dynamic':_0xac318e=await a52_0x4b59ee[_0x580b3e(0xd6)](_0x394dba);break;case _0x580b3e(0x96):_0xac318e=await a52_0x4b59ee[_0x580b3e(0xb9)](_0x394dba);break;case _0x580b3e(0xb3):_0xac318e=await a52_0x4b59ee['getArcgisWmsLayer'](_0x394dba);break;case _0x580b3e(0x7d):_0xac318e=await a52_0x4b59ee['getArcgisWMTSLayer'](_0x394dba);break;case _0x580b3e(0x73):_0xac318e=await a52_0x4b59ee[_0x580b3e(0x76)](_0x394dba);break;case _0x580b3e(0xb6):_0xac318e=await a52_0x4b59ee[_0x580b3e(0xa0)](_0x394dba);break;case _0x580b3e(0xaa):_0xac318e=await a52_0x4b59ee[_0x580b3e(0x8a)](_0x394dba);break;case _0x580b3e(0xc0):_0xac318e=await a52_0x4b59ee['getGeoserverVectorTileLayer'](_0x394dba);break;case _0x580b3e(0x89):_0xac318e=await a52_0x4b59ee[_0x580b3e(0x7b)](_0x394dba);break;default:throw new Error('暂不支持【'+_0x394dba[_0x580b3e(0xbd)]+_0x580b3e(0xd0));}return this[_0x580b3e(0xa9)](_0xac318e),this[_0x580b3e(0xbc)](new ChangeLayerEvent(_0x580b3e(0xd4),[_0x394dba['id']],_0x580b3e(0x7e))),_0xac318e;}async[a52_0x2b48d8(0x90)](_0x2d951d){const _0x2a9421=a52_0x2b48d8;let _0x21d3ee=[];const _0x39d241=[];for(let _0x541722=0x0;_0x541722<_0x2d951d[_0x2a9421(0xb1)];_0x541722++){const _0x410c48=_0x2d951d[_0x541722];_0x39d241[_0x2a9421(0xb5)](_0x410c48['id']),_0x21d3ee[_0x2a9421(0xb5)](this[_0x2a9421(0x98)](_0x410c48));}const _0x2f756a=await Promise['all'](_0x21d3ee);return this[_0x2a9421(0xbc)](new ChangeLayerEvent('changelayer',_0x39d241,'add')),_0x2f756a;}[a52_0x2b48d8(0xa9)](_0x528091,_0x322992=![]){const _0xae9661=a52_0x2b48d8,_0x37a6c0=_0x528091,_0x68d175=this['getLayerById'](_0x37a6c0['id']);if(_0x68d175==null){const _0x315567=_0x37a6c0[_0xae9661(0xc2)]==undefined||_0x37a6c0[_0xae9661(0xc2)][_0xae9661(0xce)]==undefined||_0x37a6c0[_0xae9661(0xc2)]['minScale']<0x0?undefined:calculateResolution(_0x37a6c0['layerInfo']['minScale'],this[_0xae9661(0xa1)]()[_0xae9661(0xc4)]()[_0xae9661(0x9a)]()||0x0);_0x528091['setMinResolution'](_0x315567);const _0x54327e=_0x37a6c0['layerInfo']==undefined||_0x37a6c0[_0xae9661(0xc2)][_0xae9661(0xcb)]==undefined||_0x37a6c0[_0xae9661(0xc2)][_0xae9661(0xcb)]<0x0?undefined:calculateResolution(_0x37a6c0[_0xae9661(0xc2)][_0xae9661(0xcb)],this['getView']()[_0xae9661(0xc4)]()['getMetersPerUnit']()||0x0);_0x528091[_0xae9661(0xa4)](_0x54327e);const _0x5b4264=this['getLayers']()[_0xae9661(0x77)]()[_0xae9661(0xb1)];if(!this[_0xae9661(0x92)][_0xae9661(0xbe)]&&_0x5b4264==0x0&&_0x37a6c0['projection']&&_0x37a6c0[_0xae9661(0xbe)][_0xae9661(0x79)]()!=this[_0xae9661(0xa1)]()[_0xae9661(0xc4)]()[_0xae9661(0x79)]()){}let _0x6bb76e=_0x528091[_0xae9661(0x99)]();_0x6bb76e!=undefined&&_0x6bb76e>_0x5b4264&&(_0x6bb76e=_0x5b4264),this[_0xae9661(0xd9)]()[_0xae9661(0x85)](_0x6bb76e==undefined?_0x5b4264:_0x6bb76e,_0x528091),_0x322992&&this[_0xae9661(0xae)](_0x37a6c0);}}[a52_0x2b48d8(0xc8)](_0x1f1cf8){const _0x196d09=a52_0x2b48d8,_0x4bdaf5=this[_0x196d09(0xd1)](_0x1f1cf8);_0x4bdaf5&&(this[_0x196d09(0xd2)](_0x4bdaf5),this[_0x196d09(0xbc)](new ChangeLayerEvent(_0x196d09(0xd4),[_0x1f1cf8],_0x196d09(0x93))));}[a52_0x2b48d8(0xd1)](_0x1c351a){const _0xeef4ea=a52_0x2b48d8;let _0x8c18a7,_0x2a3f62=this['getLayers']()['getArray']();for(let _0x4ce1bf=0x0;_0x4ce1bf<_0x2a3f62[_0xeef4ea(0xb1)];_0x4ce1bf++){let _0xe01ea5=_0x2a3f62[_0x4ce1bf]['id'];if(_0x1c351a==_0xe01ea5){_0x8c18a7=_0x2a3f62[_0x4ce1bf];break;}}return _0x8c18a7;}['getLayerByLayerTag'](_0x38f99e){const _0x288c64=a52_0x2b48d8;let _0xcc79a7,_0x5e963e=this[_0x288c64(0xd9)]()[_0x288c64(0x77)]();for(let _0x55427b=0x0;_0x55427b<_0x5e963e[_0x288c64(0xb1)];_0x55427b++){const _0x584800=_0x5e963e[_0x55427b][_0x288c64(0xc2)];if(!_0x584800)continue;let _0x36f1fc=_0x584800['layerTag'];if(_0x36f1fc==_0x38f99e){_0xcc79a7=_0x5e963e[_0x55427b];break;}}return _0xcc79a7;}['getLayersByIds'](_0x527965){const _0x17d923=a52_0x2b48d8;let _0x644334=this[_0x17d923(0xd9)]()[_0x17d923(0x77)]();return _0x644334['filter'](_0x10fd0c=>_0x527965['includes'](_0x10fd0c['id']));}[a52_0x2b48d8(0xde)](_0x4b5555){const _0x5ad88d=a52_0x2b48d8;let _0x54c366,_0x103cf2=this[_0x5ad88d(0xd9)]()[_0x5ad88d(0x77)]();for(let _0x1338d5=0x0;_0x1338d5<_0x103cf2['length'];_0x1338d5++){const _0x57e831=_0x103cf2[_0x1338d5];if(_0x57e831['id']===_0x4b5555){_0x54c366=_0x57e831;break;}}if(!_0x54c366){_0x54c366=new a52_0x2b13ca({'zIndex':0x270f,'source':new a52_0xdef04d()}),_0x54c366['id']=_0x4b5555;const _0x4945b7=this['getLayers']()[_0x5ad88d(0xa5)]();switch(_0x4b5555){case _0x5ad88d(0xb0):this[_0x5ad88d(0xd9)]()[_0x5ad88d(0x85)](_0x4945b7-0x1>-0x1?_0x4945b7-0x1:0x0,_0x54c366);break;case _0x5ad88d(0xe1):this[_0x5ad88d(0xd9)]()['insertAt'](_0x4945b7-0x2>-0x1?_0x4945b7-0x2:0x0,_0x54c366);break;case _0x5ad88d(0xaf):this['getLayers']()[_0x5ad88d(0x85)](_0x4945b7,_0x54c366);break;default:break;}}return _0x54c366;}[a52_0x2b48d8(0xb7)](){const _0x373ee3=a52_0x2b48d8;return this[_0x373ee3(0xde)](_0x373ee3(0xaf));}[a52_0x2b48d8(0xdd)](){const _0x1d8912=a52_0x2b48d8;return this[_0x1d8912(0xde)](_0x1d8912(0xb0));}['getPolygonTempLayer'](){const _0x407690=a52_0x2b48d8;return this[_0x407690(0xde)](_0x407690(0xe1));}['getTempLayerByGeoType'](_0x27bc79){const _0x1f436c=a52_0x2b48d8;let _0x5990ca=this[_0x1f436c(0xb7)]();switch(_0x27bc79){case _0x1f436c(0xac):case _0x1f436c(0x91):_0x5990ca=this[_0x1f436c(0xb7)]();case'LineString':case _0x1f436c(0xcd):_0x5990ca=this['getLineTempLayer']();case'Polygon':case _0x1f436c(0x75):_0x5990ca=this[_0x1f436c(0xc3)]();}return _0x5990ca;}[a52_0x2b48d8(0xc1)](_0x405e7d){const _0x49cb10=a52_0x2b48d8;let _0x4b5a44=this['getView']()['getMinZoom'](),_0x5d778c=this[_0x49cb10(0xa1)]()['getMaxZoom']();registerProj(_0x405e7d),this[_0x49cb10(0xa1)]()[_0x49cb10(0x8c)](_0x405e7d);}[a52_0x2b48d8(0x8d)](){const _0xf7dfd0=a52_0x2b48d8;let _0x3b1ba6=[];_0x3b1ba6[_0xf7dfd0(0xb5)](this[_0xf7dfd0(0xb7)]()),_0x3b1ba6[_0xf7dfd0(0xb5)](this[_0xf7dfd0(0xdd)]()),_0x3b1ba6['push'](this[_0xf7dfd0(0xc3)]());const _0x488cf7=this[_0xf7dfd0(0xd9)]()['getArray']()[_0xf7dfd0(0xb1)];for(let _0x5b7615=0x0;_0x5b7615<_0x3b1ba6[_0xf7dfd0(0xb1)];_0x5b7615++){const _0x2d9138=_0x3b1ba6[_0x5b7615];this[_0xf7dfd0(0xd9)]()[_0xf7dfd0(0x85)](_0x488cf7-_0x5b7615-0x1,_0x2d9138);}}[a52_0x2b48d8(0x7a)](){const _0x23f3ac=a52_0x2b48d8;return this[_0x23f3ac(0xa1)]()[_0x23f3ac(0x74)](this[_0x23f3ac(0xcc)]());}[a52_0x2b48d8(0xc6)](_0x2c7026,_0x114955,_0x132641,_0x5c44bd=!![],_0x18dcbe,_0x13c652={'color':a52_0x2b48d8(0x78),'opacity':0.2,'outlineColor':a52_0x2b48d8(0xcf),'outlineWidth':0x2}){const _0x1212e2=a52_0x2b48d8;var _0x1e80e4;const _0x292d87=fromWKT(_0x2c7026,_0x114955,this[_0x1212e2(0xa1)]()[_0x1212e2(0xc4)]()[_0x1212e2(0x79)]());if(!_0x292d87)return;const _0x484240=this[_0x1212e2(0x94)](_0x292d87[_0x1212e2(0xc9)]()),_0x2f068e=getStyle(_0x13c652),_0x2b2acc=new a52_0x1e0812();return _0x2b2acc[_0x1212e2(0xc5)](_0x292d87),_0x2b2acc[_0x1212e2(0x7c)](_0x2f068e),_0x18dcbe?_0x2b2acc['setProperties'](_0x18dcbe):_0x2b2acc[_0x1212e2(0xa2)]({}),_0x2b2acc[_0x1212e2(0xe0)]=_0x132641,(_0x1e80e4=_0x484240[_0x1212e2(0x87)]())===null||_0x1e80e4===void 0x0?void 0x0:_0x1e80e4[_0x1212e2(0xad)](_0x2b2acc),_0x5c44bd&&this[_0x1212e2(0xb8)](_0x292d87,undefined,1.2,![]),_0x2b2acc;}[a52_0x2b48d8(0xca)](_0x54d764,_0x1c8ef8,_0x10c3d0,_0x4884d6=!![],_0x5ce416={'color':a52_0x2b48d8(0x78),'opacity':0.2,'outlineColor':'rgba(255,\x200,\x200,\x201)','outlineWidth':0x2},_0x4d1d0a){const _0x2c76cd=a52_0x2b48d8;var _0x1a6488;const _0xa29b02=fromWKTs(_0x54d764,_0x1c8ef8,this[_0x2c76cd(0xa1)]()['getProjection']()[_0x2c76cd(0x79)]());if(!_0xa29b02||_0xa29b02['length']==0x0)return;const _0x4947df=this['getTempLayerByGeoType'](_0xa29b02[0x0][_0x2c76cd(0xc9)]()),_0x2be71f=getStyle(_0x5ce416);let _0x1e39a9=[];for(const _0x15f5ff of _0xa29b02){const _0xdcbc67=new a52_0x1e0812();_0xdcbc67[_0x2c76cd(0xc5)](_0x15f5ff),_0xdcbc67[_0x2c76cd(0x7c)](_0x2be71f),_0x4d1d0a?_0xdcbc67['setProperties'](_0x4d1d0a):_0xdcbc67[_0x2c76cd(0xa2)]({}),_0xdcbc67['fromType']=_0x2c76cd(0xb2),_0xdcbc67[_0x2c76cd(0xba)]=!![],_0xdcbc67[_0x2c76cd(0xe0)]=_0x10c3d0,_0x1e39a9[_0x2c76cd(0xb5)](_0xdcbc67);}return(_0x1a6488=_0x4947df[_0x2c76cd(0x87)]())===null||_0x1a6488===void 0x0?void 0x0:_0x1a6488[_0x2c76cd(0xd5)](_0x1e39a9),_0x4884d6&&this[_0x2c76cd(0xbb)](_0xa29b02,undefined,1.2,![]),_0x1e39a9;}['locationWKT'](_0x4b85f4,_0x1a14f2,_0x23cded=1.2,_0x4ce817=!![]){const _0x2c6b91=a52_0x2b48d8;if(!_0x4b85f4)return;let _0x45f0bc=fromWKT(_0x4b85f4,_0x1a14f2,this[_0x2c6b91(0xa1)]()[_0x2c6b91(0xc4)]()[_0x2c6b91(0x79)]());if(!_0x45f0bc)return;this[_0x2c6b91(0xb8)](_0x45f0bc,_0x1a14f2,_0x23cded,_0x4ce817);}[a52_0x2b48d8(0x8f)](_0x286eae,_0x6bb099,_0x164f57=1.2,_0x213ede=!![]){const _0x1a50c7=a52_0x2b48d8;if(!_0x286eae||_0x286eae['length']===0x0)return;const _0x23d1c5=[];for(let _0x29bb8b=0x0;_0x29bb8b<_0x286eae[_0x1a50c7(0xb1)];_0x29bb8b++){let _0x51e7f8=_0x286eae[_0x29bb8b],_0x58aac=fromWKT(_0x51e7f8,_0x6bb099,this[_0x1a50c7(0xa1)]()[_0x1a50c7(0xc4)]()['getCode']());if(!_0x58aac)continue;_0x23d1c5['push'](_0x58aac);}this[_0x1a50c7(0xbb)](_0x23d1c5,_0x6bb099,_0x164f57,_0x213ede);}['locationGeometry'](_0x4a728f,_0x1dfab1,_0x23e3f2=1.2,_0x22ee7b=!![]){const _0x36bee2=a52_0x2b48d8;if(!_0x4a728f)return;let _0x3ffdbb=_0x4a728f;_0x1dfab1&&(_0x3ffdbb=_0x4a728f[_0x36bee2(0x9c)](_0x1dfab1,this[_0x36bee2(0xa1)]()[_0x36bee2(0xc4)]()));switch(_0x3ffdbb[_0x36bee2(0xc9)]()){case _0x36bee2(0xac):this['getView']()[_0x36bee2(0xbf)](_0x3ffdbb[_0x36bee2(0xab)]());break;case _0x36bee2(0xa3):case _0x36bee2(0x91):case _0x36bee2(0xcd):case _0x36bee2(0x75):case _0x36bee2(0x83):this[_0x36bee2(0xa1)]()[_0x36bee2(0xd3)](expandExtent(_0x3ffdbb[_0x36bee2(0x7a)](),_0x23e3f2));break;}if(_0x22ee7b){const _0x487d6b=new a52_0x5a5720(this);_0x487d6b[_0x36bee2(0x9b)]([_0x3ffdbb],0x3);}}['locationGeometrys'](_0x306ed8,_0x1e45b8,_0x3903f6=1.2,_0x31775a=!![]){const _0x3c86f0=a52_0x2b48d8;if(!_0x306ed8||_0x306ed8[_0x3c86f0(0xb1)]===0x0)return;let _0x1579a2=null;for(const _0xd649e5 of _0x306ed8){_0x1579a2?_0x1579a2=union(_0x1579a2,_0xd649e5):_0x1579a2=_0xd649e5;}_0x1579a2&&this[_0x3c86f0(0xb8)](_0x1579a2,_0x1e45b8,_0x3903f6,![]);if(_0x31775a){const _0x1f491d=new a52_0x5a5720(this);_0x1f491d['flashGeometrys'](_0x306ed8,0x3);}}}
|
|
1
|
+
const a52_0x10e138=a52_0x40a0;(function(_0x2830bc,_0x29048a){const _0x127902=a52_0x40a0,_0x123240=_0x2830bc();while(!![]){try{const _0x728435=-parseInt(_0x127902(0xfb))/0x1+parseInt(_0x127902(0xeb))/0x2*(-parseInt(_0x127902(0xdc))/0x3)+-parseInt(_0x127902(0xb6))/0x4*(parseInt(_0x127902(0xde))/0x5)+-parseInt(_0x127902(0x110))/0x6+-parseInt(_0x127902(0xdd))/0x7*(parseInt(_0x127902(0xd1))/0x8)+-parseInt(_0x127902(0xba))/0x9*(parseInt(_0x127902(0xec))/0xa)+parseInt(_0x127902(0x115))/0xb;if(_0x728435===_0x29048a)break;else _0x123240['push'](_0x123240['shift']());}catch(_0x2a9bb2){_0x123240['push'](_0x123240['shift']());}}}(a52_0x5955,0x3c6b1));function a52_0x5955(){const _0x29724e=['getArcgisFeatureLayer','changelayer','includes','addLayer','MultiPolygon','transform','addFeature','pointTempLayer','_options','interactionManager','1757868rmSteh','sortTemLayer','getArcgisWMTSLayer','MultiLineString','tag','28706953WKRHsY','constrainResolution','getArcgisWmsLayer','zoom','removeLayerById','getProjection','fromType','getGeoserverWFSLayer','push','getPolygonTempLayer','Polygon','locationWKTs','1666856FajOkD','addWKTs','insertAt','setProjection','27dhNHCL','layerTag','projection','Point','fit','getLayerByLayerTag','setCenter','getTempLayerByGeoType','flashGeometrys','center','getGeoserverWmsLayer','GeometryCollection','getArray','getSource','getMaxZoom','addWKT','getCode','arcgis-tile','filter','maxScale','controlManager','all','addMapLayer','169080AgWvCv','locationGeometry','layerInfo','import','locationGeometrys','geoserver-wmts','fitLayerById','MultiPoint','tdt-c','extent','calculateExtent','1899DsGqbc','133DxiBRW','5NsaoEf','add','locationWKT','setStyle','lineTempLayer','getSize','getType','getLayersByIds','getZIndex','fitLayer','暂不支持【','minScale','getLayers','934nlXFun','1606340eTUHnE','getView','getMinZoom','geoserver-wms','setProperties','minZoom','getExtent','length','getLineTempLayer','minResolution','initialExtent','getPointTempLayer','getCoordinates','getTDTLayer','setMinResolution','473480ORnkOM','getArcgisTileLayer','addFeatures','geoserver-wfs','rgba(255,\x200,\x200,\x201)','getTempLayerById','dispatchEvent','getLayerById','maxResolution','LineString','remove'];a52_0x5955=function(){return _0x29724e;};return a52_0x5955();}import'ol/ol.css';import'../assets/main.css';import a52_0x5aeb9b from'ol/Map';import a52_0x4e6002 from'ol/events/Event';import{defaults as a52_0x24ad76}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a52_0x3e21b3 from'../layers/LayerManager';import a52_0x2d02b2 from'ol/layer/Vector';import a52_0x5400f5 from'ol/source/Vector';import a52_0x188df7 from'../controls/ControlManager';function a52_0x40a0(_0x1f2870,_0x43f74c){const _0x595531=a52_0x5955();return a52_0x40a0=function(_0x40a043,_0x1606b2){_0x40a043=_0x40a043-0xb1;let _0x115955=_0x595531[_0x40a043];return _0x115955;},a52_0x40a0(_0x1f2870,_0x43f74c);}import a52_0x5748d1 from'../entity/Feature';import a52_0x5db4bf from'../interaction/InteractionManager';import a52_0x3e0592 from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a52_0x143203 from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a52_0x4e6002{constructor(_0x124282,_0x4c6586,_0x80e080){super(_0x124282),this['layerIds']=_0x4c6586,this['changetype']=_0x80e080;}}export default class OLMap extends a52_0x5aeb9b{constructor(_0x1be093,_0x390c67,_0x20e6ca){const _0x292607=a52_0x40a0;_0x390c67=_0x390c67?_0x390c67:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x2880bc=_0x390c67[_0x292607(0xbc)]?'EPSG:'+_0x390c67[_0x292607(0xbc)]:'EPSG:4490';_0x390c67[_0x292607(0x118)]=_0x390c67['zoom']?_0x390c67[_0x292607(0x118)]:0xa,_0x390c67[_0x292607(0xf1)]=_0x390c67['minZoom']?_0x390c67['minZoom']:0x0,_0x390c67['maxZoom']=_0x390c67['maxZoom']?_0x390c67['maxZoom']:0x1c,_0x390c67['constrainResolution']=_0x390c67[_0x292607(0x116)]?_0x390c67['constrainResolution']:![],_0x390c67[_0x292607(0xc3)]=_0x390c67[_0x292607(0xc3)]?_0x390c67['center']:[117.22718,31.820386],registerProj(_0x2880bc);const _0x283b76={'target':_0x1be093,'view':_0x20e6ca?_0x20e6ca:new a52_0x3e0592({'center':_0x390c67[_0x292607(0xc3)],'zoom':_0x390c67['zoom'],'projection':_0x2880bc,'minZoom':_0x390c67[_0x292607(0xf1)],'maxZoom':_0x390c67['maxZoom'],'minResolution':_0x390c67[_0x292607(0xf5)],'maxResolution':_0x390c67[_0x292607(0x103)],'constrainResolution':_0x390c67[_0x292607(0x116)]}),'controls':a52_0x24ad76({'zoom':![]})};super(_0x283b76),_0x390c67[_0x292607(0xda)]&&this[_0x292607(0xed)]()[_0x292607(0xbe)](_0x390c67[_0x292607(0xda)]),this[_0x292607(0x10f)]=new a52_0x5db4bf(this),this[_0x292607(0xce)]=new a52_0x188df7(this),this[_0x292607(0x10e)]=_0x390c67;}[a52_0x10e138(0xed)](){const _0xeb77b1=a52_0x10e138;return super[_0xeb77b1(0xed)]();}[a52_0x10e138(0xe7)](_0x5f2988){const _0x1754bd=a52_0x10e138;var _0x2f369b;this[_0x1754bd(0xed)]()[_0x1754bd(0xbe)](transformExtent(_0x5f2988[_0x1754bd(0xf6)],(_0x2f369b=_0x5f2988['projection'])===null||_0x2f369b===void 0x0?void 0x0:_0x2f369b[_0x1754bd(0xca)](),this[_0x1754bd(0xed)]()['getProjection']()[_0x1754bd(0xca)]()));}[a52_0x10e138(0xd7)](_0x7bd6a5){const _0x23cf99=a52_0x10e138;let _0x39f2b6=this[_0x23cf99(0x102)](_0x7bd6a5);_0x39f2b6&&this[_0x23cf99(0xe7)](_0x39f2b6);}async[a52_0x10e138(0xd0)](_0x217aac){const _0x5c0ee6=a52_0x10e138;let _0x54e106;switch(_0x217aac['layerType']){case'arcgis-feature':_0x54e106=await a52_0x3e21b3[_0x5c0ee6(0x106)](_0x217aac);break;case'arcgis-dynamic':_0x54e106=await a52_0x3e21b3['getDynamicLayer'](_0x217aac);break;case _0x5c0ee6(0xcb):_0x54e106=await a52_0x3e21b3[_0x5c0ee6(0xfc)](_0x217aac);break;case'arcgis-wms':_0x54e106=await a52_0x3e21b3[_0x5c0ee6(0x117)](_0x217aac);break;case'arcgis-wmts':_0x54e106=await a52_0x3e21b3[_0x5c0ee6(0x112)](_0x217aac);break;case _0x5c0ee6(0xef):_0x54e106=await a52_0x3e21b3[_0x5c0ee6(0xc4)](_0x217aac);break;case _0x5c0ee6(0xfe):_0x54e106=await a52_0x3e21b3[_0x5c0ee6(0xb1)](_0x217aac);break;case _0x5c0ee6(0xd6):_0x54e106=await a52_0x3e21b3['getGeoserverWMTSLayer'](_0x217aac);break;case'geoserver-vector-tile':_0x54e106=await a52_0x3e21b3['getGeoserverVectorTileLayer'](_0x217aac);break;case _0x5c0ee6(0xd9):_0x54e106=await a52_0x3e21b3[_0x5c0ee6(0xf9)](_0x217aac);break;default:throw new Error(_0x5c0ee6(0xe8)+_0x217aac['layerType']+'】服务类型');}return this[_0x5c0ee6(0x109)](_0x54e106),this[_0x5c0ee6(0x101)](new ChangeLayerEvent(_0x5c0ee6(0x107),[_0x217aac['id']],_0x5c0ee6(0xdf))),_0x54e106;}async['addMapLayers'](_0x9bc08a){const _0x28a6f4=a52_0x10e138;let _0x158836=[];const _0x11707e=[];for(let _0x176c17=0x0;_0x176c17<_0x9bc08a[_0x28a6f4(0xf3)];_0x176c17++){const _0x4e07e5=_0x9bc08a[_0x176c17];_0x11707e[_0x28a6f4(0xb2)](_0x4e07e5['id']),_0x158836[_0x28a6f4(0xb2)](this[_0x28a6f4(0xd0)](_0x4e07e5));}const _0x479e00=await Promise[_0x28a6f4(0xcf)](_0x158836);return this[_0x28a6f4(0x101)](new ChangeLayerEvent(_0x28a6f4(0x107),_0x11707e,'add')),_0x479e00;}['addLayer'](_0x21f9a8,_0x1111e2=![]){const _0x511754=a52_0x10e138,_0x4158dd=_0x21f9a8,_0x51ea89=this[_0x511754(0x102)](_0x4158dd['id']);if(_0x51ea89==null){const _0x506700=_0x4158dd[_0x511754(0xd3)]==undefined||_0x4158dd['layerInfo'][_0x511754(0xe9)]==undefined||_0x4158dd['layerInfo'][_0x511754(0xe9)]<0x0?undefined:calculateResolution(_0x4158dd[_0x511754(0xd3)][_0x511754(0xe9)],this[_0x511754(0xed)]()[_0x511754(0x11a)]()['getMetersPerUnit']()||0x0);_0x21f9a8[_0x511754(0xfa)](_0x506700);const _0x90ad8c=_0x4158dd['layerInfo']==undefined||_0x4158dd[_0x511754(0xd3)][_0x511754(0xcd)]==undefined||_0x4158dd['layerInfo'][_0x511754(0xcd)]<0x0?undefined:calculateResolution(_0x4158dd[_0x511754(0xd3)][_0x511754(0xcd)],this[_0x511754(0xed)]()[_0x511754(0x11a)]()['getMetersPerUnit']()||0x0);_0x21f9a8['setMaxResolution'](_0x90ad8c);const _0x39b259=this[_0x511754(0xea)]()['getArray']()[_0x511754(0xf3)];if(!this['_options'][_0x511754(0xbc)]&&_0x39b259==0x0&&_0x4158dd[_0x511754(0xbc)]&&_0x4158dd[_0x511754(0xbc)][_0x511754(0xca)]()!=this[_0x511754(0xed)]()['getProjection']()[_0x511754(0xca)]()){}let _0x10edb4=_0x21f9a8[_0x511754(0xe6)]();_0x10edb4!=undefined&&_0x10edb4>_0x39b259&&(_0x10edb4=_0x39b259),this[_0x511754(0xea)]()['insertAt'](_0x10edb4==undefined?_0x39b259:_0x10edb4,_0x21f9a8),_0x1111e2&&this[_0x511754(0xe7)](_0x4158dd);}}[a52_0x10e138(0x119)](_0x4b7c3f){const _0x168a69=a52_0x10e138,_0x56facd=this[_0x168a69(0x102)](_0x4b7c3f);_0x56facd&&(this['removeLayer'](_0x56facd),this['dispatchEvent'](new ChangeLayerEvent(_0x168a69(0x107),[_0x4b7c3f],_0x168a69(0x105))));}['getLayerById'](_0x4ed4eb){const _0x4d19a=a52_0x10e138;let _0x3e9749,_0x1a663e=this[_0x4d19a(0xea)]()['getArray']();for(let _0x55e07b=0x0;_0x55e07b<_0x1a663e['length'];_0x55e07b++){let _0x3f6834=_0x1a663e[_0x55e07b]['id'];if(_0x4ed4eb==_0x3f6834){_0x3e9749=_0x1a663e[_0x55e07b];break;}}return _0x3e9749;}[a52_0x10e138(0xbf)](_0x87bce4){const _0x430d17=a52_0x10e138;let _0x1cbe95,_0x1a2255=this[_0x430d17(0xea)]()['getArray']();for(let _0x3752df=0x0;_0x3752df<_0x1a2255['length'];_0x3752df++){const _0x1fe83a=_0x1a2255[_0x3752df]['layerInfo'];if(!_0x1fe83a)continue;let _0xe1fb5e=_0x1fe83a[_0x430d17(0xbb)];if(_0xe1fb5e==_0x87bce4){_0x1cbe95=_0x1a2255[_0x3752df];break;}}return _0x1cbe95;}[a52_0x10e138(0xe5)](_0x1a201b){const _0x558e49=a52_0x10e138;let _0x17adcf=this[_0x558e49(0xea)]()[_0x558e49(0xc6)]();return _0x17adcf[_0x558e49(0xcc)](_0xddfb06=>_0x1a201b[_0x558e49(0x108)](_0xddfb06['id']));}['getTempLayerById'](_0x5e9064){const _0x26feea=a52_0x10e138;let _0x448249,_0x5787c5=this[_0x26feea(0xea)]()[_0x26feea(0xc6)]();for(let _0x1dafef=0x0;_0x1dafef<_0x5787c5[_0x26feea(0xf3)];_0x1dafef++){const _0x18bbc1=_0x5787c5[_0x1dafef];if(_0x18bbc1['id']===_0x5e9064){_0x448249=_0x18bbc1;break;}}if(!_0x448249){_0x448249=new a52_0x2d02b2({'zIndex':0x270f,'source':new a52_0x5400f5()}),_0x448249['id']=_0x5e9064;const _0x22e223=this[_0x26feea(0xea)]()['getLength']();switch(_0x5e9064){case _0x26feea(0xe2):this[_0x26feea(0xea)]()[_0x26feea(0xb8)](_0x22e223-0x1>-0x1?_0x22e223-0x1:0x0,_0x448249);break;case'polygonTempLayer':this[_0x26feea(0xea)]()['insertAt'](_0x22e223-0x2>-0x1?_0x22e223-0x2:0x0,_0x448249);break;case _0x26feea(0x10d):this['getLayers']()[_0x26feea(0xb8)](_0x22e223,_0x448249);break;default:break;}}return _0x448249;}[a52_0x10e138(0xf7)](){const _0x5518fc=a52_0x10e138;return this[_0x5518fc(0x100)]('pointTempLayer');}['getLineTempLayer'](){const _0x4fcbf2=a52_0x10e138;return this[_0x4fcbf2(0x100)](_0x4fcbf2(0xe2));}[a52_0x10e138(0xb3)](){return this['getTempLayerById']('polygonTempLayer');}[a52_0x10e138(0xc1)](_0x546e91){const _0x2aca5d=a52_0x10e138;let _0x2fae8b=this[_0x2aca5d(0xf7)]();switch(_0x546e91){case _0x2aca5d(0xbd):case _0x2aca5d(0xd8):_0x2fae8b=this['getPointTempLayer']();case _0x2aca5d(0x104):case _0x2aca5d(0x113):_0x2fae8b=this[_0x2aca5d(0xf4)]();case _0x2aca5d(0xb4):case _0x2aca5d(0x10a):_0x2fae8b=this[_0x2aca5d(0xb3)]();}return _0x2fae8b;}['resetViewProjection'](_0x4eaf5e){const _0x1d18e3=a52_0x10e138;let _0x1bbbd2=this[_0x1d18e3(0xed)]()[_0x1d18e3(0xee)](),_0x2b470f=this[_0x1d18e3(0xed)]()[_0x1d18e3(0xc8)]();registerProj(_0x4eaf5e),this['getView']()[_0x1d18e3(0xb9)](_0x4eaf5e);}[a52_0x10e138(0x111)](){const _0x2d4360=a52_0x10e138;let _0x1ca41c=[];_0x1ca41c[_0x2d4360(0xb2)](this[_0x2d4360(0xf7)]()),_0x1ca41c[_0x2d4360(0xb2)](this['getLineTempLayer']()),_0x1ca41c[_0x2d4360(0xb2)](this[_0x2d4360(0xb3)]());const _0x52cc3a=this[_0x2d4360(0xea)]()[_0x2d4360(0xc6)]()[_0x2d4360(0xf3)];for(let _0xad3349=0x0;_0xad3349<_0x1ca41c[_0x2d4360(0xf3)];_0xad3349++){const _0x368eed=_0x1ca41c[_0xad3349];this[_0x2d4360(0xea)]()['insertAt'](_0x52cc3a-_0xad3349-0x1,_0x368eed);}}[a52_0x10e138(0xf2)](){const _0x3287b8=a52_0x10e138;return this[_0x3287b8(0xed)]()[_0x3287b8(0xdb)](this[_0x3287b8(0xe3)]());}[a52_0x10e138(0xc9)](_0x273bdc,_0x2284c0,_0x550a46,_0x2129d6=!![],_0x3c1fb5,_0x5a7776={'color':'rgba(255,\x200,\x200,\x200.2)','opacity':0.2,'outlineColor':a52_0x10e138(0xff),'outlineWidth':0x2}){const _0x725aae=a52_0x10e138;var _0x5983a2;const _0x12c156=fromWKT(_0x273bdc,_0x2284c0,this['getView']()[_0x725aae(0x11a)]()[_0x725aae(0xca)]());if(!_0x12c156)return;const _0x1edeb9=this[_0x725aae(0xc1)](_0x12c156[_0x725aae(0xe4)]()),_0x402cc9=getStyle(_0x5a7776),_0x3c995c=new a52_0x5748d1();return _0x3c995c['setGeometry'](_0x12c156),_0x3c995c['setStyle'](_0x402cc9),_0x3c1fb5?_0x3c995c[_0x725aae(0xf0)](_0x3c1fb5):_0x3c995c['setProperties']({}),_0x3c995c[_0x725aae(0x114)]=_0x550a46,(_0x5983a2=_0x1edeb9[_0x725aae(0xc7)]())===null||_0x5983a2===void 0x0?void 0x0:_0x5983a2[_0x725aae(0x10c)](_0x3c995c),_0x2129d6&&this['locationGeometry'](_0x12c156,undefined,1.2,![]),_0x3c995c;}[a52_0x10e138(0xb7)](_0x7e9334,_0x2beb9e,_0xb040c6,_0x4efe68=!![],_0x1758b9={'color':'rgba(255,\x200,\x200,\x200.2)','opacity':0.2,'outlineColor':a52_0x10e138(0xff),'outlineWidth':0x2},_0x125f36){const _0x1ec121=a52_0x10e138;var _0xec54c6;const _0x2461bc=fromWKTs(_0x7e9334,_0x2beb9e,this['getView']()[_0x1ec121(0x11a)]()[_0x1ec121(0xca)]());if(!_0x2461bc||_0x2461bc['length']==0x0)return;const _0x95fdde=this[_0x1ec121(0xc1)](_0x2461bc[0x0][_0x1ec121(0xe4)]()),_0x17a3ca=getStyle(_0x1758b9);let _0x5a791f=[];for(const _0x6847a4 of _0x2461bc){const _0x1a7cd8=new a52_0x5748d1();_0x1a7cd8['setGeometry'](_0x6847a4),_0x1a7cd8[_0x1ec121(0xe1)](_0x17a3ca),_0x125f36?_0x1a7cd8[_0x1ec121(0xf0)](_0x125f36):_0x1a7cd8[_0x1ec121(0xf0)]({}),_0x1a7cd8[_0x1ec121(0x11b)]=_0x1ec121(0xd4),_0x1a7cd8['isSelected']=!![],_0x1a7cd8['tag']=_0xb040c6,_0x5a791f[_0x1ec121(0xb2)](_0x1a7cd8);}return(_0xec54c6=_0x95fdde[_0x1ec121(0xc7)]())===null||_0xec54c6===void 0x0?void 0x0:_0xec54c6[_0x1ec121(0xfd)](_0x5a791f),_0x4efe68&&this[_0x1ec121(0xd5)](_0x2461bc,undefined,1.2,![]),_0x5a791f;}[a52_0x10e138(0xe0)](_0x177610,_0x381683,_0x31af59=1.2,_0xd31763=!![]){const _0x32b2ae=a52_0x10e138;if(!_0x177610)return;let _0x45ebe6=fromWKT(_0x177610,_0x381683,this[_0x32b2ae(0xed)]()[_0x32b2ae(0x11a)]()[_0x32b2ae(0xca)]());if(!_0x45ebe6)return;this[_0x32b2ae(0xd2)](_0x45ebe6,_0x381683,_0x31af59,_0xd31763);}[a52_0x10e138(0xb5)](_0x3d8b05,_0xa5d557,_0x1b6d3a=1.2,_0x3ac603=!![]){const _0x56eeb4=a52_0x10e138;if(!_0x3d8b05||_0x3d8b05['length']===0x0)return;const _0x1a1e0a=[];for(let _0x29912c=0x0;_0x29912c<_0x3d8b05[_0x56eeb4(0xf3)];_0x29912c++){let _0x1b9423=_0x3d8b05[_0x29912c],_0x294dea=fromWKT(_0x1b9423,_0xa5d557,this[_0x56eeb4(0xed)]()[_0x56eeb4(0x11a)]()[_0x56eeb4(0xca)]());if(!_0x294dea)continue;_0x1a1e0a[_0x56eeb4(0xb2)](_0x294dea);}this['locationGeometrys'](_0x1a1e0a,_0xa5d557,_0x1b6d3a,_0x3ac603);}[a52_0x10e138(0xd2)](_0xd7781f,_0x33d1d9,_0x39b5c3=1.2,_0x16e246=!![]){const _0x3576f0=a52_0x10e138;if(!_0xd7781f)return;let _0x4d48ee=_0xd7781f;_0x33d1d9&&(_0x4d48ee=_0xd7781f[_0x3576f0(0x10b)](_0x33d1d9,this[_0x3576f0(0xed)]()['getProjection']()));switch(_0x4d48ee[_0x3576f0(0xe4)]()){case _0x3576f0(0xbd):this[_0x3576f0(0xed)]()[_0x3576f0(0xc0)](_0x4d48ee[_0x3576f0(0xf8)]());break;case _0x3576f0(0xb4):case _0x3576f0(0xd8):case _0x3576f0(0x113):case _0x3576f0(0x10a):case _0x3576f0(0xc5):this[_0x3576f0(0xed)]()[_0x3576f0(0xbe)](expandExtent(_0x4d48ee[_0x3576f0(0xf2)](),_0x39b5c3));break;}if(_0x16e246){const _0x11858e=new a52_0x143203(this);_0x11858e[_0x3576f0(0xc2)]([_0x4d48ee],0x3);}}[a52_0x10e138(0xd5)](_0x390c3a,_0x4855ab,_0x23812e=1.2,_0x1e533f=!![]){const _0x5b2927=a52_0x10e138;if(!_0x390c3a||_0x390c3a[_0x5b2927(0xf3)]===0x0)return;let _0x3e2c40=null;for(const _0x43d1f2 of _0x390c3a){_0x3e2c40?_0x3e2c40=union(_0x3e2c40,_0x43d1f2):_0x3e2c40=_0x43d1f2;}_0x3e2c40&&this[_0x5b2927(0xd2)](_0x3e2c40,_0x4855ab,_0x23812e,![]);if(_0x1e533f){const _0xcd12b6=new a52_0x143203(this);_0xcd12b6[_0x5b2927(0xc2)](_0x390c3a,0x3);}}}
|
package/mapView/View.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a53_0x1447bf=a53_0x4872;(function(_0x175714,_0x3fa2bd){var _0xa95af9=a53_0x4872,_0x450bad=_0x175714();while(!![]){try{var _0x2df54a=-parseInt(_0xa95af9(0x13a))/0x1*(-parseInt(_0xa95af9(0x136))/0x2)+parseInt(_0xa95af9(0x137))/0x3*(parseInt(_0xa95af9(0x133))/0x4)+-parseInt(_0xa95af9(0x13b))/0x5+parseInt(_0xa95af9(0x13f))/0x6*(-parseInt(_0xa95af9(0x138))/0x7)+parseInt(_0xa95af9(0x139))/0x8*(-parseInt(_0xa95af9(0x13e))/0x9)+parseInt(_0xa95af9(0x13d))/0xa*(-parseInt(_0xa95af9(0x13c))/0xb)+parseInt(_0xa95af9(0x135))/0xc;if(_0x2df54a===_0x3fa2bd)break;else _0x450bad['push'](_0x450bad['shift']());}catch(_0x4113b6){_0x450bad['push'](_0x450bad['shift']());}}}(a53_0x367a,0xbd894));import a53_0x40579f from'ol/View';import{get}from'ol/proj';function a53_0x4872(_0x5c85da,_0xaa3d5f){var _0x367a07=a53_0x367a();return a53_0x4872=function(_0x487204,_0x1a1752){_0x487204=_0x487204-0x133;var _0x45591c=_0x367a07[_0x487204];return _0x45591c;},a53_0x4872(_0x5c85da,_0xaa3d5f);}function a53_0x367a(){var _0x20721f=['2WxJnjA','184911OBoXQZ','63IMwKqg','3736056wYUiYn','422491RtHaby','5563860fglVAt','17077522PWyzpV','10WqXpmq','9kPtmOj','517746LWleDk','92rBKdSb','setProjection','34141176INahVw'];a53_0x367a=function(){return _0x20721f;};return a53_0x367a();}export default class OLView extends a53_0x40579f{constructor(_0x577664){super(_0x577664);}[a53_0x1447bf(0x134)](_0x70d1d8){this['projection_']=get(_0x70d1d8),this['setProperties']({'projection_':get(_0x70d1d8)});}}
|
package/package.json
CHANGED
package/plot/Plot.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2f714b,_0x556485){const _0x50d804=a61_0x2359,_0x564eb4=_0x2f714b();while(!![]){try{const _0x2573b6=-parseInt(_0x50d804(0x84))/0x1+parseInt(_0x50d804(0x8a))/0x2+parseInt(_0x50d804(0x78))/0x3+-parseInt(_0x50d804(0x87))/0x4+parseInt(_0x50d804(0x88))/0x5*(parseInt(_0x50d804(0x82))/0x6)+-parseInt(_0x50d804(0x77))/0x7+parseInt(_0x50d804(0x80))/0x8;if(_0x2573b6===_0x556485)break;else _0x564eb4['push'](_0x564eb4['shift']());}catch(_0x10aa64){_0x564eb4['push'](_0x564eb4['shift']());}}}(a61_0x7e37,0xd2ef7));import a61_0x7efbc7 from'../entity/GeometryType';import a61_0x253ac5 from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';import{getPolygonStyle}from'../style/PolygonStyleFormat';import a61_0x4f2945 from'./geometry/polygon/RectAngle';import a61_0x561e60 from'./geometry/polyline/Polyline';function a61_0x7e37(){const _0x463d1f=['1822448LvKMHG','4755xkEigs','Ellipse','553184ReSXnC','Polygon','pointermove','2826719TjOHXn','2202411HxKZuU','ArrowAttack','Rectangle','MAX_VALUE','assign','Point','ArrowPincerlike','PolyLine','2164952BZhZDu','Ellipsoid','8706twEZLq','Arrow','937829uktRZF','Circle','toLowerCase'];a61_0x7e37=function(){return _0x463d1f;};return a61_0x7e37();}import a61_0x2684a4 from'./geometry/point/Point';import a61_0x50aada from'./geometry/polygon/Circle';const defaultStyle={'color':[0x40,0xaf,0xc1,0.08],'fill':!![],'opacity':0.6,'outline':!![],'outlineColor':[0x40,0xaf,0xc1,0x1],'outlineOpacity':0.6,'outlineWidth':0x2};export function createPlot(_0x324f0e,_0x57b825){const _0x36ceaf=a61_0x2359;_0x324f0e=_0x324f0e[_0x36ceaf(0x86)]();switch(_0x324f0e){case a61_0x7efbc7['Point']:case _0x36ceaf(0x76):return new a61_0x2684a4(_0x57b825);case a61_0x7efbc7[_0x36ceaf(0x7f)]:return new a61_0x561e60(_0x57b825);case a61_0x7efbc7[_0x36ceaf(0x85)]:return new a61_0x50aada(_0x57b825);case a61_0x7efbc7['Rectangle']:return new a61_0x4f2945(_0x57b825);case a61_0x7efbc7[_0x36ceaf(0x8b)]:return new a61_0x253ac5(_0x57b825);}}export function getPlotCount(_0x1cdfbd){const _0x5665b9=a61_0x2359;_0x1cdfbd=_0x1cdfbd[_0x5665b9(0x86)]();let _0xf05088={'fixPoint':0x0,'minPoint':0x0};switch(_0x1cdfbd){case a61_0x7efbc7[_0x5665b9(0x7d)]:_0xf05088={'fixPoint':0x1,'minPoint':0x0};break;case a61_0x7efbc7[_0x5665b9(0x7f)]:_0xf05088={'fixPoint':Number[_0x5665b9(0x7b)],'minPoint':0x1};break;case a61_0x7efbc7['Polygon']:_0xf05088={'fixPoint':Number['MAX_VALUE'],'minPoint':0x2};break;case a61_0x7efbc7[_0x5665b9(0x7a)]:_0xf05088={'fixPoint':0x2,'minPoint':0x1};break;case a61_0x7efbc7[_0x5665b9(0x85)]:_0xf05088={'fixPoint':0x2,'minPoint':0x1};break;case a61_0x7efbc7['Curve']:_0xf05088={'fixPoint':Number[_0x5665b9(0x7b)],'minPoint':0x1};break;case a61_0x7efbc7['Ellipse']:case a61_0x7efbc7[_0x5665b9(0x81)]:_0xf05088={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0xf05088;}function a61_0x2359(_0x132cb3,_0x3e788f){const _0x7e375c=a61_0x7e37();return a61_0x2359=function(_0x235908,_0x5cd2d3){_0x235908=_0x235908-0x76;let _0x14479c=_0x7e375c[_0x235908];return _0x14479c;},a61_0x2359(_0x132cb3,_0x3e788f);}export function getStyle(_0x1068e5,_0x11fd78,_0xf0ee9a){const _0x584fe6=a61_0x2359;_0x1068e5=_0x1068e5[_0x584fe6(0x86)](),_0x11fd78=Object[_0x584fe6(0x7c)](Object[_0x584fe6(0x7c)]({},defaultStyle),_0x11fd78);switch(_0x1068e5){case a61_0x7efbc7['Point']:return function(_0x28101d,_0x36c851){return getPointSingleStyle(_0x1068e5,_0x11fd78,_0x36c851,_0xf0ee9a);};case a61_0x7efbc7[_0x584fe6(0x7f)]:case a61_0x7efbc7['Curve']:return function(_0x387e81,_0x561692){return getPolylineStyle(_0x11fd78,'',_0x561692,_0xf0ee9a);};case a61_0x7efbc7['Circle']:case a61_0x7efbc7[_0x584fe6(0x7a)]:case a61_0x7efbc7[_0x584fe6(0x89)]:case a61_0x7efbc7[_0x584fe6(0x81)]:case a61_0x7efbc7['SurfaceClosed']:case a61_0x7efbc7[_0x584fe6(0x8b)]:case a61_0x7efbc7[_0x584fe6(0x79)]:case a61_0x7efbc7[_0x584fe6(0x7e)]:case a61_0x7efbc7[_0x584fe6(0x83)]:case a61_0x7efbc7['AssemblySite']:return function(_0x525e38,_0x9a2af2){return getPolygonStyle(_0x11fd78,'',_0x9a2af2,_0xf0ee9a);};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a54_0x20489f=a54_0x2f16;(function(_0x4f5bbf,_0xe67cd4){var _0x4c5e9a=a54_0x2f16,_0x1301d5=_0x4f5bbf();while(!![]){try{var _0x4e842e=-parseInt(_0x4c5e9a(0x1cf))/0x1+-parseInt(_0x4c5e9a(0x1d4))/0x2+-parseInt(_0x4c5e9a(0x1cc))/0x3+parseInt(_0x4c5e9a(0x1c4))/0x4*(parseInt(_0x4c5e9a(0x1cd))/0x5)+-parseInt(_0x4c5e9a(0x1de))/0x6*(-parseInt(_0x4c5e9a(0x1dd))/0x7)+parseInt(_0x4c5e9a(0x1c3))/0x8*(-parseInt(_0x4c5e9a(0x1ce))/0x9)+parseInt(_0x4c5e9a(0x1c9))/0xa*(parseInt(_0x4c5e9a(0x1c8))/0xb);if(_0x4e842e===_0xe67cd4)break;else _0x1301d5['push'](_0x1301d5['shift']());}catch(_0x4507){_0x1301d5['push'](_0x1301d5['shift']());}}}(a54_0x8d45,0xb5e75));import{Map}from'ol';function a54_0x2f16(_0x3d4009,_0x2f33b1){var _0x8d4597=a54_0x8d45();return a54_0x2f16=function(_0x2f1662,_0x17b23f){_0x2f1662=_0x2f1662-0x1c2;var _0x22675d=_0x8d4597[_0x2f1662];return _0x22675d;},a54_0x2f16(_0x3d4009,_0x2f33b1);}import{Point as a54_0x2f78a8}from'ol/geom';class Point extends a54_0x2f78a8{constructor(_0x382e37){var _0xdfb65c=a54_0x2f16;super([]),this[_0xdfb65c(0x1ca)]=_0xdfb65c(0x1c5),this['points']=_0x382e37,this[_0xdfb65c(0x1c2)](_0x382e37);}[a54_0x20489f(0x1da)](){var _0x538ca7=a54_0x20489f;return this[_0x538ca7(0x1ca)];}[a54_0x20489f(0x1c7)](){var _0x1ae174=a54_0x20489f;this[_0x1ae174(0x1d7)](this[_0x1ae174(0x1d6)][0x0]);}['setMap'](_0xea8e35){var _0x1a0c6e=a54_0x20489f;if(_0xea8e35&&_0xea8e35 instanceof Map)this[_0x1a0c6e(0x1d3)]=_0xea8e35;else throw new Error(_0x1a0c6e(0x1db));}[a54_0x20489f(0x1d2)](){var _0x1d1206=a54_0x20489f;return this[_0x1d1206(0x1d3)];}[a54_0x20489f(0x1d0)](){return!![];}[a54_0x20489f(0x1c2)](_0x5a9ad3){var _0x4a5094=a54_0x20489f;_0x5a9ad3&&_0x5a9ad3[_0x4a5094(0x1c6)]>=0x1&&(this[_0x4a5094(0x1d6)]=_0x5a9ad3,this[_0x4a5094(0x1c7)]());}['getPoints'](){return this['points'];}[a54_0x20489f(0x1d5)](_0x2ac08a,_0x5a7c69){var _0xc1d2a8=a54_0x20489f;_0x5a7c69>=0x0&&_0x5a7c69<this[_0xc1d2a8(0x1d6)][_0xc1d2a8(0x1c6)]&&(this[_0xc1d2a8(0x1d6)][_0x5a7c69]=_0x2ac08a,this[_0xc1d2a8(0x1c7)]());}[a54_0x20489f(0x1d1)](_0xd0bcdb){var _0x864c01=a54_0x20489f;this[_0x864c01(0x1d5)](_0xd0bcdb,this[_0x864c01(0x1d6)][_0x864c01(0x1c6)]-0x1);}[a54_0x20489f(0x1d8)](){}[a54_0x20489f(0x1d9)](_0x4355b6){var _0x30c763=a54_0x20489f;this['style']=JSON[_0x30c763(0x1cb)](JSON[_0x30c763(0x1dc)](_0x4355b6));}}export default Point;function a54_0x8d45(){var _0x4dc64d=['setPoints','5080328lvfAxd','24uyMstL','Point','length','generate','1199SlFUAF','242390AELwGj','type','parse','1948239ZhIuFQ','594450yKumKZ','9Zlhzlt','920836YHoWnm','isPlot','updateLastPoint','getMap','map','1340316tZejGW','updatePoint','points','setCoordinates','finishDrawing','setStyle','getPlotType','传入的不是地图对象!','stringify','309323bcbuMR','36VNkaUj'];a54_0x8d45=function(){return _0x4dc64d;};return a54_0x8d45();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a55_0x4a4c1b=a55_0x496e;function a55_0x496e(_0x23ea22,_0x37b912){var _0x47af1d=a55_0x47af();return a55_0x496e=function(_0x496e22,_0x10c66b){_0x496e22=_0x496e22-0x1a9;var _0xf890e4=_0x47af1d[_0x496e22];return _0xf890e4;},a55_0x496e(_0x23ea22,_0x37b912);}(function(_0x123e27,_0x3922fc){var _0x2d9f72=a55_0x496e,_0x364a6f=_0x123e27();while(!![]){try{var _0xa379f0=parseInt(_0x2d9f72(0x1ad))/0x1*(-parseInt(_0x2d9f72(0x1ac))/0x2)+parseInt(_0x2d9f72(0x1b6))/0x3+parseInt(_0x2d9f72(0x1a9))/0x4*(parseInt(_0x2d9f72(0x1b0))/0x5)+-parseInt(_0x2d9f72(0x1b1))/0x6+parseInt(_0x2d9f72(0x1ae))/0x7*(parseInt(_0x2d9f72(0x1bb))/0x8)+-parseInt(_0x2d9f72(0x1b7))/0x9*(parseInt(_0x2d9f72(0x1ba))/0xa)+parseInt(_0x2d9f72(0x1b5))/0xb;if(_0xa379f0===_0x3922fc)break;else _0x364a6f['push'](_0x364a6f['shift']());}catch(_0x56cc31){_0x364a6f['push'](_0x364a6f['shift']());}}}(a55_0x47af,0xc78d2));import{Polygon}from'ol/geom';import a55_0x4195b7 from'ol/format/GeoJSON';import a55_0x24dea8 from'../../../mapView/Map';function a55_0x47af(){var _0x46a4f2=['1620fOmVPa','setStyle','getType','1909806lzzUKv','1TScXKz','63jdUAiI','length','8345fQZIap','7753272yyKSPr','getPointCount','map','points','16983175QTXwFH','1615221BmrlGV','8811TFiiST','setPoints','generate','9820ubVBtA','1126736jtqJsn','getGeoJson','传入的不是地图对象!','finishDrawing','getPoints','setMap','type','style','getMap','isPlot'];a55_0x47af=function(){return _0x46a4f2;};return a55_0x47af();}class BasePolygon extends Polygon{constructor(){super([]),this['points']=[];}[a55_0x4a4c1b(0x1ab)](){var _0x12dddd=a55_0x4a4c1b;return this[_0x12dddd(0x1c1)]?this[_0x12dddd(0x1c1)]:super[_0x12dddd(0x1ab)]();}[a55_0x4a4c1b(0x1bc)](){return new a55_0x4195b7()['writeGeometryObject'](this);}[a55_0x4a4c1b(0x1aa)](_0x5c0675){var _0x250528=a55_0x4a4c1b;_0x5c0675&&(this[_0x250528(0x1c2)]=JSON['parse'](JSON['stringify'](_0x5c0675)));}[a55_0x4a4c1b(0x1c0)](_0x2c366b){var _0x4e4315=a55_0x4a4c1b;if(_0x2c366b&&_0x2c366b instanceof a55_0x24dea8)this[_0x4e4315(0x1b3)]=_0x2c366b;else throw new Error(_0x4e4315(0x1bd));}[a55_0x4a4c1b(0x1c3)](){return this['map'];}[a55_0x4a4c1b(0x1c4)](){return!![];}[a55_0x4a4c1b(0x1b8)](_0x4759bc){var _0x4d28b7=a55_0x4a4c1b;this['points']=!_0x4759bc?[]:_0x4759bc,this['points'][_0x4d28b7(0x1af)]>=0x1&&this[_0x4d28b7(0x1b9)]();}[a55_0x4a4c1b(0x1b9)](){}[a55_0x4a4c1b(0x1bf)](){return this['points']['slice'](0x0);}[a55_0x4a4c1b(0x1b2)](){var _0x8262c7=a55_0x4a4c1b;return this[_0x8262c7(0x1b4)]['length'];}[a55_0x4a4c1b(0x1be)](){}}export default BasePolygon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a56_0x4b4bb3=a56_0x1df0;(function(_0x5b3a68,_0x18f251){const _0x2f5feb=a56_0x1df0,_0x2204bc=_0x5b3a68();while(!![]){try{const _0x4b7470=-parseInt(_0x2f5feb(0x7b))/0x1+parseInt(_0x2f5feb(0x6e))/0x2*(-parseInt(_0x2f5feb(0x71))/0x3)+parseInt(_0x2f5feb(0x75))/0x4*(-parseInt(_0x2f5feb(0x78))/0x5)+-parseInt(_0x2f5feb(0x80))/0x6*(-parseInt(_0x2f5feb(0x70))/0x7)+parseInt(_0x2f5feb(0x81))/0x8+parseInt(_0x2f5feb(0x83))/0x9+parseInt(_0x2f5feb(0x7e))/0xa*(parseInt(_0x2f5feb(0x7f))/0xb);if(_0x4b7470===_0x18f251)break;else _0x2204bc['push'](_0x2204bc['shift']());}catch(_0x45586f){_0x2204bc['push'](_0x2204bc['shift']());}}}(a56_0x3f2c,0xa938c));import{Circle as a56_0x7f0a36}from'ol/geom';import a56_0x1eeb24 from'ol/format/GeoJSON';import{offset}from'ol/sphere';import{squaredDistance as a56_0x784519}from'ol/coordinate';import{fromCircle}from'ol/geom/Polygon';function a56_0x3f2c(){const _0x3bedd2=['updatePoint','48OcfNxq','sqrt','length','576140xfQWEb','setCenterAndRadius','generate','775181GOkznZ','points','setPoints','310QGGPzQ','338822WmgWXJ','48qHJyAS','7565288dLDukr','writeGeometryObject','756864uJdlNm','toRadians','updateLastPoint','768692ZhYnfq','type','1094429TtFTNo','3iprjcM','setCenter','Circle'];a56_0x3f2c=function(){return _0x3bedd2;};return a56_0x3f2c();}function a56_0x1df0(_0x16f173,_0x5c3487){const _0x3f2c56=a56_0x3f2c();return a56_0x1df0=function(_0x1df07e,_0x4b6174){_0x1df07e=_0x1df07e-0x6d;let _0x1bb7b8=_0x3f2c56[_0x1df07e];return _0x1bb7b8;},a56_0x1df0(_0x16f173,_0x5c3487);}import{compareArray}from'../../../utils/ArrayUtil';class Circle extends a56_0x7f0a36{constructor(_0x5e476c){const _0x115309=a56_0x1df0;super([]),this['points']=_0x5e476c,this[_0x115309(0x6f)]=_0x115309(0x73),_0x5e476c&&_0x5e476c[_0x115309(0x77)]>0x0&&this[_0x115309(0x7d)](_0x5e476c);}[a56_0x4b4bb3(0x7d)](_0x318f84){const _0x5dc574=a56_0x4b4bb3;var _0x4f062d;((_0x4f062d=this[_0x5dc574(0x7c)])===null||_0x4f062d===void 0x0?void 0x0:_0x4f062d['length'])>0x0&&(_0x318f84===null||_0x318f84===void 0x0?void 0x0:_0x318f84[_0x5dc574(0x77)])>0x0&&!compareArray(this[_0x5dc574(0x7c)][0x0],_0x318f84[0x0])?this[_0x5dc574(0x72)](_0x318f84[0x0]):(this[_0x5dc574(0x7c)]=!_0x318f84?[]:_0x318f84,this[_0x5dc574(0x7c)][_0x5dc574(0x77)]>=0x1&&(this[_0x5dc574(0x7a)]&&this['generate']()));}[a56_0x4b4bb3(0x7a)](){const _0x4e1c79=a56_0x4b4bb3;let _0x1510f2=this['points'][_0x4e1c79(0x77)];if(_0x1510f2<0x2)return![];else{const _0x5e83c7=this[_0x4e1c79(0x7c)][0x0],_0xe44ace=a56_0x784519(_0x5e83c7,this[_0x4e1c79(0x7c)][0x1]);this[_0x4e1c79(0x79)](_0x5e83c7,Math[_0x4e1c79(0x76)](_0xe44ace));}}[a56_0x4b4bb3(0x72)](_0x1f0f61){const _0x409659=a56_0x4b4bb3;this[_0x409659(0x72)](_0x1f0f61),this[_0x409659(0x7c)]=[_0x1f0f61,offset(_0x1f0f61,this['getRadius'](),this[_0x409659(0x84)](0x5a))],this[_0x409659(0x7a)]();}[a56_0x4b4bb3(0x84)](_0x22ac85){return _0x22ac85*Math['PI']/0xb4;}['getGeoJson'](){const _0x2a1691=a56_0x4b4bb3;return new a56_0x1eeb24()[_0x2a1691(0x82)](fromCircle(this));}[a56_0x4b4bb3(0x74)](_0x32dd63,_0x45c849){const _0x237fd0=a56_0x4b4bb3;_0x45c849>=0x0&&_0x45c849<this[_0x237fd0(0x7c)][_0x237fd0(0x77)]&&(this['points'][_0x45c849]=_0x32dd63,this[_0x237fd0(0x7a)]());}[a56_0x4b4bb3(0x6d)](_0x5460a7){const _0x31f429=a56_0x4b4bb3;this['updatePoint'](_0x5460a7,this[_0x31f429(0x7c)][_0x31f429(0x77)]-0x1);}}export default Circle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a57_0x4e575f=a57_0x5aef;(function(_0x18cfd5,_0x3b37f0){const _0x193e55=a57_0x5aef,_0x25a435=_0x18cfd5();while(!![]){try{const _0x19a56f=parseInt(_0x193e55(0xc4))/0x1+parseInt(_0x193e55(0xc0))/0x2*(-parseInt(_0x193e55(0xcb))/0x3)+parseInt(_0x193e55(0xb9))/0x4*(-parseInt(_0x193e55(0xca))/0x5)+parseInt(_0x193e55(0xbd))/0x6+parseInt(_0x193e55(0xc9))/0x7+-parseInt(_0x193e55(0xba))/0x8+parseInt(_0x193e55(0xc6))/0x9;if(_0x19a56f===_0x3b37f0)break;else _0x25a435['push'](_0x25a435['shift']());}catch(_0x492859){_0x25a435['push'](_0x25a435['shift']());}}}(a57_0x1aa4,0x7de6b));import a57_0xe12ab0 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';function a57_0x1aa4(){const _0x172e04=['type','stringify','376Bzzlwa','2973896mEUFJN','setPoints','length','1607430oKCquN','setCoordinates','points','12vQjAxi','_closed','Polygon','updatePoint','471844deEcuo','generate','5432058rtIHrL','isPlot','getPointCount','1408491lGIYcd','975Vknczz','319383dmHEsH'];a57_0x1aa4=function(){return _0x172e04;};return a57_0x1aa4();}class Polygon extends a57_0xe12ab0{constructor(_0x2e6413){const _0x1fc9c7=a57_0x5aef;super(),this[_0x1fc9c7(0xcc)]=_0x1fc9c7(0xc2),_0x2e6413&&_0x2e6413[_0x1fc9c7(0xbc)]>0x0&&getDeepth(_0x2e6413)==0x2?this[_0x1fc9c7(0xbb)](_0x2e6413):this['setCoordinates'](_0x2e6413);}[a57_0x4e575f(0xc1)](_0x2c8596){const _0x1df12f=a57_0x4e575f;let _0x2306a7=_0x2c8596[0x0],_0xde4bef=_0x2c8596[_0x2c8596[_0x1df12f(0xbc)]-0x1];return _0x2306a7[0x0]===_0xde4bef[0x0]&&_0x2306a7[0x1]===_0xde4bef[0x1]&&_0x2306a7[0x2]===_0xde4bef[0x2];}['generate'](){const _0x544fe0=a57_0x4e575f;let _0x5c3f1b=this[_0x544fe0(0xc8)]();if(_0x5c3f1b<0x2)return![];else{let _0x35350d=JSON['parse'](JSON[_0x544fe0(0xb8)](this[_0x544fe0(0xbf)]));_0x5c3f1b>=0x3&&(!this[_0x544fe0(0xc1)](_0x35350d)&&_0x35350d['push'](_0x35350d[0x0])),this[_0x544fe0(0xbe)]([_0x35350d]);}}['updatePoint'](_0x1e96ec,_0xd2b5d1){const _0x3e04ae=a57_0x4e575f;_0xd2b5d1>=0x0&&_0xd2b5d1<this['points'][_0x3e04ae(0xbc)]&&(this[_0x3e04ae(0xbf)][_0xd2b5d1]=_0x1e96ec,this[_0x3e04ae(0xc5)]());}[a57_0x4e575f(0xc7)](){return![];}['updateLastPoint'](_0x13fa6a){const _0x53ce9a=a57_0x4e575f;this[_0x53ce9a(0xc3)](_0x13fa6a,this['points'][_0x53ce9a(0xbc)]-0x1);}}function a57_0x5aef(_0xaf9a9f,_0x2fc700){const _0x1aa450=a57_0x1aa4();return a57_0x5aef=function(_0x5aef8b,_0x5e3499){_0x5aef8b=_0x5aef8b-0xb8;let _0x7ca65e=_0x1aa450[_0x5aef8b];return _0x7ca65e;},a57_0x5aef(_0xaf9a9f,_0x2fc700);}export default Polygon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a58_0x10f4e3=a58_0x2ccd;(function(_0x6da7d6,_0xb3dee4){const _0x3a0d66=a58_0x2ccd,_0x2b5a62=_0x6da7d6();while(!![]){try{const _0x13cb70=-parseInt(_0x3a0d66(0x1eb))/0x1*(parseInt(_0x3a0d66(0x1dd))/0x2)+-parseInt(_0x3a0d66(0x1ec))/0x3*(-parseInt(_0x3a0d66(0x1db))/0x4)+parseInt(_0x3a0d66(0x1dc))/0x5*(parseInt(_0x3a0d66(0x1e9))/0x6)+parseInt(_0x3a0d66(0x1e2))/0x7+-parseInt(_0x3a0d66(0x1d7))/0x8+-parseInt(_0x3a0d66(0x1e7))/0x9*(-parseInt(_0x3a0d66(0x1da))/0xa)+-parseInt(_0x3a0d66(0x1df))/0xb*(parseInt(_0x3a0d66(0x1e1))/0xc);if(_0x13cb70===_0xb3dee4)break;else _0x2b5a62['push'](_0x2b5a62['shift']());}catch(_0x42ba8e){_0x2b5a62['push'](_0x2b5a62['shift']());}}}(a58_0x22e1,0xc87fa));import{fromExtent}from'ol/geom/Polygon';function a58_0x2ccd(_0x5c573f,_0x1129bf){const _0x22e1f1=a58_0x22e1();return a58_0x2ccd=function(_0x2ccd3c,_0x2c521a){_0x2ccd3c=_0x2ccd3c-0x1d7;let _0x4eb080=_0x22e1f1[_0x2ccd3c];return _0x4eb080;},a58_0x2ccd(_0x5c573f,_0x1129bf);}import{boundingExtent}from'ol/extent';import a58_0x593694 from'./BasePolygon';function a58_0x22e1(){const _0x1da9de=['type','generate','points','getCoordinates','2421DYsZgH','updateLastPoint','6IZFXXt','Polygon','2221cFTIka','3daaduJ','6468128vjQAMf','setCoordinates','length','6140hqyUgy','5593792xcfaMv','155915ascJbI','382QtlAvO','setPoints','3426302YmNaVc','updatePoint','36RNJAlm','9755326aoJtiX'];a58_0x22e1=function(){return _0x1da9de;};return a58_0x22e1();}import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a58_0x593694{constructor(_0x4406a6){const _0x47200e=a58_0x2ccd;super(),this[_0x47200e(0x1e3)]=_0x47200e(0x1ea),_0x4406a6&&_0x4406a6[_0x47200e(0x1d9)]>0x0&&getDeepth(_0x4406a6)==0x2?this[_0x47200e(0x1de)](_0x4406a6):this[_0x47200e(0x1d8)](_0x4406a6);}[a58_0x10f4e3(0x1e4)](){const _0x41f414=a58_0x10f4e3;if(this['points'][_0x41f414(0x1d9)]===0x2){let _0x42b516=[],_0x1dcedc=boundingExtent(this[_0x41f414(0x1e5)]),_0x5835e5=fromExtent(_0x1dcedc);_0x42b516=_0x5835e5[_0x41f414(0x1e6)](),this[_0x41f414(0x1d8)](_0x42b516);}}[a58_0x10f4e3(0x1e0)](_0x5e2170,_0x385874){const _0x59fce1=a58_0x10f4e3;_0x385874>=0x0&&_0x385874<this[_0x59fce1(0x1e5)][_0x59fce1(0x1d9)]&&(this[_0x59fce1(0x1e5)][_0x385874]=_0x5e2170,this[_0x59fce1(0x1e4)]());}[a58_0x10f4e3(0x1e8)](_0x37c1a5){const _0x272f6a=a58_0x10f4e3;this[_0x272f6a(0x1e0)](_0x37c1a5,this['points'][_0x272f6a(0x1d9)]-0x1);}}export default RectAngle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a59_0x3a1a57=a59_0x2811;function a59_0x2811(_0x48c127,_0x59d5a6){var _0x50c7a4=a59_0x50c7();return a59_0x2811=function(_0x28114b,_0x204e7d){_0x28114b=_0x28114b-0xc4;var _0x4d5b49=_0x50c7a4[_0x28114b];return _0x4d5b49;},a59_0x2811(_0x48c127,_0x59d5a6);}function a59_0x50c7(){var _0x3495bd=['getPlotType','length','getPoints','points','21595SfEvqN','setPoints','getMap','slice','getPointCount','setStyle','12Murofv','106TWrBiG','146232nGhtxy','map','setMap','stringify','type','style','generate','finishDrawing','2722295OAAxxE','5562054AOJrVP','writeGeometryObject','308vijKgF','2170725hUbZya','parse','16899940kmFLOV','995056SuqUHr'];a59_0x50c7=function(){return _0x3495bd;};return a59_0x50c7();}(function(_0x5405f9,_0x561a84){var _0x4eef81=a59_0x2811,_0x35ded9=_0x5405f9();while(!![]){try{var _0x348699=parseInt(_0x4eef81(0xd3))/0x1*(parseInt(_0x4eef81(0xda))/0x2)+parseInt(_0x4eef81(0xcb))/0x3+-parseInt(_0x4eef81(0xce))/0x4+parseInt(_0x4eef81(0xc7))/0x5*(parseInt(_0x4eef81(0xd9))/0x6)+-parseInt(_0x4eef81(0xca))/0x7*(parseInt(_0x4eef81(0xdb))/0x8)+parseInt(_0x4eef81(0xc8))/0x9+-parseInt(_0x4eef81(0xcd))/0xa;if(_0x348699===_0x561a84)break;else _0x35ded9['push'](_0x35ded9['shift']());}catch(_0xf3c9c7){_0x35ded9['push'](_0x35ded9['shift']());}}}(a59_0x50c7,0xcb200));import{LineString}from'ol/geom';import a59_0x1a7365 from'ol/format/GeoJSON';import a59_0x3b8bd8 from'../../../mapView/Map';class Plot extends LineString{constructor(){var _0x52beea=a59_0x2811;super([]),this[_0x52beea(0xd2)]=[];}[a59_0x3a1a57(0xcf)](){var _0x25a21a=a59_0x3a1a57;return this[_0x25a21a(0xdf)];}['getGeoJson'](){var _0x5ea25a=a59_0x3a1a57;return new a59_0x1a7365()[_0x5ea25a(0xc9)](this);}[a59_0x3a1a57(0xd8)](_0x4bd8c2){var _0x332ea1=a59_0x3a1a57;this[_0x332ea1(0xc4)]=JSON[_0x332ea1(0xcc)](JSON[_0x332ea1(0xde)](_0x4bd8c2));}[a59_0x3a1a57(0xdd)](_0x350d33){var _0x5398c2=a59_0x3a1a57;if(_0x350d33&&_0x350d33 instanceof a59_0x3b8bd8)this[_0x5398c2(0xdc)]=_0x350d33;else throw new Error('传入的不是地图对象!');}[a59_0x3a1a57(0xd5)](){return this['map'];}['isPlot'](){return!![];}[a59_0x3a1a57(0xd4)](_0x4d54f6){var _0x31dee2=a59_0x3a1a57;this['points']=!_0x4d54f6?[]:_0x4d54f6,this[_0x31dee2(0xd2)][_0x31dee2(0xd0)]>=0x1&&(this['generate']&&this[_0x31dee2(0xc5)]());}['generate'](){}[a59_0x3a1a57(0xd1)](){var _0x5826cb=a59_0x3a1a57;return this[_0x5826cb(0xd2)][_0x5826cb(0xd6)](0x0);}[a59_0x3a1a57(0xd7)](){var _0x30de44=a59_0x3a1a57;return this['points'][_0x30de44(0xd0)];}[a59_0x3a1a57(0xc6)](){}}export default Plot;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a60_0x492cb4=a60_0x2e2e;(function(_0xcd4c64,_0x1b89f0){var _0x5854f6=a60_0x2e2e,_0x2db265=_0xcd4c64();while(!![]){try{var _0x499ee7=-parseInt(_0x5854f6(0x168))/0x1*(-parseInt(_0x5854f6(0x160))/0x2)+-parseInt(_0x5854f6(0x165))/0x3+-parseInt(_0x5854f6(0x167))/0x4*(parseInt(_0x5854f6(0x16c))/0x5)+-parseInt(_0x5854f6(0x16d))/0x6+parseInt(_0x5854f6(0x163))/0x7*(parseInt(_0x5854f6(0x172))/0x8)+parseInt(_0x5854f6(0x15e))/0x9*(-parseInt(_0x5854f6(0x15f))/0xa)+-parseInt(_0x5854f6(0x15c))/0xb*(-parseInt(_0x5854f6(0x161))/0xc);if(_0x499ee7===_0x1b89f0)break;else _0x2db265['push'](_0x2db265['shift']());}catch(_0x24e65a){_0x2db265['push'](_0x2db265['shift']());}}}(a60_0x1b06,0x41241));import a60_0x3ddbd2 from'./BaseLine';class Polyline extends a60_0x3ddbd2{constructor(_0x2ebbb9){var _0x235977=a60_0x2e2e;super(),this[_0x235977(0x171)]=_0x235977(0x16b),this['setCoordinates'](_0x2ebbb9);}[a60_0x492cb4(0x166)](){var _0xc82101=a60_0x492cb4;this[_0xc82101(0x16e)](this[_0xc82101(0x164)]);}[a60_0x492cb4(0x15a)](_0x58f88,_0x2184fe){var _0x501df3=a60_0x492cb4;_0x2184fe>=0x0&&_0x2184fe<this[_0x501df3(0x164)]['length']&&(this['points'][_0x2184fe]=_0x58f88,this[_0x501df3(0x166)]());}[a60_0x492cb4(0x169)](_0x5dafbc){var _0x371faa=a60_0x492cb4;this['updatePoint'](_0x5dafbc,this[_0x371faa(0x164)][_0x371faa(0x15d)]-0x1);}[a60_0x492cb4(0x170)](){return![];}[a60_0x492cb4(0x162)](_0x56d4a0){var _0x3d93f5=a60_0x492cb4;this[_0x3d93f5(0x15b)]=JSON[_0x3d93f5(0x16f)](JSON[_0x3d93f5(0x16a)](_0x56d4a0));}}function a60_0x2e2e(_0x527d51,_0x584bf8){var _0x1b06aa=a60_0x1b06();return a60_0x2e2e=function(_0x2e2e22,_0x4a5a13){_0x2e2e22=_0x2e2e22-0x15a;var _0x56dd6e=_0x1b06aa[_0x2e2e22];return _0x56dd6e;},a60_0x2e2e(_0x527d51,_0x584bf8);}export default Polyline;function a60_0x1b06(){var _0x3c787d=['setStyle','2541cQQeCJ','points','1304094VvnZka','generate','334204MlASjG','7194mUaZgr','updateLastPoint','stringify','LineString','10lAJpWC','405654MDVUsY','setCoordinates','parse','isPlot','type','9512mctoFF','updatePoint','style','22qETcTT','length','3231OwGEZT','8090doZAjJ','18GzwHbx','4381824mCaVmV'];a60_0x1b06=function(){return _0x3c787d;};return a60_0x1b06();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a63_0x14a9(){const _0x551b0b=['parse','4394382hnrhvK','getStride','scale','getContext','rotate','getImageData','push','translate','LEFT','modelKind','label','Polygon','572419zLRzTS','.png','show','height','stringify','billboard','horizontalOrigin','5IAidvz','data','pixelRatio','TOP','getType','drawImage','changeColor','30530691VMAZMV','createElement','length','2029131IxiDLT','putImageData','text','outlineOpacity','width','MultiLineString','3385552qNOXpD','CENTER','color','globalAlpha','pixelOffsetX','opacity','MultiPolygon','toUpperCase','warn','markerColor','radius','outlineWidth','src','RIGHT','restore','save','2HkHkOG','model/','image','4442904WaRKDw','cloud','6201615CTuDzI','model','outlineColor','verticalOrigin','rotation','canvas','getFlatInteriorPoints','zIndex','pixelSize','getFlatMidpoint','outline','imgUrl','match'];a63_0x14a9=function(){return _0x551b0b;};return a63_0x14a9();}(function(_0x403c3f,_0x512e93){const _0x2428f7=a63_0x3626,_0x4f2121=_0x403c3f();while(!![]){try{const _0xfb3a7f=-parseInt(_0x2428f7(0x138))/0x1+parseInt(_0x2428f7(0x119))/0x2*(parseInt(_0x2428f7(0x103))/0x3)+-parseInt(_0x2428f7(0x109))/0x4*(parseInt(_0x2428f7(0x13f))/0x5)+-parseInt(_0x2428f7(0x12c))/0x6+-parseInt(_0x2428f7(0x11e))/0x7+-parseInt(_0x2428f7(0x11c))/0x8+parseInt(_0x2428f7(0x100))/0x9;if(_0xfb3a7f===_0x512e93)break;else _0x4f2121['push'](_0x4f2121['shift']());}catch(_0x5a14f7){_0x4f2121['push'](_0x4f2121['shift']());}}}(a63_0x14a9,0x74404));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a63_0x51d402 from'ol/style/Style';function a63_0x3626(_0x6014f9,_0x31275d){const _0x14a936=a63_0x14a9();return a63_0x3626=function(_0x36269c,_0x17a7e1){_0x36269c=_0x36269c-0x100;let _0x27dc5a=_0x14a936[_0x36269c];return _0x27dc5a;},a63_0x3626(_0x6014f9,_0x31275d);}import a63_0x368d5d from'ol/style/Circle';import a63_0xfe4685 from'ol/style/Fill';import a63_0x84a83a from'ol/style/Stroke';function getMainStyle(_0x18f46f,_0x2410f9=0x0,_0x579a94){const _0x47e06e=a63_0x3626;let _0x5e78e4;return _0x18f46f[_0x47e06e(0x11b)]||_0x18f46f[_0x47e06e(0x112)]?_0x5e78e4=new a63_0x51d402({'renderer':(_0x44838e,_0x400ca8)=>{preLoadImageRenderFunction(_0x18f46f,_0x44838e,_0x400ca8,_0x579a94,_rendererFunction);},'zIndex':Number(_0x2410f9)}):_0x5e78e4=new a63_0x51d402({'image':new a63_0x368d5d({'radius':_0x18f46f[_0x47e06e(0x113)]?_0x18f46f['radius']:_0x18f46f[_0x47e06e(0x126)],'fill':new a63_0xfe4685({'color':getColor(_0x18f46f[_0x47e06e(0x10b)],_0x18f46f[_0x47e06e(0x10e)])}),'stroke':_0x18f46f[_0x47e06e(0x128)]&&_0x18f46f[_0x47e06e(0x120)]?new a63_0x84a83a({'color':getColor(_0x18f46f[_0x47e06e(0x120)],_0x18f46f[_0x47e06e(0x106)]),'width':_0x18f46f[_0x47e06e(0x114)]}):undefined}),'zIndex':Number(_0x2410f9)}),_0x5e78e4;}function _rendererFunction(_0x294859,_0x3e2a56,_0x124468,_0x553cd8,_0x3da38a){const _0x118d69=a63_0x3626;if(!_0x3da38a||_0x3da38a[_0x118d69(0x107)]===0x0){let _0x13b051=new Image();_0x13b051[_0x118d69(0x115)]=_0x294859[_0x118d69(0x11b)];}if(_0x294859[_0x118d69(0x145)]&&_0x294859[_0x118d69(0x10b)]!==''){let _0x472a83=_0x294859[_0x118d69(0x12e)]||0x1,_0x5afd33=_0x294859[_0x118d69(0x107)]||_0x3da38a[_0x118d69(0x107)]*_0x472a83,_0x28bff0=_0x294859[_0x118d69(0x13b)]||_0x3da38a[_0x118d69(0x13b)]*_0x472a83;_0x5afd33=_0x5afd33*_0x124468['pixelRatio'],_0x28bff0=_0x28bff0*_0x124468[_0x118d69(0x141)];const _0x439d99=document[_0x118d69(0x101)](_0x118d69(0x123));_0x439d99[_0x118d69(0x107)]=_0x5afd33,_0x439d99[_0x118d69(0x13b)]=_0x28bff0;const _0x3fa284=_0x439d99[_0x118d69(0x12f)]('2d');_0x3fa284===null||_0x3fa284===void 0x0?void 0x0:_0x3fa284[_0x118d69(0x144)](_0x3da38a,0x0,0x0,_0x5afd33,_0x28bff0);let _0x10698f=_0x3fa284===null||_0x3fa284===void 0x0?void 0x0:_0x3fa284[_0x118d69(0x131)](0x0,0x0,_0x5afd33,_0x28bff0),_0x27dd96=_0x10698f===null||_0x10698f===void 0x0?void 0x0:_0x10698f[_0x118d69(0x140)];_0x3da38a=_0x439d99;let _0x81e7bd=HexToRgb(_0x294859['color']);if(_0x27dd96&&_0x81e7bd)for(var _0x113558=0x0;_0x113558<_0x27dd96[_0x118d69(0x102)];_0x113558+=0x4){_0x27dd96[_0x113558]=_0x81e7bd[0x0],_0x27dd96[_0x113558+0x1]=_0x81e7bd[0x1],_0x27dd96[_0x113558+0x2]=_0x81e7bd[0x2];}_0x10698f&&(_0x3fa284===null||_0x3fa284===void 0x0?void 0x0:_0x3fa284[_0x118d69(0x104)](_0x10698f,0x0,0x0));}let _0x1a3a97=_0x124468['geometry'],_0x1ae3e8=_0x124468[_0x118d69(0x141)],_0xd0fea2=_0x1a3a97[_0x118d69(0x12d)](),_0x57352d=_0x1a3a97[_0x118d69(0x143)](),_0x4a6f51=[];switch(_0x57352d){case'LineString':_0x4a6f51=_0x1a3a97[_0x118d69(0x127)]();break;case _0x118d69(0x108):_0x4a6f51=_0x1a3a97['getFlatMidpoints'](),_0xd0fea2=0x2;break;case _0x118d69(0x137):_0x4a6f51=_0x1a3a97['getFlatInteriorPoint'](),_0xd0fea2=0x3;break;case _0x118d69(0x10f):{let _0x3ae643=_0x1a3a97[_0x118d69(0x124)]();_0x4a6f51=[];for(let _0x255e38=0x0,_0x226a54=_0x3ae643[_0x118d69(0x102)];_0x255e38<_0x226a54;_0x255e38+=0x3){_0x4a6f51[_0x118d69(0x132)](_0x3ae643[_0x255e38],_0x3ae643[_0x255e38+0x1]);}if(_0x4a6f51['length']===0x0)return;_0xd0fea2=0x2;break;}}if(_0x4a6f51['length']>0x0&&_0x553cd8)for(let _0x2ed9b6=0x0,_0x18f065=_0x4a6f51[_0x118d69(0x102)];_0x2ed9b6<_0x18f065;_0x2ed9b6+=_0xd0fea2){let _0x16d311=[_0x4a6f51[_0x2ed9b6],_0x4a6f51[_0x2ed9b6+0x1]],_0x45c38d=_0x553cd8['getPixelFromCoordinate'](_0x16d311);_0x45c38d=[_0x45c38d[0x0]*_0x1ae3e8,_0x45c38d[0x1]*_0x1ae3e8],drawImage(_0x294859,_0x45c38d,_0x124468,_0x3da38a);}else{if(_0x57352d==='MultiPoint')for(let _0x25d414 of _0x3e2a56){drawImage(_0x294859,_0x25d414,_0x124468,_0x3da38a);}else drawImage(_0x294859,_0x3e2a56,_0x124468,_0x3da38a);}}function HexToRgb(_0x57d225){const _0x4d319b=a63_0x3626;_0x57d225=_0x57d225['replace']('#','');let _0x58529e=_0x57d225[_0x4d319b(0x12a)](/../g);if(_0x58529e){for(let _0x518a73=0x0;_0x518a73<0x3;_0x518a73++)_0x58529e[_0x518a73]=parseInt(_0x58529e[_0x518a73],0x10);}return _0x58529e;}export function getImageOlStyle(_0x2b1226,_0x239bc2,_0x540760,_0x550d4a){const _0x43f474=a63_0x3626;var _0x538c3f;if(_0x2b1226&&_0x2b1226[_0x43f474(0x13a)]!==![]){_0x2b1226=JSON[_0x43f474(0x12b)](JSON[_0x43f474(0x13c)](_0x2b1226)),_0x239bc2=(_0x538c3f=_0x2b1226[_0x43f474(0x125)])!==null&&_0x538c3f!==void 0x0?_0x538c3f:_0x239bc2;let _0x11ed5a=isShowStyle(_0x2b1226,_0x540760,_0x550d4a);if(_0x11ed5a)return _0x2b1226[_0x43f474(0x11b)]=parseImage(_0x2b1226[_0x43f474(0x11b)]),getMainStyle(_0x2b1226,_0x239bc2,_0x550d4a);}}export function getPointStyle(_0x310ee0,_0x1c69b8,_0x2ccbe3,_0x3964a3){const _0xe52318=a63_0x3626;var _0x22d3d5,_0x4acd50;_0x310ee0=JSON[_0xe52318(0x12b)](JSON[_0xe52318(0x13c)](_0x310ee0));let _0x1ee2eb=(_0x22d3d5=_0x310ee0[_0xe52318(0x125)])!==null&&_0x22d3d5!==void 0x0?_0x22d3d5:0x0,_0x334747=[],_0x19ebfd=getImageOlStyle(_0x310ee0,_0x1ee2eb,_0x2ccbe3,_0x3964a3);_0x19ebfd&&_0x334747[_0xe52318(0x132)](_0x19ebfd);let _0x40dd51=getImageOlStyle(_0x310ee0[_0xe52318(0x13d)],_0x1ee2eb,_0x2ccbe3,_0x3964a3);_0x40dd51&&_0x334747[_0xe52318(0x132)](_0x40dd51);if(_0x310ee0[_0xe52318(0x11f)]&&_0x310ee0[_0xe52318(0x11f)][_0xe52318(0x13a)]!==![]){let _0x2c2dc5=isShowStyle(_0x310ee0['model'],_0x2ccbe3,_0x3964a3);if(_0x2c2dc5){let _0x496a2e=(_0x4acd50=_0x310ee0[_0xe52318(0x11f)]['zIndex'])!==null&&_0x4acd50!==void 0x0?_0x4acd50:_0x1ee2eb,_0x5ee70d=_0x310ee0['model'][_0xe52318(0x129)]||_0xe52318(0x11a)+_0x310ee0[_0xe52318(0x11f)][_0xe52318(0x135)]+_0xe52318(0x139);_0x310ee0['scale']=0x1,_0x310ee0['width']=0x30,_0x310ee0[_0xe52318(0x13b)]=0x30,_0x310ee0[_0xe52318(0x121)]=_0xe52318(0x10a),_0x334747[_0xe52318(0x132)](getMainStyle(_0x310ee0['model'],_0x496a2e,_0x3964a3));}}if(_0x310ee0[_0xe52318(0x136)]&&_0x310ee0[_0xe52318(0x136)][_0xe52318(0x13a)]!==![]){let _0x46f720=new a63_0x51d402({'text':createTextStyle(_0x310ee0[_0xe52318(0x136)],_0x1c69b8,_0x2ccbe3,_0x3964a3),'zIndex':Number(_0x1ee2eb)+0x1});_0x334747['push'](_0x46f720);}return _0x334747;}export function getPointSingleStyle(_0x56e2fd,_0x4ee732,_0x37cfa6,_0x5afb3a){const _0x4f13f5=a63_0x3626;_0x4ee732=JSON[_0x4f13f5(0x12b)](JSON['stringify'](_0x4ee732));let _0x3bd0ed=_0x4ee732['label'],_0x2507e3;_0x3bd0ed&&(_0x2507e3=_0x3bd0ed[_0x4f13f5(0x105)]?_0x3bd0ed[_0x4f13f5(0x105)]:'');if(_0x56e2fd==='billboard')return _0x4ee732[_0x4f13f5(0x11b)]=parseImage(_0x4ee732[_0x4f13f5(0x11b)]),getPointStyle(_0x4ee732,_0x2507e3,_0x37cfa6,_0x5afb3a);else{if(_0x56e2fd===_0x4f13f5(0x11f)){let _0x422624=_0x4ee732['imgUrl']||_0x4f13f5(0x11a)+_0x4ee732[_0x4f13f5(0x135)]+_0x4f13f5(0x139);return _0x4ee732[_0x4f13f5(0x12e)]=0x1,_0x4ee732[_0x4f13f5(0x107)]=0x30,_0x4ee732[_0x4f13f5(0x13b)]=0x30,_0x4ee732[_0x4f13f5(0x121)]=_0x4f13f5(0x10a),getPointStyle(_0x4ee732,_0x2507e3,_0x37cfa6,_0x5afb3a);}else{if(_0x56e2fd===_0x4f13f5(0x11d))return getPointStyle(_0x4ee732,_0x2507e3,_0x37cfa6,_0x5afb3a);else{if(_0x56e2fd==='point')return getPointStyle(_0x4ee732,_0x2507e3,_0x37cfa6,_0x5afb3a);else return _0x56e2fd===_0x4f13f5(0x136)?new a63_0x51d402({'text':createTextStyle(_0x4ee732,_0x4ee732[_0x4f13f5(0x105)],_0x37cfa6,_0x5afb3a),'zIndex':_0x4ee732[_0x4f13f5(0x125)]}):getPointStyle(_0x4ee732,_0x2507e3,_0x37cfa6,_0x5afb3a);}}}}function drawImage(_0x4d0b4f,_0x2b22d9,_0x34716f,_0x1a8c00){const _0x3dc4a9=a63_0x3626;var _0x43bf27,_0x5a8f72,_0x1589f4,_0x3ec827;let _0x59730f=_0x34716f['context'];try{_0x59730f[_0x3dc4a9(0x118)]();let _0x5b3246=Number(_0x4d0b4f[_0x3dc4a9(0x10d)]||((_0x43bf27=_0x4d0b4f['pixelOffset'])===null||_0x43bf27===void 0x0?void 0x0:_0x43bf27[0x0])||0x0),_0x1270f8=Number(_0x4d0b4f['pixelOffsetY']||((_0x5a8f72=_0x4d0b4f['pixelOffset'])===null||_0x5a8f72===void 0x0?void 0x0:_0x5a8f72[0x1])||0x0);_0x59730f[_0x3dc4a9(0x133)](_0x2b22d9[0x0]+_0x5b3246,_0x2b22d9[0x1]+_0x1270f8);if(_0x4d0b4f['rotation'])_0x59730f[_0x3dc4a9(0x130)](toRadians(_0x4d0b4f[_0x3dc4a9(0x122)]));_0x59730f[_0x3dc4a9(0x10c)]=_0x4d0b4f['opacity']!=null?_0x4d0b4f['opacity']:0x1;if(_0x1a8c00[_0x3dc4a9(0x107)]>0x0){let _0x2f0c0d=_0x4d0b4f['scale']||0x1,_0x189427=_0x4d0b4f[_0x3dc4a9(0x107)]||_0x1a8c00[_0x3dc4a9(0x107)]*_0x2f0c0d,_0x570426=_0x4d0b4f[_0x3dc4a9(0x13b)]||_0x1a8c00[_0x3dc4a9(0x13b)]*_0x2f0c0d;_0x189427=_0x189427*_0x34716f[_0x3dc4a9(0x141)],_0x570426=_0x570426*_0x34716f['pixelRatio'];_0x4d0b4f[_0x3dc4a9(0x145)]&&(_0x189427=_0x1a8c00['width'],_0x570426=_0x1a8c00['height']);let _0x48dfdb;switch((_0x1589f4=_0x4d0b4f[_0x3dc4a9(0x13e)])===null||_0x1589f4===void 0x0?void 0x0:_0x1589f4[_0x3dc4a9(0x110)]()){default:case _0x3dc4a9(0x10a):_0x48dfdb=-_0x189427/0x2;break;case _0x3dc4a9(0x134):_0x48dfdb=0x0;break;case _0x3dc4a9(0x116):_0x48dfdb=-_0x189427;break;}let _0x1abdb9;switch((_0x3ec827=_0x4d0b4f[_0x3dc4a9(0x121)])===null||_0x3ec827===void 0x0?void 0x0:_0x3ec827['toUpperCase']()){default:case'BOTTOM':_0x1abdb9=-_0x570426;break;case _0x3dc4a9(0x10a):_0x1abdb9=-_0x570426/0x2;break;case _0x3dc4a9(0x142):_0x1abdb9=0x0;break;}_0x59730f[_0x3dc4a9(0x144)](_0x1a8c00,_0x48dfdb,_0x1abdb9,_0x189427,_0x570426);}else _0x59730f[_0x3dc4a9(0x144)](_0x1a8c00,0x0,0x0);_0x59730f[_0x3dc4a9(0x117)]();}catch(_0x3c10ba){_0x59730f[_0x3dc4a9(0x117)](),console[_0x3dc4a9(0x111)](_0x3c10ba);}}
|
|
1
|
+
(function(_0x365459,_0xeb5c94){const _0x466481=a63_0x1bec,_0x3f810c=_0x365459();while(!![]){try{const _0x565a93=parseInt(_0x466481(0x14d))/0x1*(parseInt(_0x466481(0x15b))/0x2)+-parseInt(_0x466481(0x144))/0x3+parseInt(_0x466481(0x17f))/0x4+-parseInt(_0x466481(0x16c))/0x5*(parseInt(_0x466481(0x178))/0x6)+-parseInt(_0x466481(0x164))/0x7+parseInt(_0x466481(0x17e))/0x8+-parseInt(_0x466481(0x16f))/0x9*(-parseInt(_0x466481(0x17d))/0xa);if(_0x565a93===_0xeb5c94)break;else _0x3f810c['push'](_0x3f810c['shift']());}catch(_0x5b396e){_0x3f810c['push'](_0x3f810c['shift']());}}}(a63_0x117b,0xc272f));import{parseImage}from'../utils/UrlUtil';function a63_0x117b(){const _0x1a686d=['120hRwOZj','12371976ColUUu','5305188sQdpFu','MultiPolygon','model','show','toUpperCase','getFlatMidpoints','pixelOffsetX','1835649YCwIDV','warn','getStride','putImageData','label','changeColor','point','src','radius','3569JWSbKl','translate','height','verticalOrigin','getFlatInteriorPoints','drawImage','BOTTOM','createElement','zIndex','pixelSize','restore','parse','outlineColor','MultiPoint','30zzikve','markerColor','text','model/','LineString','imgUrl','outline','width','modelKind','6904744hHIHPh','rotate','opacity','pixelRatio','Polygon','.png','scale','getPixelFromCoordinate','5914095YDUXfz','image','push','488421FePrFA','geometry','outlineOpacity','length','color','TOP','getType','outlineWidth','stringify','6VbThXF','getContext','getImageData','pixelOffset','CENTER'];a63_0x117b=function(){return _0x1a686d;};return a63_0x117b();}import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a63_0x4a2a3a from'ol/style/Style';import a63_0xc4fe4a from'ol/style/Circle';import a63_0x3bf11d from'ol/style/Fill';import a63_0x45fe86 from'ol/style/Stroke';function getMainStyle(_0x31cc01,_0x2ac5d8=0x0,_0x3412a7){const _0x41a5a6=a63_0x1bec;let _0x2849b0;return _0x31cc01[_0x41a5a6(0x16d)]||_0x31cc01[_0x41a5a6(0x15c)]?_0x2849b0=new a63_0x4a2a3a({'renderer':(_0x38c4ca,_0x290fec)=>{preLoadImageRenderFunction(_0x31cc01,_0x38c4ca,_0x290fec,_0x3412a7,_rendererFunction);},'zIndex':Number(_0x2ac5d8)}):_0x2849b0=new a63_0x4a2a3a({'image':new a63_0xc4fe4a({'radius':_0x31cc01[_0x41a5a6(0x14c)]?_0x31cc01['radius']:_0x31cc01[_0x41a5a6(0x156)],'fill':new a63_0x3bf11d({'color':getColor(_0x31cc01[_0x41a5a6(0x173)],_0x31cc01[_0x41a5a6(0x166)])}),'stroke':_0x31cc01[_0x41a5a6(0x161)]&&_0x31cc01['outlineColor']?new a63_0x45fe86({'color':getColor(_0x31cc01[_0x41a5a6(0x159)],_0x31cc01[_0x41a5a6(0x171)]),'width':_0x31cc01[_0x41a5a6(0x176)]}):undefined}),'zIndex':Number(_0x2ac5d8)}),_0x2849b0;}function _rendererFunction(_0x33a832,_0xfc8743,_0x52c828,_0x1d7f37,_0x10da41){const _0x2d3d28=a63_0x1bec;if(!_0x10da41||_0x10da41[_0x2d3d28(0x162)]===0x0){let _0x3be1e9=new Image();_0x3be1e9[_0x2d3d28(0x14b)]=_0x33a832[_0x2d3d28(0x16d)];}if(_0x33a832[_0x2d3d28(0x149)]&&_0x33a832['color']!==''){let _0x586b39=_0x33a832[_0x2d3d28(0x16a)]||0x1,_0x3c154d=_0x33a832[_0x2d3d28(0x162)]||_0x10da41[_0x2d3d28(0x162)]*_0x586b39,_0x7becea=_0x33a832[_0x2d3d28(0x14f)]||_0x10da41[_0x2d3d28(0x14f)]*_0x586b39;_0x3c154d=_0x3c154d*_0x52c828[_0x2d3d28(0x167)],_0x7becea=_0x7becea*_0x52c828[_0x2d3d28(0x167)];const _0x88d10a=document[_0x2d3d28(0x154)]('canvas');_0x88d10a[_0x2d3d28(0x162)]=_0x3c154d,_0x88d10a[_0x2d3d28(0x14f)]=_0x7becea;const _0x20a264=_0x88d10a[_0x2d3d28(0x179)]('2d');_0x20a264===null||_0x20a264===void 0x0?void 0x0:_0x20a264[_0x2d3d28(0x152)](_0x10da41,0x0,0x0,_0x3c154d,_0x7becea);let _0x1fbfa5=_0x20a264===null||_0x20a264===void 0x0?void 0x0:_0x20a264[_0x2d3d28(0x17a)](0x0,0x0,_0x3c154d,_0x7becea),_0x45d5eb=_0x1fbfa5===null||_0x1fbfa5===void 0x0?void 0x0:_0x1fbfa5['data'];_0x10da41=_0x88d10a;let _0xaa0a2c=HexToRgb(_0x33a832['color']);if(_0x45d5eb&&_0xaa0a2c)for(var _0x33b21b=0x0;_0x33b21b<_0x45d5eb['length'];_0x33b21b+=0x4){_0x45d5eb[_0x33b21b]=_0xaa0a2c[0x0],_0x45d5eb[_0x33b21b+0x1]=_0xaa0a2c[0x1],_0x45d5eb[_0x33b21b+0x2]=_0xaa0a2c[0x2];}_0x1fbfa5&&(_0x20a264===null||_0x20a264===void 0x0?void 0x0:_0x20a264[_0x2d3d28(0x147)](_0x1fbfa5,0x0,0x0));}let _0x5288de=_0x52c828[_0x2d3d28(0x170)],_0x35e2ad=_0x52c828[_0x2d3d28(0x167)],_0x17c6e7=_0x5288de[_0x2d3d28(0x146)](),_0x58eb70=_0x5288de[_0x2d3d28(0x175)](),_0x6bcc4e=[];switch(_0x58eb70){case _0x2d3d28(0x15f):_0x6bcc4e=_0x5288de['getFlatMidpoint']();break;case'MultiLineString':_0x6bcc4e=_0x5288de[_0x2d3d28(0x142)](),_0x17c6e7=0x2;break;case _0x2d3d28(0x168):_0x6bcc4e=_0x5288de['getFlatInteriorPoint'](),_0x17c6e7=0x3;break;case _0x2d3d28(0x180):{let _0x59572f=_0x5288de[_0x2d3d28(0x151)]();_0x6bcc4e=[];for(let _0xb75045=0x0,_0x4a4b3b=_0x59572f[_0x2d3d28(0x172)];_0xb75045<_0x4a4b3b;_0xb75045+=0x3){_0x6bcc4e[_0x2d3d28(0x16e)](_0x59572f[_0xb75045],_0x59572f[_0xb75045+0x1]);}if(_0x6bcc4e['length']===0x0)return;_0x17c6e7=0x2;break;}}if(_0x6bcc4e[_0x2d3d28(0x172)]>0x0&&_0x1d7f37)for(let _0xc406c5=0x0,_0x327468=_0x6bcc4e[_0x2d3d28(0x172)];_0xc406c5<_0x327468;_0xc406c5+=_0x17c6e7){let _0x3d4140=[_0x6bcc4e[_0xc406c5],_0x6bcc4e[_0xc406c5+0x1]],_0x39dcb7=_0x1d7f37[_0x2d3d28(0x16b)](_0x3d4140);_0x39dcb7=[_0x39dcb7[0x0]*_0x35e2ad,_0x39dcb7[0x1]*_0x35e2ad],drawImage(_0x33a832,_0x39dcb7,_0x52c828,_0x10da41);}else{if(_0x58eb70===_0x2d3d28(0x15a))for(let _0x56bd69 of _0xfc8743){drawImage(_0x33a832,_0x56bd69,_0x52c828,_0x10da41);}else drawImage(_0x33a832,_0xfc8743,_0x52c828,_0x10da41);}}function HexToRgb(_0x4b623c){_0x4b623c=_0x4b623c['replace']('#','');let _0x59bbb5=_0x4b623c['match'](/../g);if(_0x59bbb5){for(let _0x1f94a5=0x0;_0x1f94a5<0x3;_0x1f94a5++)_0x59bbb5[_0x1f94a5]=parseInt(_0x59bbb5[_0x1f94a5],0x10);}return _0x59bbb5;}export function getImageOlStyle(_0x4a4d1b,_0x59d81f,_0xf590b,_0x3778eb){const _0x3a9417=a63_0x1bec;var _0x4c60e8;if(_0x4a4d1b&&_0x4a4d1b['show']!==![]){_0x4a4d1b=JSON[_0x3a9417(0x158)](JSON[_0x3a9417(0x177)](_0x4a4d1b)),_0x59d81f=(_0x4c60e8=_0x4a4d1b[_0x3a9417(0x155)])!==null&&_0x4c60e8!==void 0x0?_0x4c60e8:_0x59d81f;let _0x1b5d8a=isShowStyle(_0x4a4d1b,_0xf590b,_0x3778eb);if(_0x1b5d8a)return _0x4a4d1b[_0x3a9417(0x16d)]=parseImage(_0x4a4d1b[_0x3a9417(0x16d)]),getMainStyle(_0x4a4d1b,_0x59d81f,_0x3778eb);}}function a63_0x1bec(_0xd67eb,_0xa0da37){const _0x117b5c=a63_0x117b();return a63_0x1bec=function(_0x1bec22,_0x1bb386){_0x1bec22=_0x1bec22-0x13f;let _0x344045=_0x117b5c[_0x1bec22];return _0x344045;},a63_0x1bec(_0xd67eb,_0xa0da37);}export function getPointStyle(_0x28450e,_0x524ce3,_0x397b2b,_0x7eb94){const _0x164c7c=a63_0x1bec;var _0x40073a,_0x4f6fd5;_0x28450e=JSON[_0x164c7c(0x158)](JSON['stringify'](_0x28450e));let _0x399856=(_0x40073a=_0x28450e[_0x164c7c(0x155)])!==null&&_0x40073a!==void 0x0?_0x40073a:0x0,_0x43a663=[],_0xb4766e=getImageOlStyle(_0x28450e,_0x399856,_0x397b2b,_0x7eb94);_0xb4766e&&_0x43a663[_0x164c7c(0x16e)](_0xb4766e);let _0x420668=getImageOlStyle(_0x28450e['billboard'],_0x399856,_0x397b2b,_0x7eb94);_0x420668&&_0x43a663['push'](_0x420668);if(_0x28450e[_0x164c7c(0x13f)]&&_0x28450e[_0x164c7c(0x13f)][_0x164c7c(0x140)]!==![]){let _0x552af3=isShowStyle(_0x28450e[_0x164c7c(0x13f)],_0x397b2b,_0x7eb94);if(_0x552af3){let _0x3d1da4=(_0x4f6fd5=_0x28450e[_0x164c7c(0x13f)]['zIndex'])!==null&&_0x4f6fd5!==void 0x0?_0x4f6fd5:_0x399856,_0x7aabd1=_0x28450e[_0x164c7c(0x13f)]['imgUrl']||_0x164c7c(0x15e)+_0x28450e[_0x164c7c(0x13f)][_0x164c7c(0x163)]+'.png';_0x28450e[_0x164c7c(0x16a)]=0x1,_0x28450e[_0x164c7c(0x162)]=0x30,_0x28450e['height']=0x30,_0x28450e[_0x164c7c(0x150)]='CENTER',_0x43a663[_0x164c7c(0x16e)](getMainStyle(_0x28450e['model'],_0x3d1da4,_0x7eb94));}}if(_0x28450e[_0x164c7c(0x148)]&&_0x28450e[_0x164c7c(0x148)][_0x164c7c(0x140)]!==![]){let _0x2d12a2=new a63_0x4a2a3a({'text':createTextStyle(_0x28450e[_0x164c7c(0x148)],_0x524ce3,_0x397b2b,_0x7eb94),'zIndex':Number(_0x399856)+0x1});_0x43a663[_0x164c7c(0x16e)](_0x2d12a2);}return _0x43a663;}export function getPointSingleStyle(_0x79427a,_0x88f6c5,_0x52bb15,_0x39a383){const _0x8df176=a63_0x1bec;_0x88f6c5=JSON[_0x8df176(0x158)](JSON[_0x8df176(0x177)](_0x88f6c5));let _0x5a0935=_0x88f6c5[_0x8df176(0x148)],_0x4c94e0;_0x5a0935&&(_0x4c94e0=_0x5a0935['text']?_0x5a0935[_0x8df176(0x15d)]:'');if(_0x79427a==='billboard')return _0x88f6c5[_0x8df176(0x16d)]=parseImage(_0x88f6c5[_0x8df176(0x16d)]),getPointStyle(_0x88f6c5,_0x4c94e0,_0x52bb15,_0x39a383);else{if(_0x79427a===_0x8df176(0x13f)){let _0x1840bb=_0x88f6c5[_0x8df176(0x160)]||_0x8df176(0x15e)+_0x88f6c5[_0x8df176(0x163)]+_0x8df176(0x169);return _0x88f6c5[_0x8df176(0x16a)]=0x1,_0x88f6c5[_0x8df176(0x162)]=0x30,_0x88f6c5[_0x8df176(0x14f)]=0x30,_0x88f6c5[_0x8df176(0x150)]=_0x8df176(0x17c),getPointStyle(_0x88f6c5,_0x4c94e0,_0x52bb15,_0x39a383);}else{if(_0x79427a==='cloud')return getPointStyle(_0x88f6c5,_0x4c94e0,_0x52bb15,_0x39a383);else{if(_0x79427a===_0x8df176(0x14a))return getPointStyle(_0x88f6c5,_0x4c94e0,_0x52bb15,_0x39a383);else return _0x79427a===_0x8df176(0x148)?new a63_0x4a2a3a({'text':createTextStyle(_0x88f6c5,_0x88f6c5[_0x8df176(0x15d)],_0x52bb15,_0x39a383),'zIndex':_0x88f6c5[_0x8df176(0x155)]}):getPointStyle(_0x88f6c5,_0x4c94e0,_0x52bb15,_0x39a383);}}}}function drawImage(_0x2c4b53,_0x1a5748,_0x2b8f72,_0x256196){const _0x250089=a63_0x1bec;var _0x16750b,_0x1fbdb5,_0x441750,_0x59d8f6;let _0x36f0e9=_0x2b8f72['context'];try{_0x36f0e9['save']();let _0xf07cc8=Number(_0x2c4b53[_0x250089(0x143)]||((_0x16750b=_0x2c4b53[_0x250089(0x17b)])===null||_0x16750b===void 0x0?void 0x0:_0x16750b[0x0])||0x0),_0x17e187=Number(_0x2c4b53['pixelOffsetY']||((_0x1fbdb5=_0x2c4b53[_0x250089(0x17b)])===null||_0x1fbdb5===void 0x0?void 0x0:_0x1fbdb5[0x1])||0x0);_0x36f0e9[_0x250089(0x14e)](_0x1a5748[0x0]+_0xf07cc8,_0x1a5748[0x1]+_0x17e187);if(_0x2c4b53['rotation'])_0x36f0e9[_0x250089(0x165)](toRadians(_0x2c4b53['rotation']));_0x36f0e9['globalAlpha']=_0x2c4b53[_0x250089(0x166)]!=null?_0x2c4b53[_0x250089(0x166)]:0x1;if(_0x256196[_0x250089(0x162)]>0x0){let _0x54ed2c=_0x2c4b53[_0x250089(0x16a)]||0x1,_0x4698e3=_0x2c4b53['width']||_0x256196[_0x250089(0x162)]*_0x54ed2c,_0x325dfb=_0x2c4b53[_0x250089(0x14f)]||_0x256196['height']*_0x54ed2c;_0x4698e3=_0x4698e3*_0x2b8f72[_0x250089(0x167)],_0x325dfb=_0x325dfb*_0x2b8f72[_0x250089(0x167)];_0x2c4b53[_0x250089(0x149)]&&(_0x4698e3=_0x256196['width'],_0x325dfb=_0x256196['height']);let _0x36429f;switch((_0x441750=_0x2c4b53['horizontalOrigin'])===null||_0x441750===void 0x0?void 0x0:_0x441750[_0x250089(0x141)]()){default:case _0x250089(0x17c):_0x36429f=-_0x4698e3/0x2;break;case'LEFT':_0x36429f=0x0;break;case'RIGHT':_0x36429f=-_0x4698e3;break;}let _0x2e5cce;switch((_0x59d8f6=_0x2c4b53['verticalOrigin'])===null||_0x59d8f6===void 0x0?void 0x0:_0x59d8f6[_0x250089(0x141)]()){default:case _0x250089(0x153):_0x2e5cce=-_0x325dfb;break;case _0x250089(0x17c):_0x2e5cce=-_0x325dfb/0x2;break;case _0x250089(0x174):_0x2e5cce=0x0;break;}_0x36f0e9[_0x250089(0x152)](_0x256196,_0x36429f,_0x2e5cce,_0x4698e3,_0x325dfb);}else _0x36f0e9[_0x250089(0x152)](_0x256196,0x0,0x0);_0x36f0e9[_0x250089(0x157)]();}catch(_0x3a3bb5){_0x36f0e9['restore'](),console[_0x250089(0x145)](_0x3a3bb5);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x5b86e3,_0x510361){const _0x16faa8=a64_0x20ec,_0x37a771=_0x5b86e3();while(!![]){try{const _0x1e0e75=parseInt(_0x16faa8(0x120))/0x1*(-parseInt(_0x16faa8(0x110))/0x2)+parseInt(_0x16faa8(0x127))/0x3*(-parseInt(_0x16faa8(0xff))/0x4)+parseInt(_0x16faa8(0x108))/0x5+parseInt(_0x16faa8(0xf2))/0x6*(parseInt(_0x16faa8(0x105))/0x7)+parseInt(_0x16faa8(0x102))/0x8+parseInt(_0x16faa8(0xf9))/0x9*(parseInt(_0x16faa8(0x115))/0xa)+parseInt(_0x16faa8(0x103))/0xb;if(_0x1e0e75===_0x510361)break;else _0x37a771['push'](_0x37a771['shift']());}catch(_0x4f595b){_0x37a771['push'](_0x37a771['shift']());}}}(a64_0x39b5,0xbe85f));function a64_0x20ec(_0x35c944,_0x326e24){const _0x39b5c4=a64_0x39b5();return a64_0x20ec=function(_0x20ec35,_0x1b390c){_0x20ec35=_0x20ec35-0xea;let _0x58d10a=_0x39b5c4[_0x20ec35];return _0x58d10a;},a64_0x20ec(_0x35c944,_0x326e24);}import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x18e4c3,_0x48652f,_0x50f587,_0xc8a0e1){const _0x5754f7=a64_0x20ec;var _0x384b2b;let _0x3c7148=(_0x384b2b=_0x18e4c3[_0x5754f7(0xf1)])!==null&&_0x384b2b!==void 0x0?_0x384b2b:0x0,_0x24ee61=new Style();_0x24ee61[_0x5754f7(0x113)](_0x3c7148),_0x24ee61[_0x5754f7(0xfb)](new Fill({'color':'rgba(0,0,0,0)'}));if(_0x18e4c3['fill']!==![]){if(!_0x18e4c3[_0x5754f7(0xeb)]||_0x18e4c3[_0x5754f7(0xeb)]===_0x5754f7(0x122))_0x24ee61[_0x5754f7(0xfb)](new Fill({'color':getColor(_0x18e4c3[_0x5754f7(0x122)],_0x18e4c3[_0x5754f7(0x124)])}));else{if(_0x18e4c3[_0x5754f7(0xeb)]==='image')_0x24ee61[_0x5754f7(0x119)]((_0x200d2f,_0x41b4f5)=>{preLoadImageRenderFunction(_0x18e4c3,_0x200d2f,_0x41b4f5,_0xc8a0e1,_rendererFunction);});else _0x18e4c3['fillType']===_0x5754f7(0x106)||_0x18e4c3['fillType']==='stripe'||_0x18e4c3['fillType']===_0x5754f7(0x123)?_0x24ee61[_0x5754f7(0x119)]((_0x1248e0,_0x1e29b9)=>{_rendererFunction(_0x18e4c3,_0x1248e0,_0x1e29b9,_0xc8a0e1,null);}):_0x24ee61[_0x5754f7(0xfb)](new Fill({'color':getColor(_0x18e4c3[_0x5754f7(0x122)],_0x18e4c3[_0x5754f7(0x124)])}));}}_0x18e4c3[_0x5754f7(0x11a)]!==![]&&_0x24ee61[_0x5754f7(0x101)](new Stroke({'color':getColor(_0x18e4c3['outlineColor'],_0x18e4c3[_0x5754f7(0x11d)]),'width':_0x18e4c3[_0x5754f7(0x111)]}));let _0x256cfe=[_0x24ee61];_0x18e4c3[_0x5754f7(0xfa)]&&!_0x18e4c3[_0x5754f7(0xfa)][_0x5754f7(0xed)]&&(_0x18e4c3['billboard'][_0x5754f7(0xed)]=_0x5754f7(0x114));let _0x63148f=getImageOlStyle(_0x18e4c3[_0x5754f7(0xfa)],_0x3c7148,_0x50f587,_0xc8a0e1);_0x63148f&&_0x256cfe['push'](_0x63148f);if(_0x18e4c3[_0x5754f7(0x100)]&&_0x18e4c3[_0x5754f7(0x100)][_0x5754f7(0x11e)]!==![]){!_0x18e4c3[_0x5754f7(0x100)][_0x5754f7(0xed)]&&(_0x18e4c3['label'][_0x5754f7(0xed)]='CENTER');let _0x2ac229=new Style({'text':createTextStyle(_0x18e4c3[_0x5754f7(0x100)],_0x48652f,_0x50f587,_0xc8a0e1),'zIndex':Number(_0x3c7148)+0x1});_0x256cfe[_0x5754f7(0x118)](_0x2ac229);}return _0x256cfe;}function a64_0x39b5(){const _0x3daefb=['stripe','750SPoasn','stripe_repeat','fillType','grid_lineCount','verticalOrigin','height','stroke','checkerboard_repeat','zIndex','6XwLCBv','drawImage','strokeStyle','beginPath','oddColor','closePath','save','1598985KtiMfN','billboard','setFill','repeatX','width','lineTo','9124NThXdh','label','setStroke','1414328reLaMO','6088203BHXRrR','getContext','4953879CueKAT','grid','fillStyle','483170Lmpxll','repeat','length','image','outlineColor','fill','createElement','createPattern','52FSRriE','outlineWidth','max','setZIndex','CENTER','20CIOqRQ','restore','canvas','push','setRenderer','outline','rgba(0,0,0,0.01)','stripe_oddcolor','outlineOpacity','show','moveTo','20742ByxOvH','lineWidth','color','checkerboard','opacity','translate'];a64_0x39b5=function(){return _0x3daefb;};return a64_0x39b5();}function _rendererFunction(_0x3e9bbe,_0x3ccbcf,_0x2f0216,_0x7482ce,_0x5cee40){const _0x57b300=a64_0x20ec;try{var _0x49c8aa=_0x2f0216['context'];for(var _0x25c9dd=0x0,_0x2e1703=_0x3ccbcf[_0x57b300(0x10a)];_0x25c9dd<_0x2e1703;_0x25c9dd++){_0x49c8aa[_0x57b300(0xf8)](),_0x49c8aa[_0x57b300(0xf5)]();var _0x3565de=_0x3ccbcf[_0x25c9dd];let _0x29065e=boundingExtent(_0x3565de);_0x49c8aa[_0x57b300(0x125)](_0x29065e[0x0],_0x29065e[0x1]);let _0x5e3198;switch(_0x3e9bbe[_0x57b300(0xeb)]){case _0x57b300(0x10b):_0x5e3198=_getImagePattern(_0x49c8aa,_0x29065e,_0x3e9bbe,_0x5cee40);break;case _0x57b300(0x106):_0x5e3198=_getGridPattern(_0x49c8aa,_0x29065e,_0x3e9bbe);break;case _0x57b300(0x126):_0x5e3198=_getStripePattern(_0x49c8aa,_0x29065e,_0x3e9bbe);break;case _0x57b300(0x123):_0x5e3198=_getCheckerBoardPattern(_0x49c8aa,_0x29065e,_0x3e9bbe);break;default:_0x5e3198=_0x57b300(0x11b);break;}for(var _0x5b406a=0x0,_0x7ad4ba=_0x3565de[_0x57b300(0x10a)];_0x5b406a<_0x7ad4ba;_0x5b406a++){var _0x3f511c=_0x3565de[_0x5b406a];_0x5b406a===0x0?_0x49c8aa[_0x57b300(0x11f)](_0x3f511c[0x0]-_0x29065e[0x0],_0x3f511c[0x1]-_0x29065e[0x1]):_0x49c8aa[_0x57b300(0xfe)](_0x3f511c[0x0]-_0x29065e[0x0],_0x3f511c[0x1]-_0x29065e[0x1]);}_0x49c8aa[_0x57b300(0xf7)](),_0x49c8aa[_0x57b300(0x107)]=_0x57b300(0x11b),_0x49c8aa['fill'](),_0x49c8aa['fillStyle']=_0x5e3198,_0x49c8aa[_0x57b300(0x10d)](),_0x3e9bbe[_0x57b300(0x11a)]?(_0x49c8aa['strokeStyle']=getColor(_0x3e9bbe[_0x57b300(0x10c)],_0x3e9bbe[_0x57b300(0x11d)]),_0x49c8aa[_0x57b300(0x121)]=_0x3e9bbe[_0x57b300(0x111)]):_0x49c8aa[_0x57b300(0xf4)]='rgba(0,0,0,0.0)',_0x49c8aa[_0x57b300(0xef)](),_0x49c8aa['restore']();}}catch(_0x582f9c){_0x49c8aa[_0x57b300(0x116)](),console['warn'](_0x582f9c);}}function _getImagePattern(_0x5339f2,_0x29dd3f,_0x3b0d12,_0x420156){const _0xa2ee98=a64_0x20ec;if(!_0x420156||_0x420156['width']===0x0){let _0x4306ed=new Image();_0x4306ed['src']=_0x3b0d12[_0xa2ee98(0x10b)];}var _0x437c66=getSize(_0x29dd3f);const _0x4a933e=document['createElement']('canvas'),_0x26dd50=_0x4a933e[_0xa2ee98(0x104)]('2d');return _0x4a933e['width']=Math[_0xa2ee98(0x112)](_0x437c66[0x0]/_0x3b0d12[_0xa2ee98(0xfc)],0x1),_0x4a933e[_0xa2ee98(0xee)]=Math[_0xa2ee98(0x112)](_0x437c66[0x1]/_0x3b0d12['repeatY'],0x1),_0x26dd50&&(_0x26dd50['globalAlpha']=_0x3b0d12[_0xa2ee98(0x124)],_0x26dd50[_0xa2ee98(0xf3)](_0x420156,0x0,0x0,_0x4a933e[_0xa2ee98(0xfd)],_0x4a933e[_0xa2ee98(0xee)])),_0x5339f2['createPattern'](_0x4a933e,_0xa2ee98(0x109));}function _getGridPattern(_0x57d736,_0x35b0cc,_0x4311b5){const _0x1293fc=a64_0x20ec;var _0x26bbc9=getSize(_0x35b0cc);const _0x31861b=document[_0x1293fc(0x10e)](_0x1293fc(0x117)),_0x40fe6b=_0x31861b['getContext']('2d');return _0x31861b[_0x1293fc(0xfd)]=Math[_0x1293fc(0x112)](_0x26bbc9[0x0]/_0x4311b5[_0x1293fc(0xec)],0x1),_0x31861b[_0x1293fc(0xee)]=Math[_0x1293fc(0x112)](_0x26bbc9[0x1]/_0x4311b5[_0x1293fc(0xec)],0x1),_0x40fe6b&&(_0x40fe6b[_0x1293fc(0xf4)]=getColor(_0x4311b5[_0x1293fc(0x122)],_0x4311b5[_0x1293fc(0x124)]),_0x40fe6b[_0x1293fc(0x121)]=_0x4311b5['grid_lineThickness']*0x4,_0x40fe6b[_0x1293fc(0xf5)](),_0x40fe6b[_0x1293fc(0x11f)](0x0,_0x31861b[_0x1293fc(0xee)]),_0x40fe6b[_0x1293fc(0xfe)](_0x31861b['width'],_0x31861b['height']),_0x40fe6b['moveTo'](_0x31861b[_0x1293fc(0xfd)],0x0),_0x40fe6b[_0x1293fc(0xfe)](_0x31861b[_0x1293fc(0xfd)],_0x31861b[_0x1293fc(0xee)]),_0x40fe6b[_0x1293fc(0xef)]()),_0x57d736[_0x1293fc(0x10f)](_0x31861b,'repeat');}function _getStripePattern(_0x2b2f76,_0x257903,_0x3e6e89){const _0x561af4=a64_0x20ec;var _0x1ae337=getSize(_0x257903);const _0x1543b1=document[_0x561af4(0x10e)](_0x561af4(0x117)),_0x538855=_0x1543b1['getContext']('2d');let _0x2cbb3f=Math['max'](_0x1ae337[0x1]/_0x3e6e89[_0x561af4(0xea)],0x1);return _0x1543b1[_0x561af4(0xfd)]=_0x1ae337[0x0],_0x1543b1[_0x561af4(0xee)]=_0x2cbb3f*0x2,_0x538855&&(_0x538855[_0x561af4(0xf5)](),_0x538855[_0x561af4(0x11f)](0x0,0x0),_0x538855[_0x561af4(0xfe)](_0x1543b1[_0x561af4(0xfd)],0x0),_0x538855[_0x561af4(0xfe)](_0x1543b1['width'],_0x2cbb3f),_0x538855[_0x561af4(0xfe)](0x0,_0x2cbb3f),_0x538855['closePath'](),_0x538855[_0x561af4(0x107)]=getColor(_0x3e6e89[_0x561af4(0x11c)],_0x3e6e89[_0x561af4(0x124)]),_0x538855[_0x561af4(0x10d)](),_0x538855[_0x561af4(0xf5)](),_0x538855['moveTo'](0x0,_0x2cbb3f),_0x538855['lineTo'](_0x1543b1[_0x561af4(0xfd)],_0x2cbb3f),_0x538855[_0x561af4(0xfe)](_0x1543b1[_0x561af4(0xfd)],_0x2cbb3f*0x2),_0x538855[_0x561af4(0xfe)](0x0,_0x2cbb3f*0x2),_0x538855[_0x561af4(0xf7)](),_0x538855[_0x561af4(0x107)]=getColor(_0x3e6e89[_0x561af4(0x122)],_0x3e6e89['opacity']),_0x538855[_0x561af4(0x10d)]()),_0x2b2f76['createPattern'](_0x1543b1,_0x561af4(0x109));}function _getCheckerBoardPattern(_0x21bebb,_0x5cd803,_0x2ee0c9){const _0x3f09d1=a64_0x20ec;var _0x776680=getSize(_0x5cd803);const _0x5bdb87=document[_0x3f09d1(0x10e)]('canvas'),_0x46c9e7=_0x5bdb87['getContext']('2d');let _0x3b0874=Math[_0x3f09d1(0x112)](_0x776680[0x0]/_0x2ee0c9[_0x3f09d1(0xf0)],0x1),_0x1d40c7=Math['max'](_0x776680[0x1]/_0x2ee0c9['checkerboard_repeat'],0x1);return _0x5bdb87[_0x3f09d1(0xfd)]=_0x3b0874*0x2,_0x5bdb87[_0x3f09d1(0xee)]=_0x1d40c7*0x2,_0x46c9e7&&(_0x46c9e7[_0x3f09d1(0xf5)](),_0x46c9e7[_0x3f09d1(0x11f)](0x0,0x0),_0x46c9e7[_0x3f09d1(0xfe)](_0x3b0874,0x0),_0x46c9e7[_0x3f09d1(0xfe)](_0x3b0874,_0x1d40c7),_0x46c9e7['lineTo'](0x0,_0x1d40c7),_0x46c9e7[_0x3f09d1(0xf7)](),_0x46c9e7[_0x3f09d1(0x107)]=getColor(_0x2ee0c9[_0x3f09d1(0xf6)],_0x2ee0c9[_0x3f09d1(0x124)]),_0x46c9e7[_0x3f09d1(0x10d)](),_0x46c9e7[_0x3f09d1(0xf5)](),_0x46c9e7[_0x3f09d1(0x11f)](_0x3b0874,0x0),_0x46c9e7[_0x3f09d1(0xfe)](_0x5bdb87[_0x3f09d1(0xfd)],0x0),_0x46c9e7['lineTo'](_0x5bdb87[_0x3f09d1(0xfd)],_0x1d40c7),_0x46c9e7[_0x3f09d1(0xfe)](_0x3b0874,_0x1d40c7),_0x46c9e7[_0x3f09d1(0xf7)](),_0x46c9e7[_0x3f09d1(0x107)]=getColor(_0x2ee0c9[_0x3f09d1(0x122)],_0x2ee0c9[_0x3f09d1(0x124)]),_0x46c9e7[_0x3f09d1(0x10d)](),_0x46c9e7[_0x3f09d1(0xf5)](),_0x46c9e7['moveTo'](0x0,_0x1d40c7),_0x46c9e7[_0x3f09d1(0xfe)](_0x3b0874,_0x1d40c7),_0x46c9e7[_0x3f09d1(0xfe)](_0x3b0874,_0x5bdb87[_0x3f09d1(0xee)]),_0x46c9e7[_0x3f09d1(0xfe)](0x0,_0x5bdb87[_0x3f09d1(0xee)]),_0x46c9e7[_0x3f09d1(0xf7)](),_0x46c9e7[_0x3f09d1(0x107)]=getColor(_0x2ee0c9[_0x3f09d1(0x122)],_0x2ee0c9[_0x3f09d1(0x124)]),_0x46c9e7[_0x3f09d1(0x10d)](),_0x46c9e7[_0x3f09d1(0xf5)](),_0x46c9e7[_0x3f09d1(0x11f)](_0x3b0874,_0x1d40c7),_0x46c9e7[_0x3f09d1(0xfe)](_0x5bdb87[_0x3f09d1(0xfd)],_0x1d40c7),_0x46c9e7[_0x3f09d1(0xfe)](_0x5bdb87[_0x3f09d1(0xfd)],_0x5bdb87['height']),_0x46c9e7[_0x3f09d1(0xfe)](_0x3b0874,_0x5bdb87[_0x3f09d1(0xee)]),_0x46c9e7['closePath'](),_0x46c9e7[_0x3f09d1(0x107)]=getColor(_0x2ee0c9[_0x3f09d1(0xf6)],_0x2ee0c9[_0x3f09d1(0x124)]),_0x46c9e7[_0x3f09d1(0x10d)]()),_0x21bebb[_0x3f09d1(0x10f)](_0x5bdb87,_0x3f09d1(0x109));}
|
|
1
|
+
(function(_0x509465,_0x1b7c05){const _0x26d858=a64_0x17bc,_0x2bf708=_0x509465();while(!![]){try{const _0x496a75=-parseInt(_0x26d858(0x207))/0x1*(-parseInt(_0x26d858(0x208))/0x2)+-parseInt(_0x26d858(0x212))/0x3*(-parseInt(_0x26d858(0x1ee))/0x4)+parseInt(_0x26d858(0x1dc))/0x5+-parseInt(_0x26d858(0x1f2))/0x6*(-parseInt(_0x26d858(0x20e))/0x7)+-parseInt(_0x26d858(0x1f1))/0x8+parseInt(_0x26d858(0x1da))/0x9*(parseInt(_0x26d858(0x20a))/0xa)+parseInt(_0x26d858(0x1f3))/0xb*(-parseInt(_0x26d858(0x206))/0xc);if(_0x496a75===_0x1b7c05)break;else _0x2bf708['push'](_0x2bf708['shift']());}catch(_0x5c4ca2){_0x2bf708['push'](_0x2bf708['shift']());}}}(a64_0x497c,0x2d1ec));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x412e1e,_0x192c86,_0x39fa1c,_0x9a53cc){const _0x29ff1a=a64_0x17bc;var _0x497700;let _0x1dc488=(_0x497700=_0x412e1e['zIndex'])!==null&&_0x497700!==void 0x0?_0x497700:0x0,_0x17c691=new Style();_0x17c691[_0x29ff1a(0x1e3)](_0x1dc488),_0x17c691[_0x29ff1a(0x210)](new Fill({'color':_0x29ff1a(0x1e0)}));if(_0x412e1e['fill']!==![]){if(!_0x412e1e[_0x29ff1a(0x1ed)]||_0x412e1e[_0x29ff1a(0x1ed)]===_0x29ff1a(0x1f7))_0x17c691[_0x29ff1a(0x210)](new Fill({'color':getColor(_0x412e1e[_0x29ff1a(0x1f7)],_0x412e1e[_0x29ff1a(0x1e2)])}));else{if(_0x412e1e[_0x29ff1a(0x1ed)]===_0x29ff1a(0x1de))_0x17c691[_0x29ff1a(0x1ec)]((_0x14868d,_0x542b88)=>{preLoadImageRenderFunction(_0x412e1e,_0x14868d,_0x542b88,_0x9a53cc,_rendererFunction);});else _0x412e1e[_0x29ff1a(0x1ed)]===_0x29ff1a(0x1f6)||_0x412e1e['fillType']===_0x29ff1a(0x20d)||_0x412e1e[_0x29ff1a(0x1ed)]==='checkerboard'?_0x17c691[_0x29ff1a(0x1ec)]((_0x29b482,_0x2196d2)=>{_rendererFunction(_0x412e1e,_0x29b482,_0x2196d2,_0x9a53cc,null);}):_0x17c691[_0x29ff1a(0x210)](new Fill({'color':getColor(_0x412e1e['color'],_0x412e1e[_0x29ff1a(0x1e2)])}));}}_0x412e1e[_0x29ff1a(0x204)]!==![]&&_0x17c691[_0x29ff1a(0x1f0)](new Stroke({'color':getColor(_0x412e1e[_0x29ff1a(0x1fb)],_0x412e1e['outlineOpacity']),'width':_0x412e1e[_0x29ff1a(0x1e9)]}));let _0x2d5ade=[_0x17c691];_0x412e1e[_0x29ff1a(0x1ea)]&&!_0x412e1e[_0x29ff1a(0x1ea)][_0x29ff1a(0x20b)]&&(_0x412e1e[_0x29ff1a(0x1ea)][_0x29ff1a(0x20b)]=_0x29ff1a(0x1fc));let _0x4e44da=getImageOlStyle(_0x412e1e[_0x29ff1a(0x1ea)],_0x1dc488,_0x39fa1c,_0x9a53cc);_0x4e44da&&_0x2d5ade[_0x29ff1a(0x1d9)](_0x4e44da);if(_0x412e1e['label']&&_0x412e1e['label'][_0x29ff1a(0x1f4)]!==![]){!_0x412e1e[_0x29ff1a(0x201)][_0x29ff1a(0x20b)]&&(_0x412e1e['label'][_0x29ff1a(0x20b)]=_0x29ff1a(0x1fc));let _0x50019e=new Style({'text':createTextStyle(_0x412e1e[_0x29ff1a(0x201)],_0x192c86,_0x39fa1c,_0x9a53cc),'zIndex':Number(_0x1dc488)+0x1});_0x2d5ade['push'](_0x50019e);}return _0x2d5ade;}function _rendererFunction(_0x56964e,_0x17a230,_0x120e5b,_0x45ab5a,_0x35f18e){const _0x5177d0=a64_0x17bc;try{var _0x1ea915=_0x120e5b['context'];for(var _0xd32f25=0x0,_0x1c4f8d=_0x17a230['length'];_0xd32f25<_0x1c4f8d;_0xd32f25++){_0x1ea915['save'](),_0x1ea915[_0x5177d0(0x1e1)]();var _0x5b455a=_0x17a230[_0xd32f25];let _0x52759b=boundingExtent(_0x5b455a);_0x1ea915[_0x5177d0(0x203)](_0x52759b[0x0],_0x52759b[0x1]);let _0x18ff0e;switch(_0x56964e[_0x5177d0(0x1ed)]){case _0x5177d0(0x1de):_0x18ff0e=_getImagePattern(_0x1ea915,_0x52759b,_0x56964e,_0x35f18e);break;case _0x5177d0(0x1f6):_0x18ff0e=_getGridPattern(_0x1ea915,_0x52759b,_0x56964e);break;case _0x5177d0(0x20d):_0x18ff0e=_getStripePattern(_0x1ea915,_0x52759b,_0x56964e);break;case'checkerboard':_0x18ff0e=_getCheckerBoardPattern(_0x1ea915,_0x52759b,_0x56964e);break;default:_0x18ff0e=_0x5177d0(0x1f8);break;}for(var _0x269482=0x0,_0x1ef927=_0x5b455a['length'];_0x269482<_0x1ef927;_0x269482++){var _0x536273=_0x5b455a[_0x269482];_0x269482===0x0?_0x1ea915[_0x5177d0(0x1dd)](_0x536273[0x0]-_0x52759b[0x0],_0x536273[0x1]-_0x52759b[0x1]):_0x1ea915[_0x5177d0(0x1fa)](_0x536273[0x0]-_0x52759b[0x0],_0x536273[0x1]-_0x52759b[0x1]);}_0x1ea915[_0x5177d0(0x1f9)](),_0x1ea915[_0x5177d0(0x1e8)]=_0x5177d0(0x1f8),_0x1ea915[_0x5177d0(0x1db)](),_0x1ea915[_0x5177d0(0x1e8)]=_0x18ff0e,_0x1ea915['fill'](),_0x56964e[_0x5177d0(0x204)]?(_0x1ea915[_0x5177d0(0x205)]=getColor(_0x56964e[_0x5177d0(0x1fb)],_0x56964e['outlineOpacity']),_0x1ea915[_0x5177d0(0x1eb)]=_0x56964e[_0x5177d0(0x1e9)]):_0x1ea915[_0x5177d0(0x205)]='rgba(0,0,0,0.0)',_0x1ea915[_0x5177d0(0x1e5)](),_0x1ea915[_0x5177d0(0x1fe)]();}}catch(_0x11acb6){_0x1ea915[_0x5177d0(0x1fe)](),console[_0x5177d0(0x1ff)](_0x11acb6);}}function a64_0x497c(){const _0xd08a89=['lineWidth','setRenderer','fillType','4vgxYtD','repeat','setStroke','458792QBNIEK','1489062CZoWmt','429FtSsvN','show','grid_lineCount','grid','color','rgba(0,0,0,0.01)','closePath','lineTo','outlineColor','CENTER','getContext','restore','warn','oddColor','label','max','translate','outline','strokeStyle','177984oGCKYz','5053aqXojm','14vZVFwV','createPattern','163890YZrxyt','verticalOrigin','createElement','stripe','7oaFWeA','canvas','setFill','height','624387cGuKjY','drawImage','src','checkerboard_repeat','stripe_repeat','push','18ICUYRS','fill','1480770IUifUg','moveTo','image','globalAlpha','rgba(0,0,0,0)','beginPath','opacity','setZIndex','width','stroke','stripe_oddcolor','repeatY','fillStyle','outlineWidth','billboard'];a64_0x497c=function(){return _0xd08a89;};return a64_0x497c();}function _getImagePattern(_0x873f93,_0xb31249,_0x1008c0,_0x5bb3a5){const _0xbb7097=a64_0x17bc;if(!_0x5bb3a5||_0x5bb3a5[_0xbb7097(0x1e4)]===0x0){let _0x3dc89f=new Image();_0x3dc89f[_0xbb7097(0x1d6)]=_0x1008c0['image'];}var _0x4c95f6=getSize(_0xb31249);const _0x3a5262=document['createElement'](_0xbb7097(0x20f)),_0x249ce8=_0x3a5262['getContext']('2d');return _0x3a5262['width']=Math[_0xbb7097(0x202)](_0x4c95f6[0x0]/_0x1008c0['repeatX'],0x1),_0x3a5262[_0xbb7097(0x211)]=Math[_0xbb7097(0x202)](_0x4c95f6[0x1]/_0x1008c0[_0xbb7097(0x1e7)],0x1),_0x249ce8&&(_0x249ce8[_0xbb7097(0x1df)]=_0x1008c0[_0xbb7097(0x1e2)],_0x249ce8[_0xbb7097(0x1d5)](_0x5bb3a5,0x0,0x0,_0x3a5262[_0xbb7097(0x1e4)],_0x3a5262['height'])),_0x873f93['createPattern'](_0x3a5262,'repeat');}function _getGridPattern(_0x48047e,_0x23dd17,_0x26a04a){const _0x2af51b=a64_0x17bc;var _0x36e50b=getSize(_0x23dd17);const _0x1a6751=document[_0x2af51b(0x20c)](_0x2af51b(0x20f)),_0x3542cd=_0x1a6751[_0x2af51b(0x1fd)]('2d');return _0x1a6751[_0x2af51b(0x1e4)]=Math[_0x2af51b(0x202)](_0x36e50b[0x0]/_0x26a04a['grid_lineCount'],0x1),_0x1a6751[_0x2af51b(0x211)]=Math[_0x2af51b(0x202)](_0x36e50b[0x1]/_0x26a04a[_0x2af51b(0x1f5)],0x1),_0x3542cd&&(_0x3542cd[_0x2af51b(0x205)]=getColor(_0x26a04a[_0x2af51b(0x1f7)],_0x26a04a[_0x2af51b(0x1e2)]),_0x3542cd['lineWidth']=_0x26a04a['grid_lineThickness']*0x4,_0x3542cd[_0x2af51b(0x1e1)](),_0x3542cd[_0x2af51b(0x1dd)](0x0,_0x1a6751[_0x2af51b(0x211)]),_0x3542cd[_0x2af51b(0x1fa)](_0x1a6751[_0x2af51b(0x1e4)],_0x1a6751[_0x2af51b(0x211)]),_0x3542cd['moveTo'](_0x1a6751[_0x2af51b(0x1e4)],0x0),_0x3542cd[_0x2af51b(0x1fa)](_0x1a6751[_0x2af51b(0x1e4)],_0x1a6751['height']),_0x3542cd['stroke']()),_0x48047e[_0x2af51b(0x209)](_0x1a6751,'repeat');}function a64_0x17bc(_0x29d793,_0x51498a){const _0x497c1d=a64_0x497c();return a64_0x17bc=function(_0x17bc2f,_0x55f183){_0x17bc2f=_0x17bc2f-0x1d5;let _0x80667d=_0x497c1d[_0x17bc2f];return _0x80667d;},a64_0x17bc(_0x29d793,_0x51498a);}function _getStripePattern(_0x2b8dfb,_0x13a632,_0x17a06f){const _0x501abc=a64_0x17bc;var _0x529f2a=getSize(_0x13a632);const _0x34f7eb=document['createElement']('canvas'),_0x16a7fb=_0x34f7eb[_0x501abc(0x1fd)]('2d');let _0x5b87d2=Math['max'](_0x529f2a[0x1]/_0x17a06f[_0x501abc(0x1d8)],0x1);return _0x34f7eb[_0x501abc(0x1e4)]=_0x529f2a[0x0],_0x34f7eb[_0x501abc(0x211)]=_0x5b87d2*0x2,_0x16a7fb&&(_0x16a7fb[_0x501abc(0x1e1)](),_0x16a7fb[_0x501abc(0x1dd)](0x0,0x0),_0x16a7fb[_0x501abc(0x1fa)](_0x34f7eb[_0x501abc(0x1e4)],0x0),_0x16a7fb[_0x501abc(0x1fa)](_0x34f7eb[_0x501abc(0x1e4)],_0x5b87d2),_0x16a7fb[_0x501abc(0x1fa)](0x0,_0x5b87d2),_0x16a7fb[_0x501abc(0x1f9)](),_0x16a7fb['fillStyle']=getColor(_0x17a06f[_0x501abc(0x1e6)],_0x17a06f[_0x501abc(0x1e2)]),_0x16a7fb[_0x501abc(0x1db)](),_0x16a7fb[_0x501abc(0x1e1)](),_0x16a7fb[_0x501abc(0x1dd)](0x0,_0x5b87d2),_0x16a7fb[_0x501abc(0x1fa)](_0x34f7eb[_0x501abc(0x1e4)],_0x5b87d2),_0x16a7fb[_0x501abc(0x1fa)](_0x34f7eb[_0x501abc(0x1e4)],_0x5b87d2*0x2),_0x16a7fb[_0x501abc(0x1fa)](0x0,_0x5b87d2*0x2),_0x16a7fb[_0x501abc(0x1f9)](),_0x16a7fb['fillStyle']=getColor(_0x17a06f[_0x501abc(0x1f7)],_0x17a06f[_0x501abc(0x1e2)]),_0x16a7fb[_0x501abc(0x1db)]()),_0x2b8dfb[_0x501abc(0x209)](_0x34f7eb,_0x501abc(0x1ef));}function _getCheckerBoardPattern(_0x3bca04,_0x31ef91,_0x593e13){const _0x45f4a1=a64_0x17bc;var _0x5dc433=getSize(_0x31ef91);const _0x390fd1=document['createElement'](_0x45f4a1(0x20f)),_0x50a07e=_0x390fd1['getContext']('2d');let _0x50579f=Math[_0x45f4a1(0x202)](_0x5dc433[0x0]/_0x593e13[_0x45f4a1(0x1d7)],0x1),_0x100b7e=Math[_0x45f4a1(0x202)](_0x5dc433[0x1]/_0x593e13[_0x45f4a1(0x1d7)],0x1);return _0x390fd1['width']=_0x50579f*0x2,_0x390fd1[_0x45f4a1(0x211)]=_0x100b7e*0x2,_0x50a07e&&(_0x50a07e[_0x45f4a1(0x1e1)](),_0x50a07e[_0x45f4a1(0x1dd)](0x0,0x0),_0x50a07e[_0x45f4a1(0x1fa)](_0x50579f,0x0),_0x50a07e['lineTo'](_0x50579f,_0x100b7e),_0x50a07e['lineTo'](0x0,_0x100b7e),_0x50a07e['closePath'](),_0x50a07e['fillStyle']=getColor(_0x593e13[_0x45f4a1(0x200)],_0x593e13['opacity']),_0x50a07e['fill'](),_0x50a07e[_0x45f4a1(0x1e1)](),_0x50a07e[_0x45f4a1(0x1dd)](_0x50579f,0x0),_0x50a07e['lineTo'](_0x390fd1[_0x45f4a1(0x1e4)],0x0),_0x50a07e['lineTo'](_0x390fd1[_0x45f4a1(0x1e4)],_0x100b7e),_0x50a07e[_0x45f4a1(0x1fa)](_0x50579f,_0x100b7e),_0x50a07e['closePath'](),_0x50a07e[_0x45f4a1(0x1e8)]=getColor(_0x593e13['color'],_0x593e13['opacity']),_0x50a07e[_0x45f4a1(0x1db)](),_0x50a07e['beginPath'](),_0x50a07e['moveTo'](0x0,_0x100b7e),_0x50a07e[_0x45f4a1(0x1fa)](_0x50579f,_0x100b7e),_0x50a07e[_0x45f4a1(0x1fa)](_0x50579f,_0x390fd1[_0x45f4a1(0x211)]),_0x50a07e['lineTo'](0x0,_0x390fd1[_0x45f4a1(0x211)]),_0x50a07e[_0x45f4a1(0x1f9)](),_0x50a07e[_0x45f4a1(0x1e8)]=getColor(_0x593e13[_0x45f4a1(0x1f7)],_0x593e13[_0x45f4a1(0x1e2)]),_0x50a07e[_0x45f4a1(0x1db)](),_0x50a07e[_0x45f4a1(0x1e1)](),_0x50a07e[_0x45f4a1(0x1dd)](_0x50579f,_0x100b7e),_0x50a07e['lineTo'](_0x390fd1[_0x45f4a1(0x1e4)],_0x100b7e),_0x50a07e[_0x45f4a1(0x1fa)](_0x390fd1[_0x45f4a1(0x1e4)],_0x390fd1[_0x45f4a1(0x211)]),_0x50a07e['lineTo'](_0x50579f,_0x390fd1[_0x45f4a1(0x211)]),_0x50a07e[_0x45f4a1(0x1f9)](),_0x50a07e[_0x45f4a1(0x1e8)]=getColor(_0x593e13[_0x45f4a1(0x200)],_0x593e13['opacity']),_0x50a07e[_0x45f4a1(0x1db)]()),_0x3bca04[_0x45f4a1(0x209)](_0x390fd1,'repeat');}
|