ym-gis-2d 1.0.28 → 1.0.29

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.
Files changed (91) hide show
  1. package/capabilities/index.d.ts.map +1 -1
  2. package/capabilities/index.js +1 -1
  3. package/capabilities/index.js.map +1 -1
  4. package/controls/ControlManager.js +1 -1
  5. package/controls/LegendControl.d.ts.map +1 -1
  6. package/controls/LegendControl.js +1 -1
  7. package/controls/LegendControl.js.map +1 -1
  8. package/controls/MousePositionControl.js +1 -1
  9. package/controls/SwipeLayerControl.js +1 -1
  10. package/conver/kml/geoJSONToKml.js +1 -1
  11. package/conver/kml/index.js +1 -1
  12. package/conver/kml/kmlToGeoJSON.js +1 -1
  13. package/entity/Feature.js +1 -1
  14. package/entity/GeometryType.js +1 -1
  15. package/entity/IDictionary.d.ts +14 -0
  16. package/entity/IDictionary.d.ts.map +1 -0
  17. package/entity/IDictionary.js +1 -0
  18. package/entity/IDictionary.js.map +1 -0
  19. package/entity/layer/ILayerField.d.ts +2 -1
  20. package/entity/layer/ILayerField.d.ts.map +1 -1
  21. package/entity/layer/IWFSLayerCapabilitiesInfo.d.ts +4 -0
  22. package/entity/layer/IWFSLayerCapabilitiesInfo.d.ts.map +1 -1
  23. package/entity/measure/AreaMeasureUnits.js +1 -1
  24. package/feature/FeatureManager.js +1 -1
  25. package/index.js +1 -1
  26. package/interaction/AreaMeasure.js +1 -1
  27. package/interaction/Draw.js +1 -1
  28. package/interaction/InteractionManager.js +1 -1
  29. package/interaction/Select.d.ts.map +1 -1
  30. package/interaction/Select.js +1 -1
  31. package/interaction/Select.js.map +1 -1
  32. package/layers/ArcgisDynamicLayer.js +1 -1
  33. package/layers/ArcgisFeatureLayer.js +1 -1
  34. package/layers/ArcgisTileLayer.js +1 -1
  35. package/layers/ArcgisWMSLayer.js +1 -1
  36. package/layers/ArcgisWMTSLayer.js +1 -1
  37. package/layers/GeoserverVectorTile.js +1 -1
  38. package/layers/GeoserverWFSLayer.js +1 -1
  39. package/layers/GeoserverWMSLayer.js +1 -1
  40. package/layers/GeoserverWMTSLayer.js +1 -1
  41. package/layers/LayerManager.js +1 -1
  42. package/layers/TDTLayer.js +1 -1
  43. package/mapView/Map.js +1 -1
  44. package/mapView/View.js +1 -1
  45. package/package.json +1 -1
  46. package/plot/Plot.js +1 -1
  47. package/plot/geometry/point/Point.js +1 -1
  48. package/plot/geometry/polygon/BasePolygon.js +1 -1
  49. package/plot/geometry/polygon/Circle.js +1 -1
  50. package/plot/geometry/polygon/Polygon.js +1 -1
  51. package/plot/geometry/polygon/RectAngle.js +1 -1
  52. package/plot/geometry/polyline/BaseLine.js +1 -1
  53. package/plot/geometry/polyline/Polyline.js +1 -1
  54. package/style/PointStyleFormat.js +1 -1
  55. package/style/PolygonStyleFormat.js +1 -1
  56. package/style/PolylineStyleFormat.js +1 -1
  57. package/style/StyleManager.js +1 -1
  58. package/style/common.js +1 -1
  59. package/utils/ArrayUtil.js +1 -1
  60. package/utils/AxiosUtil.js +1 -1
  61. package/utils/EsriUtil.js +1 -1
  62. package/utils/GeometryUtil.d.ts +6 -0
  63. package/utils/GeometryUtil.d.ts.map +1 -1
  64. package/utils/GeometryUtil.js +1 -1
  65. package/utils/GeometryUtil.js.map +1 -1
  66. package/utils/LayerUtil.js +1 -1
  67. package/utils/RegisterProjUtil.js +1 -1
  68. package/utils/ResolutionUtil.js +1 -1
  69. package/utils/StringUtil.js +1 -1
  70. package/utils/StyleUtil.js +1 -1
  71. package/utils/UrlUtil.js +1 -1
  72. package/utils/XmlUtil.js +1 -1
  73. package/utils/format/CQL.js +1 -1
  74. package/utils/format/IsMatchCql.js +1 -1
  75. package/utils/plug/canvas/ImageCache.js +1 -1
  76. package/utils/plug/canvas/PinBuilder.js +1 -1
  77. package/utils/plug/canvas/PinIcon.js +1 -1
  78. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  79. package/utils/tasks/esri/Identify.js +1 -1
  80. package/utils/tasks/esri/Query.js +1 -1
  81. package/utils/tasks/esri/Task.js +1 -1
  82. package/utils/tasks/geoserver/QueryTask.d.ts +7 -0
  83. package/utils/tasks/geoserver/QueryTask.d.ts.map +1 -1
  84. package/utils/tasks/geoserver/QueryTask.js +1 -1
  85. package/utils/tasks/geoserver/QueryTask.js.map +1 -1
  86. package/utils/tasks/index.d.ts +1 -1
  87. package/utils/tasks/index.d.ts.map +1 -1
  88. package/utils/tasks/index.js +1 -1
  89. package/utils/tasks/index.js.map +1 -1
  90. package/ym-gis-2d.es.js +1 -1
  91. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- var a63_0x2237ef=a63_0x301b;(function(_0x57bf2d,_0x4cddbf){var _0x435f1f=a63_0x301b,_0x346620=_0x57bf2d();while(!![]){try{var _0x36cdd6=-parseInt(_0x435f1f(0xc9))/0x1+-parseInt(_0x435f1f(0xbe))/0x2+-parseInt(_0x435f1f(0xcb))/0x3*(-parseInt(_0x435f1f(0xc2))/0x4)+parseInt(_0x435f1f(0xc4))/0x5+parseInt(_0x435f1f(0xba))/0x6+-parseInt(_0x435f1f(0xb7))/0x7+-parseInt(_0x435f1f(0xc6))/0x8*(-parseInt(_0x435f1f(0xb9))/0x9);if(_0x36cdd6===_0x4cddbf)break;else _0x346620['push'](_0x346620['shift']());}catch(_0x1beec3){_0x346620['push'](_0x346620['shift']());}}}(a63_0x4ce0,0xe4533));function a63_0x4ce0(){var _0xb9f097=['stringify','274233PotbYi','generate','6UxbquQ','slice','setPoints','setMap','type','5620258DXfqbR','points','9nAHsoz','5956164RdOous','parse','style','writeGeometryObject','1098104WLFxuF','getGeoJson','map','finishDrawing','581816IOiHta','length','4566520WSQvRE','getType','2915936KcsMBd','getPoints'];a63_0x4ce0=function(){return _0xb9f097;};return a63_0x4ce0();}import{Polygon}from'ol/geom';import a63_0x39a052 from'ol/format/GeoJSON';function a63_0x301b(_0x1ab1ed,_0x584b9c){var _0x4ce021=a63_0x4ce0();return a63_0x301b=function(_0x301b4e,_0x359c07){_0x301b4e=_0x301b4e-0xb6;var _0x561a13=_0x4ce021[_0x301b4e];return _0x561a13;},a63_0x301b(_0x1ab1ed,_0x584b9c);}import a63_0xfbf4b6 from'../../../mapView/Map';class BasePolygon extends Polygon{constructor(){var _0x45f408=a63_0x301b;super([]),this[_0x45f408(0xb8)]=[];}[a63_0x2237ef(0xc5)](){var _0x374f38=a63_0x2237ef;return this[_0x374f38(0xb6)]?this[_0x374f38(0xb6)]:super[_0x374f38(0xc5)]();}[a63_0x2237ef(0xbf)](){var _0x5bbff1=a63_0x2237ef;return new a63_0x39a052()[_0x5bbff1(0xbd)](this);}['setStyle'](_0x11c595){var _0x35fbb8=a63_0x2237ef;_0x11c595&&(this[_0x35fbb8(0xbc)]=JSON[_0x35fbb8(0xbb)](JSON[_0x35fbb8(0xc8)](_0x11c595)));}[a63_0x2237ef(0xce)](_0x32e7e2){var _0x51f050=a63_0x2237ef;if(_0x32e7e2&&_0x32e7e2 instanceof a63_0xfbf4b6)this[_0x51f050(0xc0)]=_0x32e7e2;else throw new Error('传入的不是地图对象!');}['getMap'](){var _0x479d7f=a63_0x2237ef;return this[_0x479d7f(0xc0)];}['isPlot'](){return!![];}[a63_0x2237ef(0xcd)](_0x21745c){var _0xcfd556=a63_0x2237ef;this[_0xcfd556(0xb8)]=!_0x21745c?[]:_0x21745c,this[_0xcfd556(0xb8)][_0xcfd556(0xc3)]>=0x1&&this[_0xcfd556(0xca)]();}[a63_0x2237ef(0xca)](){}[a63_0x2237ef(0xc7)](){var _0x3006e4=a63_0x2237ef;return this[_0x3006e4(0xb8)][_0x3006e4(0xcc)](0x0);}['getPointCount'](){var _0x15f78=a63_0x2237ef;return this[_0x15f78(0xb8)]['length'];}[a63_0x2237ef(0xc1)](){}}export default BasePolygon;
