@vtx/ol-map 1.0.144 → 1.0.145

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 (511) hide show
  1. package/lib/_util/EventEmitter.js +78 -0
  2. package/lib/_util/EventEmitter.js.map +1 -0
  3. package/lib/_util/StyleCache.js +46 -0
  4. package/lib/_util/StyleCache.js.map +1 -0
  5. package/lib/_util/encryptParams.js +60 -0
  6. package/lib/_util/encryptParams.js.map +1 -0
  7. package/lib/_util/filterSpecialCharacters.js +90 -0
  8. package/lib/_util/filterSpecialCharacters.js.map +1 -0
  9. package/lib/_util/getComponentProps.js +14 -0
  10. package/lib/_util/getComponentProps.js.map +1 -0
  11. package/lib/_util/getCookie.js +24 -0
  12. package/lib/_util/getCookie.js.map +1 -0
  13. package/lib/_util/getDefaultMapInfo.js +50 -0
  14. package/lib/_util/getDefaultMapInfo.js.map +1 -0
  15. package/lib/_util/getSystemInfo.js +26 -0
  16. package/lib/_util/getSystemInfo.js.map +1 -0
  17. package/lib/_util/getToken.js +27 -0
  18. package/lib/_util/getToken.js.map +1 -0
  19. package/lib/_util/getUrlParam.js +15 -0
  20. package/lib/_util/getUrlParam.js.map +1 -0
  21. package/lib/_util/http.js +176 -0
  22. package/lib/_util/http.js.map +1 -0
  23. package/lib/_util/isFunction.js +10 -0
  24. package/lib/_util/isFunction.js.map +1 -0
  25. package/lib/_util/isObject.js +10 -0
  26. package/lib/_util/isObject.js.map +1 -0
  27. package/lib/_util/layer.js +152 -0
  28. package/lib/_util/layer.js.map +1 -0
  29. package/lib/_util/mapTool.js +188 -0
  30. package/lib/_util/mapTool.js.map +1 -0
  31. package/lib/_util/projzh/datum/bd-09.js +44 -0
  32. package/lib/_util/projzh/datum/bd-09.js.map +1 -0
  33. package/lib/_util/projzh/datum/gcj-02.js +72 -0
  34. package/lib/_util/projzh/datum/gcj-02.js.map +1 -0
  35. package/lib/_util/projzh/datum/index.js +14 -0
  36. package/lib/_util/projzh/datum/index.js.map +1 -0
  37. package/lib/_util/projzh/index.js +40 -0
  38. package/lib/_util/projzh/index.js.map +1 -0
  39. package/lib/_util/projzh/projection/baidu-mercator.js +74 -0
  40. package/lib/_util/projzh/projection/baidu-mercator.js.map +1 -0
  41. package/lib/_util/projzh/projection/index.js +14 -0
  42. package/lib/_util/projzh/projection/index.js.map +1 -0
  43. package/lib/_util/projzh/projection/spherical-mercator.js +25 -0
  44. package/lib/_util/projzh/projection/spherical-mercator.js.map +1 -0
  45. package/lib/_util/projzh/util.js +27 -0
  46. package/lib/_util/projzh/util.js.map +1 -0
  47. package/lib/_util/search.js +130 -0
  48. package/lib/_util/search.js.map +1 -0
  49. package/lib/_util/setCookie.js +15 -0
  50. package/lib/_util/setCookie.js.map +1 -0
  51. package/lib/_util/stringToFun.js +25 -0
  52. package/lib/_util/stringToFun.js.map +1 -0
  53. package/lib/_util/transform.js +169 -0
  54. package/lib/_util/transform.js.map +1 -0
  55. package/lib/_util/useColSize.js +28 -0
  56. package/lib/_util/useColSize.js.map +1 -0
  57. package/lib/_util/useInterval.js +19 -0
  58. package/lib/_util/useInterval.js.map +1 -0
  59. package/lib/_util/useSet.js +44 -0
  60. package/lib/_util/useSet.js.map +1 -0
  61. package/lib/analysis-layer/index.js +449 -0
  62. package/lib/analysis-layer/index.js.map +1 -0
  63. package/lib/analysis-layer/style/css.js +2 -0
  64. package/lib/analysis-layer/style/css.js.map +1 -0
  65. package/lib/analysis-layer/style/index.js +2 -0
  66. package/lib/analysis-layer/style/index.js.map +1 -0
  67. package/lib/assets/arrow.png +0 -0
  68. package/lib/assets/base-img-1.png +0 -0
  69. package/lib/assets/base-img-2.png +0 -0
  70. package/lib/assets/base-img-3.png +0 -0
  71. package/lib/assets/base-img-4.png +0 -0
  72. package/lib/assets/base-img-5.png +0 -0
  73. package/lib/assets/base-img-6.png +0 -0
  74. package/lib/assets/base-img.png +0 -0
  75. package/lib/assets/bz.png +0 -0
  76. package/lib/assets/img.png +0 -0
  77. package/lib/assets/kz.png +0 -0
  78. package/lib/assets/ll.png +0 -0
  79. package/lib/assets/location.png +0 -0
  80. package/lib/assets/noLocation.png +0 -0
  81. package/lib/assets/people.png +0 -0
  82. package/lib/assets/qd.png +0 -0
  83. package/lib/assets/sw.png +0 -0
  84. package/lib/assets/yl.png +0 -0
  85. package/lib/assets/zd.png +0 -0
  86. package/lib/buffer-draw/BufferDraw.js +398 -0
  87. package/lib/buffer-draw/BufferDraw.js.map +1 -0
  88. package/lib/buffer-draw/index.js +56 -0
  89. package/lib/buffer-draw/index.js.map +1 -0
  90. package/lib/buffer-draw/style/css.js +2 -0
  91. package/lib/buffer-draw/style/css.js.map +1 -0
  92. package/lib/buffer-draw/style/index.js +2 -0
  93. package/lib/buffer-draw/style/index.js.map +1 -0
  94. package/lib/circle/Circle.js +51 -0
  95. package/lib/circle/Circle.js.map +1 -0
  96. package/lib/circle/index.js +64 -0
  97. package/lib/circle/index.js.map +1 -0
  98. package/lib/circle/style/css.js +2 -0
  99. package/lib/circle/style/css.js.map +1 -0
  100. package/lib/circle/style/index.js +2 -0
  101. package/lib/circle/style/index.js.map +1 -0
  102. package/lib/config.js +12 -0
  103. package/lib/config.js.map +1 -0
  104. package/lib/convertCamelToCSS.js +23 -0
  105. package/lib/convertCamelToCSS.js.map +1 -0
  106. package/lib/dom/Dom.js +39 -0
  107. package/lib/dom/Dom.js.map +1 -0
  108. package/lib/dom/index.js +61 -0
  109. package/lib/dom/index.js.map +1 -0
  110. package/lib/dom/style/css.js +2 -0
  111. package/lib/dom/style/css.js.map +1 -0
  112. package/lib/dom/style/index.js +2 -0
  113. package/lib/dom/style/index.js.map +1 -0
  114. package/lib/events/index.js +25 -0
  115. package/lib/events/index.js.map +1 -0
  116. package/lib/feature-draw/FeatureDraw.js +230 -0
  117. package/lib/feature-draw/FeatureDraw.js.map +1 -0
  118. package/lib/feature-draw/index.js +73 -0
  119. package/lib/feature-draw/index.js.map +1 -0
  120. package/lib/feature-draw/style/css.js +2 -0
  121. package/lib/feature-draw/style/css.js.map +1 -0
  122. package/lib/feature-draw/style/index.js +2 -0
  123. package/lib/feature-draw/style/index.js.map +1 -0
  124. package/lib/feature-layer/FeatureLayer.js +1039 -0
  125. package/lib/feature-layer/FeatureLayer.js.map +1 -0
  126. package/lib/feature-layer/MyCluster.js +150 -0
  127. package/lib/feature-layer/MyCluster.js.map +1 -0
  128. package/lib/feature-layer/createFeatureCollection.js +167 -0
  129. package/lib/feature-layer/createFeatureCollection.js.map +1 -0
  130. package/lib/feature-layer/index.js +154 -0
  131. package/lib/feature-layer/index.js.map +1 -0
  132. package/lib/feature-layer/style/css.js +4 -0
  133. package/lib/feature-layer/style/css.js.map +1 -0
  134. package/lib/feature-layer/style/index.css +0 -0
  135. package/lib/feature-layer/style/index.js +4 -0
  136. package/lib/feature-layer/style/index.js.map +1 -0
  137. package/lib/feature-layer/style/index.less +0 -0
  138. package/lib/flow-line-layer/FlowLineLayer.js +197 -0
  139. package/lib/flow-line-layer/FlowLineLayer.js.map +1 -0
  140. package/lib/flow-line-layer/index.js +126 -0
  141. package/lib/flow-line-layer/index.js.map +1 -0
  142. package/lib/flow-line-layer/style/css.js +4 -0
  143. package/lib/flow-line-layer/style/css.js.map +1 -0
  144. package/lib/flow-line-layer/style/index.css +0 -0
  145. package/lib/flow-line-layer/style/index.js +4 -0
  146. package/lib/flow-line-layer/style/index.js.map +1 -0
  147. package/lib/flow-line-layer/style/index.less +0 -0
  148. package/lib/fly-line-layer/FlyLineLayer.js +217 -0
  149. package/lib/fly-line-layer/FlyLineLayer.js.map +1 -0
  150. package/lib/fly-line-layer/index.js +108 -0
  151. package/lib/fly-line-layer/index.js.map +1 -0
  152. package/lib/fly-line-layer/style/css.js +4 -0
  153. package/lib/fly-line-layer/style/css.js.map +1 -0
  154. package/lib/fly-line-layer/style/index.css +0 -0
  155. package/lib/fly-line-layer/style/index.js +4 -0
  156. package/lib/fly-line-layer/style/index.js.map +1 -0
  157. package/lib/fly-line-layer/style/index.less +0 -0
  158. package/lib/group-layer/GroupLayer.js +132 -0
  159. package/lib/group-layer/GroupLayer.js.map +1 -0
  160. package/lib/group-layer/index.js +73 -0
  161. package/lib/group-layer/index.js.map +1 -0
  162. package/lib/group-layer/style/css.js +4 -0
  163. package/lib/group-layer/style/css.js.map +1 -0
  164. package/lib/group-layer/style/index.css +0 -0
  165. package/lib/group-layer/style/index.js +4 -0
  166. package/lib/group-layer/style/index.js.map +1 -0
  167. package/lib/group-layer/style/index.less +0 -0
  168. package/lib/heatmap-layer/HeatmapLayer.js +191 -0
  169. package/lib/heatmap-layer/HeatmapLayer.js.map +1 -0
  170. package/lib/heatmap-layer/index.js +93 -0
  171. package/lib/heatmap-layer/index.js.map +1 -0
  172. package/lib/heatmap-layer/style/css.js +4 -0
  173. package/lib/heatmap-layer/style/css.js.map +1 -0
  174. package/lib/heatmap-layer/style/index.css +0 -0
  175. package/lib/heatmap-layer/style/index.js +4 -0
  176. package/lib/heatmap-layer/style/index.js.map +1 -0
  177. package/lib/heatmap-layer/style/index.less +0 -0
  178. package/lib/high-layer/HighLayer.js +199 -0
  179. package/lib/high-layer/HighLayer.js.map +1 -0
  180. package/lib/high-layer/index.js +44 -0
  181. package/lib/high-layer/index.js.map +1 -0
  182. package/lib/high-layer/style/css.js +2 -0
  183. package/lib/high-layer/style/css.js.map +1 -0
  184. package/lib/high-layer/style/index.js +2 -0
  185. package/lib/high-layer/style/index.js.map +1 -0
  186. package/lib/image-layer/ImageLayer.js +330 -0
  187. package/lib/image-layer/ImageLayer.js.map +1 -0
  188. package/lib/image-layer/ImageTileLayer.js +332 -0
  189. package/lib/image-layer/ImageTileLayer.js.map +1 -0
  190. package/lib/image-layer/index.js +100 -0
  191. package/lib/image-layer/index.js.map +1 -0
  192. package/lib/image-layer/style/css.js +4 -0
  193. package/lib/image-layer/style/css.js.map +1 -0
  194. package/lib/image-layer/style/index.css +0 -0
  195. package/lib/image-layer/style/index.js +4 -0
  196. package/lib/image-layer/style/index.js.map +1 -0
  197. package/lib/image-layer/style/index.less +0 -0
  198. package/lib/index.js +201 -0
  199. package/lib/index.js.map +1 -0
  200. package/lib/legend/index.js +220 -0
  201. package/lib/legend/index.js.map +1 -0
  202. package/lib/legend/style/css.js +8 -0
  203. package/lib/legend/style/css.js.map +1 -0
  204. package/lib/legend/style/index.css +74 -0
  205. package/lib/legend/style/index.js +8 -0
  206. package/lib/legend/style/index.js.map +1 -0
  207. package/lib/legend/style/index.less +73 -0
  208. package/lib/map/Analysis.js +148 -0
  209. package/lib/map/Analysis.js.map +1 -0
  210. package/lib/map/Layers.js +337 -0
  211. package/lib/map/Layers.js.map +1 -0
  212. package/lib/map/Popup.js +370 -0
  213. package/lib/map/Popup.js.map +1 -0
  214. package/lib/map/ScaleDenominator.js +68 -0
  215. package/lib/map/ScaleDenominator.js.map +1 -0
  216. package/lib/map/Test.js +144 -0
  217. package/lib/map/Test.js.map +1 -0
  218. package/lib/map/getBaseLayers/imagery/amap/AmapImageryProvider.js +163 -0
  219. package/lib/map/getBaseLayers/imagery/amap/AmapImageryProvider.js.map +1 -0
  220. package/lib/map/getBaseLayers/imagery/baidu/BaiduImageryProvider.js +84 -0
  221. package/lib/map/getBaseLayers/imagery/baidu/BaiduImageryProvider.js.map +1 -0
  222. package/lib/map/getBaseLayers/imagery/geoq/GeoQImageryProvider.js +65 -0
  223. package/lib/map/getBaseLayers/imagery/geoq/GeoQImageryProvider.js.map +1 -0
  224. package/lib/map/getBaseLayers/imagery/tdt/TdtImageryProvider.js +84 -0
  225. package/lib/map/getBaseLayers/imagery/tdt/TdtImageryProvider.js.map +1 -0
  226. package/lib/map/getBaseLayers/index.js +46 -0
  227. package/lib/map/getBaseLayers/index.js.map +1 -0
  228. package/lib/map/index.js +819 -0
  229. package/lib/map/index.js.map +1 -0
  230. package/lib/map/style/css.js +5 -0
  231. package/lib/map/style/css.js.map +1 -0
  232. package/lib/map/style/index.css +171 -0
  233. package/lib/map/style/index.js +5 -0
  234. package/lib/map/style/index.js.map +1 -0
  235. package/lib/map/style/index.less +152 -0
  236. package/lib/map-icon/svg/index.js +81 -0
  237. package/lib/map-icon/svg/index.js.map +1 -0
  238. package/lib/map-icon/svg/tuceng.svg.js +2 -0
  239. package/lib/map-icon/svg/tuceng.svg.js.map +1 -0
  240. package/lib/marker/Marker.js +105 -0
  241. package/lib/marker/Marker.js.map +1 -0
  242. package/lib/marker/index.js +61 -0
  243. package/lib/marker/index.js.map +1 -0
  244. package/lib/marker/style/css.js +2 -0
  245. package/lib/marker/style/css.js.map +1 -0
  246. package/lib/marker/style/index.js +2 -0
  247. package/lib/marker/style/index.js.map +1 -0
  248. package/lib/path-line-layer/PathLineLayer.js +45 -0
  249. package/lib/path-line-layer/PathLineLayer.js.map +1 -0
  250. package/lib/path-line-layer/getPathLineStyles.js +71 -0
  251. package/lib/path-line-layer/getPathLineStyles.js.map +1 -0
  252. package/lib/path-line-layer/index.js +151 -0
  253. package/lib/path-line-layer/index.js.map +1 -0
  254. package/lib/path-line-layer/style/css.js +4 -0
  255. package/lib/path-line-layer/style/css.js.map +1 -0
  256. package/lib/path-line-layer/style/index.css +0 -0
  257. package/lib/path-line-layer/style/index.js +4 -0
  258. package/lib/path-line-layer/style/index.js.map +1 -0
  259. package/lib/path-line-layer/style/index.less +0 -0
  260. package/lib/path-play-back/PathPlayBack.js +674 -0
  261. package/lib/path-play-back/PathPlayBack.js.map +1 -0
  262. package/lib/path-play-back/index.js +75 -0
  263. package/lib/path-play-back/index.js.map +1 -0
  264. package/lib/path-play-back/style/css.js +2 -0
  265. package/lib/path-play-back/style/css.js.map +1 -0
  266. package/lib/path-play-back/style/index.js +2 -0
  267. package/lib/path-play-back/style/index.js.map +1 -0
  268. package/lib/poi-search/Location.js +62 -0
  269. package/lib/poi-search/Location.js.map +1 -0
  270. package/lib/poi-search/PoiList.js +115 -0
  271. package/lib/poi-search/PoiList.js.map +1 -0
  272. package/lib/poi-search/Search.js +207 -0
  273. package/lib/poi-search/Search.js.map +1 -0
  274. package/lib/poi-search/index.js +172 -0
  275. package/lib/poi-search/index.js.map +1 -0
  276. package/lib/poi-search/style/css.js +8 -0
  277. package/lib/poi-search/style/css.js.map +1 -0
  278. package/lib/poi-search/style/index.css +96 -0
  279. package/lib/poi-search/style/index.js +8 -0
  280. package/lib/poi-search/style/index.js.map +1 -0
  281. package/lib/poi-search/style/index.less +97 -0
  282. package/lib/point/Point.js +57 -0
  283. package/lib/point/Point.js.map +1 -0
  284. package/lib/point/index.js +61 -0
  285. package/lib/point/index.js.map +1 -0
  286. package/lib/point/style/css.js +2 -0
  287. package/lib/point/style/css.js.map +1 -0
  288. package/lib/point/style/index.js +2 -0
  289. package/lib/point/style/index.js.map +1 -0
  290. package/lib/polygon/Polygon.js +51 -0
  291. package/lib/polygon/Polygon.js.map +1 -0
  292. package/lib/polygon/index.js +61 -0
  293. package/lib/polygon/index.js.map +1 -0
  294. package/lib/polygon/style/css.js +2 -0
  295. package/lib/polygon/style/css.js.map +1 -0
  296. package/lib/polygon/style/index.js +2 -0
  297. package/lib/polygon/style/index.js.map +1 -0
  298. package/lib/polyline/Polyline.js +51 -0
  299. package/lib/polyline/Polyline.js.map +1 -0
  300. package/lib/polyline/index.js +61 -0
  301. package/lib/polyline/index.js.map +1 -0
  302. package/lib/polyline/style/css.js +2 -0
  303. package/lib/polyline/style/css.js.map +1 -0
  304. package/lib/polyline/style/index.js +2 -0
  305. package/lib/polyline/style/index.js.map +1 -0
  306. package/lib/popup/index.js +202 -0
  307. package/lib/popup/index.js.map +1 -0
  308. package/lib/popup/style/css.js +4 -0
  309. package/lib/popup/style/css.js.map +1 -0
  310. package/lib/popup/style/index.css +131 -0
  311. package/lib/popup/style/index.js +4 -0
  312. package/lib/popup/style/index.js.map +1 -0
  313. package/lib/popup/style/index.less +129 -0
  314. package/lib/provider/index.js +12 -0
  315. package/lib/provider/index.js.map +1 -0
  316. package/lib/provider/style/css.js +2 -0
  317. package/lib/provider/style/css.js.map +1 -0
  318. package/lib/provider/style/index.js +2 -0
  319. package/lib/provider/style/index.js.map +1 -0
  320. package/lib/renderer/Fill.js +37 -0
  321. package/lib/renderer/Fill.js.map +1 -0
  322. package/lib/renderer/Stroke.js +39 -0
  323. package/lib/renderer/Stroke.js.map +1 -0
  324. package/lib/renderer/index.js +137 -0
  325. package/lib/renderer/index.js.map +1 -0
  326. package/lib/renderer/style/css.js +4 -0
  327. package/lib/renderer/style/css.js.map +1 -0
  328. package/lib/renderer/style/index.css +0 -0
  329. package/lib/renderer/style/index.js +4 -0
  330. package/lib/renderer/style/index.js.map +1 -0
  331. package/lib/renderer/style/index.less +0 -0
  332. package/lib/renderer/transformRgb.js +33 -0
  333. package/lib/renderer/transformRgb.js.map +1 -0
  334. package/lib/search-map/VtxModal.js +202 -0
  335. package/lib/search-map/VtxModal.js.map +1 -0
  336. package/lib/search-map/index.js +416 -0
  337. package/lib/search-map/index.js.map +1 -0
  338. package/lib/search-map/style/css.js +6 -0
  339. package/lib/search-map/style/css.js.map +1 -0
  340. package/lib/search-map/style/index.css +73 -0
  341. package/lib/search-map/style/index.js +6 -0
  342. package/lib/search-map/style/index.js.map +1 -0
  343. package/lib/search-map/style/index.less +83 -0
  344. package/lib/search-map/style/modal.css +54 -0
  345. package/lib/search-map/style/modal.less +58 -0
  346. package/lib/style/index.css +0 -0
  347. package/lib/style/index.less +2 -0
  348. package/lib/style/themes/compact.css +0 -0
  349. package/lib/style/themes/compact.less +1 -0
  350. package/lib/style/themes/dark.css +0 -0
  351. package/lib/style/themes/dark.less +9 -0
  352. package/lib/style/themes/default.css +0 -0
  353. package/lib/style/themes/default.less +7 -0
  354. package/lib/style/themes/index.css +0 -0
  355. package/lib/style/themes/index.less +1 -0
  356. package/lib/style/themes/variable.css +0 -0
  357. package/lib/style/themes/variable.less +5 -0
  358. package/lib/tile-layer/TileLayer.js +85 -0
  359. package/lib/tile-layer/TileLayer.js.map +1 -0
  360. package/lib/tile-layer/index.js +52 -0
  361. package/lib/tile-layer/index.js.map +1 -0
  362. package/lib/tile-layer/style/css.js +4 -0
  363. package/lib/tile-layer/style/css.js.map +1 -0
  364. package/lib/tile-layer/style/index.css +0 -0
  365. package/lib/tile-layer/style/index.js +4 -0
  366. package/lib/tile-layer/style/index.js.map +1 -0
  367. package/lib/tile-layer/style/index.less +0 -0
  368. package/lib/tools/Layer/LayerService.js +182 -0
  369. package/lib/tools/Layer/LayerService.js.map +1 -0
  370. package/lib/tools/Layer/LayersCheckService.js +188 -0
  371. package/lib/tools/Layer/LayersCheckService.js.map +1 -0
  372. package/lib/tools/Layer/index.css +50 -0
  373. package/lib/tools/Layer/index.js +225 -0
  374. package/lib/tools/Layer/index.js.map +1 -0
  375. package/lib/tools/Layer/index.less +43 -0
  376. package/lib/tools/Search/index.js +295 -0
  377. package/lib/tools/Search/index.js.map +1 -0
  378. package/lib/tools/Toolbox/BoxSelect/index.js +19 -0
  379. package/lib/tools/Toolbox/BoxSelect/index.js.map +1 -0
  380. package/lib/tools/Toolbox/CircleSelect/index.js +19 -0
  381. package/lib/tools/Toolbox/CircleSelect/index.js.map +1 -0
  382. package/lib/tools/Toolbox/EagleEye/index.js +55 -0
  383. package/lib/tools/Toolbox/EagleEye/index.js.map +1 -0
  384. package/lib/tools/Toolbox/MapBookmark/Bookmark.js +147 -0
  385. package/lib/tools/Toolbox/MapBookmark/Bookmark.js.map +1 -0
  386. package/lib/tools/Toolbox/MapBookmark/index.css +18 -0
  387. package/lib/tools/Toolbox/MapBookmark/index.js +428 -0
  388. package/lib/tools/Toolbox/MapBookmark/index.js.map +1 -0
  389. package/lib/tools/Toolbox/MapBookmark/index.less +20 -0
  390. package/lib/tools/Toolbox/MapDownload/index.js +16 -0
  391. package/lib/tools/Toolbox/MapDownload/index.js.map +1 -0
  392. package/lib/tools/Toolbox/MapPrint/index.css +4 -0
  393. package/lib/tools/Toolbox/MapPrint/index.js +231 -0
  394. package/lib/tools/Toolbox/MapPrint/index.js.map +1 -0
  395. package/lib/tools/Toolbox/MapPrint/index.less +4 -0
  396. package/lib/tools/Toolbox/Measure/Area/index.js +16 -0
  397. package/lib/tools/Toolbox/Measure/Area/index.js.map +1 -0
  398. package/lib/tools/Toolbox/Measure/Distance/index.js +16 -0
  399. package/lib/tools/Toolbox/Measure/Distance/index.js.map +1 -0
  400. package/lib/tools/Toolbox/Measure/Measure.js +227 -0
  401. package/lib/tools/Toolbox/Measure/Measure.js.map +1 -0
  402. package/lib/tools/Toolbox/Measure/index.js +75 -0
  403. package/lib/tools/Toolbox/Measure/index.js.map +1 -0
  404. package/lib/tools/Toolbox/PolygonSelect/index.js +19 -0
  405. package/lib/tools/Toolbox/PolygonSelect/index.js.map +1 -0
  406. package/lib/tools/Toolbox/ScaleLine/index.js +57 -0
  407. package/lib/tools/Toolbox/ScaleLine/index.js.map +1 -0
  408. package/lib/tools/Toolbox/SelectTools/index.css +103 -0
  409. package/lib/tools/Toolbox/SelectTools/index.js +776 -0
  410. package/lib/tools/Toolbox/SelectTools/index.js.map +1 -0
  411. package/lib/tools/Toolbox/SelectTools/index.less +87 -0
  412. package/lib/tools/Toolbox/SpaceQuery/index.css +19 -0
  413. package/lib/tools/Toolbox/SpaceQuery/index.js +592 -0
  414. package/lib/tools/Toolbox/SpaceQuery/index.js.map +1 -0
  415. package/lib/tools/Toolbox/SpaceQuery/index.less +16 -0
  416. package/lib/tools/Toolbox/ZoomInput/index.css +6 -0
  417. package/lib/tools/Toolbox/ZoomInput/index.js +48 -0
  418. package/lib/tools/Toolbox/ZoomInput/index.js.map +1 -0
  419. package/lib/tools/Toolbox/ZoomInput/index.less +6 -0
  420. package/lib/tools/Toolbox/index.css +0 -0
  421. package/lib/tools/Toolbox/index.js +169 -0
  422. package/lib/tools/Toolbox/index.js.map +1 -0
  423. package/lib/tools/Toolbox/index.less +2 -0
  424. package/lib/tools/Utils/CreateOverlay.js +46 -0
  425. package/lib/tools/Utils/CreateOverlay.js.map +1 -0
  426. package/lib/tools/Utils/Draw.js +127 -0
  427. package/lib/tools/Utils/Draw.js.map +1 -0
  428. package/lib/tools/Utils/HighLayer.js +211 -0
  429. package/lib/tools/Utils/HighLayer.js.map +1 -0
  430. package/lib/tools/Utils/measure.js +246 -0
  431. package/lib/tools/Utils/measure.js.map +1 -0
  432. package/lib/tools/Utils/utils.js +263 -0
  433. package/lib/tools/Utils/utils.js.map +1 -0
  434. package/lib/tools/View/index.css +35 -0
  435. package/lib/tools/View/index.js +164 -0
  436. package/lib/tools/View/index.js.map +1 -0
  437. package/lib/tools/View/index.less +28 -0
  438. package/lib/tools/analysis-tool/index.js +111 -0
  439. package/lib/tools/analysis-tool/index.js.map +1 -0
  440. package/lib/tools/base-map-switch/index.js +148 -0
  441. package/lib/tools/base-map-switch/index.js.map +1 -0
  442. package/lib/tools/components/Chart/index.js +817 -0
  443. package/lib/tools/components/Chart/index.js.map +1 -0
  444. package/lib/tools/components/Icon/index.js +31 -0
  445. package/lib/tools/components/Icon/index.js.map +1 -0
  446. package/lib/tools/components/Info/index.css +39 -0
  447. package/lib/tools/components/Info/index.js +34 -0
  448. package/lib/tools/components/Info/index.js.map +1 -0
  449. package/lib/tools/components/Info/index.less +26 -0
  450. package/lib/tools/components/ItemWrap/index.css +43 -0
  451. package/lib/tools/components/ItemWrap/index.js +46 -0
  452. package/lib/tools/components/ItemWrap/index.js.map +1 -0
  453. package/lib/tools/components/ItemWrap/index.less +41 -0
  454. package/lib/tools/components/Modal/index.css +42 -0
  455. package/lib/tools/components/Modal/index.js +45 -0
  456. package/lib/tools/components/Modal/index.js.map +1 -0
  457. package/lib/tools/components/Modal/index.less +33 -0
  458. package/lib/tools/components/MyTabs/index.js +22 -0
  459. package/lib/tools/components/MyTabs/index.js.map +1 -0
  460. package/lib/tools/components/RequiredLabel/index.css +5 -0
  461. package/lib/tools/components/RequiredLabel/index.js +32 -0
  462. package/lib/tools/components/RequiredLabel/index.js.map +1 -0
  463. package/lib/tools/components/RequiredLabel/index.less +5 -0
  464. package/lib/tools/components/Select/index.js +32 -0
  465. package/lib/tools/components/Select/index.js.map +1 -0
  466. package/lib/tools/components/Table/assets/tableIcon.png +0 -0
  467. package/lib/tools/components/Table/index.css +10 -0
  468. package/lib/tools/components/Table/index.js +89 -0
  469. package/lib/tools/components/Table/index.js.map +1 -0
  470. package/lib/tools/components/Table/index.less +13 -0
  471. package/lib/tools/components/ToolItem/index.css +30 -0
  472. package/lib/tools/components/ToolItem/index.js +28 -0
  473. package/lib/tools/components/ToolItem/index.js.map +1 -0
  474. package/lib/tools/components/ToolItem/index.less +27 -0
  475. package/lib/tools/components/ToolsSelect/index.css +15 -0
  476. package/lib/tools/components/ToolsSelect/index.js +44 -0
  477. package/lib/tools/components/ToolsSelect/index.js.map +1 -0
  478. package/lib/tools/components/ToolsSelect/index.less +10 -0
  479. package/lib/tools/full-screen/index.js +45 -0
  480. package/lib/tools/full-screen/index.js.map +1 -0
  481. package/lib/tools/index.js +150 -0
  482. package/lib/tools/index.js.map +1 -0
  483. package/lib/tools/layer-control/index.js +169 -0
  484. package/lib/tools/layer-control/index.js.map +1 -0
  485. package/lib/tools/refresh/index.js +39 -0
  486. package/lib/tools/refresh/index.js.map +1 -0
  487. package/lib/tools/style/css.js +22 -0
  488. package/lib/tools/style/css.js.map +1 -0
  489. package/lib/tools/style/index.css +136 -0
  490. package/lib/tools/style/index.js +22 -0
  491. package/lib/tools/style/index.js.map +1 -0
  492. package/lib/tools/style/index.less +154 -0
  493. package/lib/tools-item/index.js +65 -0
  494. package/lib/tools-item/index.js.map +1 -0
  495. package/lib/use-props/index.js +14 -0
  496. package/lib/use-props/index.js.map +1 -0
  497. package/lib/use-props/style/css.js +2 -0
  498. package/lib/use-props/style/css.js.map +1 -0
  499. package/lib/use-props/style/index.js +2 -0
  500. package/lib/use-props/style/index.js.map +1 -0
  501. package/lib/wms-layer/WmsLayer.js +313 -0
  502. package/lib/wms-layer/WmsLayer.js.map +1 -0
  503. package/lib/wms-layer/index.js +97 -0
  504. package/lib/wms-layer/index.js.map +1 -0
  505. package/lib/wms-layer/style/css.js +4 -0
  506. package/lib/wms-layer/style/css.js.map +1 -0
  507. package/lib/wms-layer/style/index.css +0 -0
  508. package/lib/wms-layer/style/index.js +4 -0
  509. package/lib/wms-layer/style/index.js.map +1 -0
  510. package/lib/wms-layer/style/index.less +0 -0
  511. package/package.json +1 -1
