@vtx/ol-map 2.0.0-beta.1 → 2.0.0-beta.10

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