ym-gis-2d 1.0.10 → 1.0.11
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/assets/main.css +14 -2
- package/capabilities/index.js +1 -1
- package/controls/ControlManager.js +1 -1
- package/controls/IControlOptions.d.ts +1 -0
- package/controls/IControlOptions.d.ts.map +1 -1
- package/controls/LegendControl.d.ts +35 -0
- package/controls/LegendControl.d.ts.map +1 -0
- package/controls/LegendControl.js +1 -0
- package/controls/LegendControl.js.map +1 -0
- 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/entity/layer/IMapService.d.ts +15 -0
- package/entity/layer/IMapService.d.ts.map +1 -1
- package/entity/legend/IGraphicSymbol.d.ts +15 -0
- package/entity/legend/IGraphicSymbol.d.ts.map +1 -0
- package/entity/legend/IGraphicSymbol.js +1 -0
- package/entity/legend/IGraphicSymbol.js.map +1 -0
- package/entity/legend/ILegend.d.ts +20 -0
- package/entity/legend/ILegend.d.ts.map +1 -0
- package/entity/legend/ILegend.js +1 -0
- package/entity/legend/ILegend.js.map +1 -0
- package/entity/legend/ILineSymbol.d.ts +23 -0
- package/entity/legend/ILineSymbol.d.ts.map +1 -0
- package/entity/legend/ILineSymbol.js +1 -0
- package/entity/legend/ILineSymbol.js.map +1 -0
- package/entity/legend/IPointSymbol.d.ts +32 -0
- package/entity/legend/IPointSymbol.d.ts.map +1 -0
- package/entity/legend/IPointSymbol.js +1 -0
- package/entity/legend/IPointSymbol.js.map +1 -0
- package/entity/legend/IPolygonSymbol.d.ts +31 -0
- package/entity/legend/IPolygonSymbol.d.ts.map +1 -0
- package/entity/legend/IPolygonSymbol.js +1 -0
- package/entity/legend/IPolygonSymbol.js.map +1 -0
- package/entity/legend/IRule.d.ts +20 -0
- package/entity/legend/IRule.d.ts.map +1 -0
- package/entity/legend/IRule.js +1 -0
- package/entity/legend/IRule.js.map +1 -0
- package/entity/legend/ISymbol.d.ts +22 -0
- package/entity/legend/ISymbol.d.ts.map +1 -0
- package/entity/legend/ISymbol.js +1 -0
- package/entity/legend/ISymbol.js.map +1 -0
- 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.d.ts.map +1 -1
- package/mapView/Map.js +1 -1
- package/mapView/Map.js.map +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/style.css +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.d.ts +13 -0
- package/utils/LayerUtil.d.ts.map +1 -1
- package/utils/LayerUtil.js +1 -1
- package/utils/LayerUtil.js.map +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
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a56_0x3b6d61=a56_0x4e37;(function(_0x488b16,_0x3f3a75){const _0x17943c=a56_0x4e37,_0x25ad0d=_0x488b16();while(!![]){try{const _0x29929c=-parseInt(_0x17943c(0x112))/0x1+-parseInt(_0x17943c(0x114))/0x2*(parseInt(_0x17943c(0x11b))/0x3)+-parseInt(_0x17943c(0x11c))/0x4+parseInt(_0x17943c(0x117))/0x5+-parseInt(_0x17943c(0x11f))/0x6+-parseInt(_0x17943c(0x123))/0x7+parseInt(_0x17943c(0x122))/0x8;if(_0x29929c===_0x3f3a75)break;else _0x25ad0d['push'](_0x25ad0d['shift']());}catch(_0x4e56ad){_0x25ad0d['push'](_0x25ad0d['shift']());}}}(a56_0x5577,0xf05ee));import{Circle as a56_0x2bf196}from'ol/geom';import a56_0x5aeadf from'ol/format/GeoJSON';import{offset}from'ol/sphere';import{squaredDistance as a56_0x458ead}from'ol/coordinate';import{fromCircle}from'ol/geom/Polygon';import{compareArray}from'../../../utils/ArrayUtil';function a56_0x5577(){const _0x3e45e=['1604148QLxJHR','getRadius','points','setCenter','488688ziIqUu','length','48058tVTIsZ','getGeoJson','toRadians','3241000zpcYCc','setCenterAndRadius','generate','sqrt','231NeahNl','4022468uyyiCE','updateLastPoint','writeGeometryObject','9216078ELFCZv','updatePoint','setPoints','43568584xwCRiV'];a56_0x5577=function(){return _0x3e45e;};return a56_0x5577();}class Circle extends a56_0x2bf196{constructor(_0x2b61bd){super([]),this['points']=_0x2b61bd,this['type']='Circle',_0x2b61bd&&_0x2b61bd['length']>0x0&&this['setPoints'](_0x2b61bd);}[a56_0x3b6d61(0x121)](_0xad4c68){const _0x5c027d=a56_0x3b6d61;var _0x2d6f02;((_0x2d6f02=this[_0x5c027d(0x110)])===null||_0x2d6f02===void 0x0?void 0x0:_0x2d6f02[_0x5c027d(0x113)])>0x0&&(_0xad4c68===null||_0xad4c68===void 0x0?void 0x0:_0xad4c68[_0x5c027d(0x113)])>0x0&&!compareArray(this[_0x5c027d(0x110)][0x0],_0xad4c68[0x0])?this[_0x5c027d(0x111)](_0xad4c68[0x0]):(this[_0x5c027d(0x110)]=!_0xad4c68?[]:_0xad4c68,this[_0x5c027d(0x110)][_0x5c027d(0x113)]>=0x1&&(this['generate']&&this[_0x5c027d(0x119)]()));}['generate'](){const _0x189dfb=a56_0x3b6d61;let _0x3ad222=this[_0x189dfb(0x110)]['length'];if(_0x3ad222<0x2)return![];else{const _0x574839=this['points'][0x0],_0x1a2b11=a56_0x458ead(_0x574839,this[_0x189dfb(0x110)][0x1]);this[_0x189dfb(0x118)](_0x574839,Math[_0x189dfb(0x11a)](_0x1a2b11));}}[a56_0x3b6d61(0x111)](_0x5f165e){const _0x5dd64b=a56_0x3b6d61;this[_0x5dd64b(0x111)](_0x5f165e),this[_0x5dd64b(0x110)]=[_0x5f165e,offset(_0x5f165e,this[_0x5dd64b(0x124)](),this['toRadians'](0x5a))],this['generate']();}[a56_0x3b6d61(0x116)](_0x2f4373){return _0x2f4373*Math['PI']/0xb4;}[a56_0x3b6d61(0x115)](){const _0x1eab44=a56_0x3b6d61;return new a56_0x5aeadf()[_0x1eab44(0x11e)](fromCircle(this));}[a56_0x3b6d61(0x120)](_0x50d463,_0x85da3f){const _0x20561b=a56_0x3b6d61;_0x85da3f>=0x0&&_0x85da3f<this[_0x20561b(0x110)]['length']&&(this[_0x20561b(0x110)][_0x85da3f]=_0x50d463,this[_0x20561b(0x119)]());}[a56_0x3b6d61(0x11d)](_0x42ada3){const _0x4d294e=a56_0x3b6d61;this[_0x4d294e(0x120)](_0x42ada3,this[_0x4d294e(0x110)][_0x4d294e(0x113)]-0x1);}}function a56_0x4e37(_0x57ddd0,_0x569d6a){const _0x557717=a56_0x5577();return a56_0x4e37=function(_0x4e3723,_0x3fba75){_0x4e3723=_0x4e3723-0x110;let _0x3502d5=_0x557717[_0x4e3723];return _0x3502d5;},a56_0x4e37(_0x57ddd0,_0x569d6a);}export default Circle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a57_0x59ef(_0x39a32a,_0x12182d){const _0x169b04=a57_0x169b();return a57_0x59ef=function(_0x59ef44,_0x20762c){_0x59ef44=_0x59ef44-0xff;let _0x50228b=_0x169b04[_0x59ef44];return _0x50228b;},a57_0x59ef(_0x39a32a,_0x12182d);}const a57_0x53ebbb=a57_0x59ef;(function(_0x141805,_0x30a29b){const _0x522abc=a57_0x59ef,_0x376669=_0x141805();while(!![]){try{const _0x5163f3=parseInt(_0x522abc(0x112))/0x1*(-parseInt(_0x522abc(0x107))/0x2)+-parseInt(_0x522abc(0x105))/0x3+-parseInt(_0x522abc(0x10e))/0x4*(-parseInt(_0x522abc(0xff))/0x5)+parseInt(_0x522abc(0x10a))/0x6*(parseInt(_0x522abc(0x10c))/0x7)+-parseInt(_0x522abc(0x10b))/0x8+-parseInt(_0x522abc(0x116))/0x9+parseInt(_0x522abc(0x114))/0xa*(parseInt(_0x522abc(0x104))/0xb);if(_0x5163f3===_0x30a29b)break;else _0x376669['push'](_0x376669['shift']());}catch(_0x3fd928){_0x376669['push'](_0x376669['shift']());}}}(a57_0x169b,0x36123));import a57_0x4ebe4a from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';function a57_0x169b(){const _0x333084=['369787HpltvJ','1217055HSnuBp','setCoordinates','2138SUQPFt','points','_closed','6RpaIWP','889104qqnIzb','1324162UoHpRp','stringify','834928kWeLrr','Polygon','generate','isPlot','95onVUHK','parse','170eqtqbf','push','3044394ZbhqIn','10bULgXU','setPoints','length','type','updatePoint'];a57_0x169b=function(){return _0x333084;};return a57_0x169b();}class Polygon extends a57_0x4ebe4a{constructor(_0x46a887){const _0x34579b=a57_0x59ef;super(),this[_0x34579b(0x102)]=_0x34579b(0x10f),_0x46a887&&_0x46a887[_0x34579b(0x101)]>0x0&&getDeepth(_0x46a887)==0x2?this[_0x34579b(0x100)](_0x46a887):this['setCoordinates'](_0x46a887);}[a57_0x53ebbb(0x109)](_0x11d9c9){const _0x2f51d7=a57_0x53ebbb;let _0x188e48=_0x11d9c9[0x0],_0x4a6b1d=_0x11d9c9[_0x11d9c9[_0x2f51d7(0x101)]-0x1];return _0x188e48[0x0]===_0x4a6b1d[0x0]&&_0x188e48[0x1]===_0x4a6b1d[0x1]&&_0x188e48[0x2]===_0x4a6b1d[0x2];}[a57_0x53ebbb(0x110)](){const _0x380ba8=a57_0x53ebbb;let _0x5a4e8d=this['getPointCount']();if(_0x5a4e8d<0x2)return![];else{let _0x267cb4=JSON[_0x380ba8(0x113)](JSON[_0x380ba8(0x10d)](this[_0x380ba8(0x108)]));_0x5a4e8d>=0x3&&(!this[_0x380ba8(0x109)](_0x267cb4)&&_0x267cb4[_0x380ba8(0x115)](_0x267cb4[0x0])),this[_0x380ba8(0x106)]([_0x267cb4]);}}[a57_0x53ebbb(0x103)](_0x3847f3,_0x1bfda8){const _0x170cd7=a57_0x53ebbb;_0x1bfda8>=0x0&&_0x1bfda8<this['points'][_0x170cd7(0x101)]&&(this['points'][_0x1bfda8]=_0x3847f3,this[_0x170cd7(0x110)]());}[a57_0x53ebbb(0x111)](){return![];}['updateLastPoint'](_0x21d4ec){const _0x56b2cb=a57_0x53ebbb;this[_0x56b2cb(0x103)](_0x21d4ec,this[_0x56b2cb(0x108)]['length']-0x1);}}export default Polygon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a58_0x740393=a58_0x4b20;function a58_0x2643(){const _0x139c20=['1793325yZenmW','86653okUcvE','8518194nmGqdY','3892206xyiRpd','7637550oRznxN','2BRlWHH','generate','type','length','getCoordinates','222rFTbTp','updateLastPoint','1478612wIJlfZ','setPoints','updatePoint','points','15045864oOUSNP','setCoordinates'];a58_0x2643=function(){return _0x139c20;};return a58_0x2643();}(function(_0x81b192,_0x175e80){const _0xf604c3=a58_0x4b20,_0x26b5e8=_0x81b192();while(!![]){try{const _0x334af7=parseInt(_0xf604c3(0x15a))/0x1+parseInt(_0xf604c3(0x15f))/0x2*(-parseInt(_0xf604c3(0x15d))/0x3)+-parseInt(_0xf604c3(0x154))/0x4+-parseInt(_0xf604c3(0x15e))/0x5+parseInt(_0xf604c3(0x152))/0x6*(-parseInt(_0xf604c3(0x15b))/0x7)+parseInt(_0xf604c3(0x158))/0x8+parseInt(_0xf604c3(0x15c))/0x9;if(_0x334af7===_0x175e80)break;else _0x26b5e8['push'](_0x26b5e8['shift']());}catch(_0x67eb98){_0x26b5e8['push'](_0x26b5e8['shift']());}}}(a58_0x2643,0xec500));import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a58_0x3130dc from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a58_0x3130dc{constructor(_0x100edf){const _0x223f0a=a58_0x4b20;super(),this[_0x223f0a(0x161)]='Polygon',_0x100edf&&_0x100edf[_0x223f0a(0x150)]>0x0&&getDeepth(_0x100edf)==0x2?this[_0x223f0a(0x155)](_0x100edf):this[_0x223f0a(0x159)](_0x100edf);}[a58_0x740393(0x160)](){const _0x1127f0=a58_0x740393;if(this[_0x1127f0(0x157)]['length']===0x2){let _0x4c6eb7=[],_0x152329=boundingExtent(this['points']),_0x2eadc2=fromExtent(_0x152329);_0x4c6eb7=_0x2eadc2[_0x1127f0(0x151)](),this['setCoordinates'](_0x4c6eb7);}}[a58_0x740393(0x156)](_0x20f093,_0x4da0ae){const _0x479ebd=a58_0x740393;_0x4da0ae>=0x0&&_0x4da0ae<this[_0x479ebd(0x157)]['length']&&(this['points'][_0x4da0ae]=_0x20f093,this['generate']());}[a58_0x740393(0x153)](_0x6efc52){const _0x32e6b6=a58_0x740393;this[_0x32e6b6(0x156)](_0x6efc52,this[_0x32e6b6(0x157)]['length']-0x1);}}function a58_0x4b20(_0x5f4d7d,_0x5473bc){const _0x2643f5=a58_0x2643();return a58_0x4b20=function(_0x4b2004,_0x5d0d44){_0x4b2004=_0x4b2004-0x150;let _0x7d3a15=_0x2643f5[_0x4b2004];return _0x7d3a15;},a58_0x4b20(_0x5f4d7d,_0x5473bc);}export default RectAngle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a59_0x12e8aa=a59_0x2c17;(function(_0x44c74f,_0x5b6b4c){var _0x2533b0=a59_0x2c17,_0x9fd327=_0x44c74f();while(!![]){try{var _0x5d8a08=-parseInt(_0x2533b0(0x160))/0x1*(-parseInt(_0x2533b0(0x15a))/0x2)+parseInt(_0x2533b0(0x165))/0x3*(-parseInt(_0x2533b0(0x169))/0x4)+-parseInt(_0x2533b0(0x173))/0x5+parseInt(_0x2533b0(0x16c))/0x6*(parseInt(_0x2533b0(0x164))/0x7)+parseInt(_0x2533b0(0x158))/0x8+-parseInt(_0x2533b0(0x16b))/0x9*(parseInt(_0x2533b0(0x15e))/0xa)+parseInt(_0x2533b0(0x170))/0xb;if(_0x5d8a08===_0x5b6b4c)break;else _0x9fd327['push'](_0x9fd327['shift']());}catch(_0x245f92){_0x9fd327['push'](_0x9fd327['shift']());}}}(a59_0x2cde,0x920af));import{LineString}from'ol/geom';function a59_0x2c17(_0x184fc2,_0x18f342){var _0x2cde1c=a59_0x2cde();return a59_0x2c17=function(_0x2c1757,_0x26641a){_0x2c1757=_0x2c1757-0x158;var _0x1e9714=_0x2cde1c[_0x2c1757];return _0x1e9714;},a59_0x2c17(_0x184fc2,_0x18f342);}import a59_0x2608f5 from'ol/format/GeoJSON';import a59_0x4c116a from'../../../mapView/Map';class Plot extends LineString{constructor(){super([]),this['points']=[];}[a59_0x12e8aa(0x15f)](){var _0x325956=a59_0x12e8aa;return this[_0x325956(0x161)];}[a59_0x12e8aa(0x15d)](){var _0x74c0ba=a59_0x12e8aa;return new a59_0x2608f5()[_0x74c0ba(0x166)](this);}[a59_0x12e8aa(0x16d)](_0x12df99){var _0x7f3298=a59_0x12e8aa;this[_0x7f3298(0x16a)]=JSON[_0x7f3298(0x171)](JSON['stringify'](_0x12df99));}['setMap'](_0x52cbc6){var _0x3d29d1=a59_0x12e8aa;if(_0x52cbc6&&_0x52cbc6 instanceof a59_0x4c116a)this[_0x3d29d1(0x168)]=_0x52cbc6;else throw new Error(_0x3d29d1(0x162));}[a59_0x12e8aa(0x16f)](){return this['map'];}[a59_0x12e8aa(0x15c)](){return!![];}['setPoints'](_0x227b5b){var _0x4eb18c=a59_0x12e8aa;this[_0x4eb18c(0x163)]=!_0x227b5b?[]:_0x227b5b,this[_0x4eb18c(0x163)][_0x4eb18c(0x15b)]>=0x1&&(this[_0x4eb18c(0x159)]&&this[_0x4eb18c(0x159)]());}[a59_0x12e8aa(0x159)](){}[a59_0x12e8aa(0x172)](){var _0xcbd2b9=a59_0x12e8aa;return this[_0xcbd2b9(0x163)]['slice'](0x0);}[a59_0x12e8aa(0x167)](){var _0x4453c5=a59_0x12e8aa;return this[_0x4453c5(0x163)]['length'];}[a59_0x12e8aa(0x16e)](){}}export default Plot;function a59_0x2cde(){var _0x22c3a4=['writeGeometryObject','getPointCount','map','13740NWzRao','style','81prBcoS','1047876HQZagv','setStyle','finishDrawing','getMap','35067274BJDePY','parse','getPoints','4564900JidqJS','3281280qMhtLG','generate','74416SCJhxA','length','isPlot','getGeoJson','1256530jWQZhh','getPlotType','1hTwqTY','type','传入的不是地图对象!','points','7dWXNSC','1020QvNELt'];a59_0x2cde=function(){return _0x22c3a4;};return a59_0x2cde();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a60_0x169a(){var _0x3c445a=['setStyle','8376746ZgaOnw','LineString','stringify','setCoordinates','2043207alVVzx','943356ThZMMW','9YrSxvf','24623448diyQGa','7754202hcKREe','length','points','24woopLG','parse','isPlot','872627LlNLIa','generate','updatePoint','112715HWSsYA'];a60_0x169a=function(){return _0x3c445a;};return a60_0x169a();}var a60_0x284344=a60_0x45a3;(function(_0x35583c,_0x1f1fd3){var _0x46690a=a60_0x45a3,_0x44df91=_0x35583c();while(!![]){try{var _0x241a1b=-parseInt(_0x46690a(0xa2))/0x1+parseInt(_0x46690a(0xac))/0x2+parseInt(_0x46690a(0xab))/0x3+-parseInt(_0x46690a(0xb2))/0x4*(parseInt(_0x46690a(0xa5))/0x5)+-parseInt(_0x46690a(0xaf))/0x6+-parseInt(_0x46690a(0xa7))/0x7+-parseInt(_0x46690a(0xae))/0x8*(-parseInt(_0x46690a(0xad))/0x9);if(_0x241a1b===_0x1f1fd3)break;else _0x44df91['push'](_0x44df91['shift']());}catch(_0x4c56fc){_0x44df91['push'](_0x44df91['shift']());}}}(a60_0x169a,0xb3234));import a60_0x2762c6 from'./BaseLine';function a60_0x45a3(_0x7c463,_0x868510){var _0x169a64=a60_0x169a();return a60_0x45a3=function(_0x45a3b9,_0x5b76f9){_0x45a3b9=_0x45a3b9-0xa0;var _0x446c22=_0x169a64[_0x45a3b9];return _0x446c22;},a60_0x45a3(_0x7c463,_0x868510);}class Polyline extends a60_0x2762c6{constructor(_0x479ee8){var _0x5ff7e9=a60_0x45a3;super(),this['type']=_0x5ff7e9(0xa8),this[_0x5ff7e9(0xaa)](_0x479ee8);}['generate'](){var _0x269c50=a60_0x45a3;this['setCoordinates'](this[_0x269c50(0xb1)]);}[a60_0x284344(0xa4)](_0x43b33d,_0xa6f056){var _0x3d7db0=a60_0x284344;_0xa6f056>=0x0&&_0xa6f056<this[_0x3d7db0(0xb1)][_0x3d7db0(0xb0)]&&(this[_0x3d7db0(0xb1)][_0xa6f056]=_0x43b33d,this[_0x3d7db0(0xa3)]());}['updateLastPoint'](_0xff116a){var _0x16f36f=a60_0x284344;this['updatePoint'](_0xff116a,this['points'][_0x16f36f(0xb0)]-0x1);}[a60_0x284344(0xa1)](){return![];}[a60_0x284344(0xa6)](_0x274cf4){var _0xffc211=a60_0x284344;this['style']=JSON[_0xffc211(0xa0)](JSON[_0xffc211(0xa9)](_0x274cf4));}}export default Polyline;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x17638c,_0x516e98){const _0xfb7f02=a55_0x27fa,_0x46a228=_0x17638c();while(!![]){try{const _0x2c3933=-parseInt(_0xfb7f02(0xe5))/0x1*(-parseInt(_0xfb7f02(0x100))/0x2)+-parseInt(_0xfb7f02(0xd4))/0x3+parseInt(_0xfb7f02(0x113))/0x4*(-parseInt(_0xfb7f02(0x109))/0x5)+-parseInt(_0xfb7f02(0xf0))/0x6+parseInt(_0xfb7f02(0x11c))/0x7*(-parseInt(_0xfb7f02(0x117))/0x8)+-parseInt(_0xfb7f02(0xe4))/0x9+-parseInt(_0xfb7f02(0x11f))/0xa*(-parseInt(_0xfb7f02(0xf4))/0xb);if(_0x2c3933===_0x516e98)break;else _0x46a228['push'](_0x46a228['shift']());}catch(_0x754a2e){_0x46a228['push'](_0x46a228['shift']());}}}(a55_0x5607,0xb572d));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a55_0x5ac67d from'ol/style/Style';import a55_0x1f2e3f from'ol/style/Circle';import a55_0x2ab0f6 from'ol/style/Fill';import a55_0x1b2b48 from'ol/style/Stroke';function getMainStyle(_0x59d1aa,_0x4a83fd=0x0,_0x1284ec){const _0x272cf8=a55_0x27fa;let _0x3f7283;return _0x59d1aa[_0x272cf8(0xed)]||_0x59d1aa[_0x272cf8(0x118)]?_0x3f7283=new a55_0x5ac67d({'renderer':(_0x195847,_0x4c6af7)=>{preLoadImageRenderFunction(_0x59d1aa,_0x195847,_0x4c6af7,_0x1284ec,_rendererFunction);},'zIndex':Number(_0x4a83fd)}):_0x3f7283=new a55_0x5ac67d({'image':new a55_0x1f2e3f({'radius':_0x59d1aa['radius']?_0x59d1aa['radius']:_0x59d1aa[_0x272cf8(0x115)],'fill':new a55_0x2ab0f6({'color':getColor(_0x59d1aa[_0x272cf8(0x101)],_0x59d1aa['opacity'])}),'stroke':_0x59d1aa['outline']&&_0x59d1aa[_0x272cf8(0x11d)]?new a55_0x1b2b48({'color':getColor(_0x59d1aa[_0x272cf8(0x11d)],_0x59d1aa[_0x272cf8(0x11a)]),'width':_0x59d1aa[_0x272cf8(0x120)]}):undefined}),'zIndex':Number(_0x4a83fd)}),_0x3f7283;}function _rendererFunction(_0x7ef32e,_0x38ce3e,_0x17dfd9,_0x20cdff,_0xff57b2){const _0x56a5a8=a55_0x27fa;if(!_0xff57b2||_0xff57b2[_0x56a5a8(0x102)]===0x0){let _0x2e270d=new Image();_0x2e270d[_0x56a5a8(0x106)]=_0x7ef32e[_0x56a5a8(0xed)];}if(_0x7ef32e[_0x56a5a8(0xfa)]&&_0x7ef32e['color']!==''){let _0x156812=_0x7ef32e[_0x56a5a8(0x111)]||0x1,_0x296433=_0x7ef32e['width']||_0xff57b2[_0x56a5a8(0x102)]*_0x156812,_0x40c21f=_0x7ef32e['height']||_0xff57b2[_0x56a5a8(0xf3)]*_0x156812;_0x296433=_0x296433*_0x17dfd9[_0x56a5a8(0xe1)],_0x40c21f=_0x40c21f*_0x17dfd9['pixelRatio'];const _0x3ddd53=document['createElement'](_0x56a5a8(0xeb));_0x3ddd53[_0x56a5a8(0x102)]=_0x296433,_0x3ddd53['height']=_0x40c21f;const _0x1e8903=_0x3ddd53['getContext']('2d');_0x1e8903===null||_0x1e8903===void 0x0?void 0x0:_0x1e8903[_0x56a5a8(0xe8)](_0xff57b2,0x0,0x0,_0x296433,_0x40c21f);let _0x6b9d6b=_0x1e8903===null||_0x1e8903===void 0x0?void 0x0:_0x1e8903[_0x56a5a8(0xf1)](0x0,0x0,_0x296433,_0x40c21f),_0x1bf225=_0x6b9d6b===null||_0x6b9d6b===void 0x0?void 0x0:_0x6b9d6b[_0x56a5a8(0xd8)];_0xff57b2=_0x3ddd53;let _0x1b5b38=HexToRgb(_0x7ef32e['color']);if(_0x1bf225&&_0x1b5b38)for(var _0x1354c7=0x0;_0x1354c7<_0x1bf225['length'];_0x1354c7+=0x4){_0x1bf225[_0x1354c7]=_0x1b5b38[0x0],_0x1bf225[_0x1354c7+0x1]=_0x1b5b38[0x1],_0x1bf225[_0x1354c7+0x2]=_0x1b5b38[0x2];}_0x6b9d6b&&(_0x1e8903===null||_0x1e8903===void 0x0?void 0x0:_0x1e8903[_0x56a5a8(0xdd)](_0x6b9d6b,0x0,0x0));}let _0x1773dc=_0x17dfd9[_0x56a5a8(0xe6)],_0x53c29a=_0x17dfd9['pixelRatio'],_0x398f5a=_0x1773dc[_0x56a5a8(0x112)](),_0x11ad9e=_0x1773dc[_0x56a5a8(0x10e)](),_0x43e992=[];switch(_0x11ad9e){case _0x56a5a8(0xe7):_0x43e992=_0x1773dc[_0x56a5a8(0xdf)]();break;case _0x56a5a8(0xf2):_0x43e992=_0x1773dc[_0x56a5a8(0xfc)](),_0x398f5a=0x2;break;case _0x56a5a8(0x105):_0x43e992=_0x1773dc['getFlatInteriorPoint'](),_0x398f5a=0x3;break;case _0x56a5a8(0xf8):{let _0x441b97=_0x1773dc[_0x56a5a8(0x108)]();_0x43e992=[];for(let _0x2bf60a=0x0,_0x2664a6=_0x441b97['length'];_0x2bf60a<_0x2664a6;_0x2bf60a+=0x3){_0x43e992['push'](_0x441b97[_0x2bf60a],_0x441b97[_0x2bf60a+0x1]);}if(_0x43e992[_0x56a5a8(0x103)]===0x0)return;_0x398f5a=0x2;break;}}if(_0x43e992[_0x56a5a8(0x103)]>0x0&&_0x20cdff)for(let _0x1a9b91=0x0,_0x2d5acf=_0x43e992[_0x56a5a8(0x103)];_0x1a9b91<_0x2d5acf;_0x1a9b91+=_0x398f5a){let _0x351bb4=[_0x43e992[_0x1a9b91],_0x43e992[_0x1a9b91+0x1]],_0x8345c5=_0x20cdff[_0x56a5a8(0xfd)](_0x351bb4);_0x8345c5=[_0x8345c5[0x0]*_0x53c29a,_0x8345c5[0x1]*_0x53c29a],drawImage(_0x7ef32e,_0x8345c5,_0x17dfd9,_0xff57b2);}else{if(_0x11ad9e===_0x56a5a8(0x119))for(let _0x4ed2b1 of _0x38ce3e){drawImage(_0x7ef32e,_0x4ed2b1,_0x17dfd9,_0xff57b2);}else drawImage(_0x7ef32e,_0x38ce3e,_0x17dfd9,_0xff57b2);}}function HexToRgb(_0x4ef533){const _0x2a626e=a55_0x27fa;_0x4ef533=_0x4ef533[_0x2a626e(0xff)]('#','');let _0x27ce8c=_0x4ef533[_0x2a626e(0x114)](/../g);if(_0x27ce8c){for(let _0x334cd0=0x0;_0x334cd0<0x3;_0x334cd0++)_0x27ce8c[_0x334cd0]=parseInt(_0x27ce8c[_0x334cd0],0x10);}return _0x27ce8c;}function a55_0x5607(){const _0x39ba27=['label','putImageData','parse','getFlatMidpoint','CENTER','pixelRatio','imgUrl','billboard','1078092gpTRBF','1028021LrKpZj','geometry','LineString','drawImage','text','restore','canvas','opacity','image','model/','point','4745364lkmzmY','getImageData','MultiLineString','height','77vbdgPg','translate','zIndex','context','MultiPolygon','pixelOffsetX','changeColor','LEFT','getFlatMidpoints','getPixelFromCoordinate','stringify','replace','2dyTYBC','color','width','length','rotation','Polygon','src','modelKind','getFlatInteriorPoints','83440tvYrhc','save','RIGHT','pixelOffset','globalAlpha','getType','show','verticalOrigin','scale','getStride','132wArYBg','match','pixelSize','push','2197336uvhGKR','markerColor','MultiPoint','outlineOpacity','.png','7FINwXx','outlineColor','horizontalOrigin','2184790wtgARm','outlineWidth','234324jRzDCQ','model','BOTTOM','rotate','data','TOP','warn','cloud'];a55_0x5607=function(){return _0x39ba27;};return a55_0x5607();}export function getImageOlStyle(_0x2d63e4,_0x8ee30e,_0x5550fe,_0x4fae4c){const _0x5c6fec=a55_0x27fa;var _0x46fb2a;if(_0x2d63e4&&_0x2d63e4['show']!==![]){_0x2d63e4=JSON[_0x5c6fec(0xde)](JSON[_0x5c6fec(0xfe)](_0x2d63e4)),_0x8ee30e=(_0x46fb2a=_0x2d63e4[_0x5c6fec(0xf6)])!==null&&_0x46fb2a!==void 0x0?_0x46fb2a:_0x8ee30e;let _0x6971=isShowStyle(_0x2d63e4,_0x5550fe,_0x4fae4c);if(_0x6971)return _0x2d63e4[_0x5c6fec(0xed)]=parseImage(_0x2d63e4[_0x5c6fec(0xed)]),getMainStyle(_0x2d63e4,_0x8ee30e,_0x4fae4c);}}export function getPointStyle(_0x42e3e7,_0x2e3e9e,_0x394ae6,_0x53c3ae){const _0xebe6f6=a55_0x27fa;var _0x15b3da,_0x34810b;_0x42e3e7=JSON[_0xebe6f6(0xde)](JSON['stringify'](_0x42e3e7));let _0x17315e=(_0x15b3da=_0x42e3e7[_0xebe6f6(0xf6)])!==null&&_0x15b3da!==void 0x0?_0x15b3da:0x0,_0x5c2e61=[],_0x40a7f9=getImageOlStyle(_0x42e3e7,_0x17315e,_0x394ae6,_0x53c3ae);_0x40a7f9&&_0x5c2e61[_0xebe6f6(0x116)](_0x40a7f9);let _0x52f913=getImageOlStyle(_0x42e3e7[_0xebe6f6(0xe3)],_0x17315e,_0x394ae6,_0x53c3ae);_0x52f913&&_0x5c2e61[_0xebe6f6(0x116)](_0x52f913);if(_0x42e3e7['model']&&_0x42e3e7['model'][_0xebe6f6(0x10f)]!==![]){let _0x24ae0d=isShowStyle(_0x42e3e7[_0xebe6f6(0xd5)],_0x394ae6,_0x53c3ae);if(_0x24ae0d){let _0x21b370=(_0x34810b=_0x42e3e7[_0xebe6f6(0xd5)]['zIndex'])!==null&&_0x34810b!==void 0x0?_0x34810b:_0x17315e,_0x1d20f0=_0x42e3e7[_0xebe6f6(0xd5)][_0xebe6f6(0xe2)]||_0xebe6f6(0xee)+_0x42e3e7['model'][_0xebe6f6(0x107)]+'.png';_0x42e3e7[_0xebe6f6(0x111)]=0x1,_0x42e3e7[_0xebe6f6(0x102)]=0x30,_0x42e3e7[_0xebe6f6(0xf3)]=0x30,_0x42e3e7['verticalOrigin']=_0xebe6f6(0xe0),_0x5c2e61[_0xebe6f6(0x116)](getMainStyle(_0x42e3e7[_0xebe6f6(0xd5)],_0x21b370,_0x53c3ae));}}if(_0x42e3e7[_0xebe6f6(0xdc)]&&_0x42e3e7[_0xebe6f6(0xdc)][_0xebe6f6(0x10f)]!==![]){let _0x90d528=new a55_0x5ac67d({'text':createTextStyle(_0x42e3e7[_0xebe6f6(0xdc)],_0x2e3e9e,_0x394ae6,_0x53c3ae),'zIndex':Number(_0x17315e)+0x1});_0x5c2e61[_0xebe6f6(0x116)](_0x90d528);}return _0x5c2e61;}export function getPointSingleStyle(_0x49f629,_0x5a4d7b,_0x171e59,_0x3b7c52){const _0x416ab4=a55_0x27fa;_0x5a4d7b=JSON['parse'](JSON[_0x416ab4(0xfe)](_0x5a4d7b));let _0x146292=_0x5a4d7b[_0x416ab4(0xdc)],_0x430a40;_0x146292&&(_0x430a40=_0x146292[_0x416ab4(0xe9)]?_0x146292[_0x416ab4(0xe9)]:'');if(_0x49f629==='billboard')return _0x5a4d7b['image']=parseImage(_0x5a4d7b[_0x416ab4(0xed)]),getPointStyle(_0x5a4d7b,_0x430a40,_0x171e59,_0x3b7c52);else{if(_0x49f629===_0x416ab4(0xd5)){let _0xf38e2a=_0x5a4d7b[_0x416ab4(0xe2)]||_0x416ab4(0xee)+_0x5a4d7b['modelKind']+_0x416ab4(0x11b);return _0x5a4d7b[_0x416ab4(0x111)]=0x1,_0x5a4d7b[_0x416ab4(0x102)]=0x30,_0x5a4d7b['height']=0x30,_0x5a4d7b[_0x416ab4(0x110)]='CENTER',getPointStyle(_0x5a4d7b,_0x430a40,_0x171e59,_0x3b7c52);}else{if(_0x49f629===_0x416ab4(0xdb))return getPointStyle(_0x5a4d7b,_0x430a40,_0x171e59,_0x3b7c52);else{if(_0x49f629===_0x416ab4(0xef))return getPointStyle(_0x5a4d7b,_0x430a40,_0x171e59,_0x3b7c52);else return _0x49f629===_0x416ab4(0xdc)?new a55_0x5ac67d({'text':createTextStyle(_0x5a4d7b,_0x5a4d7b[_0x416ab4(0xe9)],_0x171e59,_0x3b7c52),'zIndex':_0x5a4d7b['zIndex']}):getPointStyle(_0x5a4d7b,_0x430a40,_0x171e59,_0x3b7c52);}}}}function a55_0x27fa(_0x26f3f9,_0xe2b506){const _0x560732=a55_0x5607();return a55_0x27fa=function(_0x27fa2c,_0x25d7b){_0x27fa2c=_0x27fa2c-0xd4;let _0x224478=_0x560732[_0x27fa2c];return _0x224478;},a55_0x27fa(_0x26f3f9,_0xe2b506);}function drawImage(_0x42c6c0,_0x378258,_0x3ee7dd,_0x349355){const _0x5ceed5=a55_0x27fa;var _0x336026,_0x371581,_0x22f29a,_0x366018;let _0x24b923=_0x3ee7dd[_0x5ceed5(0xf7)];try{_0x24b923[_0x5ceed5(0x10a)]();let _0x374545=Number(_0x42c6c0[_0x5ceed5(0xf9)]||((_0x336026=_0x42c6c0[_0x5ceed5(0x10c)])===null||_0x336026===void 0x0?void 0x0:_0x336026[0x0])||0x0),_0x6f33e6=Number(_0x42c6c0['pixelOffsetY']||((_0x371581=_0x42c6c0[_0x5ceed5(0x10c)])===null||_0x371581===void 0x0?void 0x0:_0x371581[0x1])||0x0);_0x24b923[_0x5ceed5(0xf5)](_0x378258[0x0]+_0x374545,_0x378258[0x1]+_0x6f33e6);if(_0x42c6c0[_0x5ceed5(0x104)])_0x24b923[_0x5ceed5(0xd7)](toRadians(_0x42c6c0[_0x5ceed5(0x104)]));_0x24b923[_0x5ceed5(0x10d)]=_0x42c6c0[_0x5ceed5(0xec)]!=null?_0x42c6c0[_0x5ceed5(0xec)]:0x1;if(_0x349355['width']>0x0){let _0xd569a0=_0x42c6c0[_0x5ceed5(0x111)]||0x1,_0x344aee=_0x42c6c0['width']||_0x349355[_0x5ceed5(0x102)]*_0xd569a0,_0x1bfa41=_0x42c6c0['height']||_0x349355['height']*_0xd569a0;_0x344aee=_0x344aee*_0x3ee7dd[_0x5ceed5(0xe1)],_0x1bfa41=_0x1bfa41*_0x3ee7dd[_0x5ceed5(0xe1)];_0x42c6c0['changeColor']&&(_0x344aee=_0x349355[_0x5ceed5(0x102)],_0x1bfa41=_0x349355[_0x5ceed5(0xf3)]);let _0x4deb02;switch((_0x22f29a=_0x42c6c0[_0x5ceed5(0x11e)])===null||_0x22f29a===void 0x0?void 0x0:_0x22f29a['toUpperCase']()){default:case'CENTER':_0x4deb02=-_0x344aee/0x2;break;case _0x5ceed5(0xfb):_0x4deb02=0x0;break;case _0x5ceed5(0x10b):_0x4deb02=-_0x344aee;break;}let _0xf8a222;switch((_0x366018=_0x42c6c0[_0x5ceed5(0x110)])===null||_0x366018===void 0x0?void 0x0:_0x366018['toUpperCase']()){default:case _0x5ceed5(0xd6):_0xf8a222=-_0x1bfa41;break;case _0x5ceed5(0xe0):_0xf8a222=-_0x1bfa41/0x2;break;case _0x5ceed5(0xd9):_0xf8a222=0x0;break;}_0x24b923[_0x5ceed5(0xe8)](_0x349355,_0x4deb02,_0xf8a222,_0x344aee,_0x1bfa41);}else _0x24b923[_0x5ceed5(0xe8)](_0x349355,0x0,0x0);_0x24b923[_0x5ceed5(0xea)]();}catch(_0xf5ec46){_0x24b923[_0x5ceed5(0xea)](),console[_0x5ceed5(0xda)](_0xf5ec46);}}
|
|
1
|
+
(function(_0x1901d5,_0x4eb12c){const _0x3b5048=a63_0x3eea,_0x324dd7=_0x1901d5();while(!![]){try{const _0x21639c=-parseInt(_0x3b5048(0x20d))/0x1+-parseInt(_0x3b5048(0x1e7))/0x2*(-parseInt(_0x3b5048(0x1dc))/0x3)+-parseInt(_0x3b5048(0x1e8))/0x4+-parseInt(_0x3b5048(0x1ed))/0x5*(parseInt(_0x3b5048(0x1d5))/0x6)+parseInt(_0x3b5048(0x1e9))/0x7+-parseInt(_0x3b5048(0x1f1))/0x8+parseInt(_0x3b5048(0x1ef))/0x9;if(_0x21639c===_0x4eb12c)break;else _0x324dd7['push'](_0x324dd7['shift']());}catch(_0x5ea8bc){_0x324dd7['push'](_0x324dd7['shift']());}}}(a63_0x19f7,0xebbc2));import{parseImage}from'../utils/UrlUtil';function a63_0x3eea(_0x127602,_0x45ad96){const _0x19f781=a63_0x19f7();return a63_0x3eea=function(_0x3eeac6,_0x4fc7a1){_0x3eeac6=_0x3eeac6-0x1ca;let _0xb9a838=_0x19f781[_0x3eeac6];return _0xb9a838;},a63_0x3eea(_0x127602,_0x45ad96);}import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a63_0x37ec31 from'ol/style/Style';import a63_0x2a6ad3 from'ol/style/Circle';import a63_0xff49c4 from'ol/style/Fill';import a63_0x41cae8 from'ol/style/Stroke';function getMainStyle(_0x431f9d,_0x1043f1=0x0,_0x4c6fe9){const _0x55a75b=a63_0x3eea;let _0x53c86f;return _0x431f9d[_0x55a75b(0x201)]||_0x431f9d[_0x55a75b(0x1f3)]?_0x53c86f=new a63_0x37ec31({'renderer':(_0x1c3926,_0xf2f6bd)=>{preLoadImageRenderFunction(_0x431f9d,_0x1c3926,_0xf2f6bd,_0x4c6fe9,_rendererFunction);},'zIndex':Number(_0x1043f1)}):_0x53c86f=new a63_0x37ec31({'image':new a63_0x2a6ad3({'radius':_0x431f9d['radius']?_0x431f9d[_0x55a75b(0x1ce)]:_0x431f9d[_0x55a75b(0x200)],'fill':new a63_0xff49c4({'color':getColor(_0x431f9d[_0x55a75b(0x1fa)],_0x431f9d['opacity'])}),'stroke':_0x431f9d[_0x55a75b(0x1e6)]&&_0x431f9d[_0x55a75b(0x1fd)]?new a63_0x41cae8({'color':getColor(_0x431f9d['outlineColor'],_0x431f9d['outlineOpacity']),'width':_0x431f9d[_0x55a75b(0x20c)]}):undefined}),'zIndex':Number(_0x1043f1)}),_0x53c86f;}function _rendererFunction(_0x364f7e,_0x1ec6a8,_0x50323d,_0x120ed5,_0x44e962){const _0x4902ab=a63_0x3eea;if(!_0x44e962||_0x44e962[_0x4902ab(0x1cf)]===0x0){let _0x24ec57=new Image();_0x24ec57['src']=_0x364f7e[_0x4902ab(0x201)];}if(_0x364f7e[_0x4902ab(0x209)]&&_0x364f7e[_0x4902ab(0x1fa)]!==''){let _0x1e6e1a=_0x364f7e[_0x4902ab(0x1eb)]||0x1,_0x26cc0b=_0x364f7e[_0x4902ab(0x1cf)]||_0x44e962[_0x4902ab(0x1cf)]*_0x1e6e1a,_0x3908bf=_0x364f7e[_0x4902ab(0x1f5)]||_0x44e962[_0x4902ab(0x1f5)]*_0x1e6e1a;_0x26cc0b=_0x26cc0b*_0x50323d[_0x4902ab(0x1f6)],_0x3908bf=_0x3908bf*_0x50323d['pixelRatio'];const _0xa22ad6=document['createElement'](_0x4902ab(0x1d3));_0xa22ad6[_0x4902ab(0x1cf)]=_0x26cc0b,_0xa22ad6[_0x4902ab(0x1f5)]=_0x3908bf;const _0x416082=_0xa22ad6[_0x4902ab(0x1d6)]('2d');_0x416082===null||_0x416082===void 0x0?void 0x0:_0x416082['drawImage'](_0x44e962,0x0,0x0,_0x26cc0b,_0x3908bf);let _0x243276=_0x416082===null||_0x416082===void 0x0?void 0x0:_0x416082[_0x4902ab(0x1ea)](0x0,0x0,_0x26cc0b,_0x3908bf),_0xd42a26=_0x243276===null||_0x243276===void 0x0?void 0x0:_0x243276[_0x4902ab(0x1f9)];_0x44e962=_0xa22ad6;let _0x1e3226=HexToRgb(_0x364f7e[_0x4902ab(0x1fa)]);if(_0xd42a26&&_0x1e3226)for(var _0x5823b9=0x0;_0x5823b9<_0xd42a26[_0x4902ab(0x1d1)];_0x5823b9+=0x4){_0xd42a26[_0x5823b9]=_0x1e3226[0x0],_0xd42a26[_0x5823b9+0x1]=_0x1e3226[0x1],_0xd42a26[_0x5823b9+0x2]=_0x1e3226[0x2];}_0x243276&&(_0x416082===null||_0x416082===void 0x0?void 0x0:_0x416082['putImageData'](_0x243276,0x0,0x0));}let _0x195b94=_0x50323d[_0x4902ab(0x1d4)],_0x5b5690=_0x50323d[_0x4902ab(0x1f6)],_0x854b5d=_0x195b94[_0x4902ab(0x20f)](),_0x15e165=_0x195b94['getType'](),_0x393a42=[];switch(_0x15e165){case _0x4902ab(0x1fe):_0x393a42=_0x195b94[_0x4902ab(0x1cb)]();break;case _0x4902ab(0x1da):_0x393a42=_0x195b94['getFlatMidpoints'](),_0x854b5d=0x2;break;case _0x4902ab(0x1e4):_0x393a42=_0x195b94[_0x4902ab(0x208)](),_0x854b5d=0x3;break;case _0x4902ab(0x1db):{let _0x366a0c=_0x195b94[_0x4902ab(0x1e1)]();_0x393a42=[];for(let _0x13a56d=0x0,_0xa52747=_0x366a0c[_0x4902ab(0x1d1)];_0x13a56d<_0xa52747;_0x13a56d+=0x3){_0x393a42['push'](_0x366a0c[_0x13a56d],_0x366a0c[_0x13a56d+0x1]);}if(_0x393a42[_0x4902ab(0x1d1)]===0x0)return;_0x854b5d=0x2;break;}}if(_0x393a42[_0x4902ab(0x1d1)]>0x0&&_0x120ed5)for(let _0x497276=0x0,_0x36e881=_0x393a42[_0x4902ab(0x1d1)];_0x497276<_0x36e881;_0x497276+=_0x854b5d){let _0x47477a=[_0x393a42[_0x497276],_0x393a42[_0x497276+0x1]],_0x4c8dba=_0x120ed5[_0x4902ab(0x202)](_0x47477a);_0x4c8dba=[_0x4c8dba[0x0]*_0x5b5690,_0x4c8dba[0x1]*_0x5b5690],drawImage(_0x364f7e,_0x4c8dba,_0x50323d,_0x44e962);}else{if(_0x15e165===_0x4902ab(0x1d0))for(let _0x3b7e5d of _0x1ec6a8){drawImage(_0x364f7e,_0x3b7e5d,_0x50323d,_0x44e962);}else drawImage(_0x364f7e,_0x1ec6a8,_0x50323d,_0x44e962);}}function HexToRgb(_0x432d2b){const _0x33c594=a63_0x3eea;_0x432d2b=_0x432d2b[_0x33c594(0x1d8)]('#','');let _0x58932d=_0x432d2b[_0x33c594(0x1f2)](/../g);if(_0x58932d){for(let _0x4e5d74=0x0;_0x4e5d74<0x3;_0x4e5d74++)_0x58932d[_0x4e5d74]=parseInt(_0x58932d[_0x4e5d74],0x10);}return _0x58932d;}export function getImageOlStyle(_0x426136,_0x4c7602,_0x4b9d5c,_0x240c34){const _0x1dbb2a=a63_0x3eea;var _0x42700e;if(_0x426136&&_0x426136['show']!==![]){_0x426136=JSON[_0x1dbb2a(0x203)](JSON[_0x1dbb2a(0x1ec)](_0x426136)),_0x4c7602=(_0x42700e=_0x426136[_0x1dbb2a(0x1f7)])!==null&&_0x42700e!==void 0x0?_0x42700e:_0x4c7602;let _0x165666=isShowStyle(_0x426136,_0x4b9d5c,_0x240c34);if(_0x165666)return _0x426136[_0x1dbb2a(0x201)]=parseImage(_0x426136[_0x1dbb2a(0x201)]),getMainStyle(_0x426136,_0x4c7602,_0x240c34);}}export function getPointStyle(_0x5e7b72,_0x4e5bb0,_0x66b59,_0x481673){const _0x2409e5=a63_0x3eea;var _0x4ca472,_0x372753;_0x5e7b72=JSON[_0x2409e5(0x203)](JSON[_0x2409e5(0x1ec)](_0x5e7b72));let _0x5628b6=(_0x4ca472=_0x5e7b72[_0x2409e5(0x1f7)])!==null&&_0x4ca472!==void 0x0?_0x4ca472:0x0,_0x404dcf=[],_0x56d554=getImageOlStyle(_0x5e7b72,_0x5628b6,_0x66b59,_0x481673);_0x56d554&&_0x404dcf[_0x2409e5(0x205)](_0x56d554);let _0x3e96f5=getImageOlStyle(_0x5e7b72[_0x2409e5(0x1f4)],_0x5628b6,_0x66b59,_0x481673);_0x3e96f5&&_0x404dcf['push'](_0x3e96f5);if(_0x5e7b72[_0x2409e5(0x1ff)]&&_0x5e7b72[_0x2409e5(0x1ff)][_0x2409e5(0x1e0)]!==![]){let _0x158fe4=isShowStyle(_0x5e7b72[_0x2409e5(0x1ff)],_0x66b59,_0x481673);if(_0x158fe4){let _0x34f028=(_0x372753=_0x5e7b72[_0x2409e5(0x1ff)][_0x2409e5(0x1f7)])!==null&&_0x372753!==void 0x0?_0x372753:_0x5628b6,_0x46f5ad=_0x5e7b72[_0x2409e5(0x1ff)][_0x2409e5(0x1e3)]||_0x2409e5(0x1cc)+_0x5e7b72[_0x2409e5(0x1ff)][_0x2409e5(0x1d9)]+_0x2409e5(0x1cd);_0x5e7b72[_0x2409e5(0x1eb)]=0x1,_0x5e7b72[_0x2409e5(0x1cf)]=0x30,_0x5e7b72[_0x2409e5(0x1f5)]=0x30,_0x5e7b72['verticalOrigin']=_0x2409e5(0x1d2),_0x404dcf[_0x2409e5(0x205)](getMainStyle(_0x5e7b72[_0x2409e5(0x1ff)],_0x34f028,_0x481673));}}if(_0x5e7b72[_0x2409e5(0x1ee)]&&_0x5e7b72[_0x2409e5(0x1ee)][_0x2409e5(0x1e0)]!==![]){let _0x1d86f2=new a63_0x37ec31({'text':createTextStyle(_0x5e7b72[_0x2409e5(0x1ee)],_0x4e5bb0,_0x66b59,_0x481673),'zIndex':Number(_0x5628b6)+0x1});_0x404dcf[_0x2409e5(0x205)](_0x1d86f2);}return _0x404dcf;}export function getPointSingleStyle(_0x438013,_0xc1a764,_0x6cafd7,_0x3926d3){const _0x294a20=a63_0x3eea;_0xc1a764=JSON[_0x294a20(0x203)](JSON[_0x294a20(0x1ec)](_0xc1a764));let _0x2698d9=_0xc1a764[_0x294a20(0x1ee)],_0x59c54f;_0x2698d9&&(_0x59c54f=_0x2698d9['text']?_0x2698d9[_0x294a20(0x20a)]:'');if(_0x438013===_0x294a20(0x1f4))return _0xc1a764['image']=parseImage(_0xc1a764[_0x294a20(0x201)]),getPointStyle(_0xc1a764,_0x59c54f,_0x6cafd7,_0x3926d3);else{if(_0x438013===_0x294a20(0x1ff)){let _0x1c1268=_0xc1a764[_0x294a20(0x1e3)]||_0x294a20(0x1cc)+_0xc1a764[_0x294a20(0x1d9)]+_0x294a20(0x1cd);return _0xc1a764[_0x294a20(0x1eb)]=0x1,_0xc1a764[_0x294a20(0x1cf)]=0x30,_0xc1a764[_0x294a20(0x1f5)]=0x30,_0xc1a764[_0x294a20(0x1f8)]=_0x294a20(0x1d2),getPointStyle(_0xc1a764,_0x59c54f,_0x6cafd7,_0x3926d3);}else{if(_0x438013===_0x294a20(0x1fb))return getPointStyle(_0xc1a764,_0x59c54f,_0x6cafd7,_0x3926d3);else{if(_0x438013===_0x294a20(0x1d7))return getPointStyle(_0xc1a764,_0x59c54f,_0x6cafd7,_0x3926d3);else return _0x438013===_0x294a20(0x1ee)?new a63_0x37ec31({'text':createTextStyle(_0xc1a764,_0xc1a764[_0x294a20(0x20a)],_0x6cafd7,_0x3926d3),'zIndex':_0xc1a764[_0x294a20(0x1f7)]}):getPointStyle(_0xc1a764,_0x59c54f,_0x6cafd7,_0x3926d3);}}}}function drawImage(_0x575192,_0x13e9c7,_0x1a0698,_0x5f0931){const _0x2f1764=a63_0x3eea;var _0x5bf00c,_0x1df59d,_0xa9c018,_0x33916a;let _0x3550af=_0x1a0698[_0x2f1764(0x20b)];try{_0x3550af['save']();let _0x1d0daa=Number(_0x575192[_0x2f1764(0x204)]||((_0x5bf00c=_0x575192['pixelOffset'])===null||_0x5bf00c===void 0x0?void 0x0:_0x5bf00c[0x0])||0x0),_0x2725f3=Number(_0x575192['pixelOffsetY']||((_0x1df59d=_0x575192[_0x2f1764(0x1df)])===null||_0x1df59d===void 0x0?void 0x0:_0x1df59d[0x1])||0x0);_0x3550af['translate'](_0x13e9c7[0x0]+_0x1d0daa,_0x13e9c7[0x1]+_0x2725f3);if(_0x575192[_0x2f1764(0x1e5)])_0x3550af[_0x2f1764(0x20e)](toRadians(_0x575192[_0x2f1764(0x1e5)]));_0x3550af['globalAlpha']=_0x575192[_0x2f1764(0x1ca)]!=null?_0x575192[_0x2f1764(0x1ca)]:0x1;if(_0x5f0931[_0x2f1764(0x1cf)]>0x0){let _0x31f28e=_0x575192[_0x2f1764(0x1eb)]||0x1,_0x1b4047=_0x575192['width']||_0x5f0931[_0x2f1764(0x1cf)]*_0x31f28e,_0x610041=_0x575192['height']||_0x5f0931['height']*_0x31f28e;_0x1b4047=_0x1b4047*_0x1a0698['pixelRatio'],_0x610041=_0x610041*_0x1a0698[_0x2f1764(0x1f6)];_0x575192[_0x2f1764(0x209)]&&(_0x1b4047=_0x5f0931[_0x2f1764(0x1cf)],_0x610041=_0x5f0931[_0x2f1764(0x1f5)]);let _0x27d18c;switch((_0xa9c018=_0x575192[_0x2f1764(0x207)])===null||_0xa9c018===void 0x0?void 0x0:_0xa9c018[_0x2f1764(0x1de)]()){default:case'CENTER':_0x27d18c=-_0x1b4047/0x2;break;case _0x2f1764(0x1f0):_0x27d18c=0x0;break;case _0x2f1764(0x211):_0x27d18c=-_0x1b4047;break;}let _0x47f3cd;switch((_0x33916a=_0x575192[_0x2f1764(0x1f8)])===null||_0x33916a===void 0x0?void 0x0:_0x33916a[_0x2f1764(0x1de)]()){default:case _0x2f1764(0x206):_0x47f3cd=-_0x610041;break;case _0x2f1764(0x1d2):_0x47f3cd=-_0x610041/0x2;break;case _0x2f1764(0x210):_0x47f3cd=0x0;break;}_0x3550af['drawImage'](_0x5f0931,_0x27d18c,_0x47f3cd,_0x1b4047,_0x610041);}else _0x3550af[_0x2f1764(0x1e2)](_0x5f0931,0x0,0x0);_0x3550af[_0x2f1764(0x1fc)]();}catch(_0x495d85){_0x3550af[_0x2f1764(0x1fc)](),console[_0x2f1764(0x1dd)](_0x495d85);}}function a63_0x19f7(){const _0x47508b=['getPixelFromCoordinate','parse','pixelOffsetX','push','BOTTOM','horizontalOrigin','getFlatInteriorPoint','changeColor','text','context','outlineWidth','718789mMvWze','rotate','getStride','TOP','RIGHT','opacity','getFlatMidpoint','model/','.png','radius','width','MultiPoint','length','CENTER','canvas','geometry','4805094GXCKFv','getContext','point','replace','modelKind','MultiLineString','MultiPolygon','9Sqenln','warn','toUpperCase','pixelOffset','show','getFlatInteriorPoints','drawImage','imgUrl','Polygon','rotation','outline','1053758KKbneu','6697476JtMpmN','10240426HiOXQD','getImageData','scale','stringify','5aCaIdt','label','26478819jQXwRd','LEFT','14608552oMDRRi','match','markerColor','billboard','height','pixelRatio','zIndex','verticalOrigin','data','color','cloud','restore','outlineColor','LineString','model','pixelSize','image'];a63_0x19f7=function(){return _0x47508b;};return a63_0x19f7();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x1cf430,_0x3f99cd){const _0x5d4bb6=a56_0x1181,_0x59a2c6=_0x1cf430();while(!![]){try{const _0x41d90c=-parseInt(_0x5d4bb6(0x20a))/0x1*(-parseInt(_0x5d4bb6(0x1e3))/0x2)+parseInt(_0x5d4bb6(0x1f7))/0x3+-parseInt(_0x5d4bb6(0x1f4))/0x4*(-parseInt(_0x5d4bb6(0x1e5))/0x5)+parseInt(_0x5d4bb6(0x20e))/0x6+-parseInt(_0x5d4bb6(0x1f1))/0x7*(parseInt(_0x5d4bb6(0x1fa))/0x8)+parseInt(_0x5d4bb6(0x1ec))/0x9+parseInt(_0x5d4bb6(0x1f2))/0xa*(-parseInt(_0x5d4bb6(0x1ea))/0xb);if(_0x41d90c===_0x3f99cd)break;else _0x59a2c6['push'](_0x59a2c6['shift']());}catch(_0x289af1){_0x59a2c6['push'](_0x59a2c6['shift']());}}}(a56_0x5661,0x7745e));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(_0x24c7ba,_0x4f84fc,_0x2e89b6,_0x18bd65){const _0x386145=a56_0x1181;var _0x518105;let _0x2c2439=(_0x518105=_0x24c7ba[_0x386145(0x211)])!==null&&_0x518105!==void 0x0?_0x518105:0x0,_0x2bc8bf=new Style();_0x2bc8bf[_0x386145(0x207)](_0x2c2439),_0x2bc8bf[_0x386145(0x1de)](new Fill({'color':'rgba(0,0,0,0)'}));if(_0x24c7ba['fill']!==![]){if(!_0x24c7ba[_0x386145(0x1fe)]||_0x24c7ba['fillType']==='color')_0x2bc8bf[_0x386145(0x1de)](new Fill({'color':getColor(_0x24c7ba['color'],_0x24c7ba[_0x386145(0x1f9)])}));else{if(_0x24c7ba[_0x386145(0x1fe)]===_0x386145(0x1ef))_0x2bc8bf[_0x386145(0x1ee)]((_0x1c9595,_0x5847ba)=>{preLoadImageRenderFunction(_0x24c7ba,_0x1c9595,_0x5847ba,_0x18bd65,_rendererFunction);});else _0x24c7ba[_0x386145(0x1fe)]==='grid'||_0x24c7ba[_0x386145(0x1fe)]===_0x386145(0x213)||_0x24c7ba[_0x386145(0x1fe)]==='checkerboard'?_0x2bc8bf[_0x386145(0x1ee)]((_0x2ec6ad,_0x445507)=>{_rendererFunction(_0x24c7ba,_0x2ec6ad,_0x445507,_0x18bd65,null);}):_0x2bc8bf[_0x386145(0x1de)](new Fill({'color':getColor(_0x24c7ba[_0x386145(0x200)],_0x24c7ba['opacity'])}));}}_0x24c7ba['outline']!==![]&&_0x2bc8bf['setStroke'](new Stroke({'color':getColor(_0x24c7ba[_0x386145(0x204)],_0x24c7ba[_0x386145(0x202)]),'width':_0x24c7ba[_0x386145(0x1f0)]}));let _0x498888=[_0x2bc8bf];_0x24c7ba['billboard']&&!_0x24c7ba[_0x386145(0x1e8)][_0x386145(0x1e4)]&&(_0x24c7ba[_0x386145(0x1e8)]['verticalOrigin']='CENTER');let _0x5d9cf0=getImageOlStyle(_0x24c7ba[_0x386145(0x1e8)],_0x2c2439,_0x2e89b6,_0x18bd65);_0x5d9cf0&&_0x498888['push'](_0x5d9cf0);if(_0x24c7ba[_0x386145(0x1e1)]&&_0x24c7ba[_0x386145(0x1e1)][_0x386145(0x1ed)]!==![]){!_0x24c7ba['label'][_0x386145(0x1e4)]&&(_0x24c7ba['label'][_0x386145(0x1e4)]=_0x386145(0x205));let _0x1dd3ac=new Style({'text':createTextStyle(_0x24c7ba[_0x386145(0x1e1)],_0x4f84fc,_0x2e89b6,_0x18bd65),'zIndex':Number(_0x2c2439)+0x1});_0x498888['push'](_0x1dd3ac);}return _0x498888;}function _rendererFunction(_0x4e13b1,_0x17be69,_0x393b1c,_0x51186c,_0x2d393a){const _0x3440bf=a56_0x1181;try{var _0x1ae434=_0x393b1c['context'];for(var _0x2a62b3=0x0,_0x507096=_0x17be69['length'];_0x2a62b3<_0x507096;_0x2a62b3++){_0x1ae434[_0x3440bf(0x1dd)](),_0x1ae434[_0x3440bf(0x209)]();var _0x55831e=_0x17be69[_0x2a62b3];let _0x3fd5cf=boundingExtent(_0x55831e);_0x1ae434['translate'](_0x3fd5cf[0x0],_0x3fd5cf[0x1]);let _0x463204;switch(_0x4e13b1['fillType']){case _0x3440bf(0x1ef):_0x463204=_getImagePattern(_0x1ae434,_0x3fd5cf,_0x4e13b1,_0x2d393a);break;case _0x3440bf(0x1f3):_0x463204=_getGridPattern(_0x1ae434,_0x3fd5cf,_0x4e13b1);break;case _0x3440bf(0x213):_0x463204=_getStripePattern(_0x1ae434,_0x3fd5cf,_0x4e13b1);break;case _0x3440bf(0x1f5):_0x463204=_getCheckerBoardPattern(_0x1ae434,_0x3fd5cf,_0x4e13b1);break;default:_0x463204=_0x3440bf(0x215);break;}for(var _0x56da16=0x0,_0x2504f1=_0x55831e[_0x3440bf(0x1fb)];_0x56da16<_0x2504f1;_0x56da16++){var _0x1ebf2a=_0x55831e[_0x56da16];_0x56da16===0x0?_0x1ae434[_0x3440bf(0x1e7)](_0x1ebf2a[0x0]-_0x3fd5cf[0x0],_0x1ebf2a[0x1]-_0x3fd5cf[0x1]):_0x1ae434[_0x3440bf(0x20b)](_0x1ebf2a[0x0]-_0x3fd5cf[0x0],_0x1ebf2a[0x1]-_0x3fd5cf[0x1]);}_0x1ae434[_0x3440bf(0x201)](),_0x1ae434[_0x3440bf(0x1fc)]=_0x3440bf(0x215),_0x1ae434[_0x3440bf(0x20c)](),_0x1ae434[_0x3440bf(0x1fc)]=_0x463204,_0x1ae434['fill'](),_0x4e13b1[_0x3440bf(0x214)]?(_0x1ae434[_0x3440bf(0x1e9)]=getColor(_0x4e13b1[_0x3440bf(0x204)],_0x4e13b1['outlineOpacity']),_0x1ae434[_0x3440bf(0x1e2)]=_0x4e13b1[_0x3440bf(0x1f0)]):_0x1ae434[_0x3440bf(0x1e9)]='rgba(0,0,0,0.0)',_0x1ae434[_0x3440bf(0x216)](),_0x1ae434[_0x3440bf(0x1df)]();}}catch(_0x11e4d4){_0x1ae434[_0x3440bf(0x1df)](),console[_0x3440bf(0x212)](_0x11e4d4);}}function a56_0x5661(){const _0x5d1f90=['64946XueJPM','30kzMbTE','grid','1784ekvQlJ','checkerboard','stripe_oddcolor','1532220TWjosr','canvas','opacity','616qxCiQC','length','fillStyle','createElement','fillType','grid_lineCount','color','closePath','outlineOpacity','max','outlineColor','CENTER','drawImage','setZIndex','repeatX','beginPath','1xqmDbw','lineTo','fill','repeatY','2880894lUBzqP','globalAlpha','oddColor','zIndex','warn','stripe','outline','rgba(0,0,0,0.01)','stroke','checkerboard_repeat','width','src','repeat','createPattern','save','setFill','restore','getContext','label','lineWidth','226124pOeGJb','verticalOrigin','6210ciMLJh','height','moveTo','billboard','strokeStyle','3983166iQnXXG','stripe_repeat','5682447keBrYv','show','setRenderer','image','outlineWidth'];a56_0x5661=function(){return _0x5d1f90;};return a56_0x5661();}function _getImagePattern(_0x25ee39,_0x38d266,_0x11961a,_0x12523b){const _0x55e53d=a56_0x1181;if(!_0x12523b||_0x12523b[_0x55e53d(0x218)]===0x0){let _0x36f06f=new Image();_0x36f06f[_0x55e53d(0x219)]=_0x11961a[_0x55e53d(0x1ef)];}var _0x5dd74c=getSize(_0x38d266);const _0x50294d=document[_0x55e53d(0x1fd)](_0x55e53d(0x1f8)),_0xdc34f=_0x50294d[_0x55e53d(0x1e0)]('2d');return _0x50294d[_0x55e53d(0x218)]=Math['max'](_0x5dd74c[0x0]/_0x11961a[_0x55e53d(0x208)],0x1),_0x50294d[_0x55e53d(0x1e6)]=Math[_0x55e53d(0x203)](_0x5dd74c[0x1]/_0x11961a[_0x55e53d(0x20d)],0x1),_0xdc34f&&(_0xdc34f[_0x55e53d(0x20f)]=_0x11961a[_0x55e53d(0x1f9)],_0xdc34f[_0x55e53d(0x206)](_0x12523b,0x0,0x0,_0x50294d[_0x55e53d(0x218)],_0x50294d[_0x55e53d(0x1e6)])),_0x25ee39[_0x55e53d(0x1dc)](_0x50294d,_0x55e53d(0x1db));}function a56_0x1181(_0x571c6c,_0x26bbd2){const _0x566109=a56_0x5661();return a56_0x1181=function(_0x118103,_0x4a421e){_0x118103=_0x118103-0x1db;let _0x54ed2a=_0x566109[_0x118103];return _0x54ed2a;},a56_0x1181(_0x571c6c,_0x26bbd2);}function _getGridPattern(_0x2c5d9c,_0x1d1a7e,_0xe9017){const _0x3ad509=a56_0x1181;var _0x231a5a=getSize(_0x1d1a7e);const _0x5447bb=document[_0x3ad509(0x1fd)]('canvas'),_0x3f1014=_0x5447bb[_0x3ad509(0x1e0)]('2d');return _0x5447bb[_0x3ad509(0x218)]=Math['max'](_0x231a5a[0x0]/_0xe9017[_0x3ad509(0x1ff)],0x1),_0x5447bb[_0x3ad509(0x1e6)]=Math[_0x3ad509(0x203)](_0x231a5a[0x1]/_0xe9017[_0x3ad509(0x1ff)],0x1),_0x3f1014&&(_0x3f1014[_0x3ad509(0x1e9)]=getColor(_0xe9017[_0x3ad509(0x200)],_0xe9017[_0x3ad509(0x1f9)]),_0x3f1014[_0x3ad509(0x1e2)]=_0xe9017['grid_lineThickness']*0x4,_0x3f1014[_0x3ad509(0x209)](),_0x3f1014[_0x3ad509(0x1e7)](0x0,_0x5447bb['height']),_0x3f1014[_0x3ad509(0x20b)](_0x5447bb[_0x3ad509(0x218)],_0x5447bb[_0x3ad509(0x1e6)]),_0x3f1014[_0x3ad509(0x1e7)](_0x5447bb[_0x3ad509(0x218)],0x0),_0x3f1014['lineTo'](_0x5447bb['width'],_0x5447bb[_0x3ad509(0x1e6)]),_0x3f1014[_0x3ad509(0x216)]()),_0x2c5d9c[_0x3ad509(0x1dc)](_0x5447bb,_0x3ad509(0x1db));}function _getStripePattern(_0x1f2822,_0x15a507,_0x187827){const _0x181538=a56_0x1181;var _0x5d57e7=getSize(_0x15a507);const _0x21e243=document[_0x181538(0x1fd)]('canvas'),_0x254684=_0x21e243[_0x181538(0x1e0)]('2d');let _0x54ab5a=Math[_0x181538(0x203)](_0x5d57e7[0x1]/_0x187827[_0x181538(0x1eb)],0x1);return _0x21e243[_0x181538(0x218)]=_0x5d57e7[0x0],_0x21e243[_0x181538(0x1e6)]=_0x54ab5a*0x2,_0x254684&&(_0x254684['beginPath'](),_0x254684[_0x181538(0x1e7)](0x0,0x0),_0x254684['lineTo'](_0x21e243[_0x181538(0x218)],0x0),_0x254684[_0x181538(0x20b)](_0x21e243[_0x181538(0x218)],_0x54ab5a),_0x254684[_0x181538(0x20b)](0x0,_0x54ab5a),_0x254684['closePath'](),_0x254684[_0x181538(0x1fc)]=getColor(_0x187827[_0x181538(0x1f6)],_0x187827['opacity']),_0x254684['fill'](),_0x254684[_0x181538(0x209)](),_0x254684[_0x181538(0x1e7)](0x0,_0x54ab5a),_0x254684['lineTo'](_0x21e243['width'],_0x54ab5a),_0x254684[_0x181538(0x20b)](_0x21e243['width'],_0x54ab5a*0x2),_0x254684[_0x181538(0x20b)](0x0,_0x54ab5a*0x2),_0x254684['closePath'](),_0x254684['fillStyle']=getColor(_0x187827[_0x181538(0x200)],_0x187827[_0x181538(0x1f9)]),_0x254684[_0x181538(0x20c)]()),_0x1f2822['createPattern'](_0x21e243,_0x181538(0x1db));}function _getCheckerBoardPattern(_0x2a0a5f,_0x25da65,_0x34ede1){const _0x2be871=a56_0x1181;var _0x3b63af=getSize(_0x25da65);const _0xd465f8=document[_0x2be871(0x1fd)]('canvas'),_0x4e1981=_0xd465f8[_0x2be871(0x1e0)]('2d');let _0x13a17c=Math['max'](_0x3b63af[0x0]/_0x34ede1[_0x2be871(0x217)],0x1),_0x399960=Math[_0x2be871(0x203)](_0x3b63af[0x1]/_0x34ede1[_0x2be871(0x217)],0x1);return _0xd465f8['width']=_0x13a17c*0x2,_0xd465f8[_0x2be871(0x1e6)]=_0x399960*0x2,_0x4e1981&&(_0x4e1981['beginPath'](),_0x4e1981['moveTo'](0x0,0x0),_0x4e1981[_0x2be871(0x20b)](_0x13a17c,0x0),_0x4e1981[_0x2be871(0x20b)](_0x13a17c,_0x399960),_0x4e1981[_0x2be871(0x20b)](0x0,_0x399960),_0x4e1981['closePath'](),_0x4e1981[_0x2be871(0x1fc)]=getColor(_0x34ede1[_0x2be871(0x210)],_0x34ede1[_0x2be871(0x1f9)]),_0x4e1981['fill'](),_0x4e1981['beginPath'](),_0x4e1981[_0x2be871(0x1e7)](_0x13a17c,0x0),_0x4e1981[_0x2be871(0x20b)](_0xd465f8[_0x2be871(0x218)],0x0),_0x4e1981[_0x2be871(0x20b)](_0xd465f8[_0x2be871(0x218)],_0x399960),_0x4e1981[_0x2be871(0x20b)](_0x13a17c,_0x399960),_0x4e1981['closePath'](),_0x4e1981[_0x2be871(0x1fc)]=getColor(_0x34ede1[_0x2be871(0x200)],_0x34ede1[_0x2be871(0x1f9)]),_0x4e1981[_0x2be871(0x20c)](),_0x4e1981[_0x2be871(0x209)](),_0x4e1981[_0x2be871(0x1e7)](0x0,_0x399960),_0x4e1981[_0x2be871(0x20b)](_0x13a17c,_0x399960),_0x4e1981[_0x2be871(0x20b)](_0x13a17c,_0xd465f8[_0x2be871(0x1e6)]),_0x4e1981[_0x2be871(0x20b)](0x0,_0xd465f8[_0x2be871(0x1e6)]),_0x4e1981[_0x2be871(0x201)](),_0x4e1981['fillStyle']=getColor(_0x34ede1['color'],_0x34ede1['opacity']),_0x4e1981['fill'](),_0x4e1981[_0x2be871(0x209)](),_0x4e1981[_0x2be871(0x1e7)](_0x13a17c,_0x399960),_0x4e1981['lineTo'](_0xd465f8[_0x2be871(0x218)],_0x399960),_0x4e1981['lineTo'](_0xd465f8[_0x2be871(0x218)],_0xd465f8[_0x2be871(0x1e6)]),_0x4e1981[_0x2be871(0x20b)](_0x13a17c,_0xd465f8[_0x2be871(0x1e6)]),_0x4e1981[_0x2be871(0x201)](),_0x4e1981[_0x2be871(0x1fc)]=getColor(_0x34ede1[_0x2be871(0x210)],_0x34ede1[_0x2be871(0x1f9)]),_0x4e1981['fill']()),_0x2a0a5f['createPattern'](_0xd465f8,_0x2be871(0x1db));}
|
|
1
|
+
(function(_0x200e8d,_0x342f70){const _0x5926d7=a64_0x3154,_0x166781=_0x200e8d();while(!![]){try{const _0x4627fe=-parseInt(_0x5926d7(0x138))/0x1*(parseInt(_0x5926d7(0x12a))/0x2)+parseInt(_0x5926d7(0x13e))/0x3*(parseInt(_0x5926d7(0x116))/0x4)+parseInt(_0x5926d7(0x146))/0x5*(-parseInt(_0x5926d7(0x13f))/0x6)+-parseInt(_0x5926d7(0x10c))/0x7*(parseInt(_0x5926d7(0x11d))/0x8)+parseInt(_0x5926d7(0x11f))/0x9*(-parseInt(_0x5926d7(0x13a))/0xa)+-parseInt(_0x5926d7(0x113))/0xb+-parseInt(_0x5926d7(0x148))/0xc*(-parseInt(_0x5926d7(0x126))/0xd);if(_0x4627fe===_0x342f70)break;else _0x166781['push'](_0x166781['shift']());}catch(_0x3d1746){_0x166781['push'](_0x166781['shift']());}}}(a64_0x1456,0xda451));function a64_0x1456(){const _0x3f70c1=['769788GuqfeC','grid','show','lineTo','warn','setRenderer','strokeStyle','src','canvas','stripe','stripe_oddcolor','moveTo','stroke','context','4BuzqsS','setFill','1737940JbeXDG','fill','rgba(0,0,0,0)','rgba(0,0,0,0.01)','1194jWecuo','6OXhWmB','repeatX','opacity','outlineWidth','grid_lineThickness','fillType','CENTER','8424875YmWpuJ','closePath','10696236jsvXNZ','max','outline','save','restore','globalAlpha','color','rgba(0,0,0,0.0)','checkerboard_repeat','billboard','5558sGjnFD','label','stripe_repeat','beginPath','fillStyle','checkerboard','width','11032923pPAOAh','height','createPattern','128PZinnZ','repeat','setStroke','getContext','repeatY','outlineColor','image','17096NhriqX','oddColor','63tQHqHy','lineWidth','verticalOrigin','createElement','zIndex','grid_lineCount','translate','117GizclJ','push','setZIndex','length'];a64_0x1456=function(){return _0x3f70c1;};return a64_0x1456();}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(_0x5217c0,_0x4ded2e,_0x3469da,_0x254a40){const _0x204551=a64_0x3154;var _0x30e8ae;let _0x14bec=(_0x30e8ae=_0x5217c0[_0x204551(0x123)])!==null&&_0x30e8ae!==void 0x0?_0x30e8ae:0x0,_0x2f703d=new Style();_0x2f703d[_0x204551(0x128)](_0x14bec),_0x2f703d[_0x204551(0x139)](new Fill({'color':_0x204551(0x13c)}));if(_0x5217c0[_0x204551(0x13b)]!==![]){if(!_0x5217c0[_0x204551(0x144)]||_0x5217c0[_0x204551(0x144)]==='color')_0x2f703d[_0x204551(0x139)](new Fill({'color':getColor(_0x5217c0[_0x204551(0x14e)],_0x5217c0[_0x204551(0x141)])}));else{if(_0x5217c0[_0x204551(0x144)]===_0x204551(0x11c))_0x2f703d['setRenderer']((_0x554d64,_0x326f8b)=>{preLoadImageRenderFunction(_0x5217c0,_0x554d64,_0x326f8b,_0x254a40,_rendererFunction);});else _0x5217c0[_0x204551(0x144)]===_0x204551(0x12b)||_0x5217c0[_0x204551(0x144)]===_0x204551(0x133)||_0x5217c0[_0x204551(0x144)]==='checkerboard'?_0x2f703d[_0x204551(0x12f)]((_0x8a9fbd,_0x361494)=>{_rendererFunction(_0x5217c0,_0x8a9fbd,_0x361494,_0x254a40,null);}):_0x2f703d[_0x204551(0x139)](new Fill({'color':getColor(_0x5217c0[_0x204551(0x14e)],_0x5217c0[_0x204551(0x141)])}));}}_0x5217c0['outline']!==![]&&_0x2f703d[_0x204551(0x118)](new Stroke({'color':getColor(_0x5217c0[_0x204551(0x11b)],_0x5217c0['outlineOpacity']),'width':_0x5217c0[_0x204551(0x142)]}));let _0x3d3008=[_0x2f703d];_0x5217c0[_0x204551(0x10b)]&&!_0x5217c0[_0x204551(0x10b)][_0x204551(0x121)]&&(_0x5217c0[_0x204551(0x10b)]['verticalOrigin']='CENTER');let _0x258d89=getImageOlStyle(_0x5217c0['billboard'],_0x14bec,_0x3469da,_0x254a40);_0x258d89&&_0x3d3008[_0x204551(0x127)](_0x258d89);if(_0x5217c0[_0x204551(0x10d)]&&_0x5217c0[_0x204551(0x10d)][_0x204551(0x12c)]!==![]){!_0x5217c0[_0x204551(0x10d)]['verticalOrigin']&&(_0x5217c0[_0x204551(0x10d)]['verticalOrigin']=_0x204551(0x145));let _0x3c2da1=new Style({'text':createTextStyle(_0x5217c0['label'],_0x4ded2e,_0x3469da,_0x254a40),'zIndex':Number(_0x14bec)+0x1});_0x3d3008[_0x204551(0x127)](_0x3c2da1);}return _0x3d3008;}function _rendererFunction(_0x2f0c93,_0x5c84d7,_0x211b2d,_0x4d8a0e,_0xc154ce){const _0x57b765=a64_0x3154;try{var _0x4c0c05=_0x211b2d[_0x57b765(0x137)];for(var _0x30cafd=0x0,_0x3be119=_0x5c84d7[_0x57b765(0x129)];_0x30cafd<_0x3be119;_0x30cafd++){_0x4c0c05[_0x57b765(0x14b)](),_0x4c0c05[_0x57b765(0x10f)]();var _0x12c3fc=_0x5c84d7[_0x30cafd];let _0x2e23c9=boundingExtent(_0x12c3fc);_0x4c0c05[_0x57b765(0x125)](_0x2e23c9[0x0],_0x2e23c9[0x1]);let _0xd00c35;switch(_0x2f0c93[_0x57b765(0x144)]){case _0x57b765(0x11c):_0xd00c35=_getImagePattern(_0x4c0c05,_0x2e23c9,_0x2f0c93,_0xc154ce);break;case _0x57b765(0x12b):_0xd00c35=_getGridPattern(_0x4c0c05,_0x2e23c9,_0x2f0c93);break;case _0x57b765(0x133):_0xd00c35=_getStripePattern(_0x4c0c05,_0x2e23c9,_0x2f0c93);break;case _0x57b765(0x111):_0xd00c35=_getCheckerBoardPattern(_0x4c0c05,_0x2e23c9,_0x2f0c93);break;default:_0xd00c35=_0x57b765(0x13d);break;}for(var _0x37e1a5=0x0,_0x299f28=_0x12c3fc[_0x57b765(0x129)];_0x37e1a5<_0x299f28;_0x37e1a5++){var _0x15a4b4=_0x12c3fc[_0x37e1a5];_0x37e1a5===0x0?_0x4c0c05['moveTo'](_0x15a4b4[0x0]-_0x2e23c9[0x0],_0x15a4b4[0x1]-_0x2e23c9[0x1]):_0x4c0c05[_0x57b765(0x12d)](_0x15a4b4[0x0]-_0x2e23c9[0x0],_0x15a4b4[0x1]-_0x2e23c9[0x1]);}_0x4c0c05[_0x57b765(0x147)](),_0x4c0c05['fillStyle']='rgba(0,0,0,0.01)',_0x4c0c05[_0x57b765(0x13b)](),_0x4c0c05[_0x57b765(0x110)]=_0xd00c35,_0x4c0c05['fill'](),_0x2f0c93[_0x57b765(0x14a)]?(_0x4c0c05['strokeStyle']=getColor(_0x2f0c93[_0x57b765(0x11b)],_0x2f0c93['outlineOpacity']),_0x4c0c05[_0x57b765(0x120)]=_0x2f0c93[_0x57b765(0x142)]):_0x4c0c05[_0x57b765(0x130)]=_0x57b765(0x14f),_0x4c0c05[_0x57b765(0x136)](),_0x4c0c05[_0x57b765(0x14c)]();}}catch(_0x73c15b){_0x4c0c05['restore'](),console[_0x57b765(0x12e)](_0x73c15b);}}function _getImagePattern(_0x14ece2,_0x4487b4,_0xfd7537,_0x382a29){const _0x53fc8d=a64_0x3154;if(!_0x382a29||_0x382a29[_0x53fc8d(0x112)]===0x0){let _0x479525=new Image();_0x479525[_0x53fc8d(0x131)]=_0xfd7537[_0x53fc8d(0x11c)];}var _0x472d29=getSize(_0x4487b4);const _0x416bfa=document['createElement'](_0x53fc8d(0x132)),_0x50feea=_0x416bfa[_0x53fc8d(0x119)]('2d');return _0x416bfa[_0x53fc8d(0x112)]=Math[_0x53fc8d(0x149)](_0x472d29[0x0]/_0xfd7537[_0x53fc8d(0x140)],0x1),_0x416bfa[_0x53fc8d(0x114)]=Math[_0x53fc8d(0x149)](_0x472d29[0x1]/_0xfd7537[_0x53fc8d(0x11a)],0x1),_0x50feea&&(_0x50feea[_0x53fc8d(0x14d)]=_0xfd7537['opacity'],_0x50feea['drawImage'](_0x382a29,0x0,0x0,_0x416bfa[_0x53fc8d(0x112)],_0x416bfa[_0x53fc8d(0x114)])),_0x14ece2[_0x53fc8d(0x115)](_0x416bfa,_0x53fc8d(0x117));}function _getGridPattern(_0x47ca24,_0x2bc30e,_0xf024b6){const _0x52eac7=a64_0x3154;var _0x21c2f3=getSize(_0x2bc30e);const _0x13e3cb=document['createElement'](_0x52eac7(0x132)),_0x4cfdb4=_0x13e3cb[_0x52eac7(0x119)]('2d');return _0x13e3cb['width']=Math[_0x52eac7(0x149)](_0x21c2f3[0x0]/_0xf024b6[_0x52eac7(0x124)],0x1),_0x13e3cb[_0x52eac7(0x114)]=Math[_0x52eac7(0x149)](_0x21c2f3[0x1]/_0xf024b6[_0x52eac7(0x124)],0x1),_0x4cfdb4&&(_0x4cfdb4['strokeStyle']=getColor(_0xf024b6[_0x52eac7(0x14e)],_0xf024b6[_0x52eac7(0x141)]),_0x4cfdb4[_0x52eac7(0x120)]=_0xf024b6[_0x52eac7(0x143)]*0x4,_0x4cfdb4['beginPath'](),_0x4cfdb4['moveTo'](0x0,_0x13e3cb[_0x52eac7(0x114)]),_0x4cfdb4[_0x52eac7(0x12d)](_0x13e3cb[_0x52eac7(0x112)],_0x13e3cb[_0x52eac7(0x114)]),_0x4cfdb4['moveTo'](_0x13e3cb[_0x52eac7(0x112)],0x0),_0x4cfdb4['lineTo'](_0x13e3cb[_0x52eac7(0x112)],_0x13e3cb[_0x52eac7(0x114)]),_0x4cfdb4[_0x52eac7(0x136)]()),_0x47ca24[_0x52eac7(0x115)](_0x13e3cb,'repeat');}function a64_0x3154(_0x276f0c,_0x40d989){const _0x145665=a64_0x1456();return a64_0x3154=function(_0x315434,_0x5e092b){_0x315434=_0x315434-0x10b;let _0x2e81d0=_0x145665[_0x315434];return _0x2e81d0;},a64_0x3154(_0x276f0c,_0x40d989);}function _getStripePattern(_0x13d3b2,_0xc85a03,_0x19a469){const _0x3ea69d=a64_0x3154;var _0x55c5b9=getSize(_0xc85a03);const _0x589054=document['createElement'](_0x3ea69d(0x132)),_0x3faf39=_0x589054['getContext']('2d');let _0x15d3d2=Math['max'](_0x55c5b9[0x1]/_0x19a469[_0x3ea69d(0x10e)],0x1);return _0x589054[_0x3ea69d(0x112)]=_0x55c5b9[0x0],_0x589054['height']=_0x15d3d2*0x2,_0x3faf39&&(_0x3faf39[_0x3ea69d(0x10f)](),_0x3faf39[_0x3ea69d(0x135)](0x0,0x0),_0x3faf39['lineTo'](_0x589054[_0x3ea69d(0x112)],0x0),_0x3faf39['lineTo'](_0x589054[_0x3ea69d(0x112)],_0x15d3d2),_0x3faf39['lineTo'](0x0,_0x15d3d2),_0x3faf39[_0x3ea69d(0x147)](),_0x3faf39[_0x3ea69d(0x110)]=getColor(_0x19a469[_0x3ea69d(0x134)],_0x19a469[_0x3ea69d(0x141)]),_0x3faf39['fill'](),_0x3faf39[_0x3ea69d(0x10f)](),_0x3faf39['moveTo'](0x0,_0x15d3d2),_0x3faf39['lineTo'](_0x589054['width'],_0x15d3d2),_0x3faf39[_0x3ea69d(0x12d)](_0x589054[_0x3ea69d(0x112)],_0x15d3d2*0x2),_0x3faf39[_0x3ea69d(0x12d)](0x0,_0x15d3d2*0x2),_0x3faf39[_0x3ea69d(0x147)](),_0x3faf39[_0x3ea69d(0x110)]=getColor(_0x19a469[_0x3ea69d(0x14e)],_0x19a469[_0x3ea69d(0x141)]),_0x3faf39[_0x3ea69d(0x13b)]()),_0x13d3b2['createPattern'](_0x589054,_0x3ea69d(0x117));}function _getCheckerBoardPattern(_0x3f8cbc,_0x63f436,_0x2adc26){const _0x3a206a=a64_0x3154;var _0x5919af=getSize(_0x63f436);const _0xaef0d5=document[_0x3a206a(0x122)]('canvas'),_0x20e918=_0xaef0d5['getContext']('2d');let _0x5c6178=Math['max'](_0x5919af[0x0]/_0x2adc26[_0x3a206a(0x150)],0x1),_0x1323ac=Math[_0x3a206a(0x149)](_0x5919af[0x1]/_0x2adc26[_0x3a206a(0x150)],0x1);return _0xaef0d5[_0x3a206a(0x112)]=_0x5c6178*0x2,_0xaef0d5['height']=_0x1323ac*0x2,_0x20e918&&(_0x20e918[_0x3a206a(0x10f)](),_0x20e918[_0x3a206a(0x135)](0x0,0x0),_0x20e918[_0x3a206a(0x12d)](_0x5c6178,0x0),_0x20e918[_0x3a206a(0x12d)](_0x5c6178,_0x1323ac),_0x20e918[_0x3a206a(0x12d)](0x0,_0x1323ac),_0x20e918[_0x3a206a(0x147)](),_0x20e918[_0x3a206a(0x110)]=getColor(_0x2adc26[_0x3a206a(0x11e)],_0x2adc26[_0x3a206a(0x141)]),_0x20e918['fill'](),_0x20e918['beginPath'](),_0x20e918[_0x3a206a(0x135)](_0x5c6178,0x0),_0x20e918['lineTo'](_0xaef0d5[_0x3a206a(0x112)],0x0),_0x20e918['lineTo'](_0xaef0d5[_0x3a206a(0x112)],_0x1323ac),_0x20e918[_0x3a206a(0x12d)](_0x5c6178,_0x1323ac),_0x20e918[_0x3a206a(0x147)](),_0x20e918[_0x3a206a(0x110)]=getColor(_0x2adc26[_0x3a206a(0x14e)],_0x2adc26['opacity']),_0x20e918['fill'](),_0x20e918[_0x3a206a(0x10f)](),_0x20e918[_0x3a206a(0x135)](0x0,_0x1323ac),_0x20e918['lineTo'](_0x5c6178,_0x1323ac),_0x20e918[_0x3a206a(0x12d)](_0x5c6178,_0xaef0d5[_0x3a206a(0x114)]),_0x20e918[_0x3a206a(0x12d)](0x0,_0xaef0d5['height']),_0x20e918[_0x3a206a(0x147)](),_0x20e918[_0x3a206a(0x110)]=getColor(_0x2adc26['color'],_0x2adc26[_0x3a206a(0x141)]),_0x20e918[_0x3a206a(0x13b)](),_0x20e918[_0x3a206a(0x10f)](),_0x20e918[_0x3a206a(0x135)](_0x5c6178,_0x1323ac),_0x20e918['lineTo'](_0xaef0d5['width'],_0x1323ac),_0x20e918[_0x3a206a(0x12d)](_0xaef0d5[_0x3a206a(0x112)],_0xaef0d5[_0x3a206a(0x114)]),_0x20e918[_0x3a206a(0x12d)](_0x5c6178,_0xaef0d5[_0x3a206a(0x114)]),_0x20e918[_0x3a206a(0x147)](),_0x20e918[_0x3a206a(0x110)]=getColor(_0x2adc26[_0x3a206a(0x11e)],_0x2adc26['opacity']),_0x20e918[_0x3a206a(0x13b)]()),_0x3f8cbc[_0x3a206a(0x115)](_0xaef0d5,'repeat');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x22d74c,_0x7eb2c7){const _0xbe04c=a65_0x51de,_0x51aba0=_0x22d74c();while(!![]){try{const _0x4568ce=parseInt(_0xbe04c(0x179))/0x1+parseInt(_0xbe04c(0x17b))/0x2*(parseInt(_0xbe04c(0x19a))/0x3)+-parseInt(_0xbe04c(0x18f))/0x4*(-parseInt(_0xbe04c(0x17a))/0x5)+parseInt(_0xbe04c(0x19b))/0x6+-parseInt(_0xbe04c(0x185))/0x7*(-parseInt(_0xbe04c(0x198))/0x8)+-parseInt(_0xbe04c(0x17c))/0x9*(-parseInt(_0xbe04c(0x174))/0xa)+-parseInt(_0xbe04c(0x1a4))/0xb;if(_0x4568ce===_0x7eb2c7)break;else _0x51aba0['push'](_0x51aba0['shift']());}catch(_0x449f83){_0x51aba0['push'](_0x51aba0['shift']());}}}(a65_0x44a1,0xc54b8));import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x2ea67d,_0x938db7,_0x1f0bf3,_0x45addd){const _0xf2fd8d=a65_0x51de;var _0x21283b,_0x51446d,_0x598ac9;let _0x39d295=(_0x21283b=_0x2ea67d[_0xf2fd8d(0x1a5)])!==null&&_0x21283b!==void 0x0?_0x21283b:0x0;const _0x4e8d38=_0xf71f0a=>{const _0x4bf980=_0xf2fd8d;var _0x5cd051=_0xf71f0a[_0x4bf980(0x16d)]();if(_0x5cd051)return _getRealPolyline(_0x5cd051,_0x2ea67d);return _0x5cd051;},_0x551c71=_0x381786=>{const _0x18575a=_0xf2fd8d;var _0x394786=_0x381786[_0x18575a(0x16d)]();let _0x21708e=_0x394786;_0x394786&&(_0x21708e=_getRealPolyline(_0x394786,_0x2ea67d));if(_0x21708e&&_0x21708e['getType']()===_0x18575a(0x181))return new Point(_0x21708e[_0x18575a(0x17e)]());else{let _0x3f1e3e=_0x21708e[_0x18575a(0x17f)](),_0x44a643=0x2,_0x84b6be=[];for(let _0x44d2a6=0x0,_0xa481fa=_0x3f1e3e['length'];_0x44d2a6<_0xa481fa;_0x44d2a6+=_0x44a643){let _0x405c0a=[_0x3f1e3e[_0x44d2a6],_0x3f1e3e[_0x44d2a6+0x1]];_0x84b6be[_0x18575a(0x175)](_0x405c0a);}return new MultiPoint(_0x84b6be);}};let _0x35b878=new Style({'geometry':_0x4e8d38,'stroke':new Stroke({'color':getColor(_0x2ea67d[_0xf2fd8d(0x196)],_0x2ea67d[_0xf2fd8d(0x191)]),'width':_0x2ea67d[_0xf2fd8d(0x18e)]}),'zIndex':_0x39d295}),_0x3028a0=[_0x35b878];if(_0x2ea67d[_0xf2fd8d(0x193)]===_0xf2fd8d(0x180)){let _0x3adc8c=_0x2ea67d['outlineWidth']/0x2,_0x3f30ec=new Style({'geometry':_0x4e8d38,'zIndex':_0x39d295,'stroke':new Stroke({'color':getColor(_0x2ea67d[_0xf2fd8d(0x196)],_0x2ea67d[_0xf2fd8d(0x191)]),'width':_0x2ea67d[_0xf2fd8d(0x18e)],'lineCap':_0xf2fd8d(0x194),'lineDash':[_0x3adc8c,_0x3adc8c]})}),_0x394999=new Style({'geometry':_0x4e8d38,'zIndex':_0x39d295+0.5,'stroke':new Stroke({'color':getColor(_0x2ea67d[_0xf2fd8d(0x1a0)],Number((_0x598ac9=(_0x51446d=_0x2ea67d[_0xf2fd8d(0x176)])!==null&&_0x51446d!==void 0x0?_0x51446d:_0x2ea67d[_0xf2fd8d(0x191)])!==null&&_0x598ac9!==void 0x0?_0x598ac9:0x1)),'width':_0x2ea67d['width'],'lineCap':_0xf2fd8d(0x194),'lineDash':[_0x3adc8c,_0x3adc8c],'lineDashOffset':_0x3adc8c})});_0x3028a0=[_0x3f30ec,_0x394999];}_0x2ea67d[_0xf2fd8d(0x193)]==='arrow'&&_0x35b878[_0xf2fd8d(0x16f)]((_0x1eb210,_0x170d59)=>{const _0x145bc4=_0xf2fd8d;let _0x29a190=_0x170d59['context'],_0x49152c=parseInt((_0x2ea67d[_0x145bc4(0x18e)]/0x4)[_0x145bc4(0x19f)]()),_0x2e9529=0xa,_0x146fb6=Math[_0x145bc4(0x177)](Math[_0x145bc4(0x16e)](_0x2e9529,0x2)+Math[_0x145bc4(0x16e)](_0x2ea67d[_0x145bc4(0x18e)]/0x2,0x2)),_0x2606ab=0x2d,_0x4c5d33=_0x1eb210[_0x1eb210[_0x145bc4(0x187)]-0x2][0x0],_0x543277=_0x1eb210[_0x1eb210[_0x145bc4(0x187)]-0x2][0x1],_0x5e6f4c=_0x1eb210[_0x1eb210[_0x145bc4(0x187)]-0x1][0x0],_0x2559d0=_0x1eb210[_0x1eb210[_0x145bc4(0x187)]-0x1][0x1],_0x3bb678=Math['atan2'](_0x543277-_0x2559d0,_0x4c5d33-_0x5e6f4c)*0xb4/Math['PI'],_0x20b537=(_0x3bb678+_0x2606ab)*Math['PI']/0xb4,_0x8d2c4c=(_0x3bb678-_0x2606ab)*Math['PI']/0xb4,_0xccd122=_0x146fb6*Math[_0x145bc4(0x178)](_0x20b537),_0x202bd5=_0x146fb6*Math[_0x145bc4(0x190)](_0x20b537),_0x2b4b1a=_0x146fb6*Math[_0x145bc4(0x178)](_0x8d2c4c),_0x4eaf6d=_0x146fb6*Math[_0x145bc4(0x190)](_0x8d2c4c);_0x29a190[_0x145bc4(0x186)](),_0x29a190[_0x145bc4(0x18a)]();let _0x5be291,_0x1053fd;for(let _0xfe080b=0x0;_0xfe080b<_0x1eb210[_0x145bc4(0x187)];_0xfe080b++){_0xfe080b===0x0?_0x29a190['moveTo'](_0x1eb210[_0xfe080b][0x0],_0x1eb210[_0xfe080b][0x1]):_0x29a190[_0x145bc4(0x189)](_0x1eb210[_0xfe080b][0x0],_0x1eb210[_0xfe080b][0x1]);}_0x29a190[_0x145bc4(0x183)]=getColor(_0x2ea67d[_0x145bc4(0x196)],_0x2ea67d[_0x145bc4(0x191)]),_0x29a190[_0x145bc4(0x17d)]=_0x49152c,_0x29a190['lineCap']=_0x145bc4(0x194),_0x29a190['stroke'](),_0x5be291=_0x5e6f4c+_0xccd122,_0x1053fd=_0x2559d0+_0x202bd5,_0x29a190[_0x145bc4(0x19e)](_0x5be291,_0x1053fd),_0x29a190[_0x145bc4(0x189)](_0x5e6f4c,_0x2559d0),_0x5be291=_0x5e6f4c+_0x2b4b1a,_0x1053fd=_0x2559d0+_0x4eaf6d,_0x29a190[_0x145bc4(0x189)](_0x5be291,_0x1053fd),_0x29a190['lineCap']=_0x145bc4(0x194),_0x29a190['stroke'](),_0x29a190[_0x145bc4(0x188)]();});_0x2ea67d['lineType']==='glow'&&_0x35b878['setRenderer']((_0x26d580,_0x4f00e1)=>{const _0x75f18f=_0xf2fd8d;let _0x54d1f4=_0x4f00e1[_0x75f18f(0x18b)];_0x54d1f4[_0x75f18f(0x186)]();for(let _0x45b8b7=0x0;_0x45b8b7<0x4;_0x45b8b7++){let _0x32b7f3=_0x2ea67d[_0x75f18f(0x18e)]/0xa*(_0x2ea67d[_0x75f18f(0x18c)]===0x0?0x1:_0x2ea67d['glowPower']);_0x54d1f4[_0x75f18f(0x1a2)]=getColor(_0x2ea67d[_0x75f18f(0x196)],_0x2ea67d[_0x75f18f(0x191)]),_0x54d1f4[_0x75f18f(0x19c)]=_0x2ea67d['width']/0x5*0x2,_0x54d1f4[_0x75f18f(0x18a)]();for(let _0x1e8e6f=0x0;_0x1e8e6f<_0x26d580[_0x75f18f(0x187)];_0x1e8e6f++){_0x1e8e6f===0x0?_0x54d1f4[_0x75f18f(0x19e)](_0x26d580[_0x1e8e6f][0x0],_0x26d580[_0x1e8e6f][0x1]):_0x54d1f4[_0x75f18f(0x189)](_0x26d580[_0x1e8e6f][0x0],_0x26d580[_0x1e8e6f][0x1]);}_0x54d1f4['lineCap']=_0x75f18f(0x194),_0x54d1f4[_0x75f18f(0x17d)]=_0x32b7f3,_0x54d1f4[_0x75f18f(0x183)]=getColor(_0x75f18f(0x173),_0x2ea67d[_0x75f18f(0x191)]),_0x54d1f4[_0x75f18f(0x182)]();}_0x54d1f4[_0x75f18f(0x188)]();});_0x2ea67d[_0xf2fd8d(0x193)]===_0xf2fd8d(0x172)&&_0x35b878[_0xf2fd8d(0x16f)]((_0x250e2a,_0x42c5e2)=>{const _0x1ae5d5=_0xf2fd8d;let _0x350b78=_0x42c5e2[_0x1ae5d5(0x18b)];_0x350b78['save'](),_0x350b78[_0x1ae5d5(0x18a)]();for(let _0x302261=0x0;_0x302261<_0x250e2a['length'];_0x302261++){_0x302261===0x0?_0x350b78[_0x1ae5d5(0x19e)](_0x250e2a[_0x302261][0x0],_0x250e2a[_0x302261][0x1]):_0x350b78[_0x1ae5d5(0x189)](_0x250e2a[_0x302261][0x0],_0x250e2a[_0x302261][0x1]);}_0x350b78[_0x1ae5d5(0x18d)]=_0x1ae5d5(0x194),_0x350b78['lineWidth']=_0x2ea67d[_0x1ae5d5(0x18e)],_0x350b78[_0x1ae5d5(0x183)]=getColor(_0x2ea67d[_0x1ae5d5(0x1a0)],_0x2ea67d[_0x1ae5d5(0x191)]),_0x350b78['stroke'](),_0x350b78['beginPath']();for(let _0x2cefae=0x0;_0x2cefae<_0x250e2a[_0x1ae5d5(0x187)];_0x2cefae++){_0x2cefae===0x0?_0x350b78['moveTo'](_0x250e2a[_0x2cefae][0x0],_0x250e2a[_0x2cefae][0x1]):_0x350b78[_0x1ae5d5(0x189)](_0x250e2a[_0x2cefae][0x0],_0x250e2a[_0x2cefae][0x1]);}_0x350b78[_0x1ae5d5(0x18d)]=_0x1ae5d5(0x194),_0x2ea67d[_0x1ae5d5(0x192)]>=_0x2ea67d[_0x1ae5d5(0x18e)]&&(_0x2ea67d['outlineWidth']=_0x2ea67d[_0x1ae5d5(0x18e)]-0x1),_0x350b78[_0x1ae5d5(0x17d)]=_0x2ea67d['width']-_0x2ea67d[_0x1ae5d5(0x192)],_0x350b78[_0x1ae5d5(0x183)]=getColor(_0x2ea67d[_0x1ae5d5(0x196)],_0x2ea67d[_0x1ae5d5(0x191)]),_0x350b78[_0x1ae5d5(0x182)](),_0x350b78[_0x1ae5d5(0x188)]();});let _0x107e3e=getImageOlStyle(_0x2ea67d[_0xf2fd8d(0x19d)],_0x39d295,_0x1f0bf3,_0x45addd);_0x107e3e&&(_0x107e3e[_0xf2fd8d(0x170)](_0x551c71),_0x3028a0[_0xf2fd8d(0x175)](_0x107e3e));if(_0x2ea67d[_0xf2fd8d(0x184)]&&_0x2ea67d[_0xf2fd8d(0x184)][_0xf2fd8d(0x1a1)]!==![]){let _0x5b72b2=new Style({'geometry':_0x551c71,'text':createTextStyle(_0x2ea67d[_0xf2fd8d(0x184)],_0x938db7,_0x1f0bf3,_0x45addd),'zIndex':Number(_0x39d295)+0x1});_0x3028a0[_0xf2fd8d(0x175)](_0x5b72b2);}return _0x3028a0;}function a65_0x44a1(){const _0x5a4072=['10060YidIOR','push','outlineOpacity','sqrt','cos','1333810jpJcbj','25LHvOIl','310vqSBQw','13545lAzDKa','lineWidth','getFlatMidpoint','getFlatMidpoints','dash','LineString','stroke','strokeStyle','label','533183ThErnl','save','length','restore','lineTo','beginPath','context','glowPower','lineCap','width','113104GjxUwS','sin','opacity','outlineWidth','lineType','butt','concat','color','closed','64yOznaz','getFirstCoordinate','1173gdjVGs','9201288XMRnqI','shadowBlur','billboard','moveTo','toString','outlineColor','show','shadowColor','getCoordinates','48230655XmgLIx','zIndex','getGeometry','pow','setRenderer','setGeometry','getType','outline','white'];a65_0x44a1=function(){return _0x5a4072;};return a65_0x44a1();}function a65_0x51de(_0x453498,_0x5aeea5){const _0x44a116=a65_0x44a1();return a65_0x51de=function(_0x51dea6,_0x4c786c){_0x51dea6=_0x51dea6-0x16d;let _0xcdbab3=_0x44a116[_0x51dea6];return _0xcdbab3;},a65_0x51de(_0x453498,_0x5aeea5);}function _getRealPolyline(_0x197edd,_0x565c8b){const _0x1d6c6b=a65_0x51de;if(!(_0x565c8b===null||_0x565c8b===void 0x0?void 0x0:_0x565c8b[_0x1d6c6b(0x197)]))return _0x197edd;else{if(_0x197edd[_0x1d6c6b(0x171)]()==='MultiLineString'){let _0x35d592=_0x197edd[_0x1d6c6b(0x1a3)]();for(let _0x166b62 in _0x35d592){let _0x866175=_0x35d592[_0x166b62];_0x35d592[_0x166b62]=_0x866175[_0x1d6c6b(0x195)]([_0x866175[0x0]]);}return new MultiLineString(_0x35d592);}else return new LineString(_0x197edd[_0x1d6c6b(0x1a3)]()[_0x1d6c6b(0x195)]([_0x197edd[_0x1d6c6b(0x199)]()]));}}
|
package/style/StyleManager.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2c8e35,_0x440d32){const _0x303992=a66_0x1ad0,_0x50fc88=_0x2c8e35();while(!![]){try{const _0x8d3dbd=parseInt(_0x303992(0xa8))/0x1+parseInt(_0x303992(0xaa))/0x2+-parseInt(_0x303992(0x9d))/0x3+parseInt(_0x303992(0xa6))/0x4+-parseInt(_0x303992(0xa1))/0x5*(-parseInt(_0x303992(0xa2))/0x6)+-parseInt(_0x303992(0x98))/0x7+-parseInt(_0x303992(0x9e))/0x8;if(_0x8d3dbd===_0x440d32)break;else _0x50fc88['push'](_0x50fc88['shift']());}catch(_0x3921ea){_0x50fc88['push'](_0x50fc88['shift']());}}}(a66_0x1e28,0x6ba26));import a66_0x1b2ace from'ol/style/Circle';import a66_0x403ef5 from'ol/style/Fill';import a66_0x595353 from'ol/style/Stroke';function a66_0x1ad0(_0x46792e,_0x16b2e0){const _0x1e284f=a66_0x1e28();return a66_0x1ad0=function(_0x1ad09a,_0x370763){_0x1ad09a=_0x1ad09a-0x96;let _0x467181=_0x1e284f[_0x1ad09a];return _0x467181;},a66_0x1ad0(_0x46792e,_0x16b2e0);}import a66_0x41c7e8 from'ol/style/Style';import{createTextStyle,getColor}from'./common';export function getSelectPointStyle(){const _0x9d6220=a66_0x1ad0;return new a66_0x41c7e8({'image':new a66_0x1b2ace({'radius':0x5,'fill':new a66_0x403ef5({'color':_0x9d6220(0x9a)}),'stroke':new a66_0x595353({'color':_0x9d6220(0x9a),'width':0x1})})});}export function getSelectCancePointStyle(){const _0xf09a24=a66_0x1ad0;return new a66_0x41c7e8({'image':new a66_0x1b2ace({'radius':0x5,'fill':new a66_0x403ef5({'color':_0xf09a24(0x9b)}),'stroke':new a66_0x595353({'color':_0xf09a24(0x9a),'width':0x1})})});}export function getSelectLineStyle(){const _0x374096=a66_0x1ad0;return new a66_0x41c7e8({'stroke':new a66_0x595353({'color':_0x374096(0x9a),'width':0x2})});}export function getSelectCancelLineStyle(){const _0xfb17d4=a66_0x1ad0;return new a66_0x41c7e8({'stroke':new a66_0x595353({'color':_0xfb17d4(0x97),'width':0x2})});}export function getSelectPolygonStyle(){const _0x1602c6=a66_0x1ad0;return new a66_0x41c7e8({'stroke':new a66_0x595353({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x2}),'fill':new a66_0x403ef5({'color':_0x1602c6(0x99)})});}export function getSelectCancelPolygonStyle(){return new a66_0x41c7e8({'stroke':new a66_0x595353({'color':'rgba(0,\x20255,0,\x201)','width':0x2}),'fill':new a66_0x403ef5({'color':'rgba(0,\x20255,0,\x200)'})});}function a66_0x1e28(){const _0x2250f6=['outlineOpacity','fill','2040032ZmuuTh','text','613472xUAfsH','color','591420XtfFvY','opacity','rgba(0,\x20255,0,\x201)','1206303XFuAww','rgba(121,\x20243,\x20238,\x200.3)','rgba(121,\x20243,\x20238,\x201)','rgba(121,\x20243,\x20238,\x200)','outlineWidth','252570GHEyMc','12613536QpQzdJ','outlineColor','setStroke','5945OimSsa','4314XxbGad','setFill'];a66_0x1e28=function(){return _0x2250f6;};return a66_0x1e28();}export function getStyle(_0x239bbe){const _0x47bcc8=a66_0x1ad0;if(_0x239bbe){if(_0x239bbe[_0x47bcc8(0xa7)])return new a66_0x41c7e8({'text':createTextStyle(_0x239bbe,_0x239bbe[_0x47bcc8(0xa7)]),'zIndex':0x1});else{const _0x4cd445=new a66_0x41c7e8();return _0x239bbe['outlineColor']&&_0x4cd445[_0x47bcc8(0xa0)](new a66_0x595353({'color':getColor(_0x239bbe[_0x47bcc8(0x9f)],_0x239bbe[_0x47bcc8(0xa4)]),'width':_0x239bbe[_0x47bcc8(0x9c)]||0x1})),_0x239bbe[_0x47bcc8(0xa9)]&&_0x4cd445[_0x47bcc8(0xa3)](new a66_0x403ef5({'color':getColor(_0x239bbe[_0x47bcc8(0xa5)],_0x239bbe[_0x47bcc8(0x96)])})),_0x4cd445;}}return new a66_0x41c7e8({'stroke':new a66_0x595353({'color':_0x47bcc8(0x9a),'width':0x2}),'fill':new a66_0x403ef5({'color':'rgba(121,\x20243,\x20238,\x200.3)'})});}
|
package/style/common.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x19a1a3,_0x150f4b){const _0x282f27=a62_0x1593,_0x52b17d=_0x19a1a3();while(!![]){try{const _0x1485b1=-parseInt(_0x282f27(0x164))/0x1*(-parseInt(_0x282f27(0x173))/0x2)+parseInt(_0x282f27(0x15e))/0x3*(parseInt(_0x282f27(0x14c))/0x4)+-parseInt(_0x282f27(0x14d))/0x5+-parseInt(_0x282f27(0x15a))/0x6*(parseInt(_0x282f27(0x158))/0x7)+-parseInt(_0x282f27(0x159))/0x8*(parseInt(_0x282f27(0x156))/0x9)+-parseInt(_0x282f27(0x167))/0xa*(parseInt(_0x282f27(0x15f))/0xb)+parseInt(_0x282f27(0x162))/0xc*(parseInt(_0x282f27(0x161))/0xd);if(_0x1485b1===_0x150f4b)break;else _0x52b17d['push'](_0x52b17d['shift']());}catch(_0x22b47d){_0x52b17d['push'](_0x52b17d['shift']());}}}(a62_0x581f,0xb7d59));function a62_0x1593(_0x29e3ee,_0x1c824a){const _0x581f73=a62_0x581f();return a62_0x1593=function(_0x1593be,_0xf70b68){_0x1593be=_0x1593be-0x14b;let _0x339d67=_0x581f73[_0x1593be];return _0x339d67;},a62_0x1593(_0x29e3ee,_0x1c824a);}import a62_0x45ca17 from'color';import{Fill,Icon,Stroke,Text}from'ol/style';import a62_0x481782 from'../utils/plug/canvas/PinIcon';function a62_0x581f(){const _0x2e669e=['outline','family','pow','54KoTHnn','px\x20','distanceDisplayFar','listenImageChange','8hcBmWl','299265zqfPTm','LOADED','alpha','textBaseline','weight','center','getImageState','size','markerColor','109161AWeCLC','getView','14MPjZtp','8dBvCfb','3302886JPRoIn','getImage','outlineColor','offsetX','76047lBHFBZ','607090wKBXAG','image','2783950AJOPmJ','156uzFUhd','border_color','1093kmFUpD','offsetY','IDLE','170LBRVvB','ERROR','distanceDisplayNear','normal','opacity','color','font','#2A2A2A','border'];a62_0x581f=function(){return _0x2e669e;};return a62_0x581f();}import a62_0x42e28f from'ol/ImageState';export function isShowStyle(_0x1b3ff6,_0x1d0be4,_0x4f584c){const _0x4ab462=a62_0x1593;let _0x28dbdd=!![];if(_0x1d0be4==undefined||_0x4f584c==undefined)return _0x28dbdd;if(_0x1b3ff6&&typeof _0x1b3ff6[_0x4ab462(0x175)]!=undefined&&typeof _0x1b3ff6['distanceDisplayNear']!=undefined){if(_0x1b3ff6[_0x4ab462(0x175)]&&_0x4f584c){_0x28dbdd=![];let _0x41a682=getLevel(_0x1b3ff6[_0x4ab462(0x175)]),_0x5c2915=_0x4f584c[_0x4ab462(0x157)]()['getResolutionForZoom'](_0x41a682);_0x1d0be4<_0x5c2915&&(_0x28dbdd=!![]);}if(_0x28dbdd&&_0x1b3ff6[_0x4ab462(0x169)]&&_0x4f584c){_0x28dbdd=![];let _0x3b8d52=getLevel(_0x1b3ff6[_0x4ab462(0x169)]),_0xd56bbb=_0x4f584c['getView']()['getResolutionForZoom'](_0x3b8d52);_0x1d0be4>_0xd56bbb&&(_0x28dbdd=!![]);}}return _0x28dbdd;}export function getLevel(_0x50786a){const _0x4ae1d4=a62_0x1593,_0x4ab28e=3252.745,_0x23b24b=0.0009198301,_0x52862a=52977.61,_0x5575fc=-3228.107;return _0x5575fc+(_0x4ab28e-_0x5575fc)/(0x1+Math[_0x4ae1d4(0x172)](_0x50786a/_0x52862a,_0x23b24b));}export function toRadians(_0x272a2b){if(_0x272a2b)return-(_0x272a2b*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x16bc9a,_0x9f5cf5,_0x5b1d6c,_0x3486db){const _0x4cdf16=a62_0x1593;if(_0x16bc9a){let _0x168ce3=isShowStyle(_0x16bc9a,_0x5b1d6c,_0x3486db);if(_0x168ce3===![])return undefined;else{const _0x1c996f=_0x16bc9a[_0x4cdf16(0x16d)],_0x3ec3d4=(_0x1c996f===null||_0x1c996f===void 0x0?void 0x0:_0x1c996f['italic'])?'italic':_0x4cdf16(0x16a),_0x597442=(_0x1c996f===null||_0x1c996f===void 0x0?void 0x0:_0x1c996f[_0x4cdf16(0x151)])?'bold':_0x4cdf16(0x16a),_0x40f48f=(_0x1c996f===null||_0x1c996f===void 0x0?void 0x0:_0x1c996f[_0x4cdf16(0x154)])||'25',_0x281d69=(_0x1c996f===null||_0x1c996f===void 0x0?void 0x0:_0x1c996f[_0x4cdf16(0x171)])||'楷体';let _0x2f0399=_0x3ec3d4+'\x20normal\x20'+_0x597442+'\x20'+_0x40f48f+_0x4cdf16(0x174)+_0x281d69,_0x2b2833=(_0x1c996f===null||_0x1c996f===void 0x0?void 0x0:_0x1c996f[_0x4cdf16(0x15d)])||0x0,_0x637e2d=(_0x1c996f===null||_0x1c996f===void 0x0?void 0x0:_0x1c996f[_0x4cdf16(0x165)])||0x0,_0x35857f=(_0x1c996f===null||_0x1c996f===void 0x0?void 0x0:_0x1c996f[_0x4cdf16(0x150)])||'middle',_0x15f6b0=(_0x1c996f===null||_0x1c996f===void 0x0?void 0x0:_0x1c996f['textAlign'])||_0x4cdf16(0x152);const _0x1e4e5f=_0x16bc9a[_0x4cdf16(0x16b)]||0x1;return new Text({'text':_0x9f5cf5,'font':_0x2f0399,'offsetX':_0x2b2833,'offsetY':_0x637e2d,'textAlign':_0x15f6b0,'textBaseline':_0x35857f,'fill':new Fill({'color':getColor(_0x16bc9a[_0x4cdf16(0x16c)],_0x1e4e5f)}),'stroke':_getLabelStroke(_0x16bc9a),'backgroundFill':_0x16bc9a['fill']?new Fill({'color':getColor(_0x16bc9a['fill']||_0x4cdf16(0x16e),_0x1e4e5f)}):undefined});}}else return undefined;}export function getColor(_0xf19032,_0x3d9ac1){const _0x2703b8=a62_0x1593;return a62_0x45ca17(_0xf19032)[_0x2703b8(0x14f)](_0x3d9ac1!=undefined?_0x3d9ac1:0x1)['hexa']();}function _getLabelStroke(_0x3a8ae9){const _0x12ab3f=a62_0x1593;if(_0x3a8ae9[_0x12ab3f(0x16f)])return new Stroke({'color':getColor(_0x3a8ae9[_0x12ab3f(0x163)],_0x3a8ae9['opacity']),'width':_0x3a8ae9['border_width']});if(_0x3a8ae9[_0x12ab3f(0x170)])return new Stroke({'color':getColor(_0x3a8ae9[_0x12ab3f(0x15c)],_0x3a8ae9[_0x12ab3f(0x16b)]),'width':_0x3a8ae9['outlineWidth']});}export function preLoadImageRenderFunction(_0x14adae,_0x50965a,_0x38d21a,_0x4dd0dc,_0x5f0f91){const _0x3401fc=a62_0x1593;let _0x344aca;_0x14adae[_0x3401fc(0x155)]?_0x344aca=new a62_0x481782(_0x14adae):_0x344aca=new Icon({'src':_0x14adae[_0x3401fc(0x160)]});let _0x1c2415=_0x344aca[_0x3401fc(0x153)]();_0x1c2415===a62_0x42e28f[_0x3401fc(0x14e)]||_0x1c2415===a62_0x42e28f[_0x3401fc(0x168)]?_0x5f0f91(_0x14adae,_0x50965a,_0x38d21a,_0x4dd0dc,_0x344aca['getImage'](0x60)):(_0x1c2415===a62_0x42e28f[_0x3401fc(0x166)]&&_0x344aca['load'](),_0x344aca[_0x3401fc(0x14b)](_0xf667fc=>{const _0x368989=_0x3401fc;_0x1c2415=_0xf667fc['target'][_0x368989(0x153)](),(_0x1c2415===a62_0x42e28f[_0x368989(0x14e)]||_0x1c2415===a62_0x42e28f[_0x368989(0x168)])&&_0x5f0f91(_0x14adae,_0x50965a,_0x38d21a,_0x4dd0dc,_0x344aca[_0x368989(0x15b)](0x60));}));}
|
package/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root,:host{--ol-background-color: white;--ol-accent-background-color: #F5F5F5;--ol-subtle-background-color: rgba(128, 128, 128, .25);--ol-partial-background-color: rgba(255, 255, 255, .75);--ol-foreground-color: #333333;--ol-subtle-foreground-color: #666666;--ol-brand-color: #00AAFF}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{width:1px;height:15px;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:10px;z-index:11;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-text{position:absolute;font-size:12px;text-align:center;bottom:25px;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-viewport canvas{all:unset;overflow:hidden}.ol-viewport{touch-action:pan-x pan-y}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:4px}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:var(--ol-subtle-foreground-color);font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;outline:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:var(--ol-foreground-color);text-shadow:0 0 2px var(--ol-background-color);font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);height:150px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:1.5px dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}.ol-scroll-layer{position:absolute;z-index:882128;background:#000}.ol-scroll-layer-vertical{width:1px;cursor:col-resize;left:50%;top:0;bottom:0}input[type=range]{margin-top:8px;outline:none;-webkit-appearance:none;width:99%!important;background:-webkit-linear-gradient(#61bd12,#61bd12) no-repeat,#ddd;background-size:100% 100%;height:0px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;height:32px;width:32px;background:#fff;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAABlBMVEV9fX3///+Kct39AAAAAnRSTlP/AOW3MEoAAAA9SURBVFjD7dehDQAwDANBZ/+l2wmKoiqR7pHRcaeaCxAIBAL/g7k9JxAIBAKBQCAQCAQC14H+MhAIBE4CD3fOFvGVBzhZAAAAAElFTkSuQmCC);background-size:100% 100%;border-radius:50%;border:solid 1px #e1e1e1;background-position:left}
|
|
1
|
+
:root,:host{--ol-background-color: white;--ol-accent-background-color: #F5F5F5;--ol-subtle-background-color: rgba(128, 128, 128, .25);--ol-partial-background-color: rgba(255, 255, 255, .75);--ol-foreground-color: #333333;--ol-subtle-foreground-color: #666666;--ol-brand-color: #00AAFF}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{width:1px;height:15px;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:10px;z-index:11;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-text{position:absolute;font-size:12px;text-align:center;bottom:25px;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-viewport canvas{all:unset;overflow:hidden}.ol-viewport{touch-action:pan-x pan-y}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:4px}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:var(--ol-subtle-foreground-color);font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;outline:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:var(--ol-foreground-color);text-shadow:0 0 2px var(--ol-background-color);font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);height:150px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:1.5px dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}.ol-scroll-layer{position:absolute;z-index:882128;background:#000}.ol-scroll-layer-vertical{width:1px;cursor:col-resize;left:50%;top:0;bottom:0}input[type=range]{margin-top:8px;outline:none;-webkit-appearance:none;width:99%!important;background:-webkit-linear-gradient(#61bd12,#61bd12) no-repeat,#ddd;background-size:100% 100%;height:0px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;height:32px;width:32px;background:#fff;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAABlBMVEV9fX3///+Kct39AAAAAnRSTlP/AOW3MEoAAAA9SURBVFjD7dehDQAwDANBZ/+l2wmKoiqR7pHRcaeaCxAIBAL/g7k9JxAIBAKBQCAQCAQC14H+MhAIBE4CD3fOFvGVBzhZAAAAAElFTkSuQmCC);background-size:100% 100%;border-radius:50%;border:solid 1px #e1e1e1;background-position:left}.ol-legend-item{display:flex;align-items:center}.ol-legend-icon-size{width:16px;height:16px;margin-right:5px}
|
package/utils/ArrayUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a67_0x29be(){const _0x55fc43=['isArray','1218070eERYLA','99490uRLbVf','1951276DgkWgS','4820OhCpyE','239265yKgopp','length','491740TrgTEH','3WuXODu','reduce','55kJAOwk','keys','2754LshCDV','542718DXwIXb','104tvoMqT','every','object'];a67_0x29be=function(){return _0x55fc43;};return a67_0x29be();}(function(_0x56450e,_0x38bb57){const _0x460023=a67_0x4fef,_0x2769c5=_0x56450e();while(!![]){try{const _0x28f555=-parseInt(_0x460023(0x148))/0x1+parseInt(_0x460023(0x142))/0x2*(parseInt(_0x460023(0x143))/0x3)+parseInt(_0x460023(0x13e))/0x4+-parseInt(_0x460023(0x13f))/0x5*(parseInt(_0x460023(0x147))/0x6)+parseInt(_0x460023(0x13c))/0x7+-parseInt(_0x460023(0x149))/0x8*(-parseInt(_0x460023(0x140))/0x9)+-parseInt(_0x460023(0x13d))/0xa*(-parseInt(_0x460023(0x145))/0xb);if(_0x28f555===_0x38bb57)break;else _0x2769c5['push'](_0x2769c5['shift']());}catch(_0x2de449){_0x2769c5['push'](_0x2769c5['shift']());}}}(a67_0x29be,0x4d99f));export function getDeepth(_0x44bf38){function _0x213d77(_0x310c39,_0x176bc2){const _0x52dd04=a67_0x4fef;return _0x310c39[_0x52dd04(0x144)](function(_0x1fa0d4,_0x550c1f){const _0x1c2fa0=_0x52dd04;var _0x3fe4d5;return Array[_0x1c2fa0(0x13b)](_0x550c1f)&&(_0x3fe4d5=_0x213d77(_0x550c1f,_0x176bc2+0x1)),_0x3fe4d5>_0x1fa0d4?_0x3fe4d5:_0x1fa0d4;},_0x176bc2);}return _0x213d77(_0x44bf38,0x1);}export function compareArray(_0x12d11b,_0x3e1bdc){const _0x1495b9=a67_0x4fef;if(_0x12d11b[_0x1495b9(0x141)]!==_0x3e1bdc[_0x1495b9(0x141)])return![];const _0x269e0e=_0x12d11b[_0x1495b9(0x141)];for(let _0x2eac28=0x0;_0x2eac28<_0x269e0e;_0x2eac28++){if(!compare(_0x12d11b[_0x2eac28],_0x3e1bdc[_0x2eac28]))return![];}return!![];}function a67_0x4fef(_0x91ed21,_0x5796b5){const _0x29bee8=a67_0x29be();return a67_0x4fef=function(_0x4fef17,_0x4bfd3d){_0x4fef17=_0x4fef17-0x13a;let _0x370a2a=_0x29bee8[_0x4fef17];return _0x370a2a;},a67_0x4fef(_0x91ed21,_0x5796b5);}export function compare(_0xf0e324,_0x37dec0){const _0x205f1d=a67_0x4fef;if(_0xf0e324===_0x37dec0)return!![];if(typeof _0xf0e324!==typeof _0x37dec0||_0xf0e324===null||_0x37dec0===null)return![];if(Array[_0x205f1d(0x13b)](_0xf0e324)){if(!Array[_0x205f1d(0x13b)](_0x37dec0))return![];return compareArray(_0xf0e324,_0x37dec0);}if(typeof _0xf0e324===_0x205f1d(0x13a))return compareObject(_0xf0e324,_0x37dec0);return![];}export function compareObject(_0x32c3c9,_0x4ba388){const _0x28ced4=a67_0x4fef,_0x5d9e2a=Object['keys'](_0x32c3c9),_0x13c8da=Object[_0x28ced4(0x146)](_0x4ba388);if(_0x5d9e2a[_0x28ced4(0x141)]!==_0x13c8da[_0x28ced4(0x141)])return![];return _0x5d9e2a[_0x28ced4(0x14a)](_0x46dfff=>{if(!compare(_0x32c3c9[_0x46dfff],_0x4ba388[_0x46dfff]))return![];return!![];});}
|
package/utils/AxiosUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a68_0x2f02(_0x2aa15e,_0xe8cc6b){const _0x38ede5=a68_0x38ed();return a68_0x2f02=function(_0x2f0272,_0x318ee8){_0x2f0272=_0x2f0272-0x169;let _0x20937e=_0x38ede5[_0x2f0272];return _0x20937e;},a68_0x2f02(_0x2aa15e,_0xe8cc6b);}const a68_0x371559=a68_0x2f02;(function(_0x325880,_0x534488){const _0xdfa08f=a68_0x2f02,_0x533e58=_0x325880();while(!![]){try{const _0x21c391=parseInt(_0xdfa08f(0x17a))/0x1+parseInt(_0xdfa08f(0x16e))/0x2+-parseInt(_0xdfa08f(0x174))/0x3*(parseInt(_0xdfa08f(0x173))/0x4)+parseInt(_0xdfa08f(0x16a))/0x5*(-parseInt(_0xdfa08f(0x16f))/0x6)+parseInt(_0xdfa08f(0x175))/0x7*(-parseInt(_0xdfa08f(0x176))/0x8)+parseInt(_0xdfa08f(0x16c))/0x9+parseInt(_0xdfa08f(0x16b))/0xa*(parseInt(_0xdfa08f(0x170))/0xb);if(_0x21c391===_0x534488)break;else _0x533e58['push'](_0x533e58['shift']());}catch(_0x10a3fd){_0x533e58['push'](_0x533e58['shift']());}}}(a68_0x38ed,0xc8f74));import a68_0x5d7725 from'axios';import a68_0x481b31 from'jquery';const request=a68_0x5d7725[a68_0x371559(0x169)]({'timeout':0xb4*0x3e8});function a68_0x38ed(){const _0x3a4545=['136AFCMmu','ajax','forEach','get','522525sKtyLo','create','35fuWDez','240350smIYXj','7141977jgtCTe','hasOwnProperty','3191966dAtbNh','824862VjdDiO','561RGrsDq','append','constructor','38884rrsMJU','381VewTci','460264QiUuiz'];a68_0x38ed=function(){return _0x3a4545;};return a68_0x38ed();}export function jsonp(_0xb688df){return new Promise((_0x1a30ca,_0xa71f10)=>{const _0x33251d=a68_0x2f02;a68_0x481b31[_0x33251d(0x177)]({'url':_0xb688df,'type':_0x33251d(0x179),'dataType':'jsonp','success':_0xcec77a=>{_0x1a30ca(_0xcec77a);},'error':_0x3cd05a=>{_0xa71f10(_0x3cd05a);}});});}export function stringify(_0x3cf10a){const _0x5a2923=a68_0x371559,_0x3a13cf=new FormData();for(const _0x2a49e1 in _0x3cf10a){if(_0x3cf10a[_0x5a2923(0x16d)](_0x2a49e1)){if(_0x3cf10a[_0x2a49e1]){if(_0x3cf10a[_0x2a49e1][_0x5a2923(0x172)]===Array)_0x3cf10a[_0x2a49e1][0x0]?_0x3cf10a[_0x2a49e1][0x0][_0x5a2923(0x172)]===Object?_0x3a13cf[_0x5a2923(0x171)](_0x2a49e1,JSON['stringify'](_0x3cf10a[_0x2a49e1])):_0x3cf10a[_0x2a49e1][_0x5a2923(0x178)]((_0x28a65a,_0x4ca102)=>{const _0x3db024=_0x5a2923;_0x3a13cf[_0x3db024(0x171)](_0x2a49e1+('['+_0x4ca102+']'),_0x28a65a);}):_0x3a13cf[_0x5a2923(0x171)](_0x2a49e1+'[]','');else _0x3cf10a[_0x2a49e1][_0x5a2923(0x172)]===Object?_0x3a13cf[_0x5a2923(0x171)](_0x2a49e1,JSON['stringify'](_0x3cf10a[_0x2a49e1])):_0x3a13cf[_0x5a2923(0x171)](_0x2a49e1,_0x3cf10a[_0x2a49e1]);}else _0x3cf10a[_0x2a49e1]===0x0?_0x3a13cf[_0x5a2923(0x171)](_0x2a49e1,'0'):_0x3a13cf[_0x5a2923(0x171)](_0x2a49e1,'');}}return _0x3a13cf;}export default request;
|
package/utils/EsriUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a69_0x1b80(_0x90f333,_0x2a856d){const _0x17cf9f=a69_0x17cf();return a69_0x1b80=function(_0x1b80dd,_0x2fad44){_0x1b80dd=_0x1b80dd-0xd8;let _0x2eb965=_0x17cf9f[_0x1b80dd];return _0x2eb965;},a69_0x1b80(_0x90f333,_0x2a856d);}(function(_0xa82bae,_0x127942){const _0x4614b5=a69_0x1b80,_0x4fdd16=_0xa82bae();while(!![]){try{const _0x4f04d8=parseInt(_0x4614b5(0xe1))/0x1+-parseInt(_0x4614b5(0xd9))/0x2*(-parseInt(_0x4614b5(0xe6))/0x3)+-parseInt(_0x4614b5(0xdc))/0x4*(-parseInt(_0x4614b5(0xde))/0x5)+parseInt(_0x4614b5(0xe3))/0x6+-parseInt(_0x4614b5(0xda))/0x7+-parseInt(_0x4614b5(0xe4))/0x8*(parseInt(_0x4614b5(0xe0))/0x9)+-parseInt(_0x4614b5(0xdf))/0xa*(-parseInt(_0x4614b5(0xe5))/0xb);if(_0x4f04d8===_0x127942)break;else _0x4fdd16['push'](_0x4fdd16['shift']());}catch(_0x5c78ab){_0x4fdd16['push'](_0x4fdd16['shift']());}}}(a69_0x17cf,0x68ffe));export function getEsriSpatialReference(_0x4e6c13){const _0x33ae41=a69_0x1b80;let _0x4515d3;if(_0x4e6c13){let _0xe04ee8=_0x4e6c13[_0x33ae41(0xdb)]();_0xe04ee8[_0x33ae41(0xd8)]('EPSG:')===0x0?_0x4515d3=_0x4e6c13[_0x33ae41(0xe2)](_0x33ae41(0xdd),''):_0x4515d3=_0x4e6c13;}return _0x4515d3;}function a69_0x17cf(){const _0x414571=['indexOf','4KEMSPE','981029TjCBGt','toUpperCase','4276dfndGw','EPSG:','1180ZvkwiH','3605800kSVKxT','45vNDZQZ','125477igdlrI','replace','2183262HIqyrb','984472ZPvTmu','11vBKfcA','124953OpDeQG'];a69_0x17cf=function(){return _0x414571;};return a69_0x17cf();}
|
package/utils/GeometryUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a72_0x4e0c65=a72_0x1895;(function(_0x8602cc,_0x9db9c6){const _0x31896c=a72_0x1895,_0x526577=_0x8602cc();while(!![]){try{const _0x33a809=-parseInt(_0x31896c(0x118))/0x1*(parseInt(_0x31896c(0x11a))/0x2)+parseInt(_0x31896c(0x124))/0x3+-parseInt(_0x31896c(0x113))/0x4*(parseInt(_0x31896c(0x10f))/0x5)+-parseInt(_0x31896c(0x11b))/0x6*(-parseInt(_0x31896c(0x112))/0x7)+-parseInt(_0x31896c(0x116))/0x8*(parseInt(_0x31896c(0x123))/0x9)+-parseInt(_0x31896c(0x10e))/0xa*(-parseInt(_0x31896c(0x10d))/0xb)+parseInt(_0x31896c(0x11c))/0xc*(parseInt(_0x31896c(0x11e))/0xd);if(_0x33a809===_0x9db9c6)break;else _0x526577['push'](_0x526577['shift']());}catch(_0x392eca){_0x526577['push'](_0x526577['shift']());}}}(a72_0x3283,0x7b472));import a72_0x22d653 from'ol/proj/Projection';import{distance as a72_0x30cb97}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getArea as a72_0x339036}from'ol/sphere';import a72_0x12eb10 from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a72_0x14ed27 from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a72_0x1281c1 from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a72_0x153707 from'jsts/org/locationtech/jts/io/OL3Parser.js';import a72_0x278a59 from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a72_0x519fa0 from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a72_0x1acb08 from'ol/format/GeoJSON';import{LineString,MultiLineString,MultiPoint,MultiPolygon,Point,LinearRing,Polygon,GeometryCollection}from'ol/geom.js';function a72_0x3283(){const _0x1df565=['difference','7qxgWwh','16XbhIUk','无法识别的数据类型','intersects','8HIobuw','clone','13GqoYEp','push','122002dMVVPU','81114dQKWbA','4308DdLiGE','readGeometry','48607ubkkRs','write','intersection','getCoordinates','Polygon','8082054pUwSJz','2121747ozZPAm','getCoordinateFromPixel','read','_geometries','transform','getPolygons','array','writeGeometry','inject','MultiPolygon','union','getGeometryType','_holes','contains','bufferOp','77emKpOZ','956360pjEDxR','670695lbzTiW','getArea'];a72_0x3283=function(){return _0x1df565;};return a72_0x3283();}import a72_0x28e196 from'ol/format/WKT';import a72_0x389713 from'ol/format/EsriJSON';const _parser=new a72_0x153707(undefined,undefined);_parser[a72_0x4e0c65(0x106)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x392391,_0x3d921c,_0x5b35e7=![]){const _0x3af3a7=a72_0x4e0c65;if(!_0x392391)return 0x0;const _0x58e041=isSpheroid(_0x3d921c);if(_0x5b35e7)return a72_0x339036(_0x392391,{'projection':_0x3d921c});else{if(_0x58e041){const _0x44c928=getGeoProjection(_0x392391,_0x3d921c);return _0x392391[_0x3af3a7(0x117)]()[_0x3af3a7(0x102)](_0x3d921c,_0x44c928)[_0x3af3a7(0x110)]();}return _0x392391[_0x3af3a7(0x110)]();}}export function bufferOp(_0x2cca0c,_0x31f5c2){const _0x4c963e=a72_0x4e0c65,_0x53fa8a=_parser[_0x4c963e(0x126)](_0x2cca0c),_0x782fdb=a72_0x12eb10[_0x4c963e(0x10c)](_0x53fa8a,_0x31f5c2);return _parser[_0x4c963e(0x11f)](_0x782fdb);}export function bufferPixel(_0x2ef18e,_0x4e40e2,_0x5f5786){const _0x31a2db=a72_0x4e0c65,_0xc37ea8=_0x5f5786['getPixelFromCoordinate'](_0x2ef18e[_0x31a2db(0x121)]()),_0x434710=_0x5f5786[_0x31a2db(0x125)]([_0xc37ea8[0x0]+_0x4e40e2,_0xc37ea8[0x1]]),_0x2f9858=a72_0x30cb97(_0x2ef18e[_0x31a2db(0x121)](),_0x434710),_0x21b1d1=bufferOp(_0x2ef18e,_0x2f9858);return _0x21b1d1;}function a72_0x1895(_0x124c83,_0x21b8a1){const _0x328319=a72_0x3283();return a72_0x1895=function(_0x189569,_0xf8774e){_0x189569=_0x189569-0x101;let _0x4a8f58=_0x328319[_0x189569];return _0x4a8f58;},a72_0x1895(_0x124c83,_0x21b8a1);}export function contains(_0x535e49,_0x9acfa5){const _0x4ae2b1=a72_0x4e0c65,_0xcb1804=_parser[_0x4ae2b1(0x126)](_0x535e49),_0xde8ca6=_parser[_0x4ae2b1(0x126)](_0x9acfa5);return a72_0x14ed27[_0x4ae2b1(0x10b)](_0xcb1804,_0xde8ca6);}export function crosses(_0x5a7955,_0x304fae){const _0x365450=a72_0x4e0c65,_0x508a12=_parser['read'](_0x5a7955),_0x29f6c0=_parser[_0x365450(0x126)](_0x304fae);return a72_0x14ed27['crosses'](_0x508a12,_0x29f6c0);}export function intersects(_0x222a62,_0x133af5){const _0x5793fa=a72_0x4e0c65,_0x194e70=_parser['read'](_0x222a62),_0x21ddcb=_parser[_0x5793fa(0x126)](_0x133af5);return a72_0x14ed27[_0x5793fa(0x115)](_0x194e70,_0x21ddcb);}export function intersection(_0x200223,_0x585cde){const _0x2f8a93=a72_0x4e0c65,_0x6cc556=_parser['read'](_0x200223),_0x2db534=_parser[_0x2f8a93(0x126)](_0x585cde);return _parser[_0x2f8a93(0x11f)](a72_0x1281c1[_0x2f8a93(0x120)](_0x6cc556,_0x2db534));}export function union(_0x3ef85f,_0x4e2b65){const _0x3ec43a=a72_0x4e0c65,_0x2d2269=_parser[_0x3ec43a(0x126)](_0x3ef85f),_0x28bf7d=_parser[_0x3ec43a(0x126)](_0x4e2b65);return _parser['write'](a72_0x1281c1[_0x3ec43a(0x108)](_0x2d2269,_0x28bf7d));}export function difference(_0x36125e,_0x14ba23){const _0x5aadd5=a72_0x4e0c65,_0x2bfe38=_parser['read'](_0x36125e),_0x4a4c86=_parser['read'](_0x14ba23);return _parser['write'](a72_0x1281c1[_0x5aadd5(0x111)](_0x2bfe38,_0x4a4c86));}export function distance(_0xa669a5,_0x55d03f){const _0x58c516=a72_0x4e0c65,_0x443cf3=_parser[_0x58c516(0x126)](_0xa669a5),_0x2e1f2e=_parser[_0x58c516(0x126)](_0x55d03f);return _parser[_0x58c516(0x11f)](a72_0x519fa0['distance'](_0x443cf3,_0x2e1f2e));}export function jstlSplit(_0x1054a8,_0xac0bf){const _0x1a8352=a72_0x4e0c65,_0x532955=_parser[_0x1a8352(0x126)](_0x1054a8),_0x5e75ad=_parser[_0x1a8352(0x126)](_0xac0bf),_0x1efdba=_0x532955[_0x1a8352(0x109)]();let _0x31e620=[];function _0x47ad18(_0x39255f,_0xec85c8){const _0x423650=_0x1a8352;let _0x5569e9=_0x39255f[_0x423650(0x10a)],_0x18b672=_0x39255f['getExteriorRing']()[_0x423650(0x108)](_0xec85c8),_0xc87078=new a72_0x278a59();_0xc87078['add'](_0x18b672);let _0x4b3be6=_0xc87078[_0x423650(0x103)]();_0x4b3be6[_0x423650(0x104)]['length']==0x2&&_0x4b3be6[_0x423650(0x104)]['forEach'](_0x1da72a=>{const _0x3f8fb7=_0x423650;_0x5569e9['forEach'](_0x4d14fb=>{const _0x208808=a72_0x1895;let _0x1f720d=[];for(let _0x30fa2d in _0x4d14fb[_0x208808(0x121)]()){_0x1f720d['push']([_0x4d14fb['getCoordinates']()[_0x30fa2d]['x'],_0x4d14fb['getCoordinates']()[_0x30fa2d]['y']]);}_0x4d14fb=_parser[_0x208808(0x126)]({'coordinates':[_0x1f720d],'type':_0x208808(0x122)}),_0x1da72a=_0x1da72a['difference'](_0x4d14fb);}),_0x31e620[_0x3f8fb7(0x119)](_parser[_0x3f8fb7(0x11f)](_0x1da72a));});}if(_0x1efdba===_0x1a8352(0x122))_0x47ad18(_0x532955,_0x5e75ad);else{if(_0x1efdba===_0x1a8352(0x107))_0x532955[_0x1a8352(0x101)]['forEach']((_0xb9f8ea,_0x235d69)=>{_0x47ad18(_0xb9f8ea,_0x5e75ad);});else throw new Error(_0x1a8352(0x114));}return _0x31e620;}export function fromWKT(_0x421734,_0x582f3f,_0x202516){const _0x2e27c7=a72_0x4e0c65,_0x5da0ba=new a72_0x28e196();_0x582f3f&®isterProj(_0x582f3f);_0x202516&®isterProj(_0x202516);const _0x5939d5=_0x5da0ba['readGeometry'](_0x421734);return _0x582f3f&&_0x202516?_0x5939d5[_0x2e27c7(0x102)](new a72_0x22d653({'code':_0x582f3f}),new a72_0x22d653({'code':_0x202516})):_0x5939d5;}export function fromWKTs(_0x4e68f5,_0x555ca7,_0x5b6d2a){const _0x2153c2=a72_0x4e0c65,_0x32cf52=new a72_0x28e196();let _0x241c83=[];_0x555ca7&®isterProj(_0x555ca7);_0x5b6d2a&®isterProj(_0x5b6d2a);let _0x22632e,_0x1da258;_0x555ca7&&_0x5b6d2a&&(_0x22632e=new a72_0x22d653({'code':_0x555ca7}),_0x1da258=new a72_0x22d653({'code':_0x5b6d2a}));for(let _0x2cd341=0x0;_0x2cd341<_0x4e68f5['length'];_0x2cd341++){_0x22632e&&_0x1da258?_0x241c83[_0x2153c2(0x119)](_0x32cf52['readGeometry'](_0x4e68f5[_0x2cd341])[_0x2153c2(0x102)](_0x22632e,_0x1da258)):_0x241c83[_0x2153c2(0x119)](_0x32cf52['readGeometry'](_0x4e68f5[_0x2cd341]));}return _0x241c83;}export function toWKT(_0x5e2691){const _0x4b4f02=new a72_0x28e196();return _0x4b4f02['writeGeometry'](_0x5e2691);}export function toGeoJSON(_0x58582b){const _0x343257=a72_0x4e0c65,_0x5d9382=new a72_0x1acb08();return _0x5d9382[_0x343257(0x105)](_0x58582b);}export function fromGeoJSON(_0x332d3f){const _0x518db1=a72_0x4e0c65,_0x4a4149=new a72_0x1acb08();return _0x4a4149[_0x518db1(0x11d)](_0x332d3f);}export function toEsriJSON(_0x222759){const _0x527696=new a72_0x389713();return _0x527696['writeGeometry'](_0x222759);}export function fromEsriJSON(_0x27a0c6){const _0x5c3987=a72_0x4e0c65,_0x25d008=new a72_0x389713();return _0x25d008[_0x5c3987(0x11d)](_0x27a0c6);}export function expandExtent(_0xe0c8ed,_0x1ef6e5){const _0x13e1d7=_0xe0c8ed[0x0],_0x30ff90=_0xe0c8ed[0x1],_0x386059=_0xe0c8ed[0x2],_0x5f5686=_0xe0c8ed[0x3],_0x3f7be9=(_0x13e1d7+_0x386059)/0x2,_0x539b4a=(_0x30ff90+_0x5f5686)/0x2,_0x4a5b41=_0x386059-_0x13e1d7,_0x327a43=_0x5f5686-_0x30ff90,_0x290439=_0x4a5b41*_0x1ef6e5,_0x2f6b88=_0x327a43*_0x1ef6e5,_0x29c852=_0x3f7be9-_0x290439/0x2,_0x3b54db=_0x3f7be9+_0x290439/0x2,_0x25c0f9=_0x539b4a-_0x2f6b88/0x2,_0x4874e0=_0x539b4a+_0x2f6b88/0x2;return[_0x29c852,_0x25c0f9,_0x3b54db,_0x4874e0];}
|