@@ -0,0 +1,449 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getWMSFeatureInfoByLayers = exports.getWMSFeatureInfoByLayer = exports.getWFSFeatureInfoByLayers = exports.getWFSFeatureInfoByLayer = exports["default"] = void 0;
7
+ var _antd = require("antd");
8
+ var _layer = require("ol/layer");
9
+ var _source = require("ol/source");
10
+ var _format = require("ol/format");
11
+ var _geom = require("ol/geom");
12
+ var _Feature = _interopRequireDefault(require("ol/Feature"));
13
+ var _style2 = require("ol/style");
14
+ var _http = _interopRequireDefault(require("../_util/http"));
15
+ var _createFeatureCollection = require("../feature-layer/createFeatureCollection");
16
+ var _getUrlParam = _interopRequireDefault(require("../_util/getUrlParam"));
17
+ var _getSystemInfo = _interopRequireDefault(require("../_util/getSystemInfo"));
18
+ var _encryptParams = _interopRequireDefault(require("../_util/encryptParams"));
19
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
20
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
21
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
22
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
23
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
24
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
25
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
26
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
27
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
28
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
29
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
30
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
31
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
32
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
33
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
34
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
35
+ var geoJsonFormat = new _format.GeoJSON();
36
+
37
+ /**
38
+ * 获取图形信息
39
+ * @param layer
40
+ * @returns {*}
41
+ */
42
+ var getWFSFeatureInfoByLayer = exports.getWFSFeatureInfoByLayer = function getWFSFeatureInfoByLayer(layer, cql_filter, filterBefore, coorStr) {
43
+ var _source$params_, _source$params_2;
44
+ var source = layer === null || layer === void 0 ? void 0 : layer.getSource();
45
+ var url = source === null || source === void 0 ? void 0 : source.url_;
46
+ var filter = source === null || source === void 0 || (_source$params_ = source.params_) === null || _source$params_ === void 0 ? void 0 : _source$params_.cql_filter;
47
+ var typeName = source === null || source === void 0 || (_source$params_2 = source.params_) === null || _source$params_2 === void 0 ? void 0 : _source$params_2.layers;
48
+ var _cql_filter = cql_filter;
49
+ if (coorStr !== null && coorStr !== void 0 && coorStr.coorStr) {
50
+ var location = (layer === null || layer === void 0 ? void 0 : layer.location) || 'geo_location';
51
+ _cql_filter = "INTERSECTS(".concat(location, ", POLYGON((").concat(coorStr === null || coorStr === void 0 ? void 0 : coorStr.coorStr, ")))");
52
+ }
53
+ if (!url) return;
54
+ var CQL_FILTER;
55
+ if (_cql_filter && filter) {
56
+ CQL_FILTER = "(".concat(filter, ") and ").concat(_cql_filter);
57
+ } else {
58
+ CQL_FILTER = filter || _cql_filter || '';
59
+ }
60
+ if (filterBefore) {
61
+ CQL_FILTER = filterBefore(CQL_FILTER, layer);
62
+ }
63
+ var params = {
64
+ service: 'WFS',
65
+ version: '1.0.0',
66
+ request: 'GetFeature',
67
+ maxFeatures: 99999,
68
+ outputFormat: 'application/json',
69
+ typeName: typeName,
70
+ cql_filter: CQL_FILTER,
71
+ viewparams: "tenantId:".concat((0, _getUrlParam["default"])('tenantId') || (0, _getSystemInfo["default"])('tenantId') || '')
72
+ };
73
+ if (layer.encrypt) {
74
+ params = (0, _encryptParams["default"])(params, layer.encrypt);
75
+ }
76
+ return _http["default"].get(url, {
77
+ body: _objectSpread({}, params)
78
+ }).then(function (response) {
79
+ var _response$features;
80
+ var features = [];
81
+ if (response !== null && response !== void 0 && (_response$features = response.features) !== null && _response$features !== void 0 && _response$features.length) {
82
+ features = geoJsonFormat.readFeatures(response);
83
+ features.map(function (item) {
84
+ item.key = layer === null || layer === void 0 ? void 0 : layer.key;
85
+ item.name = layer === null || layer === void 0 ? void 0 : layer.name;
86
+ item.labelField = layer === null || layer === void 0 ? void 0 : layer.labelField;
87
+ item.codeField = layer === null || layer === void 0 ? void 0 : layer.codeField;
88
+ item.setProperties({
89
+ key: layer === null || layer === void 0 ? void 0 : layer.key,
90
+ label: (layer === null || layer === void 0 ? void 0 : layer.title) || (layer === null || layer === void 0 ? void 0 : layer.name),
91
+ codeField: layer === null || layer === void 0 ? void 0 : layer.codeField
92
+ });
93
+ });
94
+ }
95
+ return features;
96
+ })["catch"](function () {
97
+ return [];
98
+ });
99
+ };
100
+
101
+ /**
102
+ * 获取图形信息
103
+ * @param layers
104
+ * @returns {Promise<FlatArray<Awaited<unknown>[], 2>[]>|*}
105
+ */
106
+ var getWFSFeatureInfoByLayers = exports.getWFSFeatureInfoByLayers = function getWFSFeatureInfoByLayers(layers, cql_filter, filterBefore, coorStr) {
107
+ if (Array.isArray(layers)) {
108
+ var req = [];
109
+ layers.map(function (v) {
110
+ req.push(getWFSFeatureInfoByLayer(v, cql_filter, filterBefore, coorStr));
111
+ });
112
+ return Promise.all(req).then(function (layers) {
113
+ return layers.flat(2);
114
+ });
115
+ } else {
116
+ return getWFSFeatureInfoByLayer(layers, cql_filter, filterBefore, coorStr);
117
+ }
118
+ };
119
+
120
+ /**
121
+ * 获取图形信息
122
+ * @param event
123
+ * @param map
124
+ * @param layer
125
+ * @returns {*}
126
+ */
127
+ var getWMSFeatureInfoByLayer = exports.getWMSFeatureInfoByLayer = function getWMSFeatureInfoByLayer(event, map, layer) {
128
+ var source = layer.getSource();
129
+ var view = map.getView();
130
+ var params = {
131
+ cql_filter: source.params_.cql_filter,
132
+ QUERY_LAYERS: source.params_.layers,
133
+ INFO_FORMAT: 'application/json',
134
+ FEATURE_COUNT: 50
135
+ };
136
+ if (layer.encrypt) {
137
+ params = (0, _encryptParams["default"])(params, layer.encrypt);
138
+ }
139
+ var url = source.getFeatureInfoUrl(event.coordinate, view.getResolution(), view.getProjection(), params);
140
+ return _http["default"].get(url).then(function (data) {
141
+ var _data$features;
142
+ var features = [];
143
+ if (data !== null && data !== void 0 && (_data$features = data.features) !== null && _data$features !== void 0 && _data$features.length) {
144
+ features = geoJsonFormat.readFeatures(data);
145
+ features.map(function (item) {
146
+ item.key = layer === null || layer === void 0 ? void 0 : layer.key;
147
+ });
148
+ }
149
+ return features;
150
+ })["catch"](function () {
151
+ return [];
152
+ });
153
+ };
154
+
155
+ /**
156
+ * 获取图形信息
157
+ * @param event
158
+ * @param map
159
+ * @param layers
160
+ * @returns {Promise<FlatArray<Awaited<unknown>[], 2>[]>|*}
161
+ */
162
+ var getWMSFeatureInfoByLayers = exports.getWMSFeatureInfoByLayers = function getWMSFeatureInfoByLayers(event, map, layers) {
163
+ if (Array.isArray(layers)) {
164
+ var req = [];
165
+ layers.map(function (v) {
166
+ req.push(getWMSFeatureInfoByLayer(event, map, v));
167
+ });
168
+ return Promise.all(req).then(function (layers) {
169
+ return layers.flat(2);
170
+ });
171
+ } else {
172
+ return getWMSFeatureInfoByLayer(event, map, layers);
173
+ }
174
+ };
175
+ var _default = exports["default"] = /*#__PURE__*/function () {
176
+ function _default(props) {
177
+ _classCallCheck(this, _default);
178
+ var _props$fit = props.fit,
179
+ fit = _props$fit === void 0 ? true : _props$fit,
180
+ _props$otherParams = props.otherParams,
181
+ otherParams = _props$otherParams === void 0 ? {} : _props$otherParams;
182
+ this.highStyle = new _style2.Style({
183
+ // 高亮样式
184
+ image: new _style2.Circle({
185
+ radius: 7,
186
+ fill: new _style2.Fill({
187
+ color: '#ff4d4f'
188
+ }),
189
+ stroke: new _style2.Stroke({
190
+ color: '#FFFFFF',
191
+ width: 2
192
+ })
193
+ }),
194
+ fill: new _style2.Fill({
195
+ color: '#ff4d4f'
196
+ }),
197
+ stroke: new _style2.Stroke({
198
+ color: '#ff4d4f',
199
+ width: 4
200
+ })
201
+ });
202
+ this.map = props.map;
203
+ this.field = props.field;
204
+ this.fit = fit;
205
+ this.cql_filter = props.cql_filter || props.filter;
206
+ this.source = new _source.Vector();
207
+ this.key = props.key;
208
+ this.layer = new _layer.Vector(_objectSpread({
209
+ source: this.source,
210
+ zIndex: 9999,
211
+ style: this.highStyle
212
+ }, otherParams));
213
+ this.map.addLayer(this.layer);
214
+ this.url = props.url || '/geoserver/zhsw/wms';
215
+ this.layerName = props.layerName || 'zhsw:putian_line';
216
+ this.params = _objectSpread({
217
+ service: 'WFS',
218
+ version: '1.0.0',
219
+ request: 'GetFeature',
220
+ typeName: 'mumu:points',
221
+ maxFeatures: 99999,
222
+ outputFormat: 'application/json'
223
+ }, props.params);
224
+ this.selectFeature = null;
225
+ }
226
+ return _createClass(_default, [{
227
+ key: "filter",
228
+ set: function set(val) {
229
+ this.clearSelectFeature();
230
+ this.clearFeatures();
231
+ if (val) {
232
+ if (_typeof(val) === 'object' && val.isGetUrl) {
233
+ // 接口获取图层
234
+ this.setUrlLayerData(val);
235
+ } else {
236
+ var cqlFilter = val;
237
+ if (this.cql_filter) {
238
+ cqlFilter = "".concat(this.cql_filter, " and ").concat(val);
239
+ }
240
+ this.setLayerData({
241
+ cql_filter: cqlFilter
242
+ });
243
+ }
244
+ }
245
+ }
246
+ }, {
247
+ key: "destroy",
248
+ value: function destroy() {
249
+ this.map.removeLayer(this.layer);
250
+ }
251
+ }, {
252
+ key: "clearFeatures",
253
+ value: function clearFeatures() {
254
+ this.source && this.source.clear();
255
+ }
256
+ }, {
257
+ key: "setUrlLayerData",
258
+ value: function setUrlLayerData(val) {
259
+ var _this = this;
260
+ this.getUrlData(val).then(function (features) {
261
+ if (features && features.length) {
262
+ var view = _this.map.getView();
263
+ _this.source.addFeatures(features);
264
+ if (view) {
265
+ view.fit(_this.source.getExtent(), {
266
+ maxZoom: 20,
267
+ duration: 500
268
+ });
269
+ }
270
+ }
271
+ });
272
+ }
273
+ }, {
274
+ key: "getUrlData",
275
+ value: function getUrlData(req) {
276
+ var _this2 = this;
277
+ // codes 符合条件的数据变量集合,
278
+ var _ref = req || {},
279
+ url = _ref.url,
280
+ params = _ref.params,
281
+ _data = _ref.data,
282
+ _ref$codes = _ref.codes,
283
+ codes = _ref$codes === void 0 ? [] : _ref$codes,
284
+ _ref$fileValue = _ref.fileValue,
285
+ fileValue = _ref$fileValue === void 0 ? 'code' : _ref$fileValue,
286
+ _ref$type = _ref.type,
287
+ type = _ref$type === void 0 ? 'point' : _ref$type;
288
+ var request = _http["default"].get;
289
+ var data = params;
290
+ if (req.method === 'POST') {
291
+ request = _http["default"].post;
292
+ data = _data;
293
+ }
294
+ return request(url, {
295
+ body: _objectSpread({}, data)
296
+ }).then(function (res) {
297
+ var features = [];
298
+ if (String(res === null || res === void 0 ? void 0 : res.result) && res !== null && res !== void 0 && res.data) {
299
+ if (type === 'point') {
300
+ res.data.map(function (item) {
301
+ var geometryInfo = item.geometryInfo;
302
+ var _ref2 = geometryInfo || {},
303
+ _ref2$lngLats = _ref2.lngLats,
304
+ lngLats = _ref2$lngLats === void 0 ? '' : _ref2$lngLats;
305
+ var lngLat = [];
306
+ if (lngLats) {
307
+ lngLat = lngLats.split(',');
308
+ }
309
+ if (lngLat[0] && lngLat[1] && codes.includes(item[fileValue])) {
310
+ features.push(new _Feature["default"]({
311
+ geometry: new _geom.Point([Number(lngLat[0]), Number(lngLat[1])]),
312
+ properties: _objectSpread({}, item),
313
+ type: type
314
+ }));
315
+ }
316
+ });
317
+ }
318
+ }
319
+ features.map(function (v) {
320
+ v.key = _this2.key;
321
+ });
322
+ return features;
323
+ })["catch"](function () {
324
+ return [];
325
+ });
326
+ }
327
+ }, {
328
+ key: "loadData",
329
+ value: function loadData(data) {
330
+ this.clearFeatures();
331
+ var res = (0, _createFeatureCollection.createFeatureCollection)(Array.isArray(data) ? data : [data]);
332
+ var features = geoJsonFormat.readFeatures(res);
333
+ this.source.addFeatures(features);
334
+ }
335
+ }, {
336
+ key: "setLayerData",
337
+ value: function setLayerData(params) {
338
+ var _this3 = this;
339
+ this.clearSelectFeature();
340
+ this.clearFeatures();
341
+ var val = _objectSpread({
342
+ service: 'WFS',
343
+ version: '1.0.0',
344
+ request: 'GetFeature',
345
+ maxFeatures: 99999,
346
+ outputFormat: 'application/json',
347
+ typeName: this.layerName,
348
+ layers: this.layerName,
349
+ QUERY_LAYERS: this.layerName,
350
+ cql_filter: this.cql_filter
351
+ }, params);
352
+ return this.getLayerData(this.url || val.url, val).then(function (features) {
353
+ if (features !== null && features !== void 0 && features.length) {
354
+ _this3.source.addFeatures(features);
355
+ if (_this3.fit) {
356
+ _this3.map.getView().fit(_this3.source.getExtent(), {
357
+ maxZoom: 20,
358
+ duration: 500
359
+ });
360
+ }
361
+ }
362
+ return features;
363
+ });
364
+ }
365
+ }, {
366
+ key: "getLayerData",
367
+ value: function getLayerData(url, params) {
368
+ var _this4 = this;
369
+ return _http["default"].get(url, {
370
+ body: params
371
+ }).then(function (response) {
372
+ var _response$features2;
373
+ var features;
374
+ if (response !== null && response !== void 0 && (_response$features2 = response.features) !== null && _response$features2 !== void 0 && _response$features2.length) {
375
+ var _features;
376
+ var _geoJsonFormat = new _format.GeoJSON();
377
+ features = _geoJsonFormat.readFeatures(response);
378
+ (_features = features) === null || _features === void 0 || _features.map(function (v) {
379
+ v.key = _this4.key;
380
+ });
381
+ }
382
+ return features;
383
+ });
384
+ }
385
+ }, {
386
+ key: "setCenterByCode",
387
+ value: function setCenterByCode(code, style, field) {
388
+ this.clearSelectFeature();
389
+ var features = this.source.getFeatures();
390
+
391
+ // 查询字段
392
+ var fieldCode = field || this.field || 'code';
393
+ var feature = features.find(function (v) {
394
+ var _v$get;
395
+ return (v.get(fieldCode) || ((_v$get = v.get('properties')) === null || _v$get === void 0 ? void 0 : _v$get[fieldCode])) === code;
396
+ });
397
+ if (feature) {
398
+ feature.setStyle();
399
+ this.map.getView().fit(feature.values_.geometry.getExtent(), {
400
+ maxZoom: 18,
401
+ duration: 500
402
+ });
403
+ this.setSelectFeature(feature, style);
404
+ } else {
405
+ _antd.message.warning('地图上未查询到该数据,请检查是否配置坐标信息!');
406
+ }
407
+ }
408
+ }, {
409
+ key: "clearSelectFeature",
410
+ value: function clearSelectFeature() {
411
+ if (this.selectFeature) {
412
+ this.selectFeature.setStyle();
413
+ this.selectFeature = null;
414
+ }
415
+ }
416
+ }, {
417
+ key: "setSelectFeature",
418
+ value: function setSelectFeature(feature, style) {
419
+ if (feature) {
420
+ var styleArr = [new _style2.Style({
421
+ image: new _style2.Circle({
422
+ radius: 7,
423
+ fill: new _style2.Fill({
424
+ color: '#2491fc'
425
+ }),
426
+ stroke: new _style2.Stroke({
427
+ color: '#FFFFFF',
428
+ width: 2
429
+ })
430
+ }),
431
+ fill: new _style2.Fill({
432
+ color: '#2491fc'
433
+ }),
434
+ stroke: new _style2.Stroke({
435
+ color: '#2491fc',
436
+ width: 4
437
+ })
438
+ })];
439
+ if (typeof style === 'function') {
440
+ var _style = style(feature);
441
+ if (Array.isArray(_style) && _style !== null && _style !== void 0 && _style.length) styleArr.push.apply(styleArr, _toConsumableArray(_style));
442
+ }
443
+ this.selectFeature = feature;
444
+ this.selectFeature.setStyle(styleArr);
445
+ }
446
+ }
447
+ }]);
448
+ }();
449
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["_antd","require","_layer","_source","_format","_geom","_Feature","_interopRequireDefault","_style2","_http","_createFeatureCollection","_getUrlParam","_getSystemInfo","_encryptParams","e","__esModule","_toConsumableArray","r","_arrayWithoutHoles","_iterableToArray","_unsupportedIterableToArray","_nonIterableSpread","TypeError","a","_arrayLikeToArray","t","toString","call","slice","constructor","name","Array","from","test","Symbol","iterator","isArray","length","n","_typeof","o","prototype","_classCallCheck","_defineProperties","enumerable","configurable","writable","Object","defineProperty","_toPropertyKey","key","_createClass","ownKeys","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","push","apply","_objectSpread","arguments","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","value","i","_toPrimitive","toPrimitive","String","Number","geoJsonFormat","GeoJSON","getWFSFeatureInfoByLayer","exports","layer","cql_filter","filterBefore","coorStr","_source$params_","_source$params_2","source","getSource","url","url_","params_","typeName","layers","_cql_filter","location","concat","CQL_FILTER","params","service","version","request","maxFeatures","outputFormat","viewparams","getUrlParam","getSystemInfo","encrypt","encryptParams","http","get","body","then","response","_response$features","features","readFeatures","map","item","labelField","codeField","setProperties","label","title","getWFSFeatureInfoByLayers","req","v","Promise","all","flat","getWMSFeatureInfoByLayer","event","view","getView","QUERY_LAYERS","INFO_FORMAT","FEATURE_COUNT","getFeatureInfoUrl","coordinate","getResolution","getProjection","data","_data$features","getWMSFeatureInfoByLayers","_default","props","_props$fit","fit","_props$otherParams","otherParams","highStyle","Style","image","CircleStyle","radius","fill","Fill","color","stroke","Stroke","width","field","VectorSource","VectorLayer","zIndex","style","addLayer","layerName","selectFeature","set","val","clearSelectFeature","clearFeatures","isGetUrl","setUrlLayerData","cqlFilter","setLayerData","destroy","removeLayer","clear","_this","getUrlData","addFeatures","getExtent","maxZoom","duration","_this2","_ref","_data","_ref$codes","codes","_ref$fileValue","fileValue","_ref$type","type","method","post","res","result","geometryInfo","_ref2","_ref2$lngLats","lngLats","lngLat","split","includes","Feature","geometry","Point","properties","loadData","createFeatureCollection","_this3","getLayerData","_this4","_response$features2","_features","setCenterByCode","code","getFeatures","fieldCode","feature","find","_v$get","setStyle","values_","setSelectFeature","message","warning","styleArr","_style"],"sources":["analysis-layer/index.js"],"sourcesContent":["import { message } from 'antd';\r\nimport { Vector as VectorLayer } from 'ol/layer';\r\nimport { Vector as VectorSource } from 'ol/source';\r\nimport { GeoJSON } from 'ol/format';\r\nimport { Point } from 'ol/geom';\r\nimport Feature from 'ol/Feature';\r\nimport { Stroke, Style, Circle as CircleStyle, Fill } from 'ol/style';\r\nimport http from '../_util/http';\r\nimport { createFeatureCollection } from '../feature-layer/createFeatureCollection';\r\nimport getUrlParam from '../_util/getUrlParam';\r\nimport getSystemInfo from '../_util/getSystemInfo';\r\nimport encryptParams from '../_util/encryptParams';\r\nconst geoJsonFormat = new GeoJSON();\r\n\r\n/**\r\n * 获取图形信息\r\n * @param layer\r\n * @returns {*}\r\n */\r\nexport const getWFSFeatureInfoByLayer = (layer, cql_filter, filterBefore, coorStr) => {\r\n let source = layer?.getSource();\r\n let url = source?.url_;\r\n let filter = source?.params_?.cql_filter;\r\n let typeName = source?.params_?.layers;\r\n\r\n let _cql_filter = cql_filter;\r\n\r\n if (coorStr?.coorStr) {\r\n let location = layer?.location || 'geo_location';\r\n _cql_filter = `INTERSECTS(${location}, POLYGON((${coorStr?.coorStr})))`;\r\n }\r\n\r\n if (!url) return;\r\n let CQL_FILTER;\r\n if (_cql_filter && filter) {\r\n CQL_FILTER = `(${filter}) and ${_cql_filter}`;\r\n } else {\r\n CQL_FILTER = filter || _cql_filter || '';\r\n }\r\n\r\n if (filterBefore) {\r\n CQL_FILTER = filterBefore(CQL_FILTER, layer);\r\n }\r\n\r\n let params = {\r\n service: 'WFS',\r\n version: '1.0.0',\r\n request: 'GetFeature',\r\n maxFeatures: 99999,\r\n outputFormat: 'application/json',\r\n typeName,\r\n cql_filter: CQL_FILTER,\r\n viewparams: `tenantId:${getUrlParam('tenantId') || getSystemInfo('tenantId') || ''}`,\r\n };\r\n\r\n if (layer.encrypt) {\r\n params = encryptParams(params, layer.encrypt)\r\n }\r\n\r\n return http\r\n .get(url, { body: { ...params } })\r\n .then(response => {\r\n let features = [];\r\n if (response?.features?.length) {\r\n features = geoJsonFormat.readFeatures(response);\r\n features.map(item => {\r\n item.key = layer?.key;\r\n item.name = layer?.name;\r\n item.labelField = layer?.labelField;\r\n item.codeField = layer?.codeField;\r\n item.setProperties({\r\n key: layer?.key,\r\n label: layer?.title || layer?.name,\r\n codeField: layer?.codeField,\r\n });\r\n });\r\n }\r\n return features;\r\n })\r\n .catch(() => {\r\n return [];\r\n });\r\n};\r\n\r\n/**\r\n * 获取图形信息\r\n * @param layers\r\n * @returns {Promise<FlatArray<Awaited<unknown>[], 2>[]>|*}\r\n */\r\nexport const getWFSFeatureInfoByLayers = (layers, cql_filter, filterBefore, coorStr) => {\r\n if (Array.isArray(layers)) {\r\n let req = [];\r\n layers.map(v => {\r\n req.push(getWFSFeatureInfoByLayer(v, cql_filter, filterBefore, coorStr));\r\n });\r\n return Promise.all(req).then(layers => {\r\n return layers.flat(2);\r\n });\r\n } else {\r\n return getWFSFeatureInfoByLayer(layers, cql_filter, filterBefore, coorStr);\r\n }\r\n};\r\n\r\n/**\r\n * 获取图形信息\r\n * @param event\r\n * @param map\r\n * @param layer\r\n * @returns {*}\r\n */\r\nexport const getWMSFeatureInfoByLayer = (event, map, layer) => {\r\n let source = layer.getSource();\r\n let view = map.getView();\r\n let params = {\r\n cql_filter: source.params_.cql_filter,\r\n QUERY_LAYERS: source.params_.layers,\r\n INFO_FORMAT: 'application/json',\r\n FEATURE_COUNT: 50,\r\n };\r\n\r\n if (layer.encrypt) {\r\n params = encryptParams(params, layer.encrypt)\r\n }\r\n\r\n let url = source.getFeatureInfoUrl(\r\n event.coordinate,\r\n view.getResolution(),\r\n view.getProjection(),\r\n params,\r\n );\r\n\r\n return http.get(url)\r\n .then(data => {\r\n let features = [];\r\n if (data?.features?.length) {\r\n features = geoJsonFormat.readFeatures(data);\r\n features.map(item => {\r\n item.key = layer?.key;\r\n });\r\n }\r\n return features;\r\n })\r\n .catch(() => {\r\n return [];\r\n });\r\n};\r\n\r\n/**\r\n * 获取图形信息\r\n * @param event\r\n * @param map\r\n * @param layers\r\n * @returns {Promise<FlatArray<Awaited<unknown>[], 2>[]>|*}\r\n */\r\nexport const getWMSFeatureInfoByLayers = (event, map, layers) => {\r\n if (Array.isArray(layers)) {\r\n let req = [];\r\n layers.map(v => {\r\n req.push(getWMSFeatureInfoByLayer(event, map, v));\r\n });\r\n return Promise.all(req).then(layers => {\r\n return layers.flat(2);\r\n });\r\n } else {\r\n return getWMSFeatureInfoByLayer(event, map, layers);\r\n }\r\n};\r\n\r\nexport default class {\r\n constructor(props) {\r\n const { fit = true, otherParams = {} } = props;\r\n this.highStyle = new Style({\r\n // 高亮样式\r\n image: new CircleStyle({\r\n radius: 7,\r\n fill: new Fill({\r\n color: '#ff4d4f',\r\n }),\r\n stroke: new Stroke({\r\n color: '#FFFFFF',\r\n width: 2,\r\n }),\r\n }),\r\n fill: new Fill({\r\n color: '#ff4d4f',\r\n }),\r\n stroke: new Stroke({\r\n color: '#ff4d4f',\r\n width: 4,\r\n }),\r\n });\r\n this.map = props.map;\r\n this.field = props.field;\r\n this.fit = fit;\r\n this.cql_filter = props.cql_filter || props.filter;\r\n this.source = new VectorSource();\r\n this.key = props.key;\r\n this.layer = new VectorLayer({\r\n source: this.source,\r\n zIndex: 9999,\r\n style: this.highStyle,\r\n ...otherParams,\r\n });\r\n this.map.addLayer(this.layer);\r\n\r\n this.url = props.url || '/geoserver/zhsw/wms';\r\n this.layerName = props.layerName || 'zhsw:putian_line';\r\n\r\n this.params = {\r\n service: 'WFS',\r\n version: '1.0.0',\r\n request: 'GetFeature',\r\n typeName: 'mumu:points',\r\n maxFeatures: 99999,\r\n outputFormat: 'application/json',\r\n ...props.params,\r\n };\r\n\r\n this.selectFeature = null;\r\n }\r\n\r\n set filter(val) {\r\n this.clearSelectFeature();\r\n this.clearFeatures();\r\n if (val) {\r\n if (typeof val === 'object' && val.isGetUrl) {\r\n // 接口获取图层\r\n this.setUrlLayerData(val);\r\n } else {\r\n let cqlFilter = val;\r\n if (this.cql_filter) {\r\n cqlFilter = `${this.cql_filter} and ${val}`;\r\n }\r\n this.setLayerData({ cql_filter: cqlFilter });\r\n }\r\n }\r\n }\r\n\r\n destroy() {\r\n this.map.removeLayer(this.layer);\r\n }\r\n\r\n clearFeatures() {\r\n this.source && this.source.clear();\r\n }\r\n\r\n setUrlLayerData(val) {\r\n this.getUrlData(val).then(features => {\r\n if (features && features.length) {\r\n let view = this.map.getView();\r\n this.source.addFeatures(features);\r\n if (view) {\r\n view.fit(this.source.getExtent(), {\r\n maxZoom: 20,\r\n duration: 500,\r\n });\r\n }\r\n }\r\n });\r\n }\r\n\r\n getUrlData(req) {\r\n // codes 符合条件的数据变量集合,\r\n let { url, params, data: _data, codes = [], fileValue = 'code', type = 'point' } =\r\n req || {};\r\n let request = http.get;\r\n let data = params;\r\n if (req.method === 'POST') {\r\n request = http.post;\r\n data = _data;\r\n }\r\n return request(url, { body: { ...data } })\r\n .then(res => {\r\n let features = [];\r\n if (String(res?.result) && res?.data) {\r\n if (type === 'point') {\r\n res.data.map(item => {\r\n const { geometryInfo } = item;\r\n const { lngLats = '' } = geometryInfo || {};\r\n let lngLat = [];\r\n if (lngLats) {\r\n lngLat = lngLats.split(',');\r\n }\r\n if (lngLat[0] && lngLat[1] && codes.includes(item[fileValue])) {\r\n features.push(\r\n new Feature({\r\n geometry: new Point([Number(lngLat[0]), Number(lngLat[1])]),\r\n properties: { ...item },\r\n type,\r\n }),\r\n );\r\n }\r\n });\r\n }\r\n }\r\n features.map(v => {\r\n v.key = this.key;\r\n });\r\n return features;\r\n })\r\n .catch(() => []);\r\n }\r\n\r\n loadData(data) {\r\n this.clearFeatures();\r\n let res = createFeatureCollection(Array.isArray(data) ? data : [data]);\r\n let features = geoJsonFormat.readFeatures(res);\r\n this.source.addFeatures(features);\r\n }\r\n setLayerData(params) {\r\n this.clearSelectFeature();\r\n this.clearFeatures();\r\n let val = {\r\n service: 'WFS',\r\n version: '1.0.0',\r\n request: 'GetFeature',\r\n maxFeatures: 99999,\r\n outputFormat: 'application/json',\r\n typeName: this.layerName,\r\n layers: this.layerName,\r\n QUERY_LAYERS: this.layerName,\r\n cql_filter: this.cql_filter,\r\n ...params,\r\n };\r\n return this.getLayerData(this.url || val.url, val).then(features => {\r\n if (features?.length) {\r\n this.source.addFeatures(features);\r\n if (this.fit) {\r\n this.map.getView().fit(this.source.getExtent(), {\r\n maxZoom: 20,\r\n duration: 500,\r\n });\r\n }\r\n }\r\n\r\n return features;\r\n });\r\n }\r\n\r\n getLayerData(url, params) {\r\n return http.get(url, { body: params }).then(response => {\r\n let features;\r\n if (response?.features?.length) {\r\n const geoJsonFormat = new GeoJSON();\r\n features = geoJsonFormat.readFeatures(response);\r\n features?.map(v => {\r\n v.key = this.key;\r\n });\r\n }\r\n\r\n return features;\r\n });\r\n }\r\n\r\n setCenterByCode(code, style, field) {\r\n this.clearSelectFeature();\r\n let features = this.source.getFeatures();\r\n\r\n // 查询字段\r\n let fieldCode = field || this.field || 'code';\r\n let feature = features.find(\r\n v => (v.get(fieldCode) || v.get('properties')?.[fieldCode]) === code,\r\n );\r\n\r\n if (feature) {\r\n feature.setStyle();\r\n this.map.getView().fit(feature.values_.geometry.getExtent(), {\r\n maxZoom: 18,\r\n duration: 500,\r\n });\r\n\r\n this.setSelectFeature(feature, style);\r\n } else {\r\n message.warning('地图上未查询到该数据,请检查是否配置坐标信息!');\r\n }\r\n }\r\n\r\n clearSelectFeature() {\r\n if (this.selectFeature) {\r\n this.selectFeature.setStyle();\r\n this.selectFeature = null;\r\n }\r\n }\r\n\r\n setSelectFeature(feature, style) {\r\n if (feature) {\r\n let styleArr = [\r\n new Style({\r\n image: new CircleStyle({\r\n radius: 7,\r\n fill: new Fill({\r\n color: '#2491fc',\r\n }),\r\n stroke: new Stroke({\r\n color: '#FFFFFF',\r\n width: 2,\r\n }),\r\n }),\r\n fill: new Fill({\r\n color: '#2491fc',\r\n }),\r\n stroke: new Stroke({\r\n color: '#2491fc',\r\n width: 4,\r\n }),\r\n }),\r\n ];\r\n\r\n if (typeof style === 'function') {\r\n let _style = style(feature);\r\n if (Array.isArray(_style) && _style?.length) styleArr.push(..._style);\r\n }\r\n this.selectFeature = feature;\r\n this.selectFeature.setStyle(styleArr);\r\n }\r\n }\r\n}\r\n"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAC,sBAAA,CAAAN,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AACA,IAAAQ,KAAA,GAAAF,sBAAA,CAAAN,OAAA;AACA,IAAAS,wBAAA,GAAAT,OAAA;AACA,IAAAU,YAAA,GAAAJ,sBAAA,CAAAN,OAAA;AACA,IAAAW,cAAA,GAAAL,sBAAA,CAAAN,OAAA;AACA,IAAAY,cAAA,GAAAN,sBAAA,CAAAN,OAAA;AAAmD,SAAAM,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA;AAAA,SAAAE,mBAAAC,CAAA,WAAAC,kBAAA,CAAAD,CAAA,KAAAE,gBAAA,CAAAF,CAAA,KAAAG,2BAAA,CAAAH,CAAA,KAAAI,kBAAA;AAAA,SAAAA,mBAAA,cAAAC,SAAA;AAAA,SAAAF,4BAAAH,CAAA,EAAAM,CAAA,QAAAN,CAAA,2BAAAA,CAAA,SAAAO,iBAAA,CAAAP,CAAA,EAAAM,CAAA,OAAAE,CAAA,MAAAC,QAAA,CAAAC,IAAA,CAAAV,CAAA,EAAAW,KAAA,6BAAAH,CAAA,IAAAR,CAAA,CAAAY,WAAA,KAAAJ,CAAA,GAAAR,CAAA,CAAAY,WAAA,CAAAC,IAAA,aAAAL,CAAA,cAAAA,CAAA,GAAAM,KAAA,CAAAC,IAAA,C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fF,KAAK,EAAE,SAAS;YAChBG,KAAK,EAAE;UACX,CAAC;QACL,CAAC,CAAC,CACL;QAED,IAAI,OAAOK,KAAK,KAAK,UAAU,EAAE;UAC7B,IAAIiE,MAAM,GAAGjE,KAAK,CAACwD,OAAO,CAAC;UAC3B,IAAIxL,KAAK,CAACK,OAAO,CAAC4L,MAAM,CAAC,IAAIA,MAAM,aAANA,MAAM,eAANA,MAAM,CAAE3L,MAAM,EAAE0L,QAAQ,CAACtK,IAAI,CAAAC,KAAA,CAAbqK,QAAQ,EAAA/M,kBAAA,CAASgN,MAAM,EAAC;QACzE;QACA,IAAI,CAAC9D,aAAa,GAAGqD,OAAO;QAC5B,IAAI,CAACrD,aAAa,CAACwD,QAAQ,CAACK,QAAQ,CAAC;MACzC;IACJ;EAAC;AAAA","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"css.js","names":[],"sources":["analysis-layer/style/index.js"],"sourcesContent":[""],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["analysis-layer/style/index.js"],"sourcesContent":[""],"mappings":"","ignoreList":[]}
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file