1
+ var a64_0x5b3d45=a64_0x27ec;(function(_0xabbccd,_0x2b81ce){var _0x13b320=a64_0x27ec,_0x485e09=_0xabbccd();while(!![]){try{var _0x384b2a=parseInt(_0x13b320(0x14a))/0x1*(-parseInt(_0x13b320(0x151))/0x2)+parseInt(_0x13b320(0x163))/0x3*(-parseInt(_0x13b320(0x158))/0x4)+-parseInt(_0x13b320(0x150))/0x5*(parseInt(_0x13b320(0x153))/0x6)+-parseInt(_0x13b320(0x164))/0x7*(-parseInt(_0x13b320(0x15d))/0x8)+-parseInt(_0x13b320(0x155))/0x9*(parseInt(_0x13b320(0x15f))/0xa)+parseInt(_0x13b320(0x14d))/0xb*(parseInt(_0x13b320(0x156))/0xc)+-parseInt(_0x13b320(0x149))/0xd*(-parseInt(_0x13b320(0x14c))/0xe);if(_0x384b2a===_0x2b81ce)break;else _0x485e09['push'](_0x485e09['shift']());}catch(_0x14ef4e){_0x485e09['push'](_0x485e09['shift']());}}}(a64_0x5223,0xf336d));function a64_0x5223(){var _0x3b9329=['getPointCount','getType','getGeoJson','21AVCijH','1306207smBbRb','parse','generate','type','26909259nClZBg','1FNQXDG','getMap','28Jbuncc','4257TAuDjd','points','map','38485MewEbb','3557802ejaeGj','style','1002AedEkC','stringify','450sjYBWK','46248wmIUHJ','getPoints','274760WYITwz','传入的不是地图对象!','setMap','finishDrawing','length','8yuonxL','setStyle','255330IgOSnF'];a64_0x5223=function(){return _0x3b9329;};return a64_0x5223();}import{Polygon}from'ol/geom';function a64_0x27ec(_0x1132ae,_0x5eb2ab){var _0x5223fa=a64_0x5223();return a64_0x27ec=function(_0x27ec3d,_0x299eb9){_0x27ec3d=_0x27ec3d-0x146;var _0x484458=_0x5223fa[_0x27ec3d];return _0x484458;},a64_0x27ec(_0x1132ae,_0x5eb2ab);}import a64_0x4cd108 from'ol/format/GeoJSON';import a64_0x34e322 from'../../../mapView/Map';class BasePolygon extends Polygon{constructor(){var _0x182aa0=a64_0x27ec;super([]),this[_0x182aa0(0x14e)]=[];}[a64_0x5b3d45(0x161)](){var _0x504384=a64_0x5b3d45;return this['type']?this[_0x504384(0x148)]:super[_0x504384(0x161)]();}[a64_0x5b3d45(0x162)](){return new a64_0x4cd108()['writeGeometryObject'](this);}[a64_0x5b3d45(0x15e)](_0x1ca369){var _0x269e13=a64_0x5b3d45;_0x1ca369&&(this[_0x269e13(0x152)]=JSON[_0x269e13(0x146)](JSON[_0x269e13(0x154)](_0x1ca369)));}[a64_0x5b3d45(0x15a)](_0x342466){var _0x271906=a64_0x5b3d45;if(_0x342466&&_0x342466 instanceof a64_0x34e322)this['map']=_0x342466;else throw new Error(_0x271906(0x159));}[a64_0x5b3d45(0x14b)](){var _0x6e2d1f=a64_0x5b3d45;return this[_0x6e2d1f(0x14f)];}['isPlot'](){return!![];}['setPoints'](_0x3eb932){var _0x4becc9=a64_0x5b3d45;this['points']=!_0x3eb932?[]:_0x3eb932,this[_0x4becc9(0x14e)][_0x4becc9(0x15c)]>=0x1&&this[_0x4becc9(0x147)]();}['generate'](){}[a64_0x5b3d45(0x157)](){var _0xbca2a8=a64_0x5b3d45;return this[_0xbca2a8(0x14e)]['slice'](0x0);}[a64_0x5b3d45(0x160)](){var _0xc1f983=a64_0x5b3d45;return this[_0xc1f983(0x14e)]['length'];}[a64_0x5b3d45(0x15b)](){}}export default BasePolygon;
@@ -1 +1 @@
1
- const a64_0x5290d3=a64_0x515a;(function(_0x12117b,_0x12dbaf){const _0x14f772=a64_0x515a,_0x4df060=_0x12117b();while(!![]){try{const _0x416371=parseInt(_0x14f772(0x1ef))/0x1+parseInt(_0x14f772(0x1e2))/0x2+-parseInt(_0x14f772(0x1ea))/0x3*(-parseInt(_0x14f772(0x1f0))/0x4)+-parseInt(_0x14f772(0x1f4))/0x5*(parseInt(_0x14f772(0x1f5))/0x6)+-parseInt(_0x14f772(0x1e6))/0x7+-parseInt(_0x14f772(0x1eb))/0x8*(parseInt(_0x14f772(0x1ed))/0x9)+parseInt(_0x14f772(0x1e4))/0xa;if(_0x416371===_0x12dbaf)break;else _0x4df060['push'](_0x4df060['shift']());}catch(_0x4638b7){_0x4df060['push'](_0x4df060['shift']());}}}(a64_0x4422,0x7689c));import{Circle as a64_0x1a638f}from'ol/geom';import a64_0xde53da from'ol/format/GeoJSON';import{offset}from'ol/sphere';import{squaredDistance as a64_0x550e3b}from'ol/coordinate';function a64_0x515a(_0x4429cb,_0xe601dd){const _0x442216=a64_0x4422();return a64_0x515a=function(_0x515aa3,_0x5a3a6b){_0x515aa3=_0x515aa3-0x1e0;let _0x5c26e2=_0x442216[_0x515aa3];return _0x5c26e2;},a64_0x515a(_0x4429cb,_0xe601dd);}import{fromCircle}from'ol/geom/Polygon';import{compareArray}from'../../../utils/ArrayUtil';class Circle extends a64_0x1a638f{constructor(_0x2aa611){const _0x3266d3=a64_0x515a;super([]),this[_0x3266d3(0x1f1)]=_0x2aa611,this[_0x3266d3(0x1ec)]=_0x3266d3(0x1e0),_0x2aa611&&_0x2aa611[_0x3266d3(0x1f6)]>0x0&&this[_0x3266d3(0x1f3)](_0x2aa611);}[a64_0x5290d3(0x1f3)](_0x233ee9){const _0x398351=a64_0x5290d3;var _0x447247;((_0x447247=this[_0x398351(0x1f1)])===null||_0x447247===void 0x0?void 0x0:_0x447247['length'])>0x0&&(_0x233ee9===null||_0x233ee9===void 0x0?void 0x0:_0x233ee9[_0x398351(0x1f6)])>0x0&&!compareArray(this[_0x398351(0x1f1)][0x0],_0x233ee9[0x0])?this['setCenter'](_0x233ee9[0x0]):(this[_0x398351(0x1f1)]=!_0x233ee9?[]:_0x233ee9,this[_0x398351(0x1f1)][_0x398351(0x1f6)]>=0x1&&(this[_0x398351(0x1e1)]&&this[_0x398351(0x1e1)]()));}['generate'](){const _0x437f54=a64_0x5290d3;let _0x343779=this['points']['length'];if(_0x343779<0x2)return![];else{const _0x52711d=this[_0x437f54(0x1f1)][0x0],_0x44e1f3=a64_0x550e3b(_0x52711d,this[_0x437f54(0x1f1)][0x1]);this[_0x437f54(0x1e5)](_0x52711d,Math[_0x437f54(0x1f7)](_0x44e1f3));}}[a64_0x5290d3(0x1e3)](_0x39ba8d){const _0xbf59ea=a64_0x5290d3;this['setCenter'](_0x39ba8d),this['points']=[_0x39ba8d,offset(_0x39ba8d,this['getRadius'](),this['toRadians'](0x5a))],this[_0xbf59ea(0x1e1)]();}[a64_0x5290d3(0x1ee)](_0x3e256a){return _0x3e256a*Math['PI']/0xb4;}[a64_0x5290d3(0x1e9)](){const _0x49a00f=a64_0x5290d3;return new a64_0xde53da()[_0x49a00f(0x1e7)](fromCircle(this));}[a64_0x5290d3(0x1f2)](_0x46dc24,_0x2b8e21){const _0x295095=a64_0x5290d3;_0x2b8e21>=0x0&&_0x2b8e21<this['points'][_0x295095(0x1f6)]&&(this[_0x295095(0x1f1)][_0x2b8e21]=_0x46dc24,this['generate']());}[a64_0x5290d3(0x1e8)](_0x4153d7){const _0x244d49=a64_0x5290d3;this[_0x244d49(0x1f2)](_0x4153d7,this[_0x244d49(0x1f1)]['length']-0x1);}}function a64_0x4422(){const _0x4a31e9=['setCenter','2490920vCrnQe','setCenterAndRadius','2403093TqhSRO','writeGeometryObject','updateLastPoint','getGeoJson','3rToRIu','8LmcbhA','type','2109573zskOUU','toRadians','472147piTcRH','275608oUHTKL','points','updatePoint','setPoints','15vwPiPv','1135836ZSoAen','length','sqrt','Circle','generate','1682010WQWUYE'];a64_0x4422=function(){return _0x4a31e9;};return a64_0x4422();}export default Circle;
1
+ const a65_0x55d416=a65_0x960f;function a65_0x5454(){const _0x3a7362=['setCenterAndRadius','658574HrxavC','points','2234281awbcvp','writeGeometryObject','updatePoint','2105600ccbviM','1406275eptkJr','setPoints','updateLastPoint','Circle','418033eGZwqq','437706OVczRO','3aoSwnx','length','setCenter','3450692DVEIgA','getGeoJson','generate','toRadians','type'];a65_0x5454=function(){return _0x3a7362;};return a65_0x5454();}(function(_0x44d1af,_0x335fd6){const _0x579938=a65_0x960f,_0x33c6ac=_0x44d1af();while(!![]){try{const _0x360970=-parseInt(_0x579938(0xd0))/0x1+parseInt(_0x579938(0xdb))/0x2*(-parseInt(_0x579938(0xd2))/0x3)+parseInt(_0x579938(0xd5))/0x4+-parseInt(_0x579938(0xe1))/0x5+parseInt(_0x579938(0xd1))/0x6+parseInt(_0x579938(0xdd))/0x7+parseInt(_0x579938(0xe0))/0x8;if(_0x360970===_0x335fd6)break;else _0x33c6ac['push'](_0x33c6ac['shift']());}catch(_0x2f6c36){_0x33c6ac['push'](_0x33c6ac['shift']());}}}(a65_0x5454,0x777d8));function a65_0x960f(_0x4b9f57,_0x239570){const _0x5454de=a65_0x5454();return a65_0x960f=function(_0x960f9a,_0x3434c5){_0x960f9a=_0x960f9a-0xcd;let _0x2d9253=_0x5454de[_0x960f9a];return _0x2d9253;},a65_0x960f(_0x4b9f57,_0x239570);}import{Circle as a65_0x172593}from'ol/geom';import a65_0x5a6609 from'ol/format/GeoJSON';import{offset}from'ol/sphere';import{squaredDistance as a65_0x5ba99a}from'ol/coordinate';import{fromCircle}from'ol/geom/Polygon';import{compareArray}from'../../../utils/ArrayUtil';class Circle extends a65_0x172593{constructor(_0x343687){const _0x424433=a65_0x960f;super([]),this[_0x424433(0xdc)]=_0x343687,this[_0x424433(0xd9)]=_0x424433(0xcf),_0x343687&&_0x343687[_0x424433(0xd3)]>0x0&&this[_0x424433(0xcd)](_0x343687);}[a65_0x55d416(0xcd)](_0xad8164){const _0x2fd426=a65_0x55d416;var _0x493aaa;((_0x493aaa=this[_0x2fd426(0xdc)])===null||_0x493aaa===void 0x0?void 0x0:_0x493aaa[_0x2fd426(0xd3)])>0x0&&(_0xad8164===null||_0xad8164===void 0x0?void 0x0:_0xad8164[_0x2fd426(0xd3)])>0x0&&!compareArray(this[_0x2fd426(0xdc)][0x0],_0xad8164[0x0])?this[_0x2fd426(0xd4)](_0xad8164[0x0]):(this[_0x2fd426(0xdc)]=!_0xad8164?[]:_0xad8164,this[_0x2fd426(0xdc)][_0x2fd426(0xd3)]>=0x1&&(this['generate']&&this['generate']()));}['generate'](){const _0x4200ae=a65_0x55d416;let _0x330eba=this[_0x4200ae(0xdc)][_0x4200ae(0xd3)];if(_0x330eba<0x2)return![];else{const _0x50ab01=this[_0x4200ae(0xdc)][0x0],_0x437d6d=a65_0x5ba99a(_0x50ab01,this['points'][0x1]);this[_0x4200ae(0xda)](_0x50ab01,Math['sqrt'](_0x437d6d));}}[a65_0x55d416(0xd4)](_0x40c75c){const _0x357972=a65_0x55d416;this[_0x357972(0xd4)](_0x40c75c),this[_0x357972(0xdc)]=[_0x40c75c,offset(_0x40c75c,this['getRadius'](),this[_0x357972(0xd8)](0x5a))],this[_0x357972(0xd7)]();}['toRadians'](_0xa6b373){return _0xa6b373*Math['PI']/0xb4;}[a65_0x55d416(0xd6)](){const _0x53983d=a65_0x55d416;return new a65_0x5a6609()[_0x53983d(0xde)](fromCircle(this));}[a65_0x55d416(0xdf)](_0x48af01,_0x176602){const _0x57e1f6=a65_0x55d416;_0x176602>=0x0&&_0x176602<this[_0x57e1f6(0xdc)]['length']&&(this[_0x57e1f6(0xdc)][_0x176602]=_0x48af01,this[_0x57e1f6(0xd7)]());}[a65_0x55d416(0xce)](_0x268adf){const _0x3e1782=a65_0x55d416;this[_0x3e1782(0xdf)](_0x268adf,this[_0x3e1782(0xdc)]['length']-0x1);}}export default Circle;
@@ -1 +1 @@
1
- const a65_0x196999=a65_0x1a11;(function(_0x1b7a83,_0x377f60){const _0x4c975f=a65_0x1a11,_0xb372d8=_0x1b7a83();while(!![]){try{const _0x53b3a9=parseInt(_0x4c975f(0xc1))/0x1*(-parseInt(_0x4c975f(0xd0))/0x2)+-parseInt(_0x4c975f(0xcc))/0x3+parseInt(_0x4c975f(0xc6))/0x4+-parseInt(_0x4c975f(0xbc))/0x5+-parseInt(_0x4c975f(0xbf))/0x6*(-parseInt(_0x4c975f(0xc3))/0x7)+parseInt(_0x4c975f(0xc9))/0x8*(parseInt(_0x4c975f(0xcf))/0x9)+parseInt(_0x4c975f(0xcb))/0xa;if(_0x53b3a9===_0x377f60)break;else _0xb372d8['push'](_0xb372d8['shift']());}catch(_0x5f4f56){_0xb372d8['push'](_0xb372d8['shift']());}}}(a65_0x4047,0x1da3f));import a65_0x39e1c1 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';function a65_0x4047(){const _0x4a343f=['getPointCount','points','162580cOmEQX','setPoints','push','155032lLSCUa','updateLastPoint','1706090yeuzuO','526245QtJbwb','isPlot','setCoordinates','45XuJfqj','65842FjlYXH','58855GMmoDf','stringify','Polygon','397716HtXknl','length','2jozRxc','generate','7dLxSbw'];a65_0x4047=function(){return _0x4a343f;};return a65_0x4047();}class Polygon extends a65_0x39e1c1{constructor(_0x26bd36){const _0xb292b7=a65_0x1a11;super(),this['type']=_0xb292b7(0xbe),_0x26bd36&&_0x26bd36[_0xb292b7(0xc0)]>0x0&&getDeepth(_0x26bd36)==0x2?this[_0xb292b7(0xc7)](_0x26bd36):this[_0xb292b7(0xce)](_0x26bd36);}['_closed'](_0x19cd0c){const _0x2699e4=a65_0x1a11;let _0x3de6df=_0x19cd0c[0x0],_0x4f03c2=_0x19cd0c[_0x19cd0c[_0x2699e4(0xc0)]-0x1];return _0x3de6df[0x0]===_0x4f03c2[0x0]&&_0x3de6df[0x1]===_0x4f03c2[0x1]&&_0x3de6df[0x2]===_0x4f03c2[0x2];}[a65_0x196999(0xc2)](){const _0x3e1622=a65_0x196999;let _0x32aca4=this[_0x3e1622(0xc4)]();if(_0x32aca4<0x2)return![];else{let _0x3f564f=JSON['parse'](JSON[_0x3e1622(0xbd)](this[_0x3e1622(0xc5)]));_0x32aca4>=0x3&&(!this['_closed'](_0x3f564f)&&_0x3f564f[_0x3e1622(0xc8)](_0x3f564f[0x0])),this[_0x3e1622(0xce)]([_0x3f564f]);}}['updatePoint'](_0x342c0,_0x4c4bdd){const _0x13bc00=a65_0x196999;_0x4c4bdd>=0x0&&_0x4c4bdd<this[_0x13bc00(0xc5)][_0x13bc00(0xc0)]&&(this[_0x13bc00(0xc5)][_0x4c4bdd]=_0x342c0,this['generate']());}[a65_0x196999(0xcd)](){return![];}[a65_0x196999(0xca)](_0x99c85e){this['updatePoint'](_0x99c85e,this['points']['length']-0x1);}}function a65_0x1a11(_0x3525c7,_0x2f41c7){const _0x404743=a65_0x4047();return a65_0x1a11=function(_0x1a1114,_0x2a38fa){_0x1a1114=_0x1a1114-0xbc;let _0x59ca6e=_0x404743[_0x1a1114];return _0x59ca6e;},a65_0x1a11(_0x3525c7,_0x2f41c7);}export default Polygon;
1
+ const a66_0x284dcb=a66_0xbded;(function(_0x18ed65,_0xe0ebd1){const _0x14cc02=a66_0xbded,_0x5a5c35=_0x18ed65();while(!![]){try{const _0x1c03b1=parseInt(_0x14cc02(0x1e1))/0x1*(-parseInt(_0x14cc02(0x1ed))/0x2)+-parseInt(_0x14cc02(0x1df))/0x3*(parseInt(_0x14cc02(0x1ef))/0x4)+-parseInt(_0x14cc02(0x1db))/0x5*(parseInt(_0x14cc02(0x1e4))/0x6)+parseInt(_0x14cc02(0x1f0))/0x7+-parseInt(_0x14cc02(0x1e9))/0x8*(-parseInt(_0x14cc02(0x1e3))/0x9)+parseInt(_0x14cc02(0x1da))/0xa*(-parseInt(_0x14cc02(0x1ea))/0xb)+parseInt(_0x14cc02(0x1dd))/0xc*(parseInt(_0x14cc02(0x1e7))/0xd);if(_0x1c03b1===_0xe0ebd1)break;else _0x5a5c35['push'](_0x5a5c35['shift']());}catch(_0x2976f9){_0x5a5c35['push'](_0x5a5c35['shift']());}}}(a66_0x3b2c,0x3518a));import a66_0xcb2473 from'./BasePolygon';function a66_0xbded(_0x165a8b,_0x1dc03e){const _0x3b2c33=a66_0x3b2c();return a66_0xbded=function(_0xbded7b,_0xb07f24){_0xbded7b=_0xbded7b-0x1da;let _0x166088=_0x3b2c33[_0xbded7b];return _0x166088;},a66_0xbded(_0x165a8b,_0x1dc03e);}import{getDeepth}from'../../../utils/ArrayUtil';function a66_0x3b2c(){const _0x4eebcd=['30UNxcOI','push','setCoordinates','378638SpQWFI','length','168296TeXOfp','4508801tWrOPz','Polygon','points','2badeLr','_closed','176Ciikep','631533eHuBhu','getPointCount','10NWuIkU','294305QVDpwW','updatePoint','588FrtdQa','setPoints','26823tBlWMn','isPlot','265422ZUwlEf','generate','27oCAxke'];a66_0x3b2c=function(){return _0x4eebcd;};return a66_0x3b2c();}class Polygon extends a66_0xcb2473{constructor(_0x4a237d){const _0x360d90=a66_0xbded;super(),this['type']=_0x360d90(0x1eb),_0x4a237d&&_0x4a237d[_0x360d90(0x1e8)]>0x0&&getDeepth(_0x4a237d)==0x2?this[_0x360d90(0x1de)](_0x4a237d):this['setCoordinates'](_0x4a237d);}[a66_0x284dcb(0x1ee)](_0x230ff4){let _0x452283=_0x230ff4[0x0],_0x4adf58=_0x230ff4[_0x230ff4['length']-0x1];return _0x452283[0x0]===_0x4adf58[0x0]&&_0x452283[0x1]===_0x4adf58[0x1]&&_0x452283[0x2]===_0x4adf58[0x2];}[a66_0x284dcb(0x1e2)](){const _0x3a7fa8=a66_0x284dcb;let _0x80b14b=this[_0x3a7fa8(0x1f1)]();if(_0x80b14b<0x2)return![];else{let _0x107501=JSON['parse'](JSON['stringify'](this[_0x3a7fa8(0x1ec)]));_0x80b14b>=0x3&&(!this['_closed'](_0x107501)&&_0x107501[_0x3a7fa8(0x1e5)](_0x107501[0x0])),this[_0x3a7fa8(0x1e6)]([_0x107501]);}}[a66_0x284dcb(0x1dc)](_0x13336c,_0x194c32){const _0x2bbaab=a66_0x284dcb;_0x194c32>=0x0&&_0x194c32<this['points']['length']&&(this[_0x2bbaab(0x1ec)][_0x194c32]=_0x13336c,this[_0x2bbaab(0x1e2)]());}[a66_0x284dcb(0x1e0)](){return![];}['updateLastPoint'](_0x30d63e){const _0x571e8f=a66_0x284dcb;this[_0x571e8f(0x1dc)](_0x30d63e,this[_0x571e8f(0x1ec)][_0x571e8f(0x1e8)]-0x1);}}export default Polygon;
@@ -1 +1 @@
1
- const a66_0x3d860c=a66_0xa7da;(function(_0x386e03,_0x3c5687){const _0xebf2f5=a66_0xa7da,_0x40baf3=_0x386e03();while(!![]){try{const _0x152a0b=parseInt(_0xebf2f5(0x195))/0x1*(-parseInt(_0xebf2f5(0x19b))/0x2)+parseInt(_0xebf2f5(0x194))/0x3*(-parseInt(_0xebf2f5(0x19a))/0x4)+parseInt(_0xebf2f5(0x189))/0x5*(-parseInt(_0xebf2f5(0x18a))/0x6)+-parseInt(_0xebf2f5(0x190))/0x7*(parseInt(_0xebf2f5(0x193))/0x8)+parseInt(_0xebf2f5(0x192))/0x9+parseInt(_0xebf2f5(0x199))/0xa*(parseInt(_0xebf2f5(0x18e))/0xb)+-parseInt(_0xebf2f5(0x188))/0xc*(-parseInt(_0xebf2f5(0x18f))/0xd);if(_0x152a0b===_0x3c5687)break;else _0x40baf3['push'](_0x40baf3['shift']());}catch(_0x2cd984){_0x40baf3['push'](_0x40baf3['shift']());}}}(a66_0x4d23,0xb9e78));function a66_0xa7da(_0x498fdd,_0xe89ec0){const _0x4d238b=a66_0x4d23();return a66_0xa7da=function(_0xa7da4d,_0xb8910e){_0xa7da4d=_0xa7da4d-0x187;let _0x563186=_0x4d238b[_0xa7da4d];return _0x563186;},a66_0xa7da(_0x498fdd,_0xe89ec0);}function a66_0x4d23(){const _0x1f0bdd=['setCoordinates','generate','1241690ftrJqn','1399108NMFHOk','139408JIHoYQ','setPoints','18745332ZdeKGE','2345GlTwNF','2658HOqXRR','updatePoint','Polygon','length','22hcXmYR','13NtRxer','7QeDBbO','type','8303994LvaMMy','9082328puIMzG','3LpOyQz','4cjaOJu','points'];a66_0x4d23=function(){return _0x1f0bdd;};return a66_0x4d23();}import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a66_0x2f67ac from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a66_0x2f67ac{constructor(_0x32b8f3){const _0x2efc92=a66_0xa7da;super(),this[_0x2efc92(0x191)]=_0x2efc92(0x18c),_0x32b8f3&&_0x32b8f3['length']>0x0&&getDeepth(_0x32b8f3)==0x2?this[_0x2efc92(0x187)](_0x32b8f3):this['setCoordinates'](_0x32b8f3);}[a66_0x3d860c(0x198)](){const _0x107488=a66_0x3d860c;if(this[_0x107488(0x196)][_0x107488(0x18d)]===0x2){let _0x8a2eb9=[],_0x3d8a87=boundingExtent(this[_0x107488(0x196)]),_0x398bfa=fromExtent(_0x3d8a87);_0x8a2eb9=_0x398bfa['getCoordinates'](),this[_0x107488(0x197)](_0x8a2eb9);}}[a66_0x3d860c(0x18b)](_0xd26e35,_0x567080){const _0x3382ec=a66_0x3d860c;_0x567080>=0x0&&_0x567080<this['points'][_0x3382ec(0x18d)]&&(this[_0x3382ec(0x196)][_0x567080]=_0xd26e35,this[_0x3382ec(0x198)]());}['updateLastPoint'](_0x22c201){const _0x4bd366=a66_0x3d860c;this[_0x4bd366(0x18b)](_0x22c201,this['points'][_0x4bd366(0x18d)]-0x1);}}export default RectAngle;
1
+ function a67_0x5255(){const _0x6da858=['3322333AOxPlB','generate','getCoordinates','length','24EoOwzG','updateLastPoint','1827018xyCKaV','setCoordinates','4RZfNtJ','318362GMbSas','10QOMghH','points','15736nNKCOJ','60rrXwwo','435FEDEvZ','497540ZbvJyE','Polygon','type','48731364OlruXY','9784953OVRmrK','setPoints','updatePoint'];a67_0x5255=function(){return _0x6da858;};return a67_0x5255();}const a67_0x1a8f9b=a67_0x2322;(function(_0x1a585d,_0x4c25b8){const _0xd2bc2a=a67_0x2322,_0x4c065f=_0x1a585d();while(!![]){try{const _0x228bb2=-parseInt(_0xd2bc2a(0x1dd))/0x1*(-parseInt(_0xd2bc2a(0x1ec))/0x2)+-parseInt(_0xd2bc2a(0x1dc))/0x3*(-parseInt(_0xd2bc2a(0x1da))/0x4)+parseInt(_0xd2bc2a(0x1ee))/0x5*(parseInt(_0xd2bc2a(0x1ea))/0x6)+parseInt(_0xd2bc2a(0x1e4))/0x7*(parseInt(_0xd2bc2a(0x1e8))/0x8)+parseInt(_0xd2bc2a(0x1e1))/0x9+parseInt(_0xd2bc2a(0x1db))/0xa*(parseInt(_0xd2bc2a(0x1ed))/0xb)+-parseInt(_0xd2bc2a(0x1e0))/0xc;if(_0x228bb2===_0x4c25b8)break;else _0x4c065f['push'](_0x4c065f['shift']());}catch(_0x15c395){_0x4c065f['push'](_0x4c065f['shift']());}}}(a67_0x5255,0xc2e57));import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a67_0xeb3b98 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a67_0xeb3b98{constructor(_0x5b49db){const _0x1b981c=a67_0x2322;super(),this[_0x1b981c(0x1df)]=_0x1b981c(0x1de),_0x5b49db&&_0x5b49db['length']>0x0&&getDeepth(_0x5b49db)==0x2?this[_0x1b981c(0x1e2)](_0x5b49db):this[_0x1b981c(0x1eb)](_0x5b49db);}[a67_0x1a8f9b(0x1e5)](){const _0x3e3a47=a67_0x1a8f9b;if(this[_0x3e3a47(0x1d9)]['length']===0x2){let _0x23ad75=[],_0x5b825c=boundingExtent(this[_0x3e3a47(0x1d9)]),_0x52c34f=fromExtent(_0x5b825c);_0x23ad75=_0x52c34f[_0x3e3a47(0x1e6)](),this[_0x3e3a47(0x1eb)](_0x23ad75);}}['updatePoint'](_0x524f67,_0x1d11d4){const _0x34d337=a67_0x1a8f9b;_0x1d11d4>=0x0&&_0x1d11d4<this[_0x34d337(0x1d9)][_0x34d337(0x1e7)]&&(this[_0x34d337(0x1d9)][_0x1d11d4]=_0x524f67,this[_0x34d337(0x1e5)]());}[a67_0x1a8f9b(0x1e9)](_0x2a83d4){const _0x425908=a67_0x1a8f9b;this[_0x425908(0x1e3)](_0x2a83d4,this[_0x425908(0x1d9)][_0x425908(0x1e7)]-0x1);}}function a67_0x2322(_0x579fdf,_0x458a63){const _0x525504=a67_0x5255();return a67_0x2322=function(_0x2322e8,_0xcae05e){_0x2322e8=_0x2322e8-0x1d9;let _0x1f75db=_0x525504[_0x2322e8];return _0x1f75db;},a67_0x2322(_0x579fdf,_0x458a63);}export default RectAngle;
@@ -1 +1 @@
1
- function a67_0x17ea(){var _0x4abc2f=['length','传入的不是地图对象!','2237712VorvSy','setPoints','writeGeometryObject','55OMmzGs','7861987ZLqsFF','finishDrawing','47364KQGbai','getMap','generate','486642MKXfOt','isPlot','227268JlKGTv','1688364mpeQmY','2069481MdUsWp','points','stringify','setMap','setStyle','map','getPointCount','style','getPoints'];a67_0x17ea=function(){return _0x4abc2f;};return a67_0x17ea();}var a67_0x2db354=a67_0x23a5;function a67_0x23a5(_0x17b3b9,_0x5abe2b){var _0x17eaed=a67_0x17ea();return a67_0x23a5=function(_0x23a56c,_0x6f7d95){_0x23a56c=_0x23a56c-0xf1;var _0x3c8118=_0x17eaed[_0x23a56c];return _0x3c8118;},a67_0x23a5(_0x17b3b9,_0x5abe2b);}(function(_0x3df93c,_0x32cd34){var _0x474cd8=a67_0x23a5,_0x1a4af1=_0x3df93c();while(!![]){try{var _0xa67d6=parseInt(_0x474cd8(0x107))/0x1+-parseInt(_0x474cd8(0xf1))/0x2+parseInt(_0x474cd8(0xf3))/0x3+parseInt(_0x474cd8(0xf2))/0x4+-parseInt(_0x474cd8(0x101))/0x5*(-parseInt(_0x474cd8(0x104))/0x6)+-parseInt(_0x474cd8(0x102))/0x7+parseInt(_0x474cd8(0xfe))/0x8;if(_0xa67d6===_0x32cd34)break;else _0x1a4af1['push'](_0x1a4af1['shift']());}catch(_0x5c768b){_0x1a4af1['push'](_0x1a4af1['shift']());}}}(a67_0x17ea,0xb1d0d));import{LineString}from'ol/geom';import a67_0x3c839d from'ol/format/GeoJSON';import a67_0x196eac from'../../../mapView/Map';class Plot extends LineString{constructor(){var _0x1243a0=a67_0x23a5;super([]),this[_0x1243a0(0xf4)]=[];}['getPlotType'](){return this['type'];}['getGeoJson'](){var _0x405fdd=a67_0x23a5;return new a67_0x3c839d()[_0x405fdd(0x100)](this);}[a67_0x2db354(0xf7)](_0x5101df){var _0x49e653=a67_0x2db354;this[_0x49e653(0xfa)]=JSON['parse'](JSON[_0x49e653(0xf5)](_0x5101df));}[a67_0x2db354(0xf6)](_0x1305b6){var _0x16f547=a67_0x2db354;if(_0x1305b6&&_0x1305b6 instanceof a67_0x196eac)this[_0x16f547(0xf8)]=_0x1305b6;else throw new Error(_0x16f547(0xfd));}[a67_0x2db354(0x105)](){var _0x3ddce5=a67_0x2db354;return this[_0x3ddce5(0xf8)];}[a67_0x2db354(0x108)](){return!![];}[a67_0x2db354(0xff)](_0x574ea9){var _0x27e975=a67_0x2db354;this[_0x27e975(0xf4)]=!_0x574ea9?[]:_0x574ea9,this['points'][_0x27e975(0xfc)]>=0x1&&(this[_0x27e975(0x106)]&&this[_0x27e975(0x106)]());}[a67_0x2db354(0x106)](){}[a67_0x2db354(0xfb)](){var _0x3bd0ac=a67_0x2db354;return this[_0x3bd0ac(0xf4)]['slice'](0x0);}[a67_0x2db354(0xf9)](){var _0x5da3f8=a67_0x2db354;return this[_0x5da3f8(0xf4)]['length'];}[a67_0x2db354(0x103)](){}}export default Plot;
1
+ var a68_0x4a77b5=a68_0x3790;(function(_0xadeeb0,_0xcc9edc){var _0x2ea74e=a68_0x3790,_0x5080a5=_0xadeeb0();while(!![]){try{var _0xc1458f=-parseInt(_0x2ea74e(0xc4))/0x1*(parseInt(_0x2ea74e(0xb5))/0x2)+parseInt(_0x2ea74e(0xb9))/0x3+parseInt(_0x2ea74e(0xbe))/0x4*(-parseInt(_0x2ea74e(0xc0))/0x5)+parseInt(_0x2ea74e(0xb8))/0x6*(-parseInt(_0x2ea74e(0xbb))/0x7)+parseInt(_0x2ea74e(0xb7))/0x8*(parseInt(_0x2ea74e(0xca))/0x9)+-parseInt(_0x2ea74e(0xb3))/0xa*(-parseInt(_0x2ea74e(0xb1))/0xb)+-parseInt(_0x2ea74e(0xb0))/0xc*(-parseInt(_0x2ea74e(0xc9))/0xd);if(_0xc1458f===_0xcc9edc)break;else _0x5080a5['push'](_0x5080a5['shift']());}catch(_0x1f36f9){_0x5080a5['push'](_0x5080a5['shift']());}}}(a68_0x3bab,0x7d341));import{LineString}from'ol/geom';import a68_0xac93a3 from'ol/format/GeoJSON';function a68_0x3bab(){var _0x412b3b=['setMap','272pamtSj','parse','isPlot','generate','setPoints','378664lXERVT','414NauJxT','传入的不是地图对象!','getPlotType','getGeoJson','696FtWrDz','1265YvCSvu','setStyle','11240jQlNpP','map','6172xryfmj','slice','56968tfamar','54ErzjqS','2660958qToGZz','length','647885krKEyH','stringify','type','108otSfvI','getMap','157040LNzVdp','finishDrawing','points'];a68_0x3bab=function(){return _0x412b3b;};return a68_0x3bab();}function a68_0x3790(_0x34cc1c,_0x4ec9f8){var _0x3bab79=a68_0x3bab();return a68_0x3790=function(_0x37908d,_0x553cab){_0x37908d=_0x37908d-0xb0;var _0x42f9c0=_0x3bab79[_0x37908d];return _0x42f9c0;},a68_0x3790(_0x34cc1c,_0x4ec9f8);}import a68_0x436b4c from'../../../mapView/Map';class Plot extends LineString{constructor(){var _0xbc4388=a68_0x3790;super([]),this[_0xbc4388(0xc2)]=[];}[a68_0x4a77b5(0xcc)](){var _0x1f80de=a68_0x4a77b5;return this[_0x1f80de(0xbd)];}[a68_0x4a77b5(0xcd)](){return new a68_0xac93a3()['writeGeometryObject'](this);}[a68_0x4a77b5(0xb2)](_0xfbcd17){var _0x387541=a68_0x4a77b5;this['style']=JSON[_0x387541(0xc5)](JSON[_0x387541(0xbc)](_0xfbcd17));}[a68_0x4a77b5(0xc3)](_0x49d01e){var _0x163999=a68_0x4a77b5;if(_0x49d01e&&_0x49d01e instanceof a68_0x436b4c)this[_0x163999(0xb4)]=_0x49d01e;else throw new Error(_0x163999(0xcb));}[a68_0x4a77b5(0xbf)](){return this['map'];}[a68_0x4a77b5(0xc6)](){return!![];}[a68_0x4a77b5(0xc8)](_0x447575){var _0x19894c=a68_0x4a77b5;this[_0x19894c(0xc2)]=!_0x447575?[]:_0x447575,this[_0x19894c(0xc2)][_0x19894c(0xba)]>=0x1&&(this[_0x19894c(0xc7)]&&this['generate']());}[a68_0x4a77b5(0xc7)](){}['getPoints'](){var _0x31e394=a68_0x4a77b5;return this['points'][_0x31e394(0xb6)](0x0);}['getPointCount'](){var _0x249e89=a68_0x4a77b5;return this[_0x249e89(0xc2)][_0x249e89(0xba)];}[a68_0x4a77b5(0xc1)](){}}export default Plot;
@@ -1 +1 @@
1
- var a68_0x5d0a6e=a68_0x2331;(function(_0x486cce,_0x38f9ba){var _0x5eeae3=a68_0x2331,_0x5c5fbf=_0x486cce();while(!![]){try{var _0x3527c1=parseInt(_0x5eeae3(0x16d))/0x1+parseInt(_0x5eeae3(0x170))/0x2*(parseInt(_0x5eeae3(0x162))/0x3)+-parseInt(_0x5eeae3(0x16e))/0x4*(-parseInt(_0x5eeae3(0x16c))/0x5)+parseInt(_0x5eeae3(0x16b))/0x6*(-parseInt(_0x5eeae3(0x161))/0x7)+-parseInt(_0x5eeae3(0x15d))/0x8*(-parseInt(_0x5eeae3(0x169))/0x9)+parseInt(_0x5eeae3(0x15c))/0xa+-parseInt(_0x5eeae3(0x167))/0xb;if(_0x3527c1===_0x38f9ba)break;else _0x5c5fbf['push'](_0x5c5fbf['shift']());}catch(_0x55383e){_0x5c5fbf['push'](_0x5c5fbf['shift']());}}}(a68_0x1da0,0x1d1d5));function a68_0x2331(_0x67d2ad,_0x5a19a7){var _0x1da066=a68_0x1da0();return a68_0x2331=function(_0x2331c1,_0x5cce03){_0x2331c1=_0x2331c1-0x15c;var _0x47c2a3=_0x1da066[_0x2331c1];return _0x47c2a3;},a68_0x2331(_0x67d2ad,_0x5a19a7);}import a68_0xf57e18 from'./BaseLine';class Polyline extends a68_0xf57e18{constructor(_0x216ff9){var _0xefc848=a68_0x2331;super(),this[_0xefc848(0x160)]='LineString',this[_0xefc848(0x166)](_0x216ff9);}[a68_0x5d0a6e(0x15f)](){var _0x55cfca=a68_0x5d0a6e;this[_0x55cfca(0x166)](this['points']);}[a68_0x5d0a6e(0x15e)](_0x330ffd,_0x274797){var _0x85af30=a68_0x5d0a6e;_0x274797>=0x0&&_0x274797<this[_0x85af30(0x16f)][_0x85af30(0x168)]&&(this['points'][_0x274797]=_0x330ffd,this[_0x85af30(0x15f)]());}[a68_0x5d0a6e(0x165)](_0x1be107){var _0x38822b=a68_0x5d0a6e;this[_0x38822b(0x15e)](_0x1be107,this[_0x38822b(0x16f)]['length']-0x1);}['isPlot'](){return![];}['setStyle'](_0x28cd44){var _0x333e23=a68_0x5d0a6e;this[_0x333e23(0x16a)]=JSON[_0x333e23(0x164)](JSON[_0x333e23(0x163)](_0x28cd44));}}function a68_0x1da0(){var _0x2b005f=['parse','updateLastPoint','setCoordinates','5855179JgeMHe','length','865359oSKJeG','style','30aaHnGM','1049970LkGWQO','138784kbRsKP','4dIQGjA','points','2ArWAQc','947780lHRfcx','16wHWNZb','updatePoint','generate','type','144767HBAsUn','357267gblFka','stringify'];a68_0x1da0=function(){return _0x2b005f;};return a68_0x1da0();}export default Polyline;
1
+ function a69_0x4ed6(){var _0x16bfac=['updateLastPoint','parse','type','4964184IcLHpU','2404794ktwQZY','setCoordinates','1765ujxUOx','points','setStyle','283761zoisrt','12cjgaHX','3304812RuVIck','410qeUXus','length','generate','isPlot','stringify','updatePoint','9508MUbLaO','102247CEsLKM','1122976KqjLXh'];a69_0x4ed6=function(){return _0x16bfac;};return a69_0x4ed6();}var a69_0x576c75=a69_0x5a07;function a69_0x5a07(_0x56fa34,_0x5811d0){var _0x4ed688=a69_0x4ed6();return a69_0x5a07=function(_0x5a071d,_0x549009){_0x5a071d=_0x5a071d-0x12e;var _0x52544a=_0x4ed688[_0x5a071d];return _0x52544a;},a69_0x5a07(_0x56fa34,_0x5811d0);}(function(_0x8b845f,_0x590503){var _0x1cb97e=a69_0x5a07,_0xeb05d5=_0x8b845f();while(!![]){try{var _0x3f3755=-parseInt(_0x1cb97e(0x133))/0x1+-parseInt(_0x1cb97e(0x134))/0x2+-parseInt(_0x1cb97e(0x139))/0x3+parseInt(_0x1cb97e(0x132))/0x4*(-parseInt(_0x1cb97e(0x13b))/0x5)+-parseInt(_0x1cb97e(0x13f))/0x6*(-parseInt(_0x1cb97e(0x140))/0x7)+parseInt(_0x1cb97e(0x138))/0x8+-parseInt(_0x1cb97e(0x13e))/0x9*(-parseInt(_0x1cb97e(0x141))/0xa);if(_0x3f3755===_0x590503)break;else _0xeb05d5['push'](_0xeb05d5['shift']());}catch(_0x37ea5d){_0xeb05d5['push'](_0xeb05d5['shift']());}}}(a69_0x4ed6,0x87046));import a69_0x3ef48d from'./BaseLine';class Polyline extends a69_0x3ef48d{constructor(_0x3d11f2){var _0x142040=a69_0x5a07;super(),this[_0x142040(0x137)]='LineString',this[_0x142040(0x13a)](_0x3d11f2);}[a69_0x576c75(0x12e)](){var _0x379781=a69_0x576c75;this[_0x379781(0x13a)](this[_0x379781(0x13c)]);}[a69_0x576c75(0x131)](_0x4b26c4,_0xa8c4a4){var _0x46db31=a69_0x576c75;_0xa8c4a4>=0x0&&_0xa8c4a4<this[_0x46db31(0x13c)]['length']&&(this[_0x46db31(0x13c)][_0xa8c4a4]=_0x4b26c4,this[_0x46db31(0x12e)]());}[a69_0x576c75(0x135)](_0x4e9781){var _0x373dd6=a69_0x576c75;this[_0x373dd6(0x131)](_0x4e9781,this[_0x373dd6(0x13c)][_0x373dd6(0x142)]-0x1);}[a69_0x576c75(0x12f)](){return![];}[a69_0x576c75(0x13d)](_0xb204a3){var _0x3548ba=a69_0x576c75;this['style']=JSON[_0x3548ba(0x136)](JSON[_0x3548ba(0x130)](_0xb204a3));}}export default Polyline;
@@ -1 +1 @@
1
- (function(_0x43c2aa,_0x3a0a08){const _0x5b3c66=a71_0x5402,_0x1eb1b5=_0x43c2aa();while(!![]){try{const _0x221957=parseInt(_0x5b3c66(0xd2))/0x1*(parseInt(_0x5b3c66(0xef))/0x2)+parseInt(_0x5b3c66(0xc1))/0x3*(-parseInt(_0x5b3c66(0xd5))/0x4)+parseInt(_0x5b3c66(0xbc))/0x5*(parseInt(_0x5b3c66(0xf2))/0x6)+-parseInt(_0x5b3c66(0xde))/0x7*(parseInt(_0x5b3c66(0xdf))/0x8)+parseInt(_0x5b3c66(0xd6))/0x9*(-parseInt(_0x5b3c66(0xd1))/0xa)+parseInt(_0x5b3c66(0xfb))/0xb+-parseInt(_0x5b3c66(0xf0))/0xc;if(_0x221957===_0x3a0a08)break;else _0x1eb1b5['push'](_0x1eb1b5['shift']());}catch(_0x76f0d1){_0x1eb1b5['push'](_0x1eb1b5['shift']());}}}(a71_0x392f,0x4aa2d));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';function a71_0x5402(_0x2f2022,_0x57b53d){const _0x392fd0=a71_0x392f();return a71_0x5402=function(_0x5402e5,_0x46f2e3){_0x5402e5=_0x5402e5-0xb6;let _0x5ab3a0=_0x392fd0[_0x5402e5];return _0x5ab3a0;},a71_0x5402(_0x2f2022,_0x57b53d);}import a71_0x4d61c5 from'ol/style/Style';import a71_0xcf78f4 from'ol/style/Circle';import a71_0x405153 from'ol/style/Fill';import a71_0x40ce0f from'ol/style/Stroke';function getMainStyle(_0xf9dfe6,_0x4d5841=0x0,_0x8a0b0c){const _0xf1a2a=a71_0x5402;let _0x2fa238;return _0xf9dfe6['image']||_0xf9dfe6[_0xf1a2a(0xec)]?_0x2fa238=new a71_0x4d61c5({'renderer':(_0x247eb6,_0x3309dc)=>{preLoadImageRenderFunction(_0xf9dfe6,_0x247eb6,_0x3309dc,_0x8a0b0c,_rendererFunction);},'zIndex':Number(_0x4d5841)}):_0x2fa238=new a71_0x4d61c5({'image':new a71_0xcf78f4({'radius':_0xf9dfe6['radius']?_0xf9dfe6[_0xf1a2a(0xdc)]:_0xf9dfe6['pixelSize'],'fill':new a71_0x405153({'color':getColor(_0xf9dfe6[_0xf1a2a(0xbb)],_0xf9dfe6[_0xf1a2a(0xe1)])}),'stroke':_0xf9dfe6['outline']&&_0xf9dfe6[_0xf1a2a(0xc6)]?new a71_0x40ce0f({'color':getColor(_0xf9dfe6[_0xf1a2a(0xc6)],_0xf9dfe6[_0xf1a2a(0xcd)]),'width':_0xf9dfe6[_0xf1a2a(0xeb)]}):undefined}),'zIndex':Number(_0x4d5841)}),_0x2fa238;}function _rendererFunction(_0x52a8ce,_0x319ddf,_0x162e3d,_0x30ba28,_0x261fea){const _0x4a6b0e=a71_0x5402;if(!_0x261fea||_0x261fea[_0x4a6b0e(0xdb)]===0x0){let _0x4b5de3=new Image();_0x4b5de3[_0x4a6b0e(0xc4)]=_0x52a8ce['image'];}if(_0x52a8ce[_0x4a6b0e(0xdd)]&&_0x52a8ce['color']!==''){let _0x4ac96e=_0x52a8ce[_0x4a6b0e(0xe3)]||0x1,_0x25d66f=_0x52a8ce[_0x4a6b0e(0xdb)]||_0x261fea[_0x4a6b0e(0xdb)]*_0x4ac96e,_0x5a70a7=_0x52a8ce[_0x4a6b0e(0xe5)]||_0x261fea['height']*_0x4ac96e;_0x25d66f=_0x25d66f*_0x162e3d['pixelRatio'],_0x5a70a7=_0x5a70a7*_0x162e3d[_0x4a6b0e(0xfd)];const _0x2349c8=document[_0x4a6b0e(0xce)](_0x4a6b0e(0xd0));_0x2349c8[_0x4a6b0e(0xdb)]=_0x25d66f,_0x2349c8[_0x4a6b0e(0xe5)]=_0x5a70a7;const _0x250190=_0x2349c8[_0x4a6b0e(0xf6)]('2d');_0x250190===null||_0x250190===void 0x0?void 0x0:_0x250190['drawImage'](_0x261fea,0x0,0x0,_0x25d66f,_0x5a70a7);let _0x3258d7=_0x250190===null||_0x250190===void 0x0?void 0x0:_0x250190[_0x4a6b0e(0xe6)](0x0,0x0,_0x25d66f,_0x5a70a7),_0x267cb5=_0x3258d7===null||_0x3258d7===void 0x0?void 0x0:_0x3258d7['data'];_0x261fea=_0x2349c8;let _0x494844=HexToRgb(_0x52a8ce[_0x4a6b0e(0xbb)]);if(_0x267cb5&&_0x494844)for(var _0x1245d7=0x0;_0x1245d7<_0x267cb5[_0x4a6b0e(0xe7)];_0x1245d7+=0x4){_0x267cb5[_0x1245d7]=_0x494844[0x0],_0x267cb5[_0x1245d7+0x1]=_0x494844[0x1],_0x267cb5[_0x1245d7+0x2]=_0x494844[0x2];}_0x3258d7&&(_0x250190===null||_0x250190===void 0x0?void 0x0:_0x250190['putImageData'](_0x3258d7,0x0,0x0));}let _0x1ac0cf=_0x162e3d['geometry'],_0x57fd58=_0x162e3d[_0x4a6b0e(0xfd)],_0x1401fe=_0x1ac0cf[_0x4a6b0e(0xea)](),_0x559d02=_0x1ac0cf[_0x4a6b0e(0xed)](),_0x5b0f59=[];switch(_0x559d02){case _0x4a6b0e(0xfe):_0x5b0f59=_0x1ac0cf[_0x4a6b0e(0xbd)]();break;case _0x4a6b0e(0xf9):_0x5b0f59=_0x1ac0cf[_0x4a6b0e(0xcb)](),_0x1401fe=0x2;break;case _0x4a6b0e(0xc5):_0x5b0f59=_0x1ac0cf[_0x4a6b0e(0xf8)](),_0x1401fe=0x3;break;case'MultiPolygon':{let _0x5370b1=_0x1ac0cf[_0x4a6b0e(0xe2)]();_0x5b0f59=[];for(let _0x3b962c=0x0,_0x2dc47b=_0x5370b1[_0x4a6b0e(0xe7)];_0x3b962c<_0x2dc47b;_0x3b962c+=0x3){_0x5b0f59['push'](_0x5370b1[_0x3b962c],_0x5370b1[_0x3b962c+0x1]);}if(_0x5b0f59[_0x4a6b0e(0xe7)]===0x0)return;_0x1401fe=0x2;break;}}if(_0x5b0f59['length']>0x0&&_0x30ba28)for(let _0x503776=0x0,_0x4c3575=_0x5b0f59[_0x4a6b0e(0xe7)];_0x503776<_0x4c3575;_0x503776+=_0x1401fe){let _0x138136=[_0x5b0f59[_0x503776],_0x5b0f59[_0x503776+0x1]],_0x49f3a6=_0x30ba28[_0x4a6b0e(0xe9)](_0x138136);_0x49f3a6=[_0x49f3a6[0x0]*_0x57fd58,_0x49f3a6[0x1]*_0x57fd58],drawImage(_0x52a8ce,_0x49f3a6,_0x162e3d,_0x261fea);}else{if(_0x559d02==='MultiPoint')for(let _0x32eb93 of _0x319ddf){drawImage(_0x52a8ce,_0x32eb93,_0x162e3d,_0x261fea);}else drawImage(_0x52a8ce,_0x319ddf,_0x162e3d,_0x261fea);}}function HexToRgb(_0x5996c7){const _0x4190f2=a71_0x5402;_0x5996c7=_0x5996c7[_0x4190f2(0xf3)]('#','');let _0x3bc56b=_0x5996c7[_0x4190f2(0xfc)](/../g);if(_0x3bc56b){for(let _0xe434f4=0x0;_0xe434f4<0x3;_0xe434f4++)_0x3bc56b[_0xe434f4]=parseInt(_0x3bc56b[_0xe434f4],0x10);}return _0x3bc56b;}function a71_0x392f(){const _0x4200b4=['getFlatInteriorPoint','MultiLineString','cloud','5652559abWtlD','match','pixelRatio','LineString','rotation','point','toUpperCase','RIGHT','verticalOrigin','color','1831895pxlraC','getFlatMidpoint','label','drawImage','pixelOffsetX','3261pcHscB','stringify','TOP','src','Polygon','outlineColor','restore','model','horizontalOrigin','billboard','getFlatMidpoints','modelKind','outlineOpacity','createElement','image','canvas','4973390TEiLQS','3317DYAHmL','imgUrl','text','316uquiqT','9VlAJzC','.png','globalAlpha','pixelOffset','model/','width','radius','changeColor','973Zigjgp','13752YTpNMv','push','opacity','getFlatInteriorPoints','scale','zIndex','height','getImageData','length','translate','getPixelFromCoordinate','getStride','outlineWidth','markerColor','getType','context','356SVADpx','4113744caVsxT','warn','6gcMLvY','replace','parse','rotate','getContext','show'];a71_0x392f=function(){return _0x4200b4;};return a71_0x392f();}export function getImageOlStyle(_0x294263,_0x1ff235,_0xbd5037,_0x3c4f6a){const _0x35052f=a71_0x5402;var _0x1d4c5a;if(_0x294263&&_0x294263[_0x35052f(0xf7)]!==![]){_0x294263=JSON[_0x35052f(0xf4)](JSON['stringify'](_0x294263)),_0x1ff235=(_0x1d4c5a=_0x294263['zIndex'])!==null&&_0x1d4c5a!==void 0x0?_0x1d4c5a:_0x1ff235;let _0x1446ef=isShowStyle(_0x294263,_0xbd5037,_0x3c4f6a);if(_0x1446ef)return _0x294263[_0x35052f(0xcf)]=parseImage(_0x294263['image']),getMainStyle(_0x294263,_0x1ff235,_0x3c4f6a);}}export function getPointStyle(_0x1a3882,_0x7e49f1,_0x1366d9,_0x376347){const _0x263da5=a71_0x5402;var _0x498ea2,_0xe5a98e;_0x1a3882=JSON[_0x263da5(0xf4)](JSON[_0x263da5(0xc2)](_0x1a3882));let _0x4a18cf=(_0x498ea2=_0x1a3882['zIndex'])!==null&&_0x498ea2!==void 0x0?_0x498ea2:0x0,_0x207c39=[],_0x35378a=getImageOlStyle(_0x1a3882,_0x4a18cf,_0x1366d9,_0x376347);_0x35378a&&_0x207c39['push'](_0x35378a);let _0x395605=getImageOlStyle(_0x1a3882[_0x263da5(0xca)],_0x4a18cf,_0x1366d9,_0x376347);_0x395605&&_0x207c39[_0x263da5(0xe0)](_0x395605);if(_0x1a3882[_0x263da5(0xc8)]&&_0x1a3882[_0x263da5(0xc8)][_0x263da5(0xf7)]!==![]){let _0x11c3fb=isShowStyle(_0x1a3882[_0x263da5(0xc8)],_0x1366d9,_0x376347);if(_0x11c3fb){let _0x6592ec=(_0xe5a98e=_0x1a3882['model'][_0x263da5(0xe4)])!==null&&_0xe5a98e!==void 0x0?_0xe5a98e:_0x4a18cf,_0x578e40=_0x1a3882[_0x263da5(0xc8)]['imgUrl']||'model/'+_0x1a3882[_0x263da5(0xc8)][_0x263da5(0xcc)]+_0x263da5(0xd7);_0x1a3882[_0x263da5(0xe3)]=0x1,_0x1a3882[_0x263da5(0xdb)]=0x30,_0x1a3882[_0x263da5(0xe5)]=0x30,_0x1a3882[_0x263da5(0xba)]='CENTER',_0x207c39['push'](getMainStyle(_0x1a3882[_0x263da5(0xc8)],_0x6592ec,_0x376347));}}if(_0x1a3882['label']&&_0x1a3882[_0x263da5(0xbe)][_0x263da5(0xf7)]!==![]){let _0x59db86=new a71_0x4d61c5({'text':createTextStyle(_0x1a3882[_0x263da5(0xbe)],_0x7e49f1,_0x1366d9,_0x376347),'zIndex':Number(_0x4a18cf)+0x1});_0x207c39['push'](_0x59db86);}return _0x207c39;}export function getPointSingleStyle(_0x42e37e,_0x1e1ddf,_0x4932a9,_0x575b45){const _0x57b66f=a71_0x5402;_0x1e1ddf=JSON[_0x57b66f(0xf4)](JSON[_0x57b66f(0xc2)](_0x1e1ddf));let _0x581256=_0x1e1ddf['label'],_0x3a4d5d;_0x581256&&(_0x3a4d5d=_0x581256[_0x57b66f(0xd4)]?_0x581256[_0x57b66f(0xd4)]:'');if(_0x42e37e==='billboard')return _0x1e1ddf[_0x57b66f(0xcf)]=parseImage(_0x1e1ddf[_0x57b66f(0xcf)]),getPointStyle(_0x1e1ddf,_0x3a4d5d,_0x4932a9,_0x575b45);else{if(_0x42e37e===_0x57b66f(0xc8)){let _0x2584e8=_0x1e1ddf[_0x57b66f(0xd3)]||_0x57b66f(0xda)+_0x1e1ddf[_0x57b66f(0xcc)]+_0x57b66f(0xd7);return _0x1e1ddf[_0x57b66f(0xe3)]=0x1,_0x1e1ddf[_0x57b66f(0xdb)]=0x30,_0x1e1ddf[_0x57b66f(0xe5)]=0x30,_0x1e1ddf['verticalOrigin']='CENTER',getPointStyle(_0x1e1ddf,_0x3a4d5d,_0x4932a9,_0x575b45);}else{if(_0x42e37e===_0x57b66f(0xfa))return getPointStyle(_0x1e1ddf,_0x3a4d5d,_0x4932a9,_0x575b45);else{if(_0x42e37e===_0x57b66f(0xb7))return getPointStyle(_0x1e1ddf,_0x3a4d5d,_0x4932a9,_0x575b45);else return _0x42e37e===_0x57b66f(0xbe)?new a71_0x4d61c5({'text':createTextStyle(_0x1e1ddf,_0x1e1ddf['text'],_0x4932a9,_0x575b45),'zIndex':_0x1e1ddf[_0x57b66f(0xe4)]}):getPointStyle(_0x1e1ddf,_0x3a4d5d,_0x4932a9,_0x575b45);}}}}function drawImage(_0x2b2356,_0x5a87ad,_0x2f67d8,_0x235330){const _0xfb3844=a71_0x5402;var _0x1f1e6c,_0x5036ea,_0x5976b8,_0x5e9397;let _0x59f71f=_0x2f67d8[_0xfb3844(0xee)];try{_0x59f71f['save']();let _0x3b7e7f=Number(_0x2b2356[_0xfb3844(0xc0)]||((_0x1f1e6c=_0x2b2356['pixelOffset'])===null||_0x1f1e6c===void 0x0?void 0x0:_0x1f1e6c[0x0])||0x0),_0x3878cd=Number(_0x2b2356['pixelOffsetY']||((_0x5036ea=_0x2b2356[_0xfb3844(0xd9)])===null||_0x5036ea===void 0x0?void 0x0:_0x5036ea[0x1])||0x0);_0x59f71f[_0xfb3844(0xe8)](_0x5a87ad[0x0]+_0x3b7e7f,_0x5a87ad[0x1]+_0x3878cd);if(_0x2b2356[_0xfb3844(0xb6)])_0x59f71f[_0xfb3844(0xf5)](toRadians(_0x2b2356[_0xfb3844(0xb6)]));_0x59f71f[_0xfb3844(0xd8)]=_0x2b2356[_0xfb3844(0xe1)]!=null?_0x2b2356[_0xfb3844(0xe1)]:0x1;if(_0x235330[_0xfb3844(0xdb)]>0x0){let _0x35843e=_0x2b2356[_0xfb3844(0xe3)]||0x1,_0x223490=_0x2b2356[_0xfb3844(0xdb)]||_0x235330[_0xfb3844(0xdb)]*_0x35843e,_0xe61c7f=_0x2b2356[_0xfb3844(0xe5)]||_0x235330[_0xfb3844(0xe5)]*_0x35843e;_0x223490=_0x223490*_0x2f67d8['pixelRatio'],_0xe61c7f=_0xe61c7f*_0x2f67d8[_0xfb3844(0xfd)];_0x2b2356[_0xfb3844(0xdd)]&&(_0x223490=_0x235330[_0xfb3844(0xdb)],_0xe61c7f=_0x235330[_0xfb3844(0xe5)]);let _0x3c9085;switch((_0x5976b8=_0x2b2356[_0xfb3844(0xc9)])===null||_0x5976b8===void 0x0?void 0x0:_0x5976b8['toUpperCase']()){default:case'CENTER':_0x3c9085=-_0x223490/0x2;break;case'LEFT':_0x3c9085=0x0;break;case _0xfb3844(0xb9):_0x3c9085=-_0x223490;break;}let _0x28e8ea;switch((_0x5e9397=_0x2b2356[_0xfb3844(0xba)])===null||_0x5e9397===void 0x0?void 0x0:_0x5e9397[_0xfb3844(0xb8)]()){default:case'BOTTOM':_0x28e8ea=-_0xe61c7f;break;case'CENTER':_0x28e8ea=-_0xe61c7f/0x2;break;case _0xfb3844(0xc3):_0x28e8ea=0x0;break;}_0x59f71f[_0xfb3844(0xbf)](_0x235330,_0x3c9085,_0x28e8ea,_0x223490,_0xe61c7f);}else _0x59f71f[_0xfb3844(0xbf)](_0x235330,0x0,0x0);_0x59f71f[_0xfb3844(0xc7)]();}catch(_0x32685d){_0x59f71f[_0xfb3844(0xc7)](),console[_0xfb3844(0xf1)](_0x32685d);}}
1
+ function a72_0x3bef(){const _0x4a3195=['match','278637GzkUTU','rotate','getFlatInteriorPoints','push','CENTER','TOP','pixelOffset','LEFT','context','12HPkvjk','parse','getImageData','48NFgkXH','outlineWidth','cloud','pixelRatio','markerColor','Polygon','verticalOrigin','modelKind','show','getType','722781cRblvc','changeColor','drawImage','image','putImageData','billboard','geometry','.png','toUpperCase','stringify','outlineColor','pixelOffsetX','translate','237510vxguST','MultiPolygon','1730682keyKNH','1360698vdatAt','text','canvas','model/','label','getStride','RIGHT','418775EUoXXT','color','save','opacity','replace','getFlatMidpoint','MultiPoint','imgUrl','getContext','scale','zIndex','1389505TNKSxE','height','getFlatInteriorPoint','width','createElement','length','10DfESLc','horizontalOrigin','outlineOpacity','restore','getPixelFromCoordinate','model'];a72_0x3bef=function(){return _0x4a3195;};return a72_0x3bef();}(function(_0x162039,_0x24c592){const _0x4e5994=a72_0x1899,_0x6112d4=_0x162039();while(!![]){try{const _0x1abf43=-parseInt(_0x4e5994(0x107))/0x1+parseInt(_0x4e5994(0xe7))/0x2+parseInt(_0x4e5994(0xe8))/0x3+-parseInt(_0x4e5994(0xcb))/0x4*(parseInt(_0x4e5994(0xfa))/0x5)+parseInt(_0x4e5994(0xe5))/0x6+-parseInt(_0x4e5994(0xef))/0x7*(-parseInt(_0x4e5994(0xce))/0x8)+-parseInt(_0x4e5994(0xd8))/0x9*(parseInt(_0x4e5994(0x100))/0xa);if(_0x1abf43===_0x24c592)break;else _0x6112d4['push'](_0x6112d4['shift']());}catch(_0x263a29){_0x6112d4['push'](_0x6112d4['shift']());}}}(a72_0x3bef,0x801f9));function a72_0x1899(_0x4c27cb,_0x40f7cf){const _0x3befca=a72_0x3bef();return a72_0x1899=function(_0x189904,_0x21dbbb){_0x189904=_0x189904-0xcb;let _0x3ab6c0=_0x3befca[_0x189904];return _0x3ab6c0;},a72_0x1899(_0x4c27cb,_0x40f7cf);}import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a72_0x3dc9cb from'ol/style/Style';import a72_0x4eadc1 from'ol/style/Circle';import a72_0x1eb784 from'ol/style/Fill';import a72_0x2e7bb5 from'ol/style/Stroke';function getMainStyle(_0xcc6a19,_0x5866fc=0x0,_0x29484b){const _0x4e84fd=a72_0x1899;let _0x3373a2;return _0xcc6a19['image']||_0xcc6a19[_0x4e84fd(0xd2)]?_0x3373a2=new a72_0x3dc9cb({'renderer':(_0x58f933,_0x3bc06c)=>{preLoadImageRenderFunction(_0xcc6a19,_0x58f933,_0x3bc06c,_0x29484b,_rendererFunction);},'zIndex':Number(_0x5866fc)}):_0x3373a2=new a72_0x3dc9cb({'image':new a72_0x4eadc1({'radius':_0xcc6a19['radius']?_0xcc6a19['radius']:_0xcc6a19['pixelSize'],'fill':new a72_0x1eb784({'color':getColor(_0xcc6a19[_0x4e84fd(0xf0)],_0xcc6a19[_0x4e84fd(0xf2)])}),'stroke':_0xcc6a19['outline']&&_0xcc6a19[_0x4e84fd(0xe2)]?new a72_0x2e7bb5({'color':getColor(_0xcc6a19[_0x4e84fd(0xe2)],_0xcc6a19[_0x4e84fd(0x102)]),'width':_0xcc6a19[_0x4e84fd(0xcf)]}):undefined}),'zIndex':Number(_0x5866fc)}),_0x3373a2;}function _rendererFunction(_0x39b404,_0x53cb2c,_0x451b14,_0x3ab70f,_0x35bc8a){const _0x22e53c=a72_0x1899;if(!_0x35bc8a||_0x35bc8a[_0x22e53c(0xfd)]===0x0){let _0xda815b=new Image();_0xda815b['src']=_0x39b404[_0x22e53c(0xdb)];}if(_0x39b404['changeColor']&&_0x39b404[_0x22e53c(0xf0)]!==''){let _0x4c6c8c=_0x39b404[_0x22e53c(0xf8)]||0x1,_0x5ecddb=_0x39b404[_0x22e53c(0xfd)]||_0x35bc8a[_0x22e53c(0xfd)]*_0x4c6c8c,_0x462bf1=_0x39b404['height']||_0x35bc8a[_0x22e53c(0xfb)]*_0x4c6c8c;_0x5ecddb=_0x5ecddb*_0x451b14[_0x22e53c(0xd1)],_0x462bf1=_0x462bf1*_0x451b14[_0x22e53c(0xd1)];const _0x43ba7c=document[_0x22e53c(0xfe)](_0x22e53c(0xea));_0x43ba7c[_0x22e53c(0xfd)]=_0x5ecddb,_0x43ba7c[_0x22e53c(0xfb)]=_0x462bf1;const _0x20e96b=_0x43ba7c[_0x22e53c(0xf7)]('2d');_0x20e96b===null||_0x20e96b===void 0x0?void 0x0:_0x20e96b[_0x22e53c(0xda)](_0x35bc8a,0x0,0x0,_0x5ecddb,_0x462bf1);let _0x4325ac=_0x20e96b===null||_0x20e96b===void 0x0?void 0x0:_0x20e96b[_0x22e53c(0xcd)](0x0,0x0,_0x5ecddb,_0x462bf1),_0x169e82=_0x4325ac===null||_0x4325ac===void 0x0?void 0x0:_0x4325ac['data'];_0x35bc8a=_0x43ba7c;let _0x2dcbfa=HexToRgb(_0x39b404[_0x22e53c(0xf0)]);if(_0x169e82&&_0x2dcbfa)for(var _0x1f7336=0x0;_0x1f7336<_0x169e82['length'];_0x1f7336+=0x4){_0x169e82[_0x1f7336]=_0x2dcbfa[0x0],_0x169e82[_0x1f7336+0x1]=_0x2dcbfa[0x1],_0x169e82[_0x1f7336+0x2]=_0x2dcbfa[0x2];}_0x4325ac&&(_0x20e96b===null||_0x20e96b===void 0x0?void 0x0:_0x20e96b[_0x22e53c(0xdc)](_0x4325ac,0x0,0x0));}let _0x411f0c=_0x451b14[_0x22e53c(0xde)],_0x4abbe7=_0x451b14[_0x22e53c(0xd1)],_0x4205e5=_0x411f0c[_0x22e53c(0xed)](),_0x36ece3=_0x411f0c[_0x22e53c(0xd7)](),_0x277f9c=[];switch(_0x36ece3){case'LineString':_0x277f9c=_0x411f0c[_0x22e53c(0xf4)]();break;case'MultiLineString':_0x277f9c=_0x411f0c['getFlatMidpoints'](),_0x4205e5=0x2;break;case _0x22e53c(0xd3):_0x277f9c=_0x411f0c[_0x22e53c(0xfc)](),_0x4205e5=0x3;break;case _0x22e53c(0xe6):{let _0x421308=_0x411f0c[_0x22e53c(0x109)]();_0x277f9c=[];for(let _0x1f37d5=0x0,_0x327617=_0x421308[_0x22e53c(0xff)];_0x1f37d5<_0x327617;_0x1f37d5+=0x3){_0x277f9c[_0x22e53c(0x10a)](_0x421308[_0x1f37d5],_0x421308[_0x1f37d5+0x1]);}if(_0x277f9c[_0x22e53c(0xff)]===0x0)return;_0x4205e5=0x2;break;}}if(_0x277f9c[_0x22e53c(0xff)]>0x0&&_0x3ab70f)for(let _0x21a6d0=0x0,_0x1489bc=_0x277f9c['length'];_0x21a6d0<_0x1489bc;_0x21a6d0+=_0x4205e5){let _0x33790e=[_0x277f9c[_0x21a6d0],_0x277f9c[_0x21a6d0+0x1]],_0x5933ca=_0x3ab70f[_0x22e53c(0x104)](_0x33790e);_0x5933ca=[_0x5933ca[0x0]*_0x4abbe7,_0x5933ca[0x1]*_0x4abbe7],drawImage(_0x39b404,_0x5933ca,_0x451b14,_0x35bc8a);}else{if(_0x36ece3===_0x22e53c(0xf5))for(let _0x700255 of _0x53cb2c){drawImage(_0x39b404,_0x700255,_0x451b14,_0x35bc8a);}else drawImage(_0x39b404,_0x53cb2c,_0x451b14,_0x35bc8a);}}function HexToRgb(_0xcc4b2){const _0x5b3598=a72_0x1899;_0xcc4b2=_0xcc4b2[_0x5b3598(0xf3)]('#','');let _0x3cdfb8=_0xcc4b2[_0x5b3598(0x106)](/../g);if(_0x3cdfb8){for(let _0x1fb48c=0x0;_0x1fb48c<0x3;_0x1fb48c++)_0x3cdfb8[_0x1fb48c]=parseInt(_0x3cdfb8[_0x1fb48c],0x10);}return _0x3cdfb8;}export function getImageOlStyle(_0x370002,_0x3d9f3e,_0x40bf01,_0x3f29e1){const _0x1be36f=a72_0x1899;var _0x54eb75;if(_0x370002&&_0x370002[_0x1be36f(0xd6)]!==![]){_0x370002=JSON[_0x1be36f(0xcc)](JSON[_0x1be36f(0xe1)](_0x370002)),_0x3d9f3e=(_0x54eb75=_0x370002[_0x1be36f(0xf9)])!==null&&_0x54eb75!==void 0x0?_0x54eb75:_0x3d9f3e;let _0x47e4a5=isShowStyle(_0x370002,_0x40bf01,_0x3f29e1);if(_0x47e4a5)return _0x370002['image']=parseImage(_0x370002[_0x1be36f(0xdb)]),getMainStyle(_0x370002,_0x3d9f3e,_0x3f29e1);}}export function getPointStyle(_0x3477c9,_0xd72b85,_0x268a2c,_0x4d499b){const _0x1bcc23=a72_0x1899;var _0x5c697e,_0x1d8156;_0x3477c9=JSON[_0x1bcc23(0xcc)](JSON[_0x1bcc23(0xe1)](_0x3477c9));let _0x43517d=(_0x5c697e=_0x3477c9['zIndex'])!==null&&_0x5c697e!==void 0x0?_0x5c697e:0x0,_0x2f1f25=[],_0x124314=getImageOlStyle(_0x3477c9,_0x43517d,_0x268a2c,_0x4d499b);_0x124314&&_0x2f1f25[_0x1bcc23(0x10a)](_0x124314);let _0x2834b0=getImageOlStyle(_0x3477c9['billboard'],_0x43517d,_0x268a2c,_0x4d499b);_0x2834b0&&_0x2f1f25[_0x1bcc23(0x10a)](_0x2834b0);if(_0x3477c9[_0x1bcc23(0x105)]&&_0x3477c9[_0x1bcc23(0x105)][_0x1bcc23(0xd6)]!==![]){let _0x3056fd=isShowStyle(_0x3477c9[_0x1bcc23(0x105)],_0x268a2c,_0x4d499b);if(_0x3056fd){let _0x4830d2=(_0x1d8156=_0x3477c9[_0x1bcc23(0x105)][_0x1bcc23(0xf9)])!==null&&_0x1d8156!==void 0x0?_0x1d8156:_0x43517d,_0x41d14f=_0x3477c9[_0x1bcc23(0x105)]['imgUrl']||'model/'+_0x3477c9[_0x1bcc23(0x105)][_0x1bcc23(0xd5)]+_0x1bcc23(0xdf);_0x3477c9['scale']=0x1,_0x3477c9[_0x1bcc23(0xfd)]=0x30,_0x3477c9[_0x1bcc23(0xfb)]=0x30,_0x3477c9[_0x1bcc23(0xd4)]='CENTER',_0x2f1f25['push'](getMainStyle(_0x3477c9[_0x1bcc23(0x105)],_0x4830d2,_0x4d499b));}}if(_0x3477c9[_0x1bcc23(0xec)]&&_0x3477c9['label'][_0x1bcc23(0xd6)]!==![]){let _0x52e515=new a72_0x3dc9cb({'text':createTextStyle(_0x3477c9[_0x1bcc23(0xec)],_0xd72b85,_0x268a2c,_0x4d499b),'zIndex':Number(_0x43517d)+0x1});_0x2f1f25[_0x1bcc23(0x10a)](_0x52e515);}return _0x2f1f25;}export function getPointSingleStyle(_0x1392ee,_0xd3ecbf,_0x1a322c,_0x45e6fc){const _0x115c99=a72_0x1899;_0xd3ecbf=JSON[_0x115c99(0xcc)](JSON[_0x115c99(0xe1)](_0xd3ecbf));let _0x192b38=_0xd3ecbf[_0x115c99(0xec)],_0x2de663;_0x192b38&&(_0x2de663=_0x192b38[_0x115c99(0xe9)]?_0x192b38[_0x115c99(0xe9)]:'');if(_0x1392ee===_0x115c99(0xdd))return _0xd3ecbf[_0x115c99(0xdb)]=parseImage(_0xd3ecbf['image']),getPointStyle(_0xd3ecbf,_0x2de663,_0x1a322c,_0x45e6fc);else{if(_0x1392ee===_0x115c99(0x105)){let _0x1089c6=_0xd3ecbf[_0x115c99(0xf6)]||_0x115c99(0xeb)+_0xd3ecbf['modelKind']+_0x115c99(0xdf);return _0xd3ecbf['scale']=0x1,_0xd3ecbf[_0x115c99(0xfd)]=0x30,_0xd3ecbf[_0x115c99(0xfb)]=0x30,_0xd3ecbf[_0x115c99(0xd4)]=_0x115c99(0x10b),getPointStyle(_0xd3ecbf,_0x2de663,_0x1a322c,_0x45e6fc);}else{if(_0x1392ee===_0x115c99(0xd0))return getPointStyle(_0xd3ecbf,_0x2de663,_0x1a322c,_0x45e6fc);else{if(_0x1392ee==='point')return getPointStyle(_0xd3ecbf,_0x2de663,_0x1a322c,_0x45e6fc);else return _0x1392ee==='label'?new a72_0x3dc9cb({'text':createTextStyle(_0xd3ecbf,_0xd3ecbf['text'],_0x1a322c,_0x45e6fc),'zIndex':_0xd3ecbf[_0x115c99(0xf9)]}):getPointStyle(_0xd3ecbf,_0x2de663,_0x1a322c,_0x45e6fc);}}}}function drawImage(_0x23a40b,_0x54bf40,_0x96bd9a,_0x30d493){const _0x25c8af=a72_0x1899;var _0x2d28d5,_0x4e8374,_0x1e3700,_0x40d856;let _0x1a29d8=_0x96bd9a[_0x25c8af(0x10f)];try{_0x1a29d8[_0x25c8af(0xf1)]();let _0x4cf41b=Number(_0x23a40b[_0x25c8af(0xe3)]||((_0x2d28d5=_0x23a40b[_0x25c8af(0x10d)])===null||_0x2d28d5===void 0x0?void 0x0:_0x2d28d5[0x0])||0x0),_0x865bed=Number(_0x23a40b['pixelOffsetY']||((_0x4e8374=_0x23a40b[_0x25c8af(0x10d)])===null||_0x4e8374===void 0x0?void 0x0:_0x4e8374[0x1])||0x0);_0x1a29d8[_0x25c8af(0xe4)](_0x54bf40[0x0]+_0x4cf41b,_0x54bf40[0x1]+_0x865bed);if(_0x23a40b['rotation'])_0x1a29d8[_0x25c8af(0x108)](toRadians(_0x23a40b['rotation']));_0x1a29d8['globalAlpha']=_0x23a40b[_0x25c8af(0xf2)]!=null?_0x23a40b[_0x25c8af(0xf2)]:0x1;if(_0x30d493[_0x25c8af(0xfd)]>0x0){let _0x116f87=_0x23a40b['scale']||0x1,_0x4bbbeb=_0x23a40b[_0x25c8af(0xfd)]||_0x30d493[_0x25c8af(0xfd)]*_0x116f87,_0x1216d4=_0x23a40b[_0x25c8af(0xfb)]||_0x30d493[_0x25c8af(0xfb)]*_0x116f87;_0x4bbbeb=_0x4bbbeb*_0x96bd9a[_0x25c8af(0xd1)],_0x1216d4=_0x1216d4*_0x96bd9a[_0x25c8af(0xd1)];_0x23a40b[_0x25c8af(0xd9)]&&(_0x4bbbeb=_0x30d493[_0x25c8af(0xfd)],_0x1216d4=_0x30d493['height']);let _0x146909;switch((_0x1e3700=_0x23a40b[_0x25c8af(0x101)])===null||_0x1e3700===void 0x0?void 0x0:_0x1e3700[_0x25c8af(0xe0)]()){default:case _0x25c8af(0x10b):_0x146909=-_0x4bbbeb/0x2;break;case _0x25c8af(0x10e):_0x146909=0x0;break;case _0x25c8af(0xee):_0x146909=-_0x4bbbeb;break;}let _0x4b03fb;switch((_0x40d856=_0x23a40b[_0x25c8af(0xd4)])===null||_0x40d856===void 0x0?void 0x0:_0x40d856['toUpperCase']()){default:case'BOTTOM':_0x4b03fb=-_0x1216d4;break;case'CENTER':_0x4b03fb=-_0x1216d4/0x2;break;case _0x25c8af(0x10c):_0x4b03fb=0x0;break;}_0x1a29d8[_0x25c8af(0xda)](_0x30d493,_0x146909,_0x4b03fb,_0x4bbbeb,_0x1216d4);}else _0x1a29d8[_0x25c8af(0xda)](_0x30d493,0x0,0x0);_0x1a29d8[_0x25c8af(0x103)]();}catch(_0x160a77){_0x1a29d8[_0x25c8af(0x103)](),console['warn'](_0x160a77);}}
@@ -1 +1 @@
1
- (function(_0x480810,_0x1b3594){var _0x3237c2=a72_0x3c97,_0x37b59a=_0x480810();while(!![]){try{var _0x533fd7=-parseInt(_0x3237c2(0xb2))/0x1+-parseInt(_0x3237c2(0xa4))/0x2*(parseInt(_0x3237c2(0x92))/0x3)+parseInt(_0x3237c2(0x80))/0x4*(-parseInt(_0x3237c2(0xb8))/0x5)+parseInt(_0x3237c2(0xb3))/0x6+parseInt(_0x3237c2(0x97))/0x7*(-parseInt(_0x3237c2(0x81))/0x8)+-parseInt(_0x3237c2(0xb4))/0x9*(parseInt(_0x3237c2(0x87))/0xa)+parseInt(_0x3237c2(0xb7))/0xb;if(_0x533fd7===_0x1b3594)break;else _0x37b59a['push'](_0x37b59a['shift']());}catch(_0x287975){_0x37b59a['push'](_0x37b59a['shift']());}}}(a72_0x238a,0xc508c));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';import{getImageOlStyle}from'./PointStyleFormat';function a72_0x238a(){var _0x1f3334=['117435eLZgXW','opacity','setText','setStroke','repeatY','7uvOPkc','checkerboard','createElement','setFill','outlineWidth','strokeStyle','closePath','billboard','push','translate','rgba(0,0,0,0)','fillStyle','fill','34vRsQdh','outlineOpacity','height','max','lineTo','oddColor','context','fillType','createPattern','checkerboard_repeat','moveTo','warn','zIndex','repeat','1169540phLIBe','9125160UVFevo','342KYtjiT','rgba(0,0,0,0.0)','grid_lineCount','42382197SjtFwy','4616555wWPNZQ','stripe','image','restore','save','lineWidth','CENTER','4ALwnhN','11281736UtjzCM','verticalOrigin','beginPath','globalAlpha','color','stripe_repeat','104790lkLQkV','outline','stroke','canvas','drawImage','width','getContext','grid','setRenderer','src','outlineColor'];a72_0x238a=function(){return _0x1f3334;};return a72_0x238a();}export function getPolygonStyle(_0x342d50,_0x5809ab,_0xa800e3,_0x40d99e){var _0x2d79bd=a72_0x3c97,_0x327de6;let _0x41c6b5=(_0x327de6=_0x342d50[_0x2d79bd(0xb0)])!==null&&_0x327de6!==void 0x0?_0x327de6:0x0,_0x528472=new Style();_0x528472['setZIndex'](_0x41c6b5),_0x528472['setFill'](new Fill({'color':_0x2d79bd(0xa1)}));if(_0x342d50[_0x2d79bd(0xa3)]!==![]){if(!_0x342d50[_0x2d79bd(0xab)]||_0x342d50[_0x2d79bd(0xab)]===_0x2d79bd(0x85))_0x528472[_0x2d79bd(0x9a)](new Fill({'color':getColor(_0x342d50[_0x2d79bd(0x85)],_0x342d50[_0x2d79bd(0x93)])}));else{if(_0x342d50[_0x2d79bd(0xab)]===_0x2d79bd(0xba))_0x528472[_0x2d79bd(0x8f)]((_0x19e99d,_0x24e928)=>{preLoadImageRenderFunction(_0x342d50,_0x19e99d,_0x24e928,_0x40d99e,_rendererFunction);});else _0x342d50['fillType']===_0x2d79bd(0x8e)||_0x342d50[_0x2d79bd(0xab)]===_0x2d79bd(0xb9)||_0x342d50[_0x2d79bd(0xab)]===_0x2d79bd(0x98)?_0x528472[_0x2d79bd(0x8f)]((_0xf57e24,_0x4d2060)=>{_rendererFunction(_0x342d50,_0xf57e24,_0x4d2060,_0x40d99e,null);}):_0x528472[_0x2d79bd(0x9a)](new Fill({'color':getColor(_0x342d50[_0x2d79bd(0x85)],_0x342d50[_0x2d79bd(0x93)])}));}}_0x342d50[_0x2d79bd(0x88)]!==![]&&_0x528472[_0x2d79bd(0x95)](new Stroke({'color':getColor(_0x342d50[_0x2d79bd(0x91)],_0x342d50[_0x2d79bd(0xa5)]),'width':_0x342d50[_0x2d79bd(0x9b)]}));let _0x5d0705=[_0x528472];_0x342d50[_0x2d79bd(0x9e)]&&!_0x342d50[_0x2d79bd(0x9e)][_0x2d79bd(0x82)]&&(_0x342d50[_0x2d79bd(0x9e)][_0x2d79bd(0x82)]=_0x2d79bd(0xbe));let _0x292586=getImageOlStyle(_0x342d50[_0x2d79bd(0x9e)],_0x41c6b5,_0xa800e3,_0x40d99e);_0x292586&&_0x5d0705[_0x2d79bd(0x9f)](_0x292586);if(_0x5809ab){const _0x341039=createTextStyle(_0x342d50,_0x5809ab,_0xa800e3,_0x40d99e);_0x341039&&(_0x528472[_0x2d79bd(0x94)](_0x341039),_0x528472['setZIndex'](Number(_0x41c6b5)+0x1));}return _0x5d0705;}function _rendererFunction(_0x1f01e6,_0x365198,_0x2f1825,_0xd1c731,_0x1b1158){var _0x431f9e=a72_0x3c97;try{var _0x5bb7e5=_0x2f1825[_0x431f9e(0xaa)];for(var _0x2bae86=0x0,_0x490c72=_0x365198['length'];_0x2bae86<_0x490c72;_0x2bae86++){_0x5bb7e5[_0x431f9e(0xbc)](),_0x5bb7e5['beginPath']();var _0x111963=_0x365198[_0x2bae86];let _0x5837dc=boundingExtent(_0x111963);_0x5bb7e5[_0x431f9e(0xa0)](_0x5837dc[0x0],_0x5837dc[0x1]);let _0x4a24e1;switch(_0x1f01e6[_0x431f9e(0xab)]){case _0x431f9e(0xba):_0x4a24e1=_getImagePattern(_0x5bb7e5,_0x5837dc,_0x1f01e6,_0x1b1158);break;case _0x431f9e(0x8e):_0x4a24e1=_getGridPattern(_0x5bb7e5,_0x5837dc,_0x1f01e6);break;case _0x431f9e(0xb9):_0x4a24e1=_getStripePattern(_0x5bb7e5,_0x5837dc,_0x1f01e6);break;case _0x431f9e(0x98):_0x4a24e1=_getCheckerBoardPattern(_0x5bb7e5,_0x5837dc,_0x1f01e6);break;default:_0x4a24e1='rgba(0,0,0,0.01)';break;}for(var _0x3b0fbd=0x0,_0x128298=_0x111963['length'];_0x3b0fbd<_0x128298;_0x3b0fbd++){var _0x344493=_0x111963[_0x3b0fbd];_0x3b0fbd===0x0?_0x5bb7e5[_0x431f9e(0xae)](_0x344493[0x0]-_0x5837dc[0x0],_0x344493[0x1]-_0x5837dc[0x1]):_0x5bb7e5[_0x431f9e(0xa8)](_0x344493[0x0]-_0x5837dc[0x0],_0x344493[0x1]-_0x5837dc[0x1]);}_0x5bb7e5[_0x431f9e(0x9d)](),_0x5bb7e5[_0x431f9e(0xa2)]='rgba(0,0,0,0.01)',_0x5bb7e5[_0x431f9e(0xa3)](),_0x5bb7e5[_0x431f9e(0xa2)]=_0x4a24e1,_0x5bb7e5['fill'](),_0x1f01e6[_0x431f9e(0x88)]?(_0x5bb7e5[_0x431f9e(0x9c)]=getColor(_0x1f01e6['outlineColor'],_0x1f01e6['outlineOpacity']),_0x5bb7e5[_0x431f9e(0xbd)]=_0x1f01e6['outlineWidth']):_0x5bb7e5[_0x431f9e(0x9c)]=_0x431f9e(0xb5),_0x5bb7e5[_0x431f9e(0x89)](),_0x5bb7e5[_0x431f9e(0xbb)]();}}catch(_0x12638f){_0x5bb7e5[_0x431f9e(0xbb)](),console[_0x431f9e(0xaf)](_0x12638f);}}function a72_0x3c97(_0x4d337c,_0x32c2c6){var _0x238a9f=a72_0x238a();return a72_0x3c97=function(_0x3c9779,_0x2863df){_0x3c9779=_0x3c9779-0x80;var _0xebcc7f=_0x238a9f[_0x3c9779];return _0xebcc7f;},a72_0x3c97(_0x4d337c,_0x32c2c6);}function _getImagePattern(_0x5c7e76,_0x7f6b8b,_0x121e48,_0x770bcd){var _0x58f4c8=a72_0x3c97;if(!_0x770bcd||_0x770bcd[_0x58f4c8(0x8c)]===0x0){let _0x25ea5c=new Image();_0x25ea5c[_0x58f4c8(0x90)]=_0x121e48[_0x58f4c8(0xba)];}var _0x5e85be=getSize(_0x7f6b8b);const _0x3ac908=document[_0x58f4c8(0x99)](_0x58f4c8(0x8a)),_0x56dc7d=_0x3ac908['getContext']('2d');return _0x3ac908[_0x58f4c8(0x8c)]=Math['max'](_0x5e85be[0x0]/_0x121e48['repeatX'],0x1),_0x3ac908[_0x58f4c8(0xa6)]=Math[_0x58f4c8(0xa7)](_0x5e85be[0x1]/_0x121e48[_0x58f4c8(0x96)],0x1),_0x56dc7d&&(_0x56dc7d[_0x58f4c8(0x84)]=_0x121e48[_0x58f4c8(0x93)],_0x56dc7d[_0x58f4c8(0x8b)](_0x770bcd,0x0,0x0,_0x3ac908[_0x58f4c8(0x8c)],_0x3ac908[_0x58f4c8(0xa6)])),_0x5c7e76[_0x58f4c8(0xac)](_0x3ac908,_0x58f4c8(0xb1));}function _getGridPattern(_0x549ddc,_0x371089,_0x9fd965){var _0x372fb5=a72_0x3c97,_0x2eac20=getSize(_0x371089);const _0x119ff4=document[_0x372fb5(0x99)](_0x372fb5(0x8a)),_0x3f9e9b=_0x119ff4['getContext']('2d');return _0x119ff4[_0x372fb5(0x8c)]=Math[_0x372fb5(0xa7)](_0x2eac20[0x0]/_0x9fd965[_0x372fb5(0xb6)],0x1),_0x119ff4[_0x372fb5(0xa6)]=Math[_0x372fb5(0xa7)](_0x2eac20[0x1]/_0x9fd965[_0x372fb5(0xb6)],0x1),_0x3f9e9b&&(_0x3f9e9b[_0x372fb5(0x9c)]=getColor(_0x9fd965[_0x372fb5(0x85)],_0x9fd965[_0x372fb5(0x93)]),_0x3f9e9b[_0x372fb5(0xbd)]=_0x9fd965['grid_lineThickness']*0x4,_0x3f9e9b[_0x372fb5(0x83)](),_0x3f9e9b[_0x372fb5(0xae)](0x0,_0x119ff4[_0x372fb5(0xa6)]),_0x3f9e9b[_0x372fb5(0xa8)](_0x119ff4[_0x372fb5(0x8c)],_0x119ff4[_0x372fb5(0xa6)]),_0x3f9e9b[_0x372fb5(0xae)](_0x119ff4[_0x372fb5(0x8c)],0x0),_0x3f9e9b[_0x372fb5(0xa8)](_0x119ff4[_0x372fb5(0x8c)],_0x119ff4[_0x372fb5(0xa6)]),_0x3f9e9b[_0x372fb5(0x89)]()),_0x549ddc['createPattern'](_0x119ff4,_0x372fb5(0xb1));}function _getStripePattern(_0xff505,_0x1d36b6,_0x2bd124){var _0x4f5049=a72_0x3c97,_0x97b3e9=getSize(_0x1d36b6);const _0x527681=document[_0x4f5049(0x99)](_0x4f5049(0x8a)),_0xbea913=_0x527681[_0x4f5049(0x8d)]('2d');let _0x4cf7ef=Math[_0x4f5049(0xa7)](_0x97b3e9[0x1]/_0x2bd124[_0x4f5049(0x86)],0x1);return _0x527681[_0x4f5049(0x8c)]=_0x97b3e9[0x0],_0x527681[_0x4f5049(0xa6)]=_0x4cf7ef*0x2,_0xbea913&&(_0xbea913[_0x4f5049(0x83)](),_0xbea913[_0x4f5049(0xae)](0x0,0x0),_0xbea913[_0x4f5049(0xa8)](_0x527681[_0x4f5049(0x8c)],0x0),_0xbea913[_0x4f5049(0xa8)](_0x527681[_0x4f5049(0x8c)],_0x4cf7ef),_0xbea913[_0x4f5049(0xa8)](0x0,_0x4cf7ef),_0xbea913[_0x4f5049(0x9d)](),_0xbea913[_0x4f5049(0xa2)]=getColor(_0x2bd124['stripe_oddcolor'],_0x2bd124['opacity']),_0xbea913['fill'](),_0xbea913['beginPath'](),_0xbea913[_0x4f5049(0xae)](0x0,_0x4cf7ef),_0xbea913['lineTo'](_0x527681[_0x4f5049(0x8c)],_0x4cf7ef),_0xbea913[_0x4f5049(0xa8)](_0x527681[_0x4f5049(0x8c)],_0x4cf7ef*0x2),_0xbea913['lineTo'](0x0,_0x4cf7ef*0x2),_0xbea913[_0x4f5049(0x9d)](),_0xbea913[_0x4f5049(0xa2)]=getColor(_0x2bd124[_0x4f5049(0x85)],_0x2bd124[_0x4f5049(0x93)]),_0xbea913[_0x4f5049(0xa3)]()),_0xff505[_0x4f5049(0xac)](_0x527681,_0x4f5049(0xb1));}function _getCheckerBoardPattern(_0x28abb1,_0x17ace5,_0x3fc7b2){var _0x2d9a6c=a72_0x3c97,_0xa0e43e=getSize(_0x17ace5);const _0x495b90=document[_0x2d9a6c(0x99)](_0x2d9a6c(0x8a)),_0x303142=_0x495b90[_0x2d9a6c(0x8d)]('2d');let _0x249f79=Math['max'](_0xa0e43e[0x0]/_0x3fc7b2['checkerboard_repeat'],0x1),_0x23658e=Math[_0x2d9a6c(0xa7)](_0xa0e43e[0x1]/_0x3fc7b2[_0x2d9a6c(0xad)],0x1);return _0x495b90[_0x2d9a6c(0x8c)]=_0x249f79*0x2,_0x495b90[_0x2d9a6c(0xa6)]=_0x23658e*0x2,_0x303142&&(_0x303142[_0x2d9a6c(0x83)](),_0x303142[_0x2d9a6c(0xae)](0x0,0x0),_0x303142[_0x2d9a6c(0xa8)](_0x249f79,0x0),_0x303142['lineTo'](_0x249f79,_0x23658e),_0x303142['lineTo'](0x0,_0x23658e),_0x303142[_0x2d9a6c(0x9d)](),_0x303142[_0x2d9a6c(0xa2)]=getColor(_0x3fc7b2[_0x2d9a6c(0xa9)],_0x3fc7b2['opacity']),_0x303142[_0x2d9a6c(0xa3)](),_0x303142[_0x2d9a6c(0x83)](),_0x303142[_0x2d9a6c(0xae)](_0x249f79,0x0),_0x303142[_0x2d9a6c(0xa8)](_0x495b90['width'],0x0),_0x303142[_0x2d9a6c(0xa8)](_0x495b90[_0x2d9a6c(0x8c)],_0x23658e),_0x303142[_0x2d9a6c(0xa8)](_0x249f79,_0x23658e),_0x303142[_0x2d9a6c(0x9d)](),_0x303142[_0x2d9a6c(0xa2)]=getColor(_0x3fc7b2[_0x2d9a6c(0x85)],_0x3fc7b2[_0x2d9a6c(0x93)]),_0x303142['fill'](),_0x303142[_0x2d9a6c(0x83)](),_0x303142[_0x2d9a6c(0xae)](0x0,_0x23658e),_0x303142[_0x2d9a6c(0xa8)](_0x249f79,_0x23658e),_0x303142['lineTo'](_0x249f79,_0x495b90[_0x2d9a6c(0xa6)]),_0x303142['lineTo'](0x0,_0x495b90[_0x2d9a6c(0xa6)]),_0x303142[_0x2d9a6c(0x9d)](),_0x303142[_0x2d9a6c(0xa2)]=getColor(_0x3fc7b2[_0x2d9a6c(0x85)],_0x3fc7b2[_0x2d9a6c(0x93)]),_0x303142[_0x2d9a6c(0xa3)](),_0x303142[_0x2d9a6c(0x83)](),_0x303142['moveTo'](_0x249f79,_0x23658e),_0x303142[_0x2d9a6c(0xa8)](_0x495b90[_0x2d9a6c(0x8c)],_0x23658e),_0x303142[_0x2d9a6c(0xa8)](_0x495b90[_0x2d9a6c(0x8c)],_0x495b90[_0x2d9a6c(0xa6)]),_0x303142[_0x2d9a6c(0xa8)](_0x249f79,_0x495b90[_0x2d9a6c(0xa6)]),_0x303142[_0x2d9a6c(0x9d)](),_0x303142[_0x2d9a6c(0xa2)]=getColor(_0x3fc7b2[_0x2d9a6c(0xa9)],_0x3fc7b2['opacity']),_0x303142['fill']()),_0x28abb1[_0x2d9a6c(0xac)](_0x495b90,'repeat');}
1
+ (function(_0x47b30f,_0x4252b3){var _0xc180c2=a73_0x29c2,_0x6cf2e0=_0x47b30f();while(!![]){try{var _0x10e3a4=-parseInt(_0xc180c2(0xd7))/0x1+parseInt(_0xc180c2(0xba))/0x2+-parseInt(_0xc180c2(0xb9))/0x3+-parseInt(_0xc180c2(0xbd))/0x4+-parseInt(_0xc180c2(0xdd))/0x5+-parseInt(_0xc180c2(0xcc))/0x6*(parseInt(_0xc180c2(0xd5))/0x7)+parseInt(_0xc180c2(0xb4))/0x8*(parseInt(_0xc180c2(0xc7))/0x9);if(_0x10e3a4===_0x4252b3)break;else _0x6cf2e0['push'](_0x6cf2e0['shift']());}catch(_0x1fbc6e){_0x6cf2e0['push'](_0x6cf2e0['shift']());}}}(a73_0x211d,0xa0304));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';function a73_0x29c2(_0x3e5ee5,_0xfb1910){var _0x211d62=a73_0x211d();return a73_0x29c2=function(_0x29c2ca,_0x20f14d){_0x29c2ca=_0x29c2ca-0xae;var _0x3b356a=_0x211d62[_0x29c2ca];return _0x3b356a;},a73_0x29c2(_0x3e5ee5,_0xfb1910);}function a73_0x211d(){var _0x2e20fb=['fillType','setStroke','grid_lineCount','repeatX','outlineWidth','stripe_repeat','globalAlpha','68751proiEq','length','opacity','moveTo','setZIndex','1002CVhONn','max','lineTo','setRenderer','repeat','billboard','rgba(0,0,0,0)','fill','grid_lineThickness','53627iJobWU','checkerboard_repeat','654636fFDoyR','oddColor','width','stripe_oddcolor','verticalOrigin','createPattern','6350365Ghwhfd','getContext','lineWidth','drawImage','createElement','save','rgba(0,0,0,0.01)','beginPath','stripe','height','rgba(0,0,0,0.0)','checkerboard','canvas','warn','outlineOpacity','setFill','translate','outlineColor','strokeStyle','stroke','closePath','5840DSwTak','restore','fillStyle','context','CENTER','2265273AlEdpr','504836KxIHea','setText','image','4854276dkKrvQ','color','grid'];a73_0x211d=function(){return _0x2e20fb;};return a73_0x211d();}import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x4f03ea,_0x357f1a,_0x2ccb5c,_0x49bc75){var _0x5b8c63=a73_0x29c2,_0x369367;let _0x5db0ae=(_0x369367=_0x4f03ea['zIndex'])!==null&&_0x369367!==void 0x0?_0x369367:0x0,_0x44cc13=new Style();_0x44cc13[_0x5b8c63(0xcb)](_0x5db0ae),_0x44cc13[_0x5b8c63(0xae)](new Fill({'color':_0x5b8c63(0xd2)}));if(_0x4f03ea['fill']!==![]){if(!_0x4f03ea[_0x5b8c63(0xc0)]||_0x4f03ea[_0x5b8c63(0xc0)]===_0x5b8c63(0xbe))_0x44cc13[_0x5b8c63(0xae)](new Fill({'color':getColor(_0x4f03ea[_0x5b8c63(0xbe)],_0x4f03ea[_0x5b8c63(0xc9)])}));else{if(_0x4f03ea[_0x5b8c63(0xc0)]===_0x5b8c63(0xbc))_0x44cc13[_0x5b8c63(0xcf)]((_0x3b459d,_0x2804f3)=>{preLoadImageRenderFunction(_0x4f03ea,_0x3b459d,_0x2804f3,_0x49bc75,_rendererFunction);});else _0x4f03ea[_0x5b8c63(0xc0)]===_0x5b8c63(0xbf)||_0x4f03ea[_0x5b8c63(0xc0)]===_0x5b8c63(0xe5)||_0x4f03ea[_0x5b8c63(0xc0)]===_0x5b8c63(0xe8)?_0x44cc13[_0x5b8c63(0xcf)]((_0x5632d3,_0x3cb89c)=>{_rendererFunction(_0x4f03ea,_0x5632d3,_0x3cb89c,_0x49bc75,null);}):_0x44cc13['setFill'](new Fill({'color':getColor(_0x4f03ea[_0x5b8c63(0xbe)],_0x4f03ea[_0x5b8c63(0xc9)])}));}}_0x4f03ea['outline']!==![]&&_0x44cc13[_0x5b8c63(0xc1)](new Stroke({'color':getColor(_0x4f03ea[_0x5b8c63(0xb0)],_0x4f03ea[_0x5b8c63(0xeb)]),'width':_0x4f03ea[_0x5b8c63(0xc4)]}));let _0x33ae2f=[_0x44cc13];_0x4f03ea['billboard']&&!_0x4f03ea['billboard'][_0x5b8c63(0xdb)]&&(_0x4f03ea[_0x5b8c63(0xd1)][_0x5b8c63(0xdb)]=_0x5b8c63(0xb8));let _0x553823=getImageOlStyle(_0x4f03ea['billboard'],_0x5db0ae,_0x2ccb5c,_0x49bc75);_0x553823&&_0x33ae2f['push'](_0x553823);if(_0x357f1a){const _0x54221d=createTextStyle(_0x4f03ea,_0x357f1a,_0x2ccb5c,_0x49bc75);_0x54221d&&(_0x44cc13[_0x5b8c63(0xbb)](_0x54221d),_0x44cc13[_0x5b8c63(0xcb)](Number(_0x5db0ae)+0x1));}return _0x33ae2f;}function _rendererFunction(_0x4111b6,_0x18a32f,_0x2fdc98,_0x5aeb2c,_0x4d44f6){var _0x295398=a73_0x29c2;try{var _0x4eef31=_0x2fdc98[_0x295398(0xb7)];for(var _0x1716e0=0x0,_0x2b4cde=_0x18a32f[_0x295398(0xc8)];_0x1716e0<_0x2b4cde;_0x1716e0++){_0x4eef31[_0x295398(0xe2)](),_0x4eef31[_0x295398(0xe4)]();var _0x4c60fe=_0x18a32f[_0x1716e0];let _0x5965c8=boundingExtent(_0x4c60fe);_0x4eef31[_0x295398(0xaf)](_0x5965c8[0x0],_0x5965c8[0x1]);let _0x2c701b;switch(_0x4111b6[_0x295398(0xc0)]){case'image':_0x2c701b=_getImagePattern(_0x4eef31,_0x5965c8,_0x4111b6,_0x4d44f6);break;case _0x295398(0xbf):_0x2c701b=_getGridPattern(_0x4eef31,_0x5965c8,_0x4111b6);break;case _0x295398(0xe5):_0x2c701b=_getStripePattern(_0x4eef31,_0x5965c8,_0x4111b6);break;case _0x295398(0xe8):_0x2c701b=_getCheckerBoardPattern(_0x4eef31,_0x5965c8,_0x4111b6);break;default:_0x2c701b=_0x295398(0xe3);break;}for(var _0x42008f=0x0,_0x58555e=_0x4c60fe[_0x295398(0xc8)];_0x42008f<_0x58555e;_0x42008f++){var _0x5bb641=_0x4c60fe[_0x42008f];_0x42008f===0x0?_0x4eef31[_0x295398(0xca)](_0x5bb641[0x0]-_0x5965c8[0x0],_0x5bb641[0x1]-_0x5965c8[0x1]):_0x4eef31[_0x295398(0xce)](_0x5bb641[0x0]-_0x5965c8[0x0],_0x5bb641[0x1]-_0x5965c8[0x1]);}_0x4eef31[_0x295398(0xb3)](),_0x4eef31[_0x295398(0xb6)]='rgba(0,0,0,0.01)',_0x4eef31['fill'](),_0x4eef31[_0x295398(0xb6)]=_0x2c701b,_0x4eef31[_0x295398(0xd3)](),_0x4111b6['outline']?(_0x4eef31[_0x295398(0xb1)]=getColor(_0x4111b6[_0x295398(0xb0)],_0x4111b6[_0x295398(0xeb)]),_0x4eef31[_0x295398(0xdf)]=_0x4111b6['outlineWidth']):_0x4eef31['strokeStyle']=_0x295398(0xe7),_0x4eef31[_0x295398(0xb2)](),_0x4eef31['restore']();}}catch(_0x358efd){_0x4eef31[_0x295398(0xb5)](),console[_0x295398(0xea)](_0x358efd);}}function _getImagePattern(_0x431776,_0x173b76,_0x44e652,_0x62e909){var _0x36e6f0=a73_0x29c2;if(!_0x62e909||_0x62e909[_0x36e6f0(0xd9)]===0x0){let _0x2ca44a=new Image();_0x2ca44a['src']=_0x44e652['image'];}var _0x399850=getSize(_0x173b76);const _0x425079=document[_0x36e6f0(0xe1)](_0x36e6f0(0xe9)),_0x3ac2fd=_0x425079[_0x36e6f0(0xde)]('2d');return _0x425079['width']=Math[_0x36e6f0(0xcd)](_0x399850[0x0]/_0x44e652[_0x36e6f0(0xc3)],0x1),_0x425079[_0x36e6f0(0xe6)]=Math[_0x36e6f0(0xcd)](_0x399850[0x1]/_0x44e652['repeatY'],0x1),_0x3ac2fd&&(_0x3ac2fd[_0x36e6f0(0xc6)]=_0x44e652['opacity'],_0x3ac2fd[_0x36e6f0(0xe0)](_0x62e909,0x0,0x0,_0x425079['width'],_0x425079[_0x36e6f0(0xe6)])),_0x431776[_0x36e6f0(0xdc)](_0x425079,_0x36e6f0(0xd0));}function _getGridPattern(_0x34f6b3,_0x129e33,_0x9cac4d){var _0x1fafc1=a73_0x29c2,_0x15ba65=getSize(_0x129e33);const _0x252e4a=document[_0x1fafc1(0xe1)](_0x1fafc1(0xe9)),_0x395611=_0x252e4a['getContext']('2d');return _0x252e4a[_0x1fafc1(0xd9)]=Math[_0x1fafc1(0xcd)](_0x15ba65[0x0]/_0x9cac4d[_0x1fafc1(0xc2)],0x1),_0x252e4a[_0x1fafc1(0xe6)]=Math[_0x1fafc1(0xcd)](_0x15ba65[0x1]/_0x9cac4d[_0x1fafc1(0xc2)],0x1),_0x395611&&(_0x395611[_0x1fafc1(0xb1)]=getColor(_0x9cac4d[_0x1fafc1(0xbe)],_0x9cac4d[_0x1fafc1(0xc9)]),_0x395611['lineWidth']=_0x9cac4d[_0x1fafc1(0xd4)]*0x4,_0x395611['beginPath'](),_0x395611[_0x1fafc1(0xca)](0x0,_0x252e4a[_0x1fafc1(0xe6)]),_0x395611[_0x1fafc1(0xce)](_0x252e4a[_0x1fafc1(0xd9)],_0x252e4a[_0x1fafc1(0xe6)]),_0x395611[_0x1fafc1(0xca)](_0x252e4a[_0x1fafc1(0xd9)],0x0),_0x395611[_0x1fafc1(0xce)](_0x252e4a[_0x1fafc1(0xd9)],_0x252e4a[_0x1fafc1(0xe6)]),_0x395611[_0x1fafc1(0xb2)]()),_0x34f6b3[_0x1fafc1(0xdc)](_0x252e4a,_0x1fafc1(0xd0));}function _getStripePattern(_0x2e2216,_0x150c6c,_0x4d07f5){var _0x59af95=a73_0x29c2,_0x5138b6=getSize(_0x150c6c);const _0x2d361a=document[_0x59af95(0xe1)]('canvas'),_0x427288=_0x2d361a['getContext']('2d');let _0x5d68fc=Math[_0x59af95(0xcd)](_0x5138b6[0x1]/_0x4d07f5[_0x59af95(0xc5)],0x1);return _0x2d361a[_0x59af95(0xd9)]=_0x5138b6[0x0],_0x2d361a['height']=_0x5d68fc*0x2,_0x427288&&(_0x427288['beginPath'](),_0x427288[_0x59af95(0xca)](0x0,0x0),_0x427288[_0x59af95(0xce)](_0x2d361a[_0x59af95(0xd9)],0x0),_0x427288[_0x59af95(0xce)](_0x2d361a[_0x59af95(0xd9)],_0x5d68fc),_0x427288[_0x59af95(0xce)](0x0,_0x5d68fc),_0x427288[_0x59af95(0xb3)](),_0x427288[_0x59af95(0xb6)]=getColor(_0x4d07f5[_0x59af95(0xda)],_0x4d07f5['opacity']),_0x427288[_0x59af95(0xd3)](),_0x427288['beginPath'](),_0x427288[_0x59af95(0xca)](0x0,_0x5d68fc),_0x427288['lineTo'](_0x2d361a[_0x59af95(0xd9)],_0x5d68fc),_0x427288[_0x59af95(0xce)](_0x2d361a[_0x59af95(0xd9)],_0x5d68fc*0x2),_0x427288[_0x59af95(0xce)](0x0,_0x5d68fc*0x2),_0x427288[_0x59af95(0xb3)](),_0x427288['fillStyle']=getColor(_0x4d07f5[_0x59af95(0xbe)],_0x4d07f5[_0x59af95(0xc9)]),_0x427288['fill']()),_0x2e2216[_0x59af95(0xdc)](_0x2d361a,_0x59af95(0xd0));}function _getCheckerBoardPattern(_0x4954d3,_0x592e85,_0x1bddc7){var _0x240888=a73_0x29c2,_0x1a9cb1=getSize(_0x592e85);const _0x1c6032=document[_0x240888(0xe1)](_0x240888(0xe9)),_0x5585a8=_0x1c6032['getContext']('2d');let _0x1a232e=Math[_0x240888(0xcd)](_0x1a9cb1[0x0]/_0x1bddc7[_0x240888(0xd6)],0x1),_0x38f929=Math['max'](_0x1a9cb1[0x1]/_0x1bddc7['checkerboard_repeat'],0x1);return _0x1c6032[_0x240888(0xd9)]=_0x1a232e*0x2,_0x1c6032['height']=_0x38f929*0x2,_0x5585a8&&(_0x5585a8['beginPath'](),_0x5585a8['moveTo'](0x0,0x0),_0x5585a8[_0x240888(0xce)](_0x1a232e,0x0),_0x5585a8[_0x240888(0xce)](_0x1a232e,_0x38f929),_0x5585a8[_0x240888(0xce)](0x0,_0x38f929),_0x5585a8['closePath'](),_0x5585a8['fillStyle']=getColor(_0x1bddc7['oddColor'],_0x1bddc7[_0x240888(0xc9)]),_0x5585a8['fill'](),_0x5585a8[_0x240888(0xe4)](),_0x5585a8[_0x240888(0xca)](_0x1a232e,0x0),_0x5585a8['lineTo'](_0x1c6032[_0x240888(0xd9)],0x0),_0x5585a8[_0x240888(0xce)](_0x1c6032[_0x240888(0xd9)],_0x38f929),_0x5585a8[_0x240888(0xce)](_0x1a232e,_0x38f929),_0x5585a8['closePath'](),_0x5585a8[_0x240888(0xb6)]=getColor(_0x1bddc7[_0x240888(0xbe)],_0x1bddc7[_0x240888(0xc9)]),_0x5585a8[_0x240888(0xd3)](),_0x5585a8[_0x240888(0xe4)](),_0x5585a8['moveTo'](0x0,_0x38f929),_0x5585a8[_0x240888(0xce)](_0x1a232e,_0x38f929),_0x5585a8[_0x240888(0xce)](_0x1a232e,_0x1c6032[_0x240888(0xe6)]),_0x5585a8[_0x240888(0xce)](0x0,_0x1c6032[_0x240888(0xe6)]),_0x5585a8[_0x240888(0xb3)](),_0x5585a8['fillStyle']=getColor(_0x1bddc7['color'],_0x1bddc7['opacity']),_0x5585a8[_0x240888(0xd3)](),_0x5585a8[_0x240888(0xe4)](),_0x5585a8[_0x240888(0xca)](_0x1a232e,_0x38f929),_0x5585a8[_0x240888(0xce)](_0x1c6032['width'],_0x38f929),_0x5585a8[_0x240888(0xce)](_0x1c6032[_0x240888(0xd9)],_0x1c6032['height']),_0x5585a8[_0x240888(0xce)](_0x1a232e,_0x1c6032[_0x240888(0xe6)]),_0x5585a8[_0x240888(0xb3)](),_0x5585a8[_0x240888(0xb6)]=getColor(_0x1bddc7[_0x240888(0xd8)],_0x1bddc7[_0x240888(0xc9)]),_0x5585a8[_0x240888(0xd3)]()),_0x4954d3[_0x240888(0xdc)](_0x1c6032,_0x240888(0xd0));}
@@ -1 +1 @@
1
- (function(_0x1ab5a0,_0x4a9d9b){const _0x18f81f=a73_0x5cca,_0x9fd947=_0x1ab5a0();while(!![]){try{const _0x98a76d=parseInt(_0x18f81f(0x164))/0x1*(-parseInt(_0x18f81f(0x148))/0x2)+parseInt(_0x18f81f(0x156))/0x3*(parseInt(_0x18f81f(0x14b))/0x4)+parseInt(_0x18f81f(0x138))/0x5+-parseInt(_0x18f81f(0x139))/0x6+parseInt(_0x18f81f(0x13e))/0x7*(parseInt(_0x18f81f(0x161))/0x8)+-parseInt(_0x18f81f(0x135))/0x9+-parseInt(_0x18f81f(0x14f))/0xa*(parseInt(_0x18f81f(0x142))/0xb);if(_0x98a76d===_0x4a9d9b)break;else _0x9fd947['push'](_0x9fd947['shift']());}catch(_0x26115d){_0x9fd947['push'](_0x9fd947['shift']());}}}(a73_0x2229,0x88273));import{createTextStyle,getColor}from'./common';function a73_0x5cca(_0x15e207,_0x5ba00f){const _0x22295b=a73_0x2229();return a73_0x5cca=function(_0x5ccada,_0x2a33bb){_0x5ccada=_0x5ccada-0x132;let _0x55135f=_0x22295b[_0x5ccada];return _0x55135f;},a73_0x5cca(_0x15e207,_0x5ba00f);}import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x219bb0,_0x16e81f,_0x19e67f,_0x1ed43e){const _0x6f7bba=a73_0x5cca;var _0x1ee39b,_0x462db9,_0xc8ca8c;let _0x5cf91d=(_0x1ee39b=_0x219bb0['zIndex'])!==null&&_0x1ee39b!==void 0x0?_0x1ee39b:0x0;const _0x3aac82=_0x1e0a12=>{const _0x29bf85=a73_0x5cca;var _0x326b36=_0x1e0a12[_0x29bf85(0x137)]();if(_0x326b36)return _getRealPolyline(_0x326b36,_0x219bb0);return _0x326b36;},_0x499217=_0x5825f1=>{const _0x160d84=a73_0x5cca;var _0x5cc45e=_0x5825f1['getGeometry']();let _0xe7d167=_0x5cc45e;_0x5cc45e&&(_0xe7d167=_getRealPolyline(_0x5cc45e,_0x219bb0));if(_0xe7d167&&_0xe7d167['getType']()===_0x160d84(0x15d))return new Point(_0xe7d167[_0x160d84(0x163)]());else{let _0x1e695a=_0xe7d167[_0x160d84(0x145)](),_0x3f460a=0x2,_0x3a7b6c=[];for(let _0x174966=0x0,_0x150123=_0x1e695a[_0x160d84(0x162)];_0x174966<_0x150123;_0x174966+=_0x3f460a){let _0x17c684=[_0x1e695a[_0x174966],_0x1e695a[_0x174966+0x1]];_0x3a7b6c['push'](_0x17c684);}return new MultiPoint(_0x3a7b6c);}};let _0x10a960=new Style({'geometry':_0x3aac82,'stroke':new Stroke({'color':getColor(_0x219bb0['color'],_0x219bb0['opacity']),'width':_0x219bb0[_0x6f7bba(0x147)]}),'zIndex':_0x5cf91d}),_0x3cb46f=[_0x10a960];if(_0x219bb0[_0x6f7bba(0x143)]==='dash'){let _0xb854b2=_0x219bb0[_0x6f7bba(0x152)]/0x2,_0x44d56f=new Style({'geometry':_0x3aac82,'zIndex':_0x5cf91d,'stroke':new Stroke({'color':getColor(_0x219bb0['color'],_0x219bb0[_0x6f7bba(0x158)]),'width':_0x219bb0[_0x6f7bba(0x147)],'lineCap':'butt','lineDash':[_0xb854b2,_0xb854b2]})}),_0x5d8ed7=new Style({'geometry':_0x3aac82,'zIndex':_0x5cf91d+0.5,'stroke':new Stroke({'color':getColor(_0x219bb0[_0x6f7bba(0x13a)],Number((_0xc8ca8c=(_0x462db9=_0x219bb0[_0x6f7bba(0x15c)])!==null&&_0x462db9!==void 0x0?_0x462db9:_0x219bb0[_0x6f7bba(0x158)])!==null&&_0xc8ca8c!==void 0x0?_0xc8ca8c:0x1)),'width':_0x219bb0[_0x6f7bba(0x147)],'lineCap':'butt','lineDash':[_0xb854b2,_0xb854b2],'lineDashOffset':_0xb854b2})});_0x3cb46f=[_0x44d56f,_0x5d8ed7];}_0x219bb0['lineType']===_0x6f7bba(0x146)&&_0x10a960[_0x6f7bba(0x159)]((_0x124ab1,_0x738dea)=>{const _0x2bea88=_0x6f7bba;let _0x13a867=_0x738dea[_0x2bea88(0x13d)],_0x5f275a=parseInt((_0x219bb0[_0x2bea88(0x147)]/0x4)['toString']()),_0x1a49bc=0xa,_0x25913c=Math['sqrt'](Math[_0x2bea88(0x15e)](_0x1a49bc,0x2)+Math[_0x2bea88(0x15e)](_0x219bb0['width']/0x2,0x2)),_0x23779f=0x2d,_0x2f7f3f=_0x124ab1[_0x124ab1[_0x2bea88(0x162)]-0x2][0x0],_0x32bace=_0x124ab1[_0x124ab1[_0x2bea88(0x162)]-0x2][0x1],_0x395d7a=_0x124ab1[_0x124ab1[_0x2bea88(0x162)]-0x1][0x0],_0x518854=_0x124ab1[_0x124ab1[_0x2bea88(0x162)]-0x1][0x1],_0x3935d2=Math[_0x2bea88(0x155)](_0x32bace-_0x518854,_0x2f7f3f-_0x395d7a)*0xb4/Math['PI'],_0x2ed0b5=(_0x3935d2+_0x23779f)*Math['PI']/0xb4,_0x16a419=(_0x3935d2-_0x23779f)*Math['PI']/0xb4,_0x4fae24=_0x25913c*Math[_0x2bea88(0x133)](_0x2ed0b5),_0x38ee8c=_0x25913c*Math[_0x2bea88(0x144)](_0x2ed0b5),_0x52f7cb=_0x25913c*Math[_0x2bea88(0x133)](_0x16a419),_0x4da2ed=_0x25913c*Math[_0x2bea88(0x144)](_0x16a419);_0x13a867[_0x2bea88(0x136)](),_0x13a867[_0x2bea88(0x150)]();let _0x554a89,_0x3642c3;for(let _0x294754=0x0;_0x294754<_0x124ab1[_0x2bea88(0x162)];_0x294754++){_0x294754===0x0?_0x13a867[_0x2bea88(0x15f)](_0x124ab1[_0x294754][0x0],_0x124ab1[_0x294754][0x1]):_0x13a867['lineTo'](_0x124ab1[_0x294754][0x0],_0x124ab1[_0x294754][0x1]);}_0x13a867[_0x2bea88(0x14e)]=getColor(_0x219bb0[_0x2bea88(0x13c)],_0x219bb0[_0x2bea88(0x158)]),_0x13a867[_0x2bea88(0x165)]=_0x5f275a,_0x13a867[_0x2bea88(0x157)]=_0x2bea88(0x14a),_0x13a867['stroke'](),_0x554a89=_0x395d7a+_0x4fae24,_0x3642c3=_0x518854+_0x38ee8c,_0x13a867['moveTo'](_0x554a89,_0x3642c3),_0x13a867[_0x2bea88(0x15b)](_0x395d7a,_0x518854),_0x554a89=_0x395d7a+_0x52f7cb,_0x3642c3=_0x518854+_0x4da2ed,_0x13a867[_0x2bea88(0x15b)](_0x554a89,_0x3642c3),_0x13a867[_0x2bea88(0x157)]=_0x2bea88(0x14a),_0x13a867[_0x2bea88(0x13f)](),_0x13a867[_0x2bea88(0x132)]();});_0x219bb0[_0x6f7bba(0x143)]===_0x6f7bba(0x149)&&_0x10a960[_0x6f7bba(0x159)]((_0x5d2c78,_0x36f76f)=>{const _0x3582d4=_0x6f7bba;let _0x5767a6=_0x36f76f['context'];_0x5767a6[_0x3582d4(0x136)]();for(let _0x251460=0x0;_0x251460<0x4;_0x251460++){let _0x47e1b7=_0x219bb0[_0x3582d4(0x147)]/0xa*(_0x219bb0[_0x3582d4(0x140)]===0x0?0x1:_0x219bb0[_0x3582d4(0x140)]);_0x5767a6['shadowColor']=getColor(_0x219bb0[_0x3582d4(0x13c)],_0x219bb0[_0x3582d4(0x158)]),_0x5767a6[_0x3582d4(0x15a)]=_0x219bb0['width']/0x5*0x2,_0x5767a6['beginPath']();for(let _0x13868f=0x0;_0x13868f<_0x5d2c78[_0x3582d4(0x162)];_0x13868f++){_0x13868f===0x0?_0x5767a6[_0x3582d4(0x15f)](_0x5d2c78[_0x13868f][0x0],_0x5d2c78[_0x13868f][0x1]):_0x5767a6[_0x3582d4(0x15b)](_0x5d2c78[_0x13868f][0x0],_0x5d2c78[_0x13868f][0x1]);}_0x5767a6[_0x3582d4(0x157)]=_0x3582d4(0x14a),_0x5767a6[_0x3582d4(0x165)]=_0x47e1b7,_0x5767a6[_0x3582d4(0x14e)]=getColor(_0x3582d4(0x14c),_0x219bb0[_0x3582d4(0x158)]),_0x5767a6[_0x3582d4(0x13f)]();}_0x5767a6[_0x3582d4(0x132)]();});_0x219bb0[_0x6f7bba(0x143)]===_0x6f7bba(0x151)&&_0x10a960[_0x6f7bba(0x159)]((_0x39ff3c,_0xebaa50)=>{const _0x37ebea=_0x6f7bba;let _0x10afe1=_0xebaa50[_0x37ebea(0x13d)];_0x10afe1[_0x37ebea(0x136)](),_0x10afe1[_0x37ebea(0x150)]();for(let _0x41cc48=0x0;_0x41cc48<_0x39ff3c[_0x37ebea(0x162)];_0x41cc48++){_0x41cc48===0x0?_0x10afe1[_0x37ebea(0x15f)](_0x39ff3c[_0x41cc48][0x0],_0x39ff3c[_0x41cc48][0x1]):_0x10afe1['lineTo'](_0x39ff3c[_0x41cc48][0x0],_0x39ff3c[_0x41cc48][0x1]);}_0x10afe1[_0x37ebea(0x157)]=_0x37ebea(0x14a),_0x10afe1[_0x37ebea(0x165)]=_0x219bb0[_0x37ebea(0x147)],_0x10afe1[_0x37ebea(0x14e)]=getColor(_0x219bb0['outlineColor'],_0x219bb0[_0x37ebea(0x158)]),_0x10afe1[_0x37ebea(0x13f)](),_0x10afe1[_0x37ebea(0x150)]();for(let _0x518422=0x0;_0x518422<_0x39ff3c[_0x37ebea(0x162)];_0x518422++){_0x518422===0x0?_0x10afe1[_0x37ebea(0x15f)](_0x39ff3c[_0x518422][0x0],_0x39ff3c[_0x518422][0x1]):_0x10afe1['lineTo'](_0x39ff3c[_0x518422][0x0],_0x39ff3c[_0x518422][0x1]);}_0x10afe1[_0x37ebea(0x157)]=_0x37ebea(0x14a),_0x219bb0[_0x37ebea(0x152)]>=_0x219bb0[_0x37ebea(0x147)]&&(_0x219bb0['outlineWidth']=_0x219bb0[_0x37ebea(0x147)]-0x1),_0x10afe1[_0x37ebea(0x165)]=_0x219bb0[_0x37ebea(0x147)]-_0x219bb0[_0x37ebea(0x152)],_0x10afe1[_0x37ebea(0x14e)]=getColor(_0x219bb0['color'],_0x219bb0[_0x37ebea(0x158)]),_0x10afe1['stroke'](),_0x10afe1[_0x37ebea(0x132)]();});let _0x414205=getImageOlStyle(_0x219bb0['billboard'],_0x5cf91d,_0x19e67f,_0x1ed43e);_0x414205&&(_0x414205[_0x6f7bba(0x13b)](_0x499217),_0x3cb46f[_0x6f7bba(0x14d)](_0x414205));if(_0x219bb0['label']&&_0x219bb0[_0x6f7bba(0x141)][_0x6f7bba(0x154)]!==![]){let _0x33fbf5=new Style({'geometry':_0x499217,'text':createTextStyle(_0x219bb0[_0x6f7bba(0x141)],_0x16e81f,_0x19e67f,_0x1ed43e),'zIndex':Number(_0x5cf91d)+0x1});_0x3cb46f[_0x6f7bba(0x14d)](_0x33fbf5);}return _0x3cb46f;}function a73_0x2229(){const _0x46a7ca=['beginPath','outline','outlineWidth','MultiLineString','show','atan2','3sBhHxi','lineCap','opacity','setRenderer','shadowBlur','lineTo','outlineOpacity','LineString','pow','moveTo','closed','10832phfuKo','length','getFlatMidpoint','318236JGoIVg','lineWidth','restore','cos','getCoordinates','290025uUsQyH','save','getGeometry','759225CqsKQg','185670AxNZrB','outlineColor','setGeometry','color','context','2674ngSxig','stroke','glowPower','label','11rrewbu','lineType','sin','getFlatMidpoints','arrow','width','4MquqKB','glow','butt','3070648xPWBZg','white','push','strokeStyle','1794100HiOSBz'];a73_0x2229=function(){return _0x46a7ca;};return a73_0x2229();}function _getRealPolyline(_0x51fff2,_0x224def){const _0x3ef956=a73_0x5cca;if(!(_0x224def===null||_0x224def===void 0x0?void 0x0:_0x224def[_0x3ef956(0x160)]))return _0x51fff2;else{if(_0x51fff2['getType']()===_0x3ef956(0x153)){let _0x38f59e=_0x51fff2[_0x3ef956(0x134)]();for(let _0x4b1678 in _0x38f59e){let _0x4139ae=_0x38f59e[_0x4b1678];_0x38f59e[_0x4b1678]=_0x4139ae['concat']([_0x4139ae[0x0]]);}return new MultiLineString(_0x38f59e);}else return new LineString(_0x51fff2[_0x3ef956(0x134)]()['concat']([_0x51fff2['getFirstCoordinate']()]));}}
1
+ (function(_0x288e9f,_0x1e55da){const _0x11063f=a74_0x5e05,_0x4983d5=_0x288e9f();while(!![]){try{const _0x5b1cf6=parseInt(_0x11063f(0x1a0))/0x1+-parseInt(_0x11063f(0x19a))/0x2+parseInt(_0x11063f(0x1b1))/0x3+parseInt(_0x11063f(0x1a1))/0x4+-parseInt(_0x11063f(0x1a9))/0x5*(parseInt(_0x11063f(0x189))/0x6)+-parseInt(_0x11063f(0x1a3))/0x7+-parseInt(_0x11063f(0x1ac))/0x8;if(_0x5b1cf6===_0x1e55da)break;else _0x4983d5['push'](_0x4983d5['shift']());}catch(_0x2d1eeb){_0x4983d5['push'](_0x4983d5['shift']());}}}(a74_0x1724,0x7f36f));import{createTextStyle,getColor}from'./common';function a74_0x5e05(_0x3f2369,_0x59de56){const _0x17247d=a74_0x1724();return a74_0x5e05=function(_0x5e0583,_0x102b1a){_0x5e0583=_0x5e0583-0x180;let _0x572bbd=_0x17247d[_0x5e0583];return _0x572bbd;},a74_0x5e05(_0x3f2369,_0x59de56);}import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';function a74_0x1724(){const _0x1a4e90=['outlineColor','stroke','outline','435182iZuYEi','outlineWidth','getFlatMidpoints','length','lineWidth','shadowColor','878942oyAbia','1756076KcfSOQ','concat','419909rHVSjV','getFirstCoordinate','sin','push','setRenderer','pow','4467055MrpQhb','getCoordinates','butt','620304AKUWwi','width','atan2','sqrt','opacity','1354911zIpJjO','beginPath','MultiLineString','setGeometry','billboard','restore','glowPower','toString','LineString','label','getGeometry','6sISnza','getFlatMidpoint','save','context','cos','strokeStyle','arrow','getType','lineTo','moveTo','show','lineCap','lineType','color'];a74_0x1724=function(){return _0x1a4e90;};return a74_0x1724();}import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x2f13c5,_0x45d2c7,_0x33ba18,_0x5a9471){const _0x4a9267=a74_0x5e05;var _0x50b080,_0x324bfa,_0x4d5102;let _0x2a33e3=(_0x50b080=_0x2f13c5['zIndex'])!==null&&_0x50b080!==void 0x0?_0x50b080:0x0;const _0x72b443=_0x5a3982=>{const _0x52fef5=a74_0x5e05;var _0x11fef8=_0x5a3982[_0x52fef5(0x188)]();if(_0x11fef8)return _getRealPolyline(_0x11fef8,_0x2f13c5);return _0x11fef8;},_0x2fe28e=_0x2318f0=>{const _0x260a63=a74_0x5e05;var _0x1167b4=_0x2318f0[_0x260a63(0x188)]();let _0x24ca01=_0x1167b4;_0x1167b4&&(_0x24ca01=_getRealPolyline(_0x1167b4,_0x2f13c5));if(_0x24ca01&&_0x24ca01[_0x260a63(0x190)]()===_0x260a63(0x186))return new Point(_0x24ca01[_0x260a63(0x18a)]());else{let _0x544ff9=_0x24ca01[_0x260a63(0x19c)](),_0x196490=0x2,_0x1ceeb7=[];for(let _0x359746=0x0,_0x36dae1=_0x544ff9[_0x260a63(0x19d)];_0x359746<_0x36dae1;_0x359746+=_0x196490){let _0x114c85=[_0x544ff9[_0x359746],_0x544ff9[_0x359746+0x1]];_0x1ceeb7['push'](_0x114c85);}return new MultiPoint(_0x1ceeb7);}};let _0x3b0b9c=new Style({'geometry':_0x72b443,'stroke':new Stroke({'color':getColor(_0x2f13c5[_0x4a9267(0x196)],_0x2f13c5[_0x4a9267(0x1b0)]),'width':_0x2f13c5['width']}),'zIndex':_0x2a33e3}),_0xcf875=[_0x3b0b9c];if(_0x2f13c5[_0x4a9267(0x195)]==='dash'){let _0x28d84d=_0x2f13c5[_0x4a9267(0x19b)]/0x2,_0x19d0f3=new Style({'geometry':_0x72b443,'zIndex':_0x2a33e3,'stroke':new Stroke({'color':getColor(_0x2f13c5[_0x4a9267(0x196)],_0x2f13c5[_0x4a9267(0x1b0)]),'width':_0x2f13c5[_0x4a9267(0x1ad)],'lineCap':_0x4a9267(0x1ab),'lineDash':[_0x28d84d,_0x28d84d]})}),_0x35b7ca=new Style({'geometry':_0x72b443,'zIndex':_0x2a33e3+0.5,'stroke':new Stroke({'color':getColor(_0x2f13c5[_0x4a9267(0x197)],Number((_0x4d5102=(_0x324bfa=_0x2f13c5['outlineOpacity'])!==null&&_0x324bfa!==void 0x0?_0x324bfa:_0x2f13c5['opacity'])!==null&&_0x4d5102!==void 0x0?_0x4d5102:0x1)),'width':_0x2f13c5[_0x4a9267(0x1ad)],'lineCap':'butt','lineDash':[_0x28d84d,_0x28d84d],'lineDashOffset':_0x28d84d})});_0xcf875=[_0x19d0f3,_0x35b7ca];}_0x2f13c5[_0x4a9267(0x195)]===_0x4a9267(0x18f)&&_0x3b0b9c[_0x4a9267(0x1a7)]((_0x515475,_0x130a31)=>{const _0x502d04=_0x4a9267;let _0x3a193d=_0x130a31['context'],_0x2a336f=parseInt((_0x2f13c5[_0x502d04(0x1ad)]/0x4)[_0x502d04(0x185)]()),_0x187494=0xa,_0x5cbe56=Math[_0x502d04(0x1af)](Math[_0x502d04(0x1a8)](_0x187494,0x2)+Math[_0x502d04(0x1a8)](_0x2f13c5[_0x502d04(0x1ad)]/0x2,0x2)),_0x5a04d0=0x2d,_0x10b013=_0x515475[_0x515475['length']-0x2][0x0],_0x38265a=_0x515475[_0x515475[_0x502d04(0x19d)]-0x2][0x1],_0x16b5d1=_0x515475[_0x515475[_0x502d04(0x19d)]-0x1][0x0],_0x3064be=_0x515475[_0x515475[_0x502d04(0x19d)]-0x1][0x1],_0x3d819b=Math[_0x502d04(0x1ae)](_0x38265a-_0x3064be,_0x10b013-_0x16b5d1)*0xb4/Math['PI'],_0xb0e6d=(_0x3d819b+_0x5a04d0)*Math['PI']/0xb4,_0x4b2f1e=(_0x3d819b-_0x5a04d0)*Math['PI']/0xb4,_0x3976d9=_0x5cbe56*Math[_0x502d04(0x18d)](_0xb0e6d),_0x3d968f=_0x5cbe56*Math[_0x502d04(0x1a5)](_0xb0e6d),_0x4e3d28=_0x5cbe56*Math[_0x502d04(0x18d)](_0x4b2f1e),_0x43fd62=_0x5cbe56*Math['sin'](_0x4b2f1e);_0x3a193d[_0x502d04(0x18b)](),_0x3a193d[_0x502d04(0x1b2)]();let _0x3caf1a,_0x176395;for(let _0x408771=0x0;_0x408771<_0x515475[_0x502d04(0x19d)];_0x408771++){_0x408771===0x0?_0x3a193d[_0x502d04(0x192)](_0x515475[_0x408771][0x0],_0x515475[_0x408771][0x1]):_0x3a193d[_0x502d04(0x191)](_0x515475[_0x408771][0x0],_0x515475[_0x408771][0x1]);}_0x3a193d[_0x502d04(0x18e)]=getColor(_0x2f13c5[_0x502d04(0x196)],_0x2f13c5[_0x502d04(0x1b0)]),_0x3a193d[_0x502d04(0x19e)]=_0x2a336f,_0x3a193d[_0x502d04(0x194)]='butt',_0x3a193d[_0x502d04(0x198)](),_0x3caf1a=_0x16b5d1+_0x3976d9,_0x176395=_0x3064be+_0x3d968f,_0x3a193d[_0x502d04(0x192)](_0x3caf1a,_0x176395),_0x3a193d['lineTo'](_0x16b5d1,_0x3064be),_0x3caf1a=_0x16b5d1+_0x4e3d28,_0x176395=_0x3064be+_0x43fd62,_0x3a193d[_0x502d04(0x191)](_0x3caf1a,_0x176395),_0x3a193d[_0x502d04(0x194)]=_0x502d04(0x1ab),_0x3a193d[_0x502d04(0x198)](),_0x3a193d[_0x502d04(0x183)]();});_0x2f13c5[_0x4a9267(0x195)]==='glow'&&_0x3b0b9c[_0x4a9267(0x1a7)]((_0x40e331,_0x2836a2)=>{const _0x1a36f6=_0x4a9267;let _0x227199=_0x2836a2[_0x1a36f6(0x18c)];_0x227199[_0x1a36f6(0x18b)]();for(let _0x254fa9=0x0;_0x254fa9<0x4;_0x254fa9++){let _0x440005=_0x2f13c5[_0x1a36f6(0x1ad)]/0xa*(_0x2f13c5['glowPower']===0x0?0x1:_0x2f13c5[_0x1a36f6(0x184)]);_0x227199[_0x1a36f6(0x19f)]=getColor(_0x2f13c5[_0x1a36f6(0x196)],_0x2f13c5['opacity']),_0x227199['shadowBlur']=_0x2f13c5[_0x1a36f6(0x1ad)]/0x5*0x2,_0x227199[_0x1a36f6(0x1b2)]();for(let _0x4e2489=0x0;_0x4e2489<_0x40e331['length'];_0x4e2489++){_0x4e2489===0x0?_0x227199['moveTo'](_0x40e331[_0x4e2489][0x0],_0x40e331[_0x4e2489][0x1]):_0x227199[_0x1a36f6(0x191)](_0x40e331[_0x4e2489][0x0],_0x40e331[_0x4e2489][0x1]);}_0x227199[_0x1a36f6(0x194)]=_0x1a36f6(0x1ab),_0x227199['lineWidth']=_0x440005,_0x227199['strokeStyle']=getColor('white',_0x2f13c5[_0x1a36f6(0x1b0)]),_0x227199[_0x1a36f6(0x198)]();}_0x227199[_0x1a36f6(0x183)]();});_0x2f13c5[_0x4a9267(0x195)]===_0x4a9267(0x199)&&_0x3b0b9c[_0x4a9267(0x1a7)]((_0x2ac33f,_0x3c294d)=>{const _0x3ae470=_0x4a9267;let _0x7d8833=_0x3c294d[_0x3ae470(0x18c)];_0x7d8833[_0x3ae470(0x18b)](),_0x7d8833[_0x3ae470(0x1b2)]();for(let _0x32fa9d=0x0;_0x32fa9d<_0x2ac33f[_0x3ae470(0x19d)];_0x32fa9d++){_0x32fa9d===0x0?_0x7d8833[_0x3ae470(0x192)](_0x2ac33f[_0x32fa9d][0x0],_0x2ac33f[_0x32fa9d][0x1]):_0x7d8833[_0x3ae470(0x191)](_0x2ac33f[_0x32fa9d][0x0],_0x2ac33f[_0x32fa9d][0x1]);}_0x7d8833[_0x3ae470(0x194)]=_0x3ae470(0x1ab),_0x7d8833[_0x3ae470(0x19e)]=_0x2f13c5['width'],_0x7d8833['strokeStyle']=getColor(_0x2f13c5['outlineColor'],_0x2f13c5[_0x3ae470(0x1b0)]),_0x7d8833[_0x3ae470(0x198)](),_0x7d8833[_0x3ae470(0x1b2)]();for(let _0x39ec78=0x0;_0x39ec78<_0x2ac33f[_0x3ae470(0x19d)];_0x39ec78++){_0x39ec78===0x0?_0x7d8833[_0x3ae470(0x192)](_0x2ac33f[_0x39ec78][0x0],_0x2ac33f[_0x39ec78][0x1]):_0x7d8833['lineTo'](_0x2ac33f[_0x39ec78][0x0],_0x2ac33f[_0x39ec78][0x1]);}_0x7d8833[_0x3ae470(0x194)]='butt',_0x2f13c5['outlineWidth']>=_0x2f13c5[_0x3ae470(0x1ad)]&&(_0x2f13c5[_0x3ae470(0x19b)]=_0x2f13c5['width']-0x1),_0x7d8833[_0x3ae470(0x19e)]=_0x2f13c5[_0x3ae470(0x1ad)]-_0x2f13c5[_0x3ae470(0x19b)],_0x7d8833[_0x3ae470(0x18e)]=getColor(_0x2f13c5[_0x3ae470(0x196)],_0x2f13c5[_0x3ae470(0x1b0)]),_0x7d8833[_0x3ae470(0x198)](),_0x7d8833['restore']();});let _0x5c46c7=getImageOlStyle(_0x2f13c5[_0x4a9267(0x182)],_0x2a33e3,_0x33ba18,_0x5a9471);_0x5c46c7&&(_0x5c46c7[_0x4a9267(0x181)](_0x2fe28e),_0xcf875[_0x4a9267(0x1a6)](_0x5c46c7));if(_0x2f13c5[_0x4a9267(0x187)]&&_0x2f13c5[_0x4a9267(0x187)][_0x4a9267(0x193)]!==![]){let _0x49dff4=new Style({'geometry':_0x2fe28e,'text':createTextStyle(_0x2f13c5[_0x4a9267(0x187)],_0x45d2c7,_0x33ba18,_0x5a9471),'zIndex':Number(_0x2a33e3)+0x1});_0xcf875[_0x4a9267(0x1a6)](_0x49dff4);}return _0xcf875;}function _getRealPolyline(_0x171e8a,_0x1a9ae1){const _0x4eab0f=a74_0x5e05;if(!(_0x1a9ae1===null||_0x1a9ae1===void 0x0?void 0x0:_0x1a9ae1['closed']))return _0x171e8a;else{if(_0x171e8a[_0x4eab0f(0x190)]()===_0x4eab0f(0x180)){let _0x6acf36=_0x171e8a[_0x4eab0f(0x1aa)]();for(let _0x13e1bc in _0x6acf36){let _0x39477a=_0x6acf36[_0x13e1bc];_0x6acf36[_0x13e1bc]=_0x39477a[_0x4eab0f(0x1a2)]([_0x39477a[0x0]]);}return new MultiLineString(_0x6acf36);}else return new LineString(_0x171e8a[_0x4eab0f(0x1aa)]()[_0x4eab0f(0x1a2)]([_0x171e8a[_0x4eab0f(0x1a4)]()]));}}
@@ -1 +1 @@
1
- (function(_0x12121a,_0x30d33c){const _0x5dfc6c=a74_0xd4cc,_0x4505fc=_0x12121a();while(!![]){try{const _0x391672=parseInt(_0x5dfc6c(0xf7))/0x1*(-parseInt(_0x5dfc6c(0xfd))/0x2)+parseInt(_0x5dfc6c(0xef))/0x3*(-parseInt(_0x5dfc6c(0x106))/0x4)+parseInt(_0x5dfc6c(0xf1))/0x5*(parseInt(_0x5dfc6c(0xf4))/0x6)+-parseInt(_0x5dfc6c(0xf2))/0x7+parseInt(_0x5dfc6c(0xfb))/0x8+parseInt(_0x5dfc6c(0x103))/0x9+-parseInt(_0x5dfc6c(0x107))/0xa*(-parseInt(_0x5dfc6c(0x101))/0xb);if(_0x391672===_0x30d33c)break;else _0x4505fc['push'](_0x4505fc['shift']());}catch(_0x1ead0f){_0x4505fc['push'](_0x4505fc['shift']());}}}(a74_0x5614,0x6a6ab));import a74_0x1f9146 from'ol/style/Circle';import a74_0x4d047f from'ol/style/Fill';import a74_0x230887 from'ol/style/Stroke';function a74_0xd4cc(_0x596f9d,_0xabf1ff){const _0x561437=a74_0x5614();return a74_0xd4cc=function(_0xd4cc8c,_0x2659c5){_0xd4cc8c=_0xd4cc8c-0xee;let _0x9f8a90=_0x561437[_0xd4cc8c];return _0x9f8a90;},a74_0xd4cc(_0x596f9d,_0xabf1ff);}function a74_0x5614(){const _0x12964c=['10ZlyHrU','LineString','MultiPolygon','rgba(0,\x20255,0,\x201)','1767849UBcbHM','setStroke','5ZiYBCT','2206134tPqwJg','text','3712500YzDCAl','outlineOpacity','opacity','61947RkEyEI','outlineColor','setZIndex','setFill','432768hckWqQ','color','6TkrBhq','MultiLineString','rgba(121,\x20243,\x20238,\x200.3)','rgba(121,\x20243,\x20238,\x200)','4869337gnjGVC','Point','3695904oXiFUF','rgba(0,\x20255,0,\x200)','rgba(121,\x20243,\x20238,\x201)','4LfkRaF'];a74_0x5614=function(){return _0x12964c;};return a74_0x5614();}import a74_0x23692b from'ol/style/Style';import{createTextStyle,getColor}from'./common';export function getSelectPointStyle(){const _0x140cc5=a74_0xd4cc;return new a74_0x23692b({'image':new a74_0x1f9146({'radius':0x5,'fill':new a74_0x4d047f({'color':'rgba(121,\x20243,\x20238,\x201)'}),'stroke':new a74_0x230887({'color':_0x140cc5(0x105),'width':0x1})})});}export function getSelectCancePointStyle(){const _0x11d94c=a74_0xd4cc;return new a74_0x23692b({'image':new a74_0x1f9146({'radius':0x5,'fill':new a74_0x4d047f({'color':_0x11d94c(0x100)}),'stroke':new a74_0x230887({'color':_0x11d94c(0x105),'width':0x1})})});}export function getSelectLineStyle(){return new a74_0x23692b({'stroke':new a74_0x230887({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x2})});}export function getSelectCancelLineStyle(){const _0x5009d4=a74_0xd4cc;return new a74_0x23692b({'stroke':new a74_0x230887({'color':_0x5009d4(0xee),'width':0x2})});}export function getSelectPolygonStyle(){const _0x18c85f=a74_0xd4cc;return new a74_0x23692b({'stroke':new a74_0x230887({'color':_0x18c85f(0x105),'width':0x2}),'fill':new a74_0x4d047f({'color':_0x18c85f(0xff)})});}export function getSelectCancelPolygonStyle(){const _0x5ae439=a74_0xd4cc;return new a74_0x23692b({'stroke':new a74_0x230887({'color':'rgba(0,\x20255,0,\x201)','width':0x2}),'fill':new a74_0x4d047f({'color':_0x5ae439(0x104)})});}export function getStyle(_0x2890bd){const _0xab5e1e=a74_0xd4cc;if(_0x2890bd){const _0x2ae935=new a74_0x23692b();if(_0x2890bd[_0xab5e1e(0xf3)]){const _0x4bb68e=createTextStyle(_0x2890bd,_0x2890bd[_0xab5e1e(0xf3)]);_0x4bb68e&&_0x2ae935['setText'](_0x4bb68e),_0x2ae935[_0xab5e1e(0xf9)](0x1);}return _0x2890bd['outlineColor']&&_0x2ae935[_0xab5e1e(0xf0)](new a74_0x230887({'color':getColor(_0x2890bd[_0xab5e1e(0xf8)],_0x2890bd[_0xab5e1e(0xf5)]),'width':_0x2890bd['outlineWidth']||0x1})),_0x2890bd[_0xab5e1e(0xfc)]&&_0x2ae935[_0xab5e1e(0xfa)](new a74_0x4d047f({'color':getColor(_0x2890bd[_0xab5e1e(0xfc)],_0x2890bd[_0xab5e1e(0xf6)])})),_0x2ae935;}return new a74_0x23692b({'stroke':new a74_0x230887({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x2}),'fill':new a74_0x4d047f({'color':_0xab5e1e(0xff)})});}export function getSelectStyle(_0x44ce75){const _0x1352d2=a74_0xd4cc;let _0x45bd22=getSelectPolygonStyle();switch(_0x44ce75){case _0x1352d2(0x109):case'Polygon':_0x45bd22=getSelectPolygonStyle();break;case _0x1352d2(0xfe):case _0x1352d2(0x108):_0x45bd22=getSelectLineStyle();break;case'MultiPoint':case _0x1352d2(0x102):_0x45bd22=getSelectPointStyle();break;default:break;}return _0x45bd22;}
1
+ (function(_0x455824,_0x52ea0c){const _0x4faafd=a75_0x59c0,_0x4057a6=_0x455824();while(!![]){try{const _0xebbca8=parseInt(_0x4faafd(0x16e))/0x1*(parseInt(_0x4faafd(0x170))/0x2)+parseInt(_0x4faafd(0x17c))/0x3+-parseInt(_0x4faafd(0x17a))/0x4+-parseInt(_0x4faafd(0x178))/0x5*(parseInt(_0x4faafd(0x16b))/0x6)+parseInt(_0x4faafd(0x167))/0x7+-parseInt(_0x4faafd(0x16a))/0x8*(parseInt(_0x4faafd(0x172))/0x9)+-parseInt(_0x4faafd(0x169))/0xa;if(_0xebbca8===_0x52ea0c)break;else _0x4057a6['push'](_0x4057a6['shift']());}catch(_0x3321df){_0x4057a6['push'](_0x4057a6['shift']());}}}(a75_0x2566,0xc8694));import a75_0x4d6996 from'ol/style/Circle';import a75_0x5560a1 from'ol/style/Fill';import a75_0x290ef8 from'ol/style/Stroke';function a75_0x2566(){const _0x1d9b09=['MultiPoint','text','6895015mCtbEb','rgba(0,\x20255,0,\x200)','968380tzdvFl','opacity','4685460GGhbTf','setFill','Point','color','setText','249396xKZGgs','rgba(121,\x20243,\x20238,\x201)','2737510pdRCBQ','8fmRBPv','6yIqWmP','setStroke','rgba(121,\x20243,\x20238,\x200)','58066sCKlrf','rgba(121,\x20243,\x20238,\x200.3)','48AnwYFy','outlineColor','2477691voJzfh','MultiLineString','setZIndex','rgba(0,\x20255,0,\x201)'];a75_0x2566=function(){return _0x1d9b09;};return a75_0x2566();}import a75_0x55ff8d from'ol/style/Style';import{createTextStyle,getColor}from'./common';export function getSelectPointStyle(){const _0xad72f2=a75_0x59c0;return new a75_0x55ff8d({'image':new a75_0x4d6996({'radius':0x5,'fill':new a75_0x5560a1({'color':'rgba(121,\x20243,\x20238,\x201)'}),'stroke':new a75_0x290ef8({'color':_0xad72f2(0x168),'width':0x1})})});}export function getSelectCancePointStyle(){const _0x4005e9=a75_0x59c0;return new a75_0x55ff8d({'image':new a75_0x4d6996({'radius':0x5,'fill':new a75_0x5560a1({'color':_0x4005e9(0x16d)}),'stroke':new a75_0x290ef8({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x1})})});}export function getSelectLineStyle(){const _0x43b321=a75_0x59c0;return new a75_0x55ff8d({'stroke':new a75_0x290ef8({'color':_0x43b321(0x168),'width':0x2})});}function a75_0x59c0(_0x50ad3f,_0x3a8bcd){const _0x256633=a75_0x2566();return a75_0x59c0=function(_0x59c07f,_0x15922c){_0x59c07f=_0x59c07f-0x164;let _0x2df5bb=_0x256633[_0x59c07f];return _0x2df5bb;},a75_0x59c0(_0x50ad3f,_0x3a8bcd);}export function getSelectCancelLineStyle(){return new a75_0x55ff8d({'stroke':new a75_0x290ef8({'color':'rgba(0,\x20255,0,\x201)','width':0x2})});}export function getSelectPolygonStyle(){const _0x37ab58=a75_0x59c0;return new a75_0x55ff8d({'stroke':new a75_0x290ef8({'color':_0x37ab58(0x168),'width':0x2}),'fill':new a75_0x5560a1({'color':_0x37ab58(0x16f)})});}export function getSelectCancelPolygonStyle(){const _0x4ef288=a75_0x59c0;return new a75_0x55ff8d({'stroke':new a75_0x290ef8({'color':_0x4ef288(0x175),'width':0x2}),'fill':new a75_0x5560a1({'color':_0x4ef288(0x179)})});}export function getStyle(_0x54bdbc){const _0x5a38b6=a75_0x59c0;if(_0x54bdbc){const _0xfea5bd=new a75_0x55ff8d();if(_0x54bdbc[_0x5a38b6(0x177)]){const _0x57cc12=createTextStyle(_0x54bdbc,_0x54bdbc[_0x5a38b6(0x177)]);_0x57cc12&&_0xfea5bd[_0x5a38b6(0x166)](_0x57cc12),_0xfea5bd[_0x5a38b6(0x174)](0x1);}return _0x54bdbc[_0x5a38b6(0x171)]&&_0xfea5bd[_0x5a38b6(0x16c)](new a75_0x290ef8({'color':getColor(_0x54bdbc[_0x5a38b6(0x171)],_0x54bdbc['outlineOpacity']),'width':_0x54bdbc['outlineWidth']||0x1})),_0x54bdbc[_0x5a38b6(0x165)]&&_0xfea5bd[_0x5a38b6(0x17d)](new a75_0x5560a1({'color':getColor(_0x54bdbc[_0x5a38b6(0x165)],_0x54bdbc[_0x5a38b6(0x17b)])})),_0xfea5bd;}return new a75_0x55ff8d({'stroke':new a75_0x290ef8({'color':_0x5a38b6(0x168),'width':0x2}),'fill':new a75_0x5560a1({'color':_0x5a38b6(0x16f)})});}export function getSelectStyle(_0x5ddd01){const _0x23dff8=a75_0x59c0;let _0x1c554a=getSelectPolygonStyle();switch(_0x5ddd01){case'MultiPolygon':case'Polygon':_0x1c554a=getSelectPolygonStyle();break;case _0x23dff8(0x173):case'LineString':_0x1c554a=getSelectLineStyle();break;case _0x23dff8(0x176):case _0x23dff8(0x164):_0x1c554a=getSelectPointStyle();break;default:break;}return _0x1c554a;}
package/style/common.js CHANGED
@@ -1 +1 @@
1
- (function(_0x4c7097,_0x9fa674){const _0x2a9ba1=a70_0x59c4,_0x9e6c0e=_0x4c7097();while(!![]){try{const _0x2e0349=-parseInt(_0x2a9ba1(0x1a1))/0x1*(-parseInt(_0x2a9ba1(0x1c3))/0x2)+parseInt(_0x2a9ba1(0x1c0))/0x3*(parseInt(_0x2a9ba1(0x1b9))/0x4)+parseInt(_0x2a9ba1(0x1a6))/0x5+-parseInt(_0x2a9ba1(0x1ad))/0x6*(-parseInt(_0x2a9ba1(0x1a3))/0x7)+-parseInt(_0x2a9ba1(0x1cc))/0x8*(-parseInt(_0x2a9ba1(0x1c5))/0x9)+parseInt(_0x2a9ba1(0x1c8))/0xa+parseInt(_0x2a9ba1(0x1bc))/0xb*(-parseInt(_0x2a9ba1(0x1b5))/0xc);if(_0x2e0349===_0x9fa674)break;else _0x9e6c0e['push'](_0x9e6c0e['shift']());}catch(_0x573d5d){_0x9e6c0e['push'](_0x9e6c0e['shift']());}}}(a70_0x1c6a,0x48d35));import a70_0x19659d from'color';import{Fill,Icon,Stroke,Text}from'ol/style';function a70_0x59c4(_0x4a1f05,_0x2ea061){const _0x1c6a90=a70_0x1c6a();return a70_0x59c4=function(_0x59c425,_0x916b5e){_0x59c425=_0x59c425-0x199;let _0xea8db7=_0x1c6a90[_0x59c425];return _0xea8db7;},a70_0x59c4(_0x4a1f05,_0x2ea061);}import a70_0x4ad773 from'../utils/plug/canvas/PinIcon';import a70_0x490a34 from'ol/ImageState';export function isShowStyle(_0x44cc9e,_0x3c035a,_0x14b5f9){const _0x375da6=a70_0x59c4;let _0x5efe07=!![];if(_0x3c035a==undefined||_0x14b5f9==undefined)return _0x5efe07;if(_0x44cc9e&&typeof _0x44cc9e[_0x375da6(0x1b3)]!=undefined&&typeof _0x44cc9e[_0x375da6(0x1bb)]!=undefined){if(_0x44cc9e[_0x375da6(0x1b3)]&&_0x14b5f9){_0x5efe07=![];let _0x613ebf=getLevel(_0x44cc9e[_0x375da6(0x1b3)]),_0x4e69f0=_0x14b5f9[_0x375da6(0x1aa)]()[_0x375da6(0x1c2)](_0x613ebf);_0x3c035a<_0x4e69f0&&(_0x5efe07=!![]);}if(_0x5efe07&&_0x44cc9e[_0x375da6(0x1bb)]&&_0x14b5f9){_0x5efe07=![];let _0x5b76c5=getLevel(_0x44cc9e[_0x375da6(0x1bb)]),_0x58fa82=_0x14b5f9[_0x375da6(0x1aa)]()['getResolutionForZoom'](_0x5b76c5);_0x3c035a>_0x58fa82&&(_0x5efe07=!![]);}}return _0x5efe07;}export function getLevel(_0x52a5da){const _0x33d670=a70_0x59c4,_0x112013=3252.745,_0x1853a0=0.0009198301,_0x504740=52977.61,_0x59481a=-3228.107;return _0x59481a+(_0x112013-_0x59481a)/(0x1+Math[_0x33d670(0x1c4)](_0x52a5da/_0x504740,_0x1853a0));}export function toRadians(_0xc2bff3){if(_0xc2bff3)return-(_0xc2bff3*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x23993b,_0x59058b,_0x10f7c7,_0x457c44){const _0x2d0636=a70_0x59c4;var _0x53c8c6,_0x4636cd,_0x3fdfbd,_0x4d4160,_0x14c7f2,_0xbf685b,_0x4b7d09,_0x41b01f;if(_0x23993b){let _0x9618ab=isShowStyle(_0x23993b,_0x10f7c7,_0x457c44);if(_0x9618ab===![])return undefined;else{const _0x34c1d3=_0x23993b['font'],_0x20962e=(_0x34c1d3===null||_0x34c1d3===void 0x0?void 0x0:_0x34c1d3['italic'])?_0x2d0636(0x199):_0x2d0636(0x1ab),_0x37637f=(_0x34c1d3===null||_0x34c1d3===void 0x0?void 0x0:_0x34c1d3['weight'])?_0x2d0636(0x1b4):'normal',_0x224b39=(_0x34c1d3===null||_0x34c1d3===void 0x0?void 0x0:_0x34c1d3[_0x2d0636(0x1cb)])||'25',_0x24b2d5=(_0x34c1d3===null||_0x34c1d3===void 0x0?void 0x0:_0x34c1d3[_0x2d0636(0x1a2)])||'楷体';let _0x3f6543=_0x20962e+_0x2d0636(0x1a0)+_0x37637f+'\x20'+_0x224b39+_0x2d0636(0x1ca)+_0x24b2d5,_0x11cba4=(_0x34c1d3===null||_0x34c1d3===void 0x0?void 0x0:_0x34c1d3[_0x2d0636(0x19d)])||0x0,_0x5d9e80=(_0x34c1d3===null||_0x34c1d3===void 0x0?void 0x0:_0x34c1d3['offsetY'])||0x0,_0x5a7dc2=(_0x34c1d3===null||_0x34c1d3===void 0x0?void 0x0:_0x34c1d3[_0x2d0636(0x1b1)])||_0x2d0636(0x1c1),_0xdb91e5=(_0x34c1d3===null||_0x34c1d3===void 0x0?void 0x0:_0x34c1d3[_0x2d0636(0x1bd)])||_0x2d0636(0x19e);const _0x52e88e=_0x23993b[_0x2d0636(0x19f)]||0x1;let _0x54bd15=undefined;return(_0x34c1d3===null||_0x34c1d3===void 0x0?void 0x0:_0x34c1d3['haloColor'])&&(_0x54bd15=_getStroke(_0x34c1d3[_0x2d0636(0x1c6)],_0x34c1d3[_0x2d0636(0x1bf)],_0x34c1d3[_0x2d0636(0x1a7)])),new Text({'overflow':!![],'text':_0x59058b,'font':_0x3f6543,'offsetX':_0x11cba4,'offsetY':_0x5d9e80,'textAlign':_0xdb91e5,'textBaseline':_0x5a7dc2,'fill':new Fill({'color':getColor(((_0x53c8c6=_0x23993b['font'])===null||_0x53c8c6===void 0x0?void 0x0:_0x53c8c6[_0x2d0636(0x1ba)])||_0x2d0636(0x19a),_0x52e88e)}),'stroke':_0x54bd15,'backgroundFill':((_0x4636cd=_0x23993b[_0x2d0636(0x1ac)])===null||_0x4636cd===void 0x0?void 0x0:_0x4636cd['backgroundColor'])?new Fill({'color':getColor(((_0x3fdfbd=_0x23993b[_0x2d0636(0x1ac)])===null||_0x3fdfbd===void 0x0?void 0x0:_0x3fdfbd[_0x2d0636(0x1b0)])||_0x2d0636(0x1b2),((_0x4d4160=_0x23993b[_0x2d0636(0x1ac)])===null||_0x4d4160===void 0x0?void 0x0:_0x4d4160[_0x2d0636(0x19c)])||0x1)}):undefined,'backgroundStroke':((_0x14c7f2=_0x23993b[_0x2d0636(0x1ac)])===null||_0x14c7f2===void 0x0?void 0x0:_0x14c7f2[_0x2d0636(0x1b7)])?_getStroke((_0xbf685b=_0x23993b['font'])===null||_0xbf685b===void 0x0?void 0x0:_0xbf685b['borderLineColor'],((_0x4b7d09=_0x23993b[_0x2d0636(0x1ac)])===null||_0x4b7d09===void 0x0?void 0x0:_0x4b7d09[_0x2d0636(0x19b)])||0x1,((_0x41b01f=_0x23993b['font'])===null||_0x41b01f===void 0x0?void 0x0:_0x41b01f['borderLineWidth'])||0x1):undefined});}}else return undefined;}export function getColor(_0x38b8f3,_0x4c71fc){const _0x27f824=a70_0x59c4;return a70_0x19659d(_0x38b8f3)[_0x27f824(0x1a8)](_0x4c71fc!=undefined?_0x4c71fc:0x1)[_0x27f824(0x1a5)]();}function _getStroke(_0x431f03,_0x3d97e2,_0x309a6b){return new Stroke({'color':getColor(_0x431f03,_0x3d97e2),'width':_0x309a6b==undefined?0x1:_0x309a6b});}function a70_0x1c6a(){const _0x3eff9a=['getImage','getView','normal','font','3504210kKdHwe','ERROR','markerColor','backgroundColor','textBaseline','#2A2A2A','distanceDisplayFar','bold','3798804uQNqXC','target','borderLineColor','getImageState','15888UnsikP','color','distanceDisplayNear','66WerWIC','textAlign','load','haloOpacity','345lPrWvi','middle','getResolutionForZoom','2EQVfSG','pow','1116jbzlLq','haloColor','LOADED','3988020eTbXuL','IDLE','px\x20','size','34824WYgmAd','italic','#000000','borderLineOpacity','backgroundOpacity','offsetX','center','opacity','\x20normal\x20','142697cUvuAy','family','7OyvgOi','image','hexa','378045HIaqHA','haloWidth','alpha'];a70_0x1c6a=function(){return _0x3eff9a;};return a70_0x1c6a();}export function preLoadImageRenderFunction(_0x48d23b,_0x1c8a09,_0x12116b,_0x17a426,_0xc30558){const _0x40597e=a70_0x59c4;let _0x41d1ba;_0x48d23b[_0x40597e(0x1af)]?_0x41d1ba=new a70_0x4ad773(_0x48d23b):_0x41d1ba=new Icon({'src':_0x48d23b[_0x40597e(0x1a4)]});let _0x3754ad=_0x41d1ba[_0x40597e(0x1b8)]();_0x3754ad===a70_0x490a34[_0x40597e(0x1c7)]||_0x3754ad===a70_0x490a34['ERROR']?_0xc30558(_0x48d23b,_0x1c8a09,_0x12116b,_0x17a426,_0x41d1ba[_0x40597e(0x1a9)](0x60)):(_0x3754ad===a70_0x490a34[_0x40597e(0x1c9)]&&_0x41d1ba[_0x40597e(0x1be)](),_0x41d1ba['listenImageChange'](_0xec408f=>{const _0x41669=_0x40597e;_0x3754ad=_0xec408f[_0x41669(0x1b6)][_0x41669(0x1b8)](),(_0x3754ad===a70_0x490a34[_0x41669(0x1c7)]||_0x3754ad===a70_0x490a34[_0x41669(0x1ae)])&&_0xc30558(_0x48d23b,_0x1c8a09,_0x12116b,_0x17a426,_0x41d1ba[_0x41669(0x1a9)](0x60));}));}
1
+ (function(_0x2330c8,_0x112fa3){const _0x3fa149=a71_0x23c4,_0x4c27c3=_0x2330c8();while(!![]){try{const _0x37d4d1=-parseInt(_0x3fa149(0x11d))/0x1+parseInt(_0x3fa149(0x116))/0x2+parseInt(_0x3fa149(0x112))/0x3+-parseInt(_0x3fa149(0x108))/0x4+parseInt(_0x3fa149(0x105))/0x5*(parseInt(_0x3fa149(0x104))/0x6)+-parseInt(_0x3fa149(0x12a))/0x7+parseInt(_0x3fa149(0x12b))/0x8;if(_0x37d4d1===_0x112fa3)break;else _0x4c27c3['push'](_0x4c27c3['shift']());}catch(_0x1daec7){_0x4c27c3['push'](_0x4c27c3['shift']());}}}(a71_0x2f95,0x738ba));import a71_0x1d0b35 from'color';import{Fill,Icon,Stroke,Text}from'ol/style';function a71_0x2f95(){const _0x24a8ff=['7257424nAEHvH','middle','ERROR','2562ZwKTsp','5345Hsejzw','offsetX','font','2995344dvHiPd','getImageState','getView','IDLE','image','borderLineOpacity','haloColor','#000000','italic','haloOpacity','328014WSbApM','#2A2A2A','offsetY','pow','1133640cOiyKi','backgroundColor','backgroundOpacity','textBaseline','normal','getResolutionForZoom','px\x20','283328LdkyjS','\x20normal\x20','listenImageChange','weight','hexa','distanceDisplayFar','alpha','borderLineColor','LOADED','distanceDisplayNear','size','markerColor','haloWidth','3740527pbchHI'];a71_0x2f95=function(){return _0x24a8ff;};return a71_0x2f95();}import a71_0x268bb3 from'../utils/plug/canvas/PinIcon';import a71_0x207f5f from'ol/ImageState';export function isShowStyle(_0x26a63d,_0xe8c353,_0xd422c7){const _0x4456a4=a71_0x23c4;let _0x27a358=!![];if(_0xe8c353==undefined||_0xd422c7==undefined)return _0x27a358;if(_0x26a63d&&typeof _0x26a63d['distanceDisplayFar']!=undefined&&typeof _0x26a63d[_0x4456a4(0x126)]!=undefined){if(_0x26a63d['distanceDisplayFar']&&_0xd422c7){_0x27a358=![];let _0x4b631f=getLevel(_0x26a63d[_0x4456a4(0x122)]),_0x27a754=_0xd422c7[_0x4456a4(0x10a)]()[_0x4456a4(0x11b)](_0x4b631f);_0xe8c353<_0x27a754&&(_0x27a358=!![]);}if(_0x27a358&&_0x26a63d[_0x4456a4(0x126)]&&_0xd422c7){_0x27a358=![];let _0x30966e=getLevel(_0x26a63d['distanceDisplayNear']),_0x2a74a8=_0xd422c7[_0x4456a4(0x10a)]()[_0x4456a4(0x11b)](_0x30966e);_0xe8c353>_0x2a74a8&&(_0x27a358=!![]);}}return _0x27a358;}export function getLevel(_0xbd4855){const _0x1b5313=a71_0x23c4,_0x1f9957=3252.745,_0x51226b=0.0009198301,_0x583b07=52977.61,_0x1ccfcf=-3228.107;return _0x1ccfcf+(_0x1f9957-_0x1ccfcf)/(0x1+Math[_0x1b5313(0x115)](_0xbd4855/_0x583b07,_0x51226b));}function a71_0x23c4(_0x3bcd6e,_0x244c49){const _0x2f95ea=a71_0x2f95();return a71_0x23c4=function(_0x23c4f1,_0x1ef177){_0x23c4f1=_0x23c4f1-0x104;let _0x471370=_0x2f95ea[_0x23c4f1];return _0x471370;},a71_0x23c4(_0x3bcd6e,_0x244c49);}export function toRadians(_0x5d6b9b){if(_0x5d6b9b)return-(_0x5d6b9b*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x40a2d,_0x5c3a67,_0x4c1e9e,_0x1673a2){const _0x47e774=a71_0x23c4;var _0x2fbd11,_0x3b7783,_0x566a83,_0x42585e,_0x26cb9,_0x18c08f,_0x57295b,_0x211fea;if(_0x40a2d){let _0x1f8fff=isShowStyle(_0x40a2d,_0x4c1e9e,_0x1673a2);if(_0x1f8fff===![])return undefined;else{const _0x45cf85=_0x40a2d[_0x47e774(0x107)],_0x2ab934=(_0x45cf85===null||_0x45cf85===void 0x0?void 0x0:_0x45cf85[_0x47e774(0x110)])?_0x47e774(0x110):'normal',_0x50c993=(_0x45cf85===null||_0x45cf85===void 0x0?void 0x0:_0x45cf85[_0x47e774(0x120)])?'bold':_0x47e774(0x11a),_0x5d656d=(_0x45cf85===null||_0x45cf85===void 0x0?void 0x0:_0x45cf85[_0x47e774(0x127)])||'25',_0x3b97e2=(_0x45cf85===null||_0x45cf85===void 0x0?void 0x0:_0x45cf85['family'])||'楷体';let _0x1b6ca5=_0x2ab934+_0x47e774(0x11e)+_0x50c993+'\x20'+_0x5d656d+_0x47e774(0x11c)+_0x3b97e2,_0x4d58f3=(_0x45cf85===null||_0x45cf85===void 0x0?void 0x0:_0x45cf85[_0x47e774(0x106)])||0x0,_0x2b94a8=(_0x45cf85===null||_0x45cf85===void 0x0?void 0x0:_0x45cf85[_0x47e774(0x114)])||0x0,_0x3ba74d=(_0x45cf85===null||_0x45cf85===void 0x0?void 0x0:_0x45cf85[_0x47e774(0x119)])||_0x47e774(0x12c),_0x46dfda=(_0x45cf85===null||_0x45cf85===void 0x0?void 0x0:_0x45cf85['textAlign'])||'center';const _0x1a9fea=_0x40a2d['opacity']||0x1;let _0x4712bd=undefined;return(_0x45cf85===null||_0x45cf85===void 0x0?void 0x0:_0x45cf85['haloColor'])&&(_0x4712bd=_getStroke(_0x45cf85[_0x47e774(0x10e)],_0x45cf85[_0x47e774(0x111)],_0x45cf85[_0x47e774(0x129)])),new Text({'overflow':!![],'text':_0x5c3a67,'font':_0x1b6ca5,'offsetX':_0x4d58f3,'offsetY':_0x2b94a8,'textAlign':_0x46dfda,'textBaseline':_0x3ba74d,'fill':new Fill({'color':getColor(((_0x2fbd11=_0x40a2d['font'])===null||_0x2fbd11===void 0x0?void 0x0:_0x2fbd11['color'])||_0x47e774(0x10f),_0x1a9fea)}),'stroke':_0x4712bd,'backgroundFill':((_0x3b7783=_0x40a2d['font'])===null||_0x3b7783===void 0x0?void 0x0:_0x3b7783[_0x47e774(0x117)])?new Fill({'color':getColor(((_0x566a83=_0x40a2d[_0x47e774(0x107)])===null||_0x566a83===void 0x0?void 0x0:_0x566a83['backgroundColor'])||_0x47e774(0x113),((_0x42585e=_0x40a2d[_0x47e774(0x107)])===null||_0x42585e===void 0x0?void 0x0:_0x42585e[_0x47e774(0x118)])||0x1)}):undefined,'backgroundStroke':((_0x26cb9=_0x40a2d['font'])===null||_0x26cb9===void 0x0?void 0x0:_0x26cb9[_0x47e774(0x124)])?_getStroke((_0x18c08f=_0x40a2d[_0x47e774(0x107)])===null||_0x18c08f===void 0x0?void 0x0:_0x18c08f['borderLineColor'],((_0x57295b=_0x40a2d[_0x47e774(0x107)])===null||_0x57295b===void 0x0?void 0x0:_0x57295b[_0x47e774(0x10d)])||0x1,((_0x211fea=_0x40a2d['font'])===null||_0x211fea===void 0x0?void 0x0:_0x211fea['borderLineWidth'])||0x1):undefined});}}else return undefined;}export function getColor(_0xad9a74,_0x19471a){const _0x4ac263=a71_0x23c4;return a71_0x1d0b35(_0xad9a74)[_0x4ac263(0x123)](_0x19471a!=undefined?_0x19471a:0x1)[_0x4ac263(0x121)]();}function _getStroke(_0x3aea58,_0x5097a0,_0x1771f9){return new Stroke({'color':getColor(_0x3aea58,_0x5097a0),'width':_0x1771f9==undefined?0x1:_0x1771f9});}export function preLoadImageRenderFunction(_0x5d68e5,_0x53d4b2,_0x55f79a,_0x2630e6,_0x21f9c9){const _0x4875a1=a71_0x23c4;let _0x591221;_0x5d68e5[_0x4875a1(0x128)]?_0x591221=new a71_0x268bb3(_0x5d68e5):_0x591221=new Icon({'src':_0x5d68e5[_0x4875a1(0x10c)]});let _0x1a6227=_0x591221[_0x4875a1(0x109)]();_0x1a6227===a71_0x207f5f[_0x4875a1(0x125)]||_0x1a6227===a71_0x207f5f[_0x4875a1(0x12d)]?_0x21f9c9(_0x5d68e5,_0x53d4b2,_0x55f79a,_0x2630e6,_0x591221['getImage'](0x60)):(_0x1a6227===a71_0x207f5f[_0x4875a1(0x10b)]&&_0x591221['load'](),_0x591221[_0x4875a1(0x11f)](_0x3182d8=>{const _0x41b80e=_0x4875a1;_0x1a6227=_0x3182d8['target'][_0x41b80e(0x109)](),(_0x1a6227===a71_0x207f5f['LOADED']||_0x1a6227===a71_0x207f5f[_0x41b80e(0x12d)])&&_0x21f9c9(_0x5d68e5,_0x53d4b2,_0x55f79a,_0x2630e6,_0x591221['getImage'](0x60));}));}
@@ -1 +1 @@
1
- (function(_0x3eda23,_0x499647){const _0x24b9cd=a75_0x16f9,_0x309292=_0x3eda23();while(!![]){try{const _0x5184d3=parseInt(_0x24b9cd(0xe9))/0x1*(-parseInt(_0x24b9cd(0xe0))/0x2)+-parseInt(_0x24b9cd(0xdf))/0x3*(-parseInt(_0x24b9cd(0xdd))/0x4)+parseInt(_0x24b9cd(0xe1))/0x5+-parseInt(_0x24b9cd(0xea))/0x6*(parseInt(_0x24b9cd(0xda))/0x7)+-parseInt(_0x24b9cd(0xe3))/0x8+-parseInt(_0x24b9cd(0xe8))/0x9*(parseInt(_0x24b9cd(0xde))/0xa)+parseInt(_0x24b9cd(0xe6))/0xb;if(_0x5184d3===_0x499647)break;else _0x309292['push'](_0x309292['shift']());}catch(_0x161647){_0x309292['push'](_0x309292['shift']());}}}(a75_0x5c7d,0x945ff));export function getDeepth(_0xe64a51){function _0x3dcfbf(_0x3f39e6,_0x489eea){const _0x34f353=a75_0x16f9;return _0x3f39e6[_0x34f353(0xe2)](function(_0x1a19a8,_0x1bdaad){const _0x15689a=_0x34f353;var _0xf081f5;return Array[_0x15689a(0xe7)](_0x1bdaad)&&(_0xf081f5=_0x3dcfbf(_0x1bdaad,_0x489eea+0x1)),_0xf081f5>_0x1a19a8?_0xf081f5:_0x1a19a8;},_0x489eea);}return _0x3dcfbf(_0xe64a51,0x1);}export function compareArray(_0xdec4a5,_0x96300c){const _0x42c23a=a75_0x16f9;if(_0xdec4a5[_0x42c23a(0xe5)]!==_0x96300c['length'])return![];const _0x584773=_0xdec4a5['length'];for(let _0x17e249=0x0;_0x17e249<_0x584773;_0x17e249++){if(!compare(_0xdec4a5[_0x17e249],_0x96300c[_0x17e249]))return![];}return!![];}export function compare(_0x278d15,_0x19b785){const _0xaf6e07=a75_0x16f9;if(_0x278d15===_0x19b785)return!![];if(typeof _0x278d15!==typeof _0x19b785||_0x278d15===null||_0x19b785===null)return![];if(Array[_0xaf6e07(0xe7)](_0x278d15)){if(!Array[_0xaf6e07(0xe7)](_0x19b785))return![];return compareArray(_0x278d15,_0x19b785);}if(typeof _0x278d15===_0xaf6e07(0xdb))return compareObject(_0x278d15,_0x19b785);return![];}function a75_0x16f9(_0x4c1313,_0x1c0165){const _0x5c7d36=a75_0x5c7d();return a75_0x16f9=function(_0x16f9d9,_0x821179){_0x16f9d9=_0x16f9d9-0xda;let _0x2bf264=_0x5c7d36[_0x16f9d9];return _0x2bf264;},a75_0x16f9(_0x4c1313,_0x1c0165);}function a75_0x5c7d(){const _0x8f523f=['7424768JCQmuT','keys','length','26152434TrpLbx','isArray','2572929BqEjbk','358557iKULtS','465222galWnR','35LSpiXB','object','every','4698832PStrEL','30xHygPT','3OkdIho','6PGmBeT','1523180zjQXme','reduce'];a75_0x5c7d=function(){return _0x8f523f;};return a75_0x5c7d();}export function compareObject(_0x429924,_0x5a762c){const _0x5aa130=a75_0x16f9,_0x288886=Object['keys'](_0x429924),_0x184f0a=Object[_0x5aa130(0xe4)](_0x5a762c);if(_0x288886['length']!==_0x184f0a[_0x5aa130(0xe5)])return![];return _0x288886[_0x5aa130(0xdc)](_0x18311c=>{if(!compare(_0x429924[_0x18311c],_0x5a762c[_0x18311c]))return![];return!![];});}
1
+ function a76_0x436d(){const _0x4653de=['isArray','5218245huARKi','431827hshltq','2uAoqTF','2646195thqEGz','every','579094EziYJx','keys','2406761iQpCPZ','length','2891824deoIjP','6fOMFxD','910047GJBKua','4ABwmGC','20CPRxsH'];a76_0x436d=function(){return _0x4653de;};return a76_0x436d();}function a76_0x1704(_0x3158ce,_0x1a5e95){const _0x436dba=a76_0x436d();return a76_0x1704=function(_0x1704ea,_0x21cd9f){_0x1704ea=_0x1704ea-0x14a;let _0x481638=_0x436dba[_0x1704ea];return _0x481638;},a76_0x1704(_0x3158ce,_0x1a5e95);}(function(_0x428ee9,_0xce920a){const _0x50e279=a76_0x1704,_0x2acdd1=_0x428ee9();while(!![]){try{const _0x39d921=-parseInt(_0x50e279(0x153))/0x1+-parseInt(_0x50e279(0x150))/0x2*(-parseInt(_0x50e279(0x14a))/0x3)+-parseInt(_0x50e279(0x14b))/0x4*(-parseInt(_0x50e279(0x151))/0x5)+-parseInt(_0x50e279(0x158))/0x6*(-parseInt(_0x50e279(0x155))/0x7)+parseInt(_0x50e279(0x157))/0x8+-parseInt(_0x50e279(0x14e))/0x9+-parseInt(_0x50e279(0x14c))/0xa*(parseInt(_0x50e279(0x14f))/0xb);if(_0x39d921===_0xce920a)break;else _0x2acdd1['push'](_0x2acdd1['shift']());}catch(_0x4e8e1e){_0x2acdd1['push'](_0x2acdd1['shift']());}}}(a76_0x436d,0x495bc));export function getDeepth(_0x5c4f55){function _0x5a2dac(_0x435a3f,_0x597ba1){return _0x435a3f['reduce'](function(_0x5e9deb,_0x36ac1b){const _0x15fb6b=a76_0x1704;var _0x38cff8;return Array[_0x15fb6b(0x14d)](_0x36ac1b)&&(_0x38cff8=_0x5a2dac(_0x36ac1b,_0x597ba1+0x1)),_0x38cff8>_0x5e9deb?_0x38cff8:_0x5e9deb;},_0x597ba1);}return _0x5a2dac(_0x5c4f55,0x1);}export function compareArray(_0x174e51,_0x3abd19){const _0x46e400=a76_0x1704;if(_0x174e51[_0x46e400(0x156)]!==_0x3abd19['length'])return![];const _0x23ce29=_0x174e51['length'];for(let _0x28d403=0x0;_0x28d403<_0x23ce29;_0x28d403++){if(!compare(_0x174e51[_0x28d403],_0x3abd19[_0x28d403]))return![];}return!![];}export function compare(_0x3c6521,_0xb7b3bc){const _0x2d6f0a=a76_0x1704;if(_0x3c6521===_0xb7b3bc)return!![];if(typeof _0x3c6521!==typeof _0xb7b3bc||_0x3c6521===null||_0xb7b3bc===null)return![];if(Array[_0x2d6f0a(0x14d)](_0x3c6521)){if(!Array[_0x2d6f0a(0x14d)](_0xb7b3bc))return![];return compareArray(_0x3c6521,_0xb7b3bc);}if(typeof _0x3c6521==='object')return compareObject(_0x3c6521,_0xb7b3bc);return![];}export function compareObject(_0x288236,_0x141466){const _0x4d6f0c=a76_0x1704,_0x597fbf=Object[_0x4d6f0c(0x154)](_0x288236),_0x21dd38=Object[_0x4d6f0c(0x154)](_0x141466);if(_0x597fbf[_0x4d6f0c(0x156)]!==_0x21dd38[_0x4d6f0c(0x156)])return![];return _0x597fbf[_0x4d6f0c(0x152)](_0x59568c=>{if(!compare(_0x288236[_0x59568c],_0x141466[_0x59568c]))return![];return!![];});}
@@ -1 +1 @@
1
- const a76_0x29eaa9=a76_0x2694;(function(_0x2a5227,_0x1736d8){const _0x183efd=a76_0x2694,_0x53cb3c=_0x2a5227();while(!![]){try{const _0x589bca=-parseInt(_0x183efd(0x181))/0x1+parseInt(_0x183efd(0x178))/0x2+parseInt(_0x183efd(0x182))/0x3+-parseInt(_0x183efd(0x17f))/0x4*(-parseInt(_0x183efd(0x180))/0x5)+-parseInt(_0x183efd(0x177))/0x6*(-parseInt(_0x183efd(0x179))/0x7)+parseInt(_0x183efd(0x17d))/0x8+-parseInt(_0x183efd(0x17a))/0x9;if(_0x589bca===_0x1736d8)break;else _0x53cb3c['push'](_0x53cb3c['shift']());}catch(_0x37e25d){_0x53cb3c['push'](_0x53cb3c['shift']());}}}(a76_0x21c0,0x71408));import a76_0x9dbe38 from'axios';function a76_0x2694(_0x5e4cc6,_0x1d4adc){const _0x21c0e5=a76_0x21c0();return a76_0x2694=function(_0x269418,_0x57bda7){_0x269418=_0x269418-0x176;let _0x4f3e59=_0x21c0e5[_0x269418];return _0x4f3e59;},a76_0x2694(_0x5e4cc6,_0x1d4adc);}import a76_0x1a7a65 from'jquery';const request=a76_0x9dbe38[a76_0x29eaa9(0x186)]({'timeout':0xb4*0x3e8});function a76_0x21c0(){const _0x4d9e45=['constructor','12IDEfSi','76064IpOwNW','2915276jobOdI','14895477jzvzPY','jsonp','ajax','5086496CykThU','stringify','4lPRCMF','209045cTbWBY','215316bcRguJ','2356980kJFetF','append','hasOwnProperty','get','create'];a76_0x21c0=function(){return _0x4d9e45;};return a76_0x21c0();}export function jsonp(_0x57e9f0){return new Promise((_0x211b90,_0x5b6589)=>{const _0x43054a=a76_0x2694;a76_0x1a7a65[_0x43054a(0x17c)]({'url':_0x57e9f0,'type':_0x43054a(0x185),'dataType':_0x43054a(0x17b),'success':_0x145f57=>{_0x211b90(_0x145f57);},'error':_0x17296f=>{_0x5b6589(_0x17296f);}});});}export function stringify(_0x25f3bd){const _0x5c1d02=a76_0x29eaa9,_0x427875=new FormData();for(const _0x3280a9 in _0x25f3bd){if(_0x25f3bd[_0x5c1d02(0x184)](_0x3280a9)){if(_0x25f3bd[_0x3280a9]){if(_0x25f3bd[_0x3280a9][_0x5c1d02(0x176)]===Array)_0x25f3bd[_0x3280a9][0x0]?_0x25f3bd[_0x3280a9][0x0][_0x5c1d02(0x176)]===Object?_0x427875[_0x5c1d02(0x183)](_0x3280a9,JSON[_0x5c1d02(0x17e)](_0x25f3bd[_0x3280a9])):_0x25f3bd[_0x3280a9]['forEach']((_0x3ac827,_0x2ca4f9)=>{_0x427875['append'](_0x3280a9+('['+_0x2ca4f9+']'),_0x3ac827);}):_0x427875[_0x5c1d02(0x183)](_0x3280a9+'[]','');else _0x25f3bd[_0x3280a9][_0x5c1d02(0x176)]===Object?_0x427875[_0x5c1d02(0x183)](_0x3280a9,JSON[_0x5c1d02(0x17e)](_0x25f3bd[_0x3280a9])):_0x427875[_0x5c1d02(0x183)](_0x3280a9,_0x25f3bd[_0x3280a9]);}else _0x25f3bd[_0x3280a9]===0x0?_0x427875[_0x5c1d02(0x183)](_0x3280a9,'0'):_0x427875[_0x5c1d02(0x183)](_0x3280a9,'');}}return _0x427875;}export default request;
1
+ (function(_0x2875ce,_0x3bef7c){const _0x4b9f6e=a77_0x3529,_0x202b5c=_0x2875ce();while(!![]){try{const _0x568e80=-parseInt(_0x4b9f6e(0x1e8))/0x1*(parseInt(_0x4b9f6e(0x1e3))/0x2)+-parseInt(_0x4b9f6e(0x1ec))/0x3+parseInt(_0x4b9f6e(0x1eb))/0x4*(-parseInt(_0x4b9f6e(0x1e1))/0x5)+-parseInt(_0x4b9f6e(0x1e4))/0x6+-parseInt(_0x4b9f6e(0x1df))/0x7+parseInt(_0x4b9f6e(0x1dd))/0x8*(parseInt(_0x4b9f6e(0x1ea))/0x9)+parseInt(_0x4b9f6e(0x1e5))/0xa*(parseInt(_0x4b9f6e(0x1e0))/0xb);if(_0x568e80===_0x3bef7c)break;else _0x202b5c['push'](_0x202b5c['shift']());}catch(_0x43e2f8){_0x202b5c['push'](_0x202b5c['shift']());}}}(a77_0x5469,0x43ebc));function a77_0x3529(_0x2348b6,_0x34e83b){const _0x54696b=a77_0x5469();return a77_0x3529=function(_0x3529fb,_0x526dc8){_0x3529fb=_0x3529fb-0x1dd;let _0x4353a0=_0x54696b[_0x3529fb];return _0x4353a0;},a77_0x3529(_0x2348b6,_0x34e83b);}import a77_0x18f409 from'axios';import a77_0x26193e from'jquery';const request=a77_0x18f409['create']({'timeout':0xb4*0x3e8});export function jsonp(_0x403020){return new Promise((_0x42652f,_0xeaef7b)=>{const _0x1c02ba=a77_0x3529;a77_0x26193e[_0x1c02ba(0x1e9)]({'url':_0x403020,'type':'get','dataType':'jsonp','success':_0x2ac59d=>{_0x42652f(_0x2ac59d);},'error':_0x126e82=>{_0xeaef7b(_0x126e82);}});});}function a77_0x5469(){const _0x1026d8=['4vMBtWH','892554lUQofE','8YAXNfv','constructor','1195278GOiGNb','13833556GWqawU','1362865HgoZHO','stringify','140978BQPWfz','145902BdHPmo','10djJSVC','append','hasOwnProperty','4fEardb','ajax','609534uOvXJI'];a77_0x5469=function(){return _0x1026d8;};return a77_0x5469();}export function stringify(_0x3bf377){const _0x4a2449=a77_0x3529,_0x575228=new FormData();for(const _0x5df270 in _0x3bf377){if(_0x3bf377[_0x4a2449(0x1e7)](_0x5df270)){if(_0x3bf377[_0x5df270]){if(_0x3bf377[_0x5df270][_0x4a2449(0x1de)]===Array)_0x3bf377[_0x5df270][0x0]?_0x3bf377[_0x5df270][0x0][_0x4a2449(0x1de)]===Object?_0x575228[_0x4a2449(0x1e6)](_0x5df270,JSON[_0x4a2449(0x1e2)](_0x3bf377[_0x5df270])):_0x3bf377[_0x5df270]['forEach']((_0x4d92f3,_0x5e6ce2)=>{const _0x2c301e=_0x4a2449;_0x575228[_0x2c301e(0x1e6)](_0x5df270+('['+_0x5e6ce2+']'),_0x4d92f3);}):_0x575228[_0x4a2449(0x1e6)](_0x5df270+'[]','');else _0x3bf377[_0x5df270][_0x4a2449(0x1de)]===Object?_0x575228['append'](_0x5df270,JSON[_0x4a2449(0x1e2)](_0x3bf377[_0x5df270])):_0x575228[_0x4a2449(0x1e6)](_0x5df270,_0x3bf377[_0x5df270]);}else _0x3bf377[_0x5df270]===0x0?_0x575228[_0x4a2449(0x1e6)](_0x5df270,'0'):_0x575228['append'](_0x5df270,'');}}return _0x575228;}export default request;
package/utils/EsriUtil.js CHANGED
@@ -1 +1 @@
1
- function a77_0x30cb(_0x64a364,_0x31cc1a){const _0x4e6a02=a77_0x4e6a();return a77_0x30cb=function(_0x30cb81,_0x27c55f){_0x30cb81=_0x30cb81-0x181;let _0x1dc9b8=_0x4e6a02[_0x30cb81];return _0x1dc9b8;},a77_0x30cb(_0x64a364,_0x31cc1a);}(function(_0x4049b6,_0x51681e){const _0x542c68=a77_0x30cb,_0x30a33d=_0x4049b6();while(!![]){try{const _0x3c888d=parseInt(_0x542c68(0x190))/0x1+-parseInt(_0x542c68(0x18e))/0x2*(-parseInt(_0x542c68(0x182))/0x3)+parseInt(_0x542c68(0x186))/0x4*(-parseInt(_0x542c68(0x183))/0x5)+-parseInt(_0x542c68(0x187))/0x6+parseInt(_0x542c68(0x181))/0x7*(-parseInt(_0x542c68(0x188))/0x8)+parseInt(_0x542c68(0x184))/0x9*(-parseInt(_0x542c68(0x18a))/0xa)+parseInt(_0x542c68(0x18d))/0xb*(parseInt(_0x542c68(0x18b))/0xc);if(_0x3c888d===_0x51681e)break;else _0x30a33d['push'](_0x30a33d['shift']());}catch(_0x34445f){_0x30a33d['push'](_0x30a33d['shift']());}}}(a77_0x4e6a,0x84cd9));export function getEsriSpatialReference(_0x1dd0aa){const _0x2d5ee4=a77_0x30cb;let _0x215fbc;if(_0x1dd0aa){let _0x3e9f9b=_0x1dd0aa[_0x2d5ee4(0x185)]();_0x3e9f9b[_0x2d5ee4(0x189)](_0x2d5ee4(0x18f))===0x0?_0x215fbc=_0x1dd0aa[_0x2d5ee4(0x18c)](_0x2d5ee4(0x18f),''):_0x215fbc=_0x1dd0aa;}return _0x215fbc;}function a77_0x4e6a(){const _0x6b27e2=['21279252yjATgK','replace','11UXydrO','2FtubMh','EPSG:','518065fOkJoX','7861TbKXId','1518381vYhiqU','15zvCCgC','297LkeLMa','toUpperCase','723452ZLUIFi','2062980GpMWCh','4688EOExdq','indexOf','214850AWusIo'];a77_0x4e6a=function(){return _0x6b27e2;};return a77_0x4e6a();}
1
+ function a78_0x1f85(){const _0x4a55a0=['220797pqAOkA','49758MwMqXJ','332pXbyrG','replace','10EYqZOJ','6840251ydZQLZ','24311OSLXxV','347WCdFYQ','332148REbTSE','EPSG:','170WUbLuw','38004ePSDEA','1136MrkOLJ','indexOf','16PZCeNu'];a78_0x1f85=function(){return _0x4a55a0;};return a78_0x1f85();}(function(_0x59e1ae,_0xd88009){const _0x48de08=a78_0x4b48,_0x178f30=_0x59e1ae();while(!![]){try{const _0x1fac08=parseInt(_0x48de08(0x12f))/0x1*(-parseInt(_0x48de08(0x12a))/0x2)+parseInt(_0x48de08(0x130))/0x3*(parseInt(_0x48de08(0x136))/0x4)+-parseInt(_0x48de08(0x132))/0x5*(-parseInt(_0x48de08(0x129))/0x6)+parseInt(_0x48de08(0x12e))/0x7*(parseInt(_0x48de08(0x134))/0x8)+parseInt(_0x48de08(0x128))/0x9*(-parseInt(_0x48de08(0x12c))/0xa)+-parseInt(_0x48de08(0x12d))/0xb+-parseInt(_0x48de08(0x133))/0xc;if(_0x1fac08===_0xd88009)break;else _0x178f30['push'](_0x178f30['shift']());}catch(_0x10b946){_0x178f30['push'](_0x178f30['shift']());}}}(a78_0x1f85,0x7cb81));function a78_0x4b48(_0x46abac,_0x2b77dd){const _0x1f852c=a78_0x1f85();return a78_0x4b48=function(_0x4b48ab,_0x5916f9){_0x4b48ab=_0x4b48ab-0x128;let _0x5b6148=_0x1f852c[_0x4b48ab];return _0x5b6148;},a78_0x4b48(_0x46abac,_0x2b77dd);}export function getEsriSpatialReference(_0x2ccaf1){const _0x3484b5=a78_0x4b48;let _0x38eca6;if(_0x2ccaf1){let _0x263f8e=_0x2ccaf1['toUpperCase']();_0x263f8e[_0x3484b5(0x135)](_0x3484b5(0x131))===0x0?_0x38eca6=_0x2ccaf1[_0x3484b5(0x12b)](_0x3484b5(0x131),''):_0x38eca6=_0x2ccaf1;}return _0x38eca6;}
@@ -129,4 +129,10 @@ export declare function isGeometryEmpty(geom: Geometry): boolean;
129
129
  * @returns
130
130
  */
131
131
  export declare function polygonToLines(polygon: Polygon): LineString[];
132
+ /**
133
+ * 获取图形的中心点
134
+ * @param geom
135
+ * @returns
136
+ */
137
+ export declare function getGeometryCenter(geom: Geometry): Point | undefined;
132
138
  //# sourceMappingURL=GeometryUtil.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GeometryUtil.d.ts","sourceRoot":"","sources":["../../../packages/ym-gis-2d/utils/GeometryUtil.ts"],"names":[],"mappings":"AACA,OAAO,UAAU,MAAM,oBAAoB,CAAC;AAC5C,OAAO,GAAG,MAAM,QAAQ,CAAC;AAczB,OAAO,EAEH,UAAU,EACV,eAAe,EAEf,YAAY,EACZ,KAAK,EAEL,OAAO,EAEP,QAAQ,EACX,MAAM,YAAY,CAAC;AAOpB,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAanC;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,YAAY,EAAE,OAAO,EAAE,UAAU,GAAG,MAAM,EAAE,QAAQ,GAAE,OAAe,GAAG,MAAM,CAoBxH;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,UAAU,GAAG,eAAe,EAAE,OAAO,EAAE,UAAU,GAAG,MAAM,EAAE,QAAQ,GAAE,OAAe,GAAG,MAAM,CA6BjI;AACD;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAIlE;AAED;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO,CAMlF;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,GAAG,OAAO,CAIlE;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,GAAG,OAAO,CAIjE;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,GAAG,OAAO,CAIpE;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAIvE;AAED;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAIhE;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAIrE;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAInE;AAGD;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,GAAG,QAAQ,EAAE,CA8C9E;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,mBAkBzE;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,cA4B7E;AAED,wBAAgB,KAAK,CAAC,QAAQ,EAAE,QAAQ,UAWvC;AAED,wBAAgB,SAAS,CAAC,QAAQ,EAAE,QAAQ,UAG3C;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,GAAG,YAGvC;AAED,wBAAgB,UAAU,CAAC,QAAQ,EAAE,QAAQ,UAG5C;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,GAAG,YAGzC;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,YAyBzD;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,CAiBvD;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,UAAU,EAAE,CAM7D"}
1
+ {"version":3,"file":"GeometryUtil.d.ts","sourceRoot":"","sources":["../../../packages/ym-gis-2d/utils/GeometryUtil.ts"],"names":[],"mappings":"AACA,OAAO,UAAU,MAAM,oBAAoB,CAAC;AAC5C,OAAO,GAAG,MAAM,QAAQ,CAAC;AAezB,OAAO,EAEH,UAAU,EACV,eAAe,EAEf,YAAY,EACZ,KAAK,EAEL,OAAO,EAEP,QAAQ,EACX,MAAM,YAAY,CAAC;AAOpB,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAanC;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,YAAY,EAAE,OAAO,EAAE,UAAU,GAAG,MAAM,EAAE,QAAQ,GAAE,OAAe,GAAG,MAAM,CAoBxH;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,UAAU,GAAG,eAAe,EAAE,OAAO,EAAE,UAAU,GAAG,MAAM,EAAE,QAAQ,GAAE,OAAe,GAAG,MAAM,CA6BjI;AACD;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAIlE;AAED;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO,CAMlF;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,GAAG,OAAO,CAIlE;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,GAAG,OAAO,CAIjE;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,GAAG,OAAO,CAIpE;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAIvE;AAED;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAIhE;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAIrE;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAInE;AAGD;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,GAAG,QAAQ,EAAE,CA8C9E;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,mBAkBzE;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,cA4B7E;AAED,wBAAgB,KAAK,CAAC,QAAQ,EAAE,QAAQ,UAWvC;AAED,wBAAgB,SAAS,CAAC,QAAQ,EAAE,QAAQ,UAG3C;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,GAAG,YAGvC;AAED,wBAAgB,UAAU,CAAC,QAAQ,EAAE,QAAQ,UAG5C;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,GAAG,YAGzC;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,YAyBzD;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,CAiBvD;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,UAAU,EAAE,CAM7D;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,QAAQ,GAAG,KAAK,GAAG,SAAS,CAoBnE"}