ym-gis-2d 1.0.9 → 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.d.ts +1 -0
- package/mapView/View.d.ts.map +1 -1
- package/mapView/View.js +1 -1
- package/mapView/View.js.map +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
|
-
var
|
|
1
|
+
var a55_0x3b4841=a55_0x13b0;function a55_0x13b0(_0xcb3c05,_0x22b19f){var _0x218dbc=a55_0x218d();return a55_0x13b0=function(_0x13b01b,_0x493ebb){_0x13b01b=_0x13b01b-0xd6;var _0x4f8d3d=_0x218dbc[_0x13b01b];return _0x4f8d3d;},a55_0x13b0(_0xcb3c05,_0x22b19f);}(function(_0x57a1b4,_0x141fc){var _0x342e69=a55_0x13b0,_0x341dc5=_0x57a1b4();while(!![]){try{var _0x704e62=-parseInt(_0x342e69(0xdc))/0x1+-parseInt(_0x342e69(0xd7))/0x2+parseInt(_0x342e69(0xe2))/0x3*(parseInt(_0x342e69(0xdd))/0x4)+parseInt(_0x342e69(0xea))/0x5*(-parseInt(_0x342e69(0xe7))/0x6)+-parseInt(_0x342e69(0xdf))/0x7*(-parseInt(_0x342e69(0xd8))/0x8)+parseInt(_0x342e69(0xe1))/0x9+parseInt(_0x342e69(0xed))/0xa*(parseInt(_0x342e69(0xde))/0xb);if(_0x704e62===_0x141fc)break;else _0x341dc5['push'](_0x341dc5['shift']());}catch(_0x5d99e8){_0x341dc5['push'](_0x341dc5['shift']());}}}(a55_0x218d,0xb7fa0));import{Polygon}from'ol/geom';function a55_0x218d(){var _0x180d7a=['finishDrawing','2048018WwUrZq','408HfIhyH','getMap','setStyle','points','1106222lWLOfI','948DUbSZD','13578477KDZZLx','172844YTQAPy','getGeoJson','3345498EnfGBy','8217EyXTyO','generate','map','getType','传入的不是地图对象!','90GdKwNz','slice','length','210255KUqFXn','style','writeGeometryObject','10mBSTaQ','getPointCount','stringify','type','getPoints'];a55_0x218d=function(){return _0x180d7a;};return a55_0x218d();}import a55_0x38f820 from'ol/format/GeoJSON';import a55_0x4f86b3 from'../../../mapView/Map';class BasePolygon extends Polygon{constructor(){var _0x56b9ad=a55_0x13b0;super([]),this[_0x56b9ad(0xdb)]=[];}[a55_0x3b4841(0xe5)](){var _0x1f6fc0=a55_0x3b4841;return this[_0x1f6fc0(0xf0)]?this['type']:super[_0x1f6fc0(0xe5)]();}[a55_0x3b4841(0xe0)](){var _0x5cbc8b=a55_0x3b4841;return new a55_0x38f820()[_0x5cbc8b(0xec)](this);}[a55_0x3b4841(0xda)](_0x3ea2f4){var _0x67bf78=a55_0x3b4841;_0x3ea2f4&&(this[_0x67bf78(0xeb)]=JSON['parse'](JSON[_0x67bf78(0xef)](_0x3ea2f4)));}['setMap'](_0x52eb9a){var _0x34eeba=a55_0x3b4841;if(_0x52eb9a&&_0x52eb9a instanceof a55_0x4f86b3)this[_0x34eeba(0xe4)]=_0x52eb9a;else throw new Error(_0x34eeba(0xe6));}[a55_0x3b4841(0xd9)](){return this['map'];}['isPlot'](){return!![];}['setPoints'](_0x844d5e){var _0x33314f=a55_0x3b4841;this[_0x33314f(0xdb)]=!_0x844d5e?[]:_0x844d5e,this[_0x33314f(0xdb)][_0x33314f(0xe9)]>=0x1&&this['generate']();}[a55_0x3b4841(0xe3)](){}[a55_0x3b4841(0xf1)](){var _0x58d554=a55_0x3b4841;return this['points'][_0x58d554(0xe8)](0x0);}[a55_0x3b4841(0xee)](){var _0x3621c7=a55_0x3b4841;return this[_0x3621c7(0xdb)]['length'];}[a55_0x3b4841(0xd6)](){}}export default BasePolygon;
|
|
@@ -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
|
-
|
|
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(_0x5edf2b,_0x13dbe4){const _0x54b633=a55_0xe2d6,_0x511b41=_0x5edf2b();while(!![]){try{const _0x5cd37e=-parseInt(_0x54b633(0x1c8))/0x1*(-parseInt(_0x54b633(0x1b4))/0x2)+-parseInt(_0x54b633(0x1dc))/0x3+parseInt(_0x54b633(0x1ab))/0x4*(parseInt(_0x54b633(0x1da))/0x5)+-parseInt(_0x54b633(0x1e9))/0x6*(parseInt(_0x54b633(0x1e8))/0x7)+parseInt(_0x54b633(0x1c6))/0x8*(-parseInt(_0x54b633(0x1af))/0x9)+parseInt(_0x54b633(0x1e5))/0xa+parseInt(_0x54b633(0x1d8))/0xb;if(_0x5cd37e===_0x13dbe4)break;else _0x511b41['push'](_0x511b41['shift']());}catch(_0x23e7ef){_0x511b41['push'](_0x511b41['shift']());}}}(a55_0x4cb0,0xa623c));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a55_0x365ee4 from'ol/style/Style';function a55_0x4cb0(){const _0x2e522e=['save','label','modelKind','billboard','width','cloud','MultiPoint','createElement','TOP','CENTER','1468654ilPKLb','outline','5437895USEsNF','rotate','3839532BouaYm','image','BOTTOM','LineString','text','pixelSize','pixelOffsetX','match','drawImage','5620090cMpsrY','scale','zIndex','1531019fXNGBK','6aKOoEZ','data','rotation','stringify','globalAlpha','model','markerColor','point','height','changeColor','restore','getContext','.png','getFlatMidpoints','getType','4VikUPm','length','outlineWidth','pixelOffsetY','225FsuLjQ','radius','imgUrl','toUpperCase','verticalOrigin','8384DKZJGd','warn','pixelOffset','model/','getFlatInteriorPoints','context','getFlatMidpoint','canvas','replace','src','color','MultiPolygon','RIGHT','Polygon','parse','push','outlineColor','LEFT','209992JOwpmL','opacity','251aSWzgg','horizontalOrigin','geometry','getStride','show','pixelRatio'];a55_0x4cb0=function(){return _0x2e522e;};return a55_0x4cb0();}import a55_0x1e0df6 from'ol/style/Circle';import a55_0xd4e52c from'ol/style/Fill';import a55_0x5cba21 from'ol/style/Stroke';function a55_0xe2d6(_0x2869ba,_0x7414ef){const _0x4cb039=a55_0x4cb0();return a55_0xe2d6=function(_0xe2d60c,_0xa383d6){_0xe2d60c=_0xe2d60c-0x1ab;let _0x4ee817=_0x4cb039[_0xe2d60c];return _0x4ee817;},a55_0xe2d6(_0x2869ba,_0x7414ef);}function getMainStyle(_0x44b52c,_0x3e3a57=0x0,_0x595b48){const _0x3138c6=a55_0xe2d6;let _0x245243;return _0x44b52c[_0x3138c6(0x1dd)]||_0x44b52c[_0x3138c6(0x1ef)]?_0x245243=new a55_0x365ee4({'renderer':(_0x252ab0,_0x49110d)=>{preLoadImageRenderFunction(_0x44b52c,_0x252ab0,_0x49110d,_0x595b48,_rendererFunction);},'zIndex':Number(_0x3e3a57)}):_0x245243=new a55_0x365ee4({'image':new a55_0x1e0df6({'radius':_0x44b52c[_0x3138c6(0x1b0)]?_0x44b52c[_0x3138c6(0x1b0)]:_0x44b52c[_0x3138c6(0x1e1)],'fill':new a55_0xd4e52c({'color':getColor(_0x44b52c[_0x3138c6(0x1be)],_0x44b52c['opacity'])}),'stroke':_0x44b52c[_0x3138c6(0x1d9)]&&_0x44b52c[_0x3138c6(0x1c4)]?new a55_0x5cba21({'color':getColor(_0x44b52c[_0x3138c6(0x1c4)],_0x44b52c['outlineOpacity']),'width':_0x44b52c[_0x3138c6(0x1ad)]}):undefined}),'zIndex':Number(_0x3e3a57)}),_0x245243;}function _rendererFunction(_0x9344ba,_0x1d95f7,_0x187e64,_0x188cee,_0x4dc7ff){const _0x5359a8=a55_0xe2d6;if(!_0x4dc7ff||_0x4dc7ff['width']===0x0){let _0x669481=new Image();_0x669481[_0x5359a8(0x1bd)]=_0x9344ba[_0x5359a8(0x1dd)];}if(_0x9344ba[_0x5359a8(0x1f2)]&&_0x9344ba['color']!==''){let _0x598711=_0x9344ba['scale']||0x1,_0x196665=_0x9344ba[_0x5359a8(0x1d2)]||_0x4dc7ff[_0x5359a8(0x1d2)]*_0x598711,_0x8426ba=_0x9344ba['height']||_0x4dc7ff[_0x5359a8(0x1f1)]*_0x598711;_0x196665=_0x196665*_0x187e64[_0x5359a8(0x1cd)],_0x8426ba=_0x8426ba*_0x187e64[_0x5359a8(0x1cd)];const _0x14fcdd=document[_0x5359a8(0x1d5)](_0x5359a8(0x1bb));_0x14fcdd['width']=_0x196665,_0x14fcdd['height']=_0x8426ba;const _0xd1f2f6=_0x14fcdd[_0x5359a8(0x1f4)]('2d');_0xd1f2f6===null||_0xd1f2f6===void 0x0?void 0x0:_0xd1f2f6[_0x5359a8(0x1e4)](_0x4dc7ff,0x0,0x0,_0x196665,_0x8426ba);let _0xea512e=_0xd1f2f6===null||_0xd1f2f6===void 0x0?void 0x0:_0xd1f2f6['getImageData'](0x0,0x0,_0x196665,_0x8426ba),_0x221029=_0xea512e===null||_0xea512e===void 0x0?void 0x0:_0xea512e[_0x5359a8(0x1ea)];_0x4dc7ff=_0x14fcdd;let _0xdb29e3=HexToRgb(_0x9344ba['color']);if(_0x221029&&_0xdb29e3)for(var _0x244c96=0x0;_0x244c96<_0x221029['length'];_0x244c96+=0x4){_0x221029[_0x244c96]=_0xdb29e3[0x0],_0x221029[_0x244c96+0x1]=_0xdb29e3[0x1],_0x221029[_0x244c96+0x2]=_0xdb29e3[0x2];}_0xea512e&&(_0xd1f2f6===null||_0xd1f2f6===void 0x0?void 0x0:_0xd1f2f6['putImageData'](_0xea512e,0x0,0x0));}let _0x19ef79=_0x187e64[_0x5359a8(0x1ca)],_0x27c68c=_0x187e64[_0x5359a8(0x1cd)],_0x43e3ec=_0x19ef79[_0x5359a8(0x1cb)](),_0x185246=_0x19ef79[_0x5359a8(0x1f7)](),_0x302785=[];switch(_0x185246){case _0x5359a8(0x1df):_0x302785=_0x19ef79[_0x5359a8(0x1ba)]();break;case'MultiLineString':_0x302785=_0x19ef79[_0x5359a8(0x1f6)](),_0x43e3ec=0x2;break;case _0x5359a8(0x1c1):_0x302785=_0x19ef79['getFlatInteriorPoint'](),_0x43e3ec=0x3;break;case _0x5359a8(0x1bf):{let _0x55f886=_0x19ef79[_0x5359a8(0x1b8)]();_0x302785=[];for(let _0x43e76a=0x0,_0x164d6d=_0x55f886['length'];_0x43e76a<_0x164d6d;_0x43e76a+=0x3){_0x302785[_0x5359a8(0x1c3)](_0x55f886[_0x43e76a],_0x55f886[_0x43e76a+0x1]);}if(_0x302785[_0x5359a8(0x1ac)]===0x0)return;_0x43e3ec=0x2;break;}}if(_0x302785['length']>0x0&&_0x188cee)for(let _0x4c6262=0x0,_0x20a7b0=_0x302785[_0x5359a8(0x1ac)];_0x4c6262<_0x20a7b0;_0x4c6262+=_0x43e3ec){let _0x8c7cbc=[_0x302785[_0x4c6262],_0x302785[_0x4c6262+0x1]],_0x13f882=_0x188cee['getPixelFromCoordinate'](_0x8c7cbc);_0x13f882=[_0x13f882[0x0]*_0x27c68c,_0x13f882[0x1]*_0x27c68c],drawImage(_0x9344ba,_0x13f882,_0x187e64,_0x4dc7ff);}else{if(_0x185246===_0x5359a8(0x1d4))for(let _0x3bac2a of _0x1d95f7){drawImage(_0x9344ba,_0x3bac2a,_0x187e64,_0x4dc7ff);}else drawImage(_0x9344ba,_0x1d95f7,_0x187e64,_0x4dc7ff);}}function HexToRgb(_0x162d2c){const _0x1bc2e1=a55_0xe2d6;_0x162d2c=_0x162d2c[_0x1bc2e1(0x1bc)]('#','');let _0x1df333=_0x162d2c[_0x1bc2e1(0x1e3)](/../g);if(_0x1df333){for(let _0x5d6cc6=0x0;_0x5d6cc6<0x3;_0x5d6cc6++)_0x1df333[_0x5d6cc6]=parseInt(_0x1df333[_0x5d6cc6],0x10);}return _0x1df333;}export function getImageOlStyle(_0x3a60da,_0x325acf,_0x4573aa,_0x108e47){const _0x280558=a55_0xe2d6;var _0xcc8f61;if(_0x3a60da&&_0x3a60da[_0x280558(0x1cc)]!==![]){_0x3a60da=JSON[_0x280558(0x1c2)](JSON[_0x280558(0x1ec)](_0x3a60da)),_0x325acf=(_0xcc8f61=_0x3a60da[_0x280558(0x1e7)])!==null&&_0xcc8f61!==void 0x0?_0xcc8f61:_0x325acf;let _0x47ac9b=isShowStyle(_0x3a60da,_0x4573aa,_0x108e47);if(_0x47ac9b)return _0x3a60da[_0x280558(0x1dd)]=parseImage(_0x3a60da['image']),getMainStyle(_0x3a60da,_0x325acf,_0x108e47);}}export function getPointStyle(_0x59bcfd,_0x3e1689,_0x2ceb1a,_0x59a12f){const _0x24165c=a55_0xe2d6;var _0x421273,_0x2bd648;_0x59bcfd=JSON['parse'](JSON[_0x24165c(0x1ec)](_0x59bcfd));let _0x2937e0=(_0x421273=_0x59bcfd[_0x24165c(0x1e7)])!==null&&_0x421273!==void 0x0?_0x421273:0x0,_0x4742d2=[],_0x4affd0=getImageOlStyle(_0x59bcfd,_0x2937e0,_0x2ceb1a,_0x59a12f);_0x4affd0&&_0x4742d2[_0x24165c(0x1c3)](_0x4affd0);let _0x35a047=getImageOlStyle(_0x59bcfd[_0x24165c(0x1d1)],_0x2937e0,_0x2ceb1a,_0x59a12f);_0x35a047&&_0x4742d2['push'](_0x35a047);if(_0x59bcfd['model']&&_0x59bcfd[_0x24165c(0x1ee)]['show']!==![]){let _0xc638d2=isShowStyle(_0x59bcfd['model'],_0x2ceb1a,_0x59a12f);if(_0xc638d2){let _0x12ae0e=(_0x2bd648=_0x59bcfd['model'][_0x24165c(0x1e7)])!==null&&_0x2bd648!==void 0x0?_0x2bd648:_0x2937e0,_0x5d6fc4=_0x59bcfd[_0x24165c(0x1ee)][_0x24165c(0x1b1)]||_0x24165c(0x1b7)+_0x59bcfd[_0x24165c(0x1ee)]['modelKind']+'.png';_0x59bcfd['scale']=0x1,_0x59bcfd['width']=0x30,_0x59bcfd['height']=0x30,_0x59bcfd[_0x24165c(0x1b3)]=_0x24165c(0x1d7),_0x4742d2[_0x24165c(0x1c3)](getMainStyle(_0x59bcfd[_0x24165c(0x1ee)],_0x12ae0e,_0x59a12f));}}if(_0x59bcfd[_0x24165c(0x1cf)]&&_0x59bcfd['label']['show']!==![]){let _0x4e555d=new a55_0x365ee4({'text':createTextStyle(_0x59bcfd[_0x24165c(0x1cf)],_0x3e1689,_0x2ceb1a,_0x59a12f),'zIndex':Number(_0x2937e0)+0x1});_0x4742d2[_0x24165c(0x1c3)](_0x4e555d);}return _0x4742d2;}export function getPointSingleStyle(_0x7965a,_0x581315,_0x3c0c5a,_0x94a913){const _0x231d52=a55_0xe2d6;_0x581315=JSON['parse'](JSON['stringify'](_0x581315));let _0x1dce1d=_0x581315[_0x231d52(0x1cf)],_0x401ad5;_0x1dce1d&&(_0x401ad5=_0x1dce1d[_0x231d52(0x1e0)]?_0x1dce1d[_0x231d52(0x1e0)]:'');if(_0x7965a===_0x231d52(0x1d1))return _0x581315['image']=parseImage(_0x581315['image']),getPointStyle(_0x581315,_0x401ad5,_0x3c0c5a,_0x94a913);else{if(_0x7965a===_0x231d52(0x1ee)){let _0x2c2558=_0x581315[_0x231d52(0x1b1)]||'model/'+_0x581315[_0x231d52(0x1d0)]+_0x231d52(0x1f5);return _0x581315[_0x231d52(0x1e6)]=0x1,_0x581315[_0x231d52(0x1d2)]=0x30,_0x581315[_0x231d52(0x1f1)]=0x30,_0x581315['verticalOrigin']=_0x231d52(0x1d7),getPointStyle(_0x581315,_0x401ad5,_0x3c0c5a,_0x94a913);}else{if(_0x7965a===_0x231d52(0x1d3))return getPointStyle(_0x581315,_0x401ad5,_0x3c0c5a,_0x94a913);else{if(_0x7965a===_0x231d52(0x1f0))return getPointStyle(_0x581315,_0x401ad5,_0x3c0c5a,_0x94a913);else return _0x7965a===_0x231d52(0x1cf)?new a55_0x365ee4({'text':createTextStyle(_0x581315,_0x581315[_0x231d52(0x1e0)],_0x3c0c5a,_0x94a913),'zIndex':_0x581315[_0x231d52(0x1e7)]}):getPointStyle(_0x581315,_0x401ad5,_0x3c0c5a,_0x94a913);}}}}function drawImage(_0x34858d,_0x4099f9,_0x4aac2c,_0x1d4a6d){const _0x5f3816=a55_0xe2d6;var _0x5c9745,_0x4c5a77,_0x17f209,_0x14998f;let _0xf2f3d8=_0x4aac2c[_0x5f3816(0x1b9)];try{_0xf2f3d8[_0x5f3816(0x1ce)]();let _0x845585=Number(_0x34858d[_0x5f3816(0x1e2)]||((_0x5c9745=_0x34858d[_0x5f3816(0x1b6)])===null||_0x5c9745===void 0x0?void 0x0:_0x5c9745[0x0])||0x0),_0x4d4503=Number(_0x34858d[_0x5f3816(0x1ae)]||((_0x4c5a77=_0x34858d[_0x5f3816(0x1b6)])===null||_0x4c5a77===void 0x0?void 0x0:_0x4c5a77[0x1])||0x0);_0xf2f3d8['translate'](_0x4099f9[0x0]+_0x845585,_0x4099f9[0x1]+_0x4d4503);if(_0x34858d[_0x5f3816(0x1eb)])_0xf2f3d8[_0x5f3816(0x1db)](toRadians(_0x34858d[_0x5f3816(0x1eb)]));_0xf2f3d8[_0x5f3816(0x1ed)]=_0x34858d[_0x5f3816(0x1c7)]!=null?_0x34858d[_0x5f3816(0x1c7)]:0x1;if(_0x1d4a6d[_0x5f3816(0x1d2)]>0x0){let _0x4b3503=_0x34858d[_0x5f3816(0x1e6)]||0x1,_0x493b83=_0x34858d[_0x5f3816(0x1d2)]||_0x1d4a6d[_0x5f3816(0x1d2)]*_0x4b3503,_0x5080fd=_0x34858d[_0x5f3816(0x1f1)]||_0x1d4a6d[_0x5f3816(0x1f1)]*_0x4b3503;_0x493b83=_0x493b83*_0x4aac2c[_0x5f3816(0x1cd)],_0x5080fd=_0x5080fd*_0x4aac2c['pixelRatio'];_0x34858d[_0x5f3816(0x1f2)]&&(_0x493b83=_0x1d4a6d[_0x5f3816(0x1d2)],_0x5080fd=_0x1d4a6d[_0x5f3816(0x1f1)]);let _0x2c0fda;switch((_0x17f209=_0x34858d[_0x5f3816(0x1c9)])===null||_0x17f209===void 0x0?void 0x0:_0x17f209[_0x5f3816(0x1b2)]()){default:case _0x5f3816(0x1d7):_0x2c0fda=-_0x493b83/0x2;break;case _0x5f3816(0x1c5):_0x2c0fda=0x0;break;case _0x5f3816(0x1c0):_0x2c0fda=-_0x493b83;break;}let _0x50373b;switch((_0x14998f=_0x34858d[_0x5f3816(0x1b3)])===null||_0x14998f===void 0x0?void 0x0:_0x14998f[_0x5f3816(0x1b2)]()){default:case _0x5f3816(0x1de):_0x50373b=-_0x5080fd;break;case _0x5f3816(0x1d7):_0x50373b=-_0x5080fd/0x2;break;case _0x5f3816(0x1d6):_0x50373b=0x0;break;}_0xf2f3d8[_0x5f3816(0x1e4)](_0x1d4a6d,_0x2c0fda,_0x50373b,_0x493b83,_0x5080fd);}else _0xf2f3d8['drawImage'](_0x1d4a6d,0x0,0x0);_0xf2f3d8[_0x5f3816(0x1f3)]();}catch(_0x2ee627){_0xf2f3d8[_0x5f3816(0x1f3)](),console[_0x5f3816(0x1b5)](_0x2ee627);}}
|
|
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 a56_0x34d8(){const _0x54c807=['440TrzLyX','context','outlineWidth','getContext','grid_lineCount','save','width','image','rgba(0,0,0,0)','checkerboard_repeat','createPattern','outline','1enscLs','48745jOmVck','strokeStyle','zIndex','8127ptgCBC','outlineColor','fill','canvas','1671540DiWKOY','2509962wHyKNx','stripe','setRenderer','lineTo','14lFcSyV','292WZuwro','height','rgba(0,0,0,0.01)','setFill','moveTo','translate','closePath','10871860vuKoqU','color','37910741UYFrzC','grid_lineThickness','label','repeatX','createElement','billboard','max','repeatY','length','repeat','push','fillStyle','fillType','setStroke','src','1822852fWiZXP','beginPath','restore','opacity','show','stroke','CENTER','grid','rgba(0,0,0,0.0)','verticalOrigin','warn','oddColor','lineWidth','outlineOpacity'];a56_0x34d8=function(){return _0x54c807;};return a56_0x34d8();}(function(_0x51cb9c,_0x43c2b7){const _0x598e1e=a56_0x120d,_0x347edd=_0x51cb9c();while(!![]){try{const _0x1a0cfa=-parseInt(_0x598e1e(0x1dd))/0x1*(-parseInt(_0x598e1e(0x1c3))/0x2)+parseInt(_0x598e1e(0x1e5))/0x3+parseInt(_0x598e1e(0x1eb))/0x4*(parseInt(_0x598e1e(0x1de))/0x5)+parseInt(_0x598e1e(0x1e6))/0x6*(parseInt(_0x598e1e(0x1ea))/0x7)+-parseInt(_0x598e1e(0x1d1))/0x8*(-parseInt(_0x598e1e(0x1e1))/0x9)+parseInt(_0x598e1e(0x1f2))/0xa+-parseInt(_0x598e1e(0x1f4))/0xb;if(_0x1a0cfa===_0x43c2b7)break;else _0x347edd['push'](_0x347edd['shift']());}catch(_0x24ea00){_0x347edd['push'](_0x347edd['shift']());}}}(a56_0x34d8,0xacb1d));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(_0x511535,_0x3896c2,_0x58a419,_0x1d0aba){const _0x4edffc=a56_0x120d;var _0x2c04f9;let _0x389ce6=(_0x2c04f9=_0x511535[_0x4edffc(0x1e0)])!==null&&_0x2c04f9!==void 0x0?_0x2c04f9:0x0,_0x13277f=new Style();_0x13277f['setZIndex'](_0x389ce6),_0x13277f[_0x4edffc(0x1ee)](new Fill({'color':_0x4edffc(0x1d9)}));if(_0x511535[_0x4edffc(0x1e3)]!==![]){if(!_0x511535[_0x4edffc(0x200)]||_0x511535['fillType']===_0x4edffc(0x1f3))_0x13277f['setFill'](new Fill({'color':getColor(_0x511535[_0x4edffc(0x1f3)],_0x511535[_0x4edffc(0x1c6)])}));else{if(_0x511535[_0x4edffc(0x200)]===_0x4edffc(0x1d8))_0x13277f[_0x4edffc(0x1e8)]((_0x50d615,_0x3b6cdd)=>{preLoadImageRenderFunction(_0x511535,_0x50d615,_0x3b6cdd,_0x1d0aba,_rendererFunction);});else _0x511535[_0x4edffc(0x200)]==='grid'||_0x511535['fillType']===_0x4edffc(0x1e7)||_0x511535[_0x4edffc(0x200)]==='checkerboard'?_0x13277f[_0x4edffc(0x1e8)]((_0x47ae85,_0x1c39c0)=>{_rendererFunction(_0x511535,_0x47ae85,_0x1c39c0,_0x1d0aba,null);}):_0x13277f[_0x4edffc(0x1ee)](new Fill({'color':getColor(_0x511535[_0x4edffc(0x1f3)],_0x511535[_0x4edffc(0x1c6)])}));}}_0x511535[_0x4edffc(0x1dc)]!==![]&&_0x13277f[_0x4edffc(0x201)](new Stroke({'color':getColor(_0x511535[_0x4edffc(0x1e2)],_0x511535[_0x4edffc(0x1d0)]),'width':_0x511535[_0x4edffc(0x1d3)]}));let _0x257eb7=[_0x13277f];_0x511535[_0x4edffc(0x1f9)]&&!_0x511535[_0x4edffc(0x1f9)][_0x4edffc(0x1cc)]&&(_0x511535['billboard'][_0x4edffc(0x1cc)]=_0x4edffc(0x1c9));let _0x4d870f=getImageOlStyle(_0x511535[_0x4edffc(0x1f9)],_0x389ce6,_0x58a419,_0x1d0aba);_0x4d870f&&_0x257eb7['push'](_0x4d870f);if(_0x511535[_0x4edffc(0x1f6)]&&_0x511535[_0x4edffc(0x1f6)][_0x4edffc(0x1c7)]!==![]){!_0x511535[_0x4edffc(0x1f6)]['verticalOrigin']&&(_0x511535[_0x4edffc(0x1f6)][_0x4edffc(0x1cc)]=_0x4edffc(0x1c9));let _0x18fa79=new Style({'text':createTextStyle(_0x511535['label'],_0x3896c2,_0x58a419,_0x1d0aba),'zIndex':Number(_0x389ce6)+0x1});_0x257eb7[_0x4edffc(0x1fe)](_0x18fa79);}return _0x257eb7;}function _rendererFunction(_0x2c97e3,_0x7bae17,_0x22d858,_0x5f2503,_0x7ef28a){const _0x198d4d=a56_0x120d;try{var _0x5d43ab=_0x22d858[_0x198d4d(0x1d2)];for(var _0x3a8725=0x0,_0x5381d4=_0x7bae17[_0x198d4d(0x1fc)];_0x3a8725<_0x5381d4;_0x3a8725++){_0x5d43ab[_0x198d4d(0x1d6)](),_0x5d43ab[_0x198d4d(0x1c4)]();var _0x3d65d3=_0x7bae17[_0x3a8725];let _0x1397b2=boundingExtent(_0x3d65d3);_0x5d43ab[_0x198d4d(0x1f0)](_0x1397b2[0x0],_0x1397b2[0x1]);let _0x575dad;switch(_0x2c97e3[_0x198d4d(0x200)]){case _0x198d4d(0x1d8):_0x575dad=_getImagePattern(_0x5d43ab,_0x1397b2,_0x2c97e3,_0x7ef28a);break;case _0x198d4d(0x1ca):_0x575dad=_getGridPattern(_0x5d43ab,_0x1397b2,_0x2c97e3);break;case _0x198d4d(0x1e7):_0x575dad=_getStripePattern(_0x5d43ab,_0x1397b2,_0x2c97e3);break;case'checkerboard':_0x575dad=_getCheckerBoardPattern(_0x5d43ab,_0x1397b2,_0x2c97e3);break;default:_0x575dad=_0x198d4d(0x1ed);break;}for(var _0x51dd79=0x0,_0x506380=_0x3d65d3[_0x198d4d(0x1fc)];_0x51dd79<_0x506380;_0x51dd79++){var _0x1eff68=_0x3d65d3[_0x51dd79];_0x51dd79===0x0?_0x5d43ab[_0x198d4d(0x1ef)](_0x1eff68[0x0]-_0x1397b2[0x0],_0x1eff68[0x1]-_0x1397b2[0x1]):_0x5d43ab[_0x198d4d(0x1e9)](_0x1eff68[0x0]-_0x1397b2[0x0],_0x1eff68[0x1]-_0x1397b2[0x1]);}_0x5d43ab[_0x198d4d(0x1f1)](),_0x5d43ab[_0x198d4d(0x1ff)]=_0x198d4d(0x1ed),_0x5d43ab[_0x198d4d(0x1e3)](),_0x5d43ab[_0x198d4d(0x1ff)]=_0x575dad,_0x5d43ab[_0x198d4d(0x1e3)](),_0x2c97e3[_0x198d4d(0x1dc)]?(_0x5d43ab[_0x198d4d(0x1df)]=getColor(_0x2c97e3[_0x198d4d(0x1e2)],_0x2c97e3[_0x198d4d(0x1d0)]),_0x5d43ab['lineWidth']=_0x2c97e3[_0x198d4d(0x1d3)]):_0x5d43ab['strokeStyle']=_0x198d4d(0x1cb),_0x5d43ab[_0x198d4d(0x1c8)](),_0x5d43ab[_0x198d4d(0x1c5)]();}}catch(_0x12c672){_0x5d43ab[_0x198d4d(0x1c5)](),console[_0x198d4d(0x1cd)](_0x12c672);}}function a56_0x120d(_0x23cb6b,_0x3b06b9){const _0x34d85c=a56_0x34d8();return a56_0x120d=function(_0x120dc7,_0x2e6575){_0x120dc7=_0x120dc7-0x1c2;let _0x53300f=_0x34d85c[_0x120dc7];return _0x53300f;},a56_0x120d(_0x23cb6b,_0x3b06b9);}function _getImagePattern(_0x3d07be,_0x45b006,_0x51d622,_0x8b80e){const _0x320acc=a56_0x120d;if(!_0x8b80e||_0x8b80e[_0x320acc(0x1d7)]===0x0){let _0x40e2ca=new Image();_0x40e2ca[_0x320acc(0x1c2)]=_0x51d622[_0x320acc(0x1d8)];}var _0x440441=getSize(_0x45b006);const _0x24736f=document[_0x320acc(0x1f8)](_0x320acc(0x1e4)),_0x5d5114=_0x24736f[_0x320acc(0x1d4)]('2d');return _0x24736f['width']=Math[_0x320acc(0x1fa)](_0x440441[0x0]/_0x51d622[_0x320acc(0x1f7)],0x1),_0x24736f[_0x320acc(0x1ec)]=Math[_0x320acc(0x1fa)](_0x440441[0x1]/_0x51d622[_0x320acc(0x1fb)],0x1),_0x5d5114&&(_0x5d5114['globalAlpha']=_0x51d622[_0x320acc(0x1c6)],_0x5d5114['drawImage'](_0x8b80e,0x0,0x0,_0x24736f[_0x320acc(0x1d7)],_0x24736f['height'])),_0x3d07be[_0x320acc(0x1db)](_0x24736f,_0x320acc(0x1fd));}function _getGridPattern(_0x341578,_0x4c875a,_0x4fbf9b){const _0x41f88d=a56_0x120d;var _0x1c3086=getSize(_0x4c875a);const _0x5ceeec=document[_0x41f88d(0x1f8)]('canvas'),_0xcaee88=_0x5ceeec[_0x41f88d(0x1d4)]('2d');return _0x5ceeec['width']=Math[_0x41f88d(0x1fa)](_0x1c3086[0x0]/_0x4fbf9b[_0x41f88d(0x1d5)],0x1),_0x5ceeec[_0x41f88d(0x1ec)]=Math[_0x41f88d(0x1fa)](_0x1c3086[0x1]/_0x4fbf9b[_0x41f88d(0x1d5)],0x1),_0xcaee88&&(_0xcaee88[_0x41f88d(0x1df)]=getColor(_0x4fbf9b['color'],_0x4fbf9b[_0x41f88d(0x1c6)]),_0xcaee88[_0x41f88d(0x1cf)]=_0x4fbf9b[_0x41f88d(0x1f5)]*0x4,_0xcaee88['beginPath'](),_0xcaee88[_0x41f88d(0x1ef)](0x0,_0x5ceeec['height']),_0xcaee88[_0x41f88d(0x1e9)](_0x5ceeec[_0x41f88d(0x1d7)],_0x5ceeec[_0x41f88d(0x1ec)]),_0xcaee88[_0x41f88d(0x1ef)](_0x5ceeec[_0x41f88d(0x1d7)],0x0),_0xcaee88[_0x41f88d(0x1e9)](_0x5ceeec[_0x41f88d(0x1d7)],_0x5ceeec['height']),_0xcaee88[_0x41f88d(0x1c8)]()),_0x341578['createPattern'](_0x5ceeec,_0x41f88d(0x1fd));}function _getStripePattern(_0x454018,_0x237256,_0x5c2366){const _0x165e97=a56_0x120d;var _0x556cce=getSize(_0x237256);const _0x577c5f=document['createElement'](_0x165e97(0x1e4)),_0x252656=_0x577c5f['getContext']('2d');let _0xdf5d3d=Math[_0x165e97(0x1fa)](_0x556cce[0x1]/_0x5c2366['stripe_repeat'],0x1);return _0x577c5f[_0x165e97(0x1d7)]=_0x556cce[0x0],_0x577c5f[_0x165e97(0x1ec)]=_0xdf5d3d*0x2,_0x252656&&(_0x252656[_0x165e97(0x1c4)](),_0x252656[_0x165e97(0x1ef)](0x0,0x0),_0x252656[_0x165e97(0x1e9)](_0x577c5f[_0x165e97(0x1d7)],0x0),_0x252656[_0x165e97(0x1e9)](_0x577c5f[_0x165e97(0x1d7)],_0xdf5d3d),_0x252656[_0x165e97(0x1e9)](0x0,_0xdf5d3d),_0x252656[_0x165e97(0x1f1)](),_0x252656['fillStyle']=getColor(_0x5c2366['stripe_oddcolor'],_0x5c2366[_0x165e97(0x1c6)]),_0x252656[_0x165e97(0x1e3)](),_0x252656['beginPath'](),_0x252656[_0x165e97(0x1ef)](0x0,_0xdf5d3d),_0x252656[_0x165e97(0x1e9)](_0x577c5f[_0x165e97(0x1d7)],_0xdf5d3d),_0x252656[_0x165e97(0x1e9)](_0x577c5f[_0x165e97(0x1d7)],_0xdf5d3d*0x2),_0x252656[_0x165e97(0x1e9)](0x0,_0xdf5d3d*0x2),_0x252656[_0x165e97(0x1f1)](),_0x252656[_0x165e97(0x1ff)]=getColor(_0x5c2366[_0x165e97(0x1f3)],_0x5c2366[_0x165e97(0x1c6)]),_0x252656[_0x165e97(0x1e3)]()),_0x454018[_0x165e97(0x1db)](_0x577c5f,'repeat');}function _getCheckerBoardPattern(_0x3da71d,_0x2072dd,_0xdcaf31){const _0x19838a=a56_0x120d;var _0xbc027c=getSize(_0x2072dd);const _0x3b5c9d=document[_0x19838a(0x1f8)](_0x19838a(0x1e4)),_0x276c52=_0x3b5c9d[_0x19838a(0x1d4)]('2d');let _0xcc589d=Math['max'](_0xbc027c[0x0]/_0xdcaf31[_0x19838a(0x1da)],0x1),_0x3ddb74=Math[_0x19838a(0x1fa)](_0xbc027c[0x1]/_0xdcaf31[_0x19838a(0x1da)],0x1);return _0x3b5c9d[_0x19838a(0x1d7)]=_0xcc589d*0x2,_0x3b5c9d['height']=_0x3ddb74*0x2,_0x276c52&&(_0x276c52[_0x19838a(0x1c4)](),_0x276c52[_0x19838a(0x1ef)](0x0,0x0),_0x276c52[_0x19838a(0x1e9)](_0xcc589d,0x0),_0x276c52['lineTo'](_0xcc589d,_0x3ddb74),_0x276c52[_0x19838a(0x1e9)](0x0,_0x3ddb74),_0x276c52[_0x19838a(0x1f1)](),_0x276c52['fillStyle']=getColor(_0xdcaf31[_0x19838a(0x1ce)],_0xdcaf31[_0x19838a(0x1c6)]),_0x276c52['fill'](),_0x276c52[_0x19838a(0x1c4)](),_0x276c52[_0x19838a(0x1ef)](_0xcc589d,0x0),_0x276c52[_0x19838a(0x1e9)](_0x3b5c9d['width'],0x0),_0x276c52[_0x19838a(0x1e9)](_0x3b5c9d[_0x19838a(0x1d7)],_0x3ddb74),_0x276c52[_0x19838a(0x1e9)](_0xcc589d,_0x3ddb74),_0x276c52[_0x19838a(0x1f1)](),_0x276c52[_0x19838a(0x1ff)]=getColor(_0xdcaf31[_0x19838a(0x1f3)],_0xdcaf31['opacity']),_0x276c52[_0x19838a(0x1e3)](),_0x276c52[_0x19838a(0x1c4)](),_0x276c52[_0x19838a(0x1ef)](0x0,_0x3ddb74),_0x276c52[_0x19838a(0x1e9)](_0xcc589d,_0x3ddb74),_0x276c52['lineTo'](_0xcc589d,_0x3b5c9d[_0x19838a(0x1ec)]),_0x276c52[_0x19838a(0x1e9)](0x0,_0x3b5c9d['height']),_0x276c52['closePath'](),_0x276c52[_0x19838a(0x1ff)]=getColor(_0xdcaf31[_0x19838a(0x1f3)],_0xdcaf31[_0x19838a(0x1c6)]),_0x276c52[_0x19838a(0x1e3)](),_0x276c52['beginPath'](),_0x276c52['moveTo'](_0xcc589d,_0x3ddb74),_0x276c52[_0x19838a(0x1e9)](_0x3b5c9d[_0x19838a(0x1d7)],_0x3ddb74),_0x276c52['lineTo'](_0x3b5c9d[_0x19838a(0x1d7)],_0x3b5c9d[_0x19838a(0x1ec)]),_0x276c52['lineTo'](_0xcc589d,_0x3b5c9d[_0x19838a(0x1ec)]),_0x276c52[_0x19838a(0x1f1)](),_0x276c52[_0x19838a(0x1ff)]=getColor(_0xdcaf31[_0x19838a(0x1ce)],_0xdcaf31[_0x19838a(0x1c6)]),_0x276c52[_0x19838a(0x1e3)]()),_0x3da71d[_0x19838a(0x1db)](_0x3b5c9d,'repeat');}
|
|
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
|
-
(function(
|
|
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
|
-
|
|
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();}
|