@npm9912/v-map 0.1.0

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 (438) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +185 -0
  3. package/dist/cjs/_commonjsHelpers-B83fTs8d.js +36 -0
  4. package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
  5. package/dist/cjs/cesium-provider-BiFFyAl9.js +2598 -0
  6. package/dist/cjs/deck-provider-Ctq3Q8a1.js +47824 -0
  7. package/dist/cjs/geotiff-CEwvF9cG.js +47 -0
  8. package/dist/cjs/geotiff-source-RaNzzWkC.js +1522 -0
  9. package/dist/cjs/index-B1oGO1g-.js +10658 -0
  10. package/dist/cjs/index-B8LHqjyg.js +1765 -0
  11. package/dist/cjs/index-BIL4VsgP.js +310 -0
  12. package/dist/cjs/index-Blku2QY8.js +167 -0
  13. package/dist/cjs/index-CJvvX4yx.js +21 -0
  14. package/dist/cjs/index-CbVT-Con.js +699 -0
  15. package/dist/cjs/index-ISOEpMC3.js +20478 -0
  16. package/dist/cjs/index-JSwBbvGA.js +1621 -0
  17. package/dist/cjs/index.browser-DQhD8Jwl.js +6873 -0
  18. package/dist/cjs/index.cjs.js +2 -0
  19. package/dist/cjs/layer-extension-B_olS0rc.js +65 -0
  20. package/dist/cjs/leaflet-provider-DOqfs7g5.js +1815 -0
  21. package/dist/cjs/loader.cjs.js +13 -0
  22. package/dist/cjs/main-dist-7TykwFci.js +2655 -0
  23. package/dist/cjs/messages-D7h4m8Tx.js +186 -0
  24. package/dist/cjs/openlayers-provider-Dfeg6L4n.js +1604 -0
  25. package/dist/cjs/polygon-layer-B9PrN7vr.js +1300 -0
  26. package/dist/cjs/scenegraph-layer-DwNoxQdi.js +2530 -0
  27. package/dist/cjs/styleconfig-CVRqArk-.js +23 -0
  28. package/dist/cjs/v-map-builder.cjs.entry.js +3786 -0
  29. package/dist/cjs/v-map-layer-geojson_12.cjs.entry.js +40894 -0
  30. package/dist/cjs/v-map-layer-helper-iAzxAg9I.js +285 -0
  31. package/dist/cjs/v-map-layer-terrain-geotiff.cjs.entry.js +258 -0
  32. package/dist/cjs/v-map-layercontrol.cjs.entry.js +247 -0
  33. package/dist/cjs/v-map.cjs.js +25 -0
  34. package/dist/cjs/v-map.v-map-layer-osm.v-map-layergroup-BsXp3BoL.js +582 -0
  35. package/dist/cjs/v-map_3.cjs.entry.js +12 -0
  36. package/dist/collection/collection-manifest.json +30 -0
  37. package/dist/collection/components/v-map/v-map.css +3 -0
  38. package/dist/collection/components/v-map/v-map.js +467 -0
  39. package/dist/collection/components/v-map/v-map.test.js +33 -0
  40. package/dist/collection/components/v-map-builder/v-map-builder.css +1 -0
  41. package/dist/collection/components/v-map-builder/v-map-builder.js +913 -0
  42. package/dist/collection/components/v-map-builder/v-map-builder.test.js +56 -0
  43. package/dist/collection/components/v-map-layer-geojson/v-map-layer-geojson.js +862 -0
  44. package/dist/collection/components/v-map-layer-geojson/v-map-layer-geojson.test.js +42 -0
  45. package/dist/collection/components/v-map-layer-geotiff/v-map-layer-geotiff.css +4 -0
  46. package/dist/collection/components/v-map-layer-geotiff/v-map-layer-geotiff.js +500 -0
  47. package/dist/collection/components/v-map-layer-geotiff/v-map-layer-geotiff.test.js +38 -0
  48. package/dist/collection/components/v-map-layer-google/v-map-layer-google.css +1 -0
  49. package/dist/collection/components/v-map-layer-google/v-map-layer-google.js +442 -0
  50. package/dist/collection/components/v-map-layer-osm/error-api.test.js +108 -0
  51. package/dist/collection/components/v-map-layer-osm/v-map-layer-osm.css +4 -0
  52. package/dist/collection/components/v-map-layer-osm/v-map-layer-osm.js +311 -0
  53. package/dist/collection/components/v-map-layer-osm/v-map-layer-osm.test.js +36 -0
  54. package/dist/collection/components/v-map-layer-scatterplot/v-map-layer-scatterplot.css +1 -0
  55. package/dist/collection/components/v-map-layer-scatterplot/v-map-layer-scatterplot.js +305 -0
  56. package/dist/collection/components/v-map-layer-terrain/v-map-layer-terrain.css +3 -0
  57. package/dist/collection/components/v-map-layer-terrain/v-map-layer-terrain.js +548 -0
  58. package/dist/collection/components/v-map-layer-terrain/v-map-layer-terrain.test.js +36 -0
  59. package/dist/collection/components/v-map-layer-terrain-geotiff/v-map-layer-terrain-geotiff.css +3 -0
  60. package/dist/collection/components/v-map-layer-terrain-geotiff/v-map-layer-terrain-geotiff.js +735 -0
  61. package/dist/collection/components/v-map-layer-terrain-geotiff/v-map-layer-terrain-geotiff.test.js +42 -0
  62. package/dist/collection/components/v-map-layer-tile3d/v-map-layer-tile3d.css +3 -0
  63. package/dist/collection/components/v-map-layer-tile3d/v-map-layer-tile3d.js +449 -0
  64. package/dist/collection/components/v-map-layer-tile3d/v-map-layer-tile3d.test.js +50 -0
  65. package/dist/collection/components/v-map-layer-wcs/v-map-layer-wcs.css +1 -0
  66. package/dist/collection/components/v-map-layer-wcs/v-map-layer-wcs.js +448 -0
  67. package/dist/collection/components/v-map-layer-wcs/v-map-layer-wcs.test.js +39 -0
  68. package/dist/collection/components/v-map-layer-wfs/v-map-layer-wfs.css +1 -0
  69. package/dist/collection/components/v-map-layer-wfs/v-map-layer-wfs.js +489 -0
  70. package/dist/collection/components/v-map-layer-wfs/v-map-layer-wfs.test.js +43 -0
  71. package/dist/collection/components/v-map-layer-wkt/v-map-layer-wkt.css +1 -0
  72. package/dist/collection/components/v-map-layer-wkt/v-map-layer-wkt.js +811 -0
  73. package/dist/collection/components/v-map-layer-wkt/v-map-layer-wkt.test.js +34 -0
  74. package/dist/collection/components/v-map-layer-wms/v-map-layer-wms.css +1 -0
  75. package/dist/collection/components/v-map-layer-wms/v-map-layer-wms.js +453 -0
  76. package/dist/collection/components/v-map-layer-wms/v-map-layer-wms.test.js +36 -0
  77. package/dist/collection/components/v-map-layer-xyz/v-map-layer-xyz.css +1 -0
  78. package/dist/collection/components/v-map-layer-xyz/v-map-layer-xyz.js +331 -0
  79. package/dist/collection/components/v-map-layer-xyz/v-map-layer-xyz.test.js +28 -0
  80. package/dist/collection/components/v-map-layercontrol/v-map-layercontrol.css +74 -0
  81. package/dist/collection/components/v-map-layercontrol/v-map-layercontrol.js +277 -0
  82. package/dist/collection/components/v-map-layercontrol/v-map-layercontrol.test.js +134 -0
  83. package/dist/collection/components/v-map-layergroup/v-map-layergroup.css +4 -0
  84. package/dist/collection/components/v-map-layergroup/v-map-layergroup.js +212 -0
  85. package/dist/collection/components/v-map-layergroup/v-map-layergroup.test.js +39 -0
  86. package/dist/collection/components/v-map-style/v-map-style.css +38 -0
  87. package/dist/collection/components/v-map-style/v-map-style.js +492 -0
  88. package/dist/collection/components/v-map-style/v-map-style.unit.js +62 -0
  89. package/dist/collection/index.js +1 -0
  90. package/dist/collection/layer/v-map-layer-helper.js +281 -0
  91. package/dist/collection/layer/v-map-layer-helper.unit.js +234 -0
  92. package/dist/collection/lib/cesium-loader.js +58 -0
  93. package/dist/collection/lib/ensure-importmap.js +12 -0
  94. package/dist/collection/lib/ensure-importmap.unit.js +57 -0
  95. package/dist/collection/lib/versions.gen.js +6 -0
  96. package/dist/collection/lib/vstyle.js +8 -0
  97. package/dist/collection/map-provider/cesium/CesiumGeoTIFFTerrainProvider.js +285 -0
  98. package/dist/collection/map-provider/cesium/CesiumLayerGroups.js +159 -0
  99. package/dist/collection/map-provider/cesium/GeoTIFFImageryProvider.js +192 -0
  100. package/dist/collection/map-provider/cesium/GeoTIFFImageryProvider.test.js +57 -0
  101. package/dist/collection/map-provider/cesium/cesium-provider.js +1408 -0
  102. package/dist/collection/map-provider/cesium/i-layer.js +1 -0
  103. package/dist/collection/map-provider/cesium/layer-manager.js +467 -0
  104. package/dist/collection/map-provider/deck/DeckGLGeoTIFFLayer.js +483 -0
  105. package/dist/collection/map-provider/deck/DeckGLGeoTIFFTerrainLayer.js +410 -0
  106. package/dist/collection/map-provider/deck/LayerGroupWithModel.js +169 -0
  107. package/dist/collection/map-provider/deck/LayerGroups.js +192 -0
  108. package/dist/collection/map-provider/deck/LayerModel.js +1 -0
  109. package/dist/collection/map-provider/deck/RenderableGroup.js +1 -0
  110. package/dist/collection/map-provider/deck/deck-provider.js +1563 -0
  111. package/dist/collection/map-provider/geotiff/geotiff-source.js +172 -0
  112. package/dist/collection/map-provider/geotiff/utils/AABB2D.js +24 -0
  113. package/dist/collection/map-provider/geotiff/utils/BVHNode2D.js +166 -0
  114. package/dist/collection/map-provider/geotiff/utils/GeoTIFFTileProcessor.js +484 -0
  115. package/dist/collection/map-provider/geotiff/utils/Triangle.js +1 -0
  116. package/dist/collection/map-provider/geotiff/utils/Triangulation.js +321 -0
  117. package/dist/collection/map-provider/geotiff/utils/colormap-utils.js +190 -0
  118. package/dist/collection/map-provider/geotiff/utils/normalization-utils.js +122 -0
  119. package/dist/collection/map-provider/geotiff/utils/sampling-utils.js +108 -0
  120. package/dist/collection/map-provider/leaflet/GeoTIFFGridLayer.js +147 -0
  121. package/dist/collection/map-provider/leaflet/WCSGridLayer.js +124 -0
  122. package/dist/collection/map-provider/leaflet/google-map-tiles-layer.js +352 -0
  123. package/dist/collection/map-provider/leaflet/leaflet-helpers.js +94 -0
  124. package/dist/collection/map-provider/leaflet/leaflet-provider.js +1095 -0
  125. package/dist/collection/map-provider/ol/CustomGeoTiff.js +145 -0
  126. package/dist/collection/map-provider/ol/openlayers-helper.js +26 -0
  127. package/dist/collection/map-provider/ol/openlayers-provider.js +1427 -0
  128. package/dist/collection/map-provider/provider-factory.js +44 -0
  129. package/dist/collection/map-provider/provider-factory.unit.js +66 -0
  130. package/dist/collection/testing/browser-test-utils.js +49 -0
  131. package/dist/collection/testing/e2e-testing.js +122 -0
  132. package/dist/collection/testing/e2e-utils.js +70 -0
  133. package/dist/collection/testing/geotiff-test-server.js +100 -0
  134. package/dist/collection/testing/mocks/geostyler-lyrx-parser.js +12 -0
  135. package/dist/collection/testing/mocks/geostyler-mapbox-parser.js +12 -0
  136. package/dist/collection/testing/mocks/geostyler-qgis-parser.js +12 -0
  137. package/dist/collection/testing/mocks/geostyler-sld-parser.js +13 -0
  138. package/dist/collection/testing/mocks/geostyler-style.js +5 -0
  139. package/dist/collection/testing/setupTests.browser.js +1 -0
  140. package/dist/collection/testing/setupTests.stencil.js +20 -0
  141. package/dist/collection/testing/setupTests.vitest.js +59 -0
  142. package/dist/collection/testing/stencil-testing-wrapper.js +43 -0
  143. package/dist/collection/testing/styleMock.js +1 -0
  144. package/dist/collection/types/color.js +1 -0
  145. package/dist/collection/types/cssmode.js +1 -0
  146. package/dist/collection/types/flavour.js +1 -0
  147. package/dist/collection/types/layerconfig.js +1 -0
  148. package/dist/collection/types/lonlat.js +1 -0
  149. package/dist/collection/types/mapinitoptions.js +1 -0
  150. package/dist/collection/types/mapprovider.js +1 -0
  151. package/dist/collection/types/provideroptions.js +1 -0
  152. package/dist/collection/types/styleconfig.js +19 -0
  153. package/dist/collection/types/styling.js +13 -0
  154. package/dist/collection/types/styling.unit.js +37 -0
  155. package/dist/collection/types/vmaplayer.js +1 -0
  156. package/dist/collection/utils/async-mutex.js +28 -0
  157. package/dist/collection/utils/diff.js +142 -0
  158. package/dist/collection/utils/diff.unit.js +59 -0
  159. package/dist/collection/utils/dom-env.js +43 -0
  160. package/dist/collection/utils/dom-env.unit.js +92 -0
  161. package/dist/collection/utils/events.js +8 -0
  162. package/dist/collection/utils/logger.js +183 -0
  163. package/dist/collection/utils/logger.unit.js +98 -0
  164. package/dist/collection/utils/messages.js +12 -0
  165. package/dist/collection/utils/spatial-utils.js +27 -0
  166. package/dist/collection/utils/spatial-utils.unit.js +24 -0
  167. package/dist/components/_commonjsHelpers.js +1 -0
  168. package/dist/components/cesium-provider.js +1 -0
  169. package/dist/components/deck-provider.js +1 -0
  170. package/dist/components/events.js +1 -0
  171. package/dist/components/geotiff-source.js +1 -0
  172. package/dist/components/geotiff.js +4 -0
  173. package/dist/components/index.browser.js +15 -0
  174. package/dist/components/index.d.ts +35 -0
  175. package/dist/components/index.js +1 -0
  176. package/dist/components/index2.js +1 -0
  177. package/dist/components/index3.js +1 -0
  178. package/dist/components/index4.js +1 -0
  179. package/dist/components/index5.js +1 -0
  180. package/dist/components/index6.js +1 -0
  181. package/dist/components/index7.js +1 -0
  182. package/dist/components/index8.js +7 -0
  183. package/dist/components/layer-extension.js +1 -0
  184. package/dist/components/leaflet-provider.js +1 -0
  185. package/dist/components/main-dist.js +1 -0
  186. package/dist/components/messages.js +1 -0
  187. package/dist/components/openlayers-provider.js +1 -0
  188. package/dist/components/polygon-layer.js +1 -0
  189. package/dist/components/scenegraph-layer.js +1 -0
  190. package/dist/components/styleconfig.js +1 -0
  191. package/dist/components/styling.js +1 -0
  192. package/dist/components/v-map-builder.d.ts +11 -0
  193. package/dist/components/v-map-builder.js +2 -0
  194. package/dist/components/v-map-layer-geojson.d.ts +11 -0
  195. package/dist/components/v-map-layer-geojson.js +1 -0
  196. package/dist/components/v-map-layer-geojson2.js +1 -0
  197. package/dist/components/v-map-layer-geotiff.d.ts +11 -0
  198. package/dist/components/v-map-layer-geotiff.js +1 -0
  199. package/dist/components/v-map-layer-geotiff2.js +1 -0
  200. package/dist/components/v-map-layer-google.d.ts +11 -0
  201. package/dist/components/v-map-layer-google.js +1 -0
  202. package/dist/components/v-map-layer-google2.js +1 -0
  203. package/dist/components/v-map-layer-helper.js +1 -0
  204. package/dist/components/v-map-layer-osm.d.ts +11 -0
  205. package/dist/components/v-map-layer-osm.js +1 -0
  206. package/dist/components/v-map-layer-osm2.js +1 -0
  207. package/dist/components/v-map-layer-scatterplot.d.ts +11 -0
  208. package/dist/components/v-map-layer-scatterplot.js +1 -0
  209. package/dist/components/v-map-layer-scatterplot2.js +1 -0
  210. package/dist/components/v-map-layer-terrain-geotiff.d.ts +11 -0
  211. package/dist/components/v-map-layer-terrain-geotiff.js +1 -0
  212. package/dist/components/v-map-layer-terrain.d.ts +11 -0
  213. package/dist/components/v-map-layer-terrain.js +1 -0
  214. package/dist/components/v-map-layer-terrain2.js +1 -0
  215. package/dist/components/v-map-layer-tile3d.d.ts +11 -0
  216. package/dist/components/v-map-layer-tile3d.js +1 -0
  217. package/dist/components/v-map-layer-tile3d2.js +1 -0
  218. package/dist/components/v-map-layer-wcs.d.ts +11 -0
  219. package/dist/components/v-map-layer-wcs.js +1 -0
  220. package/dist/components/v-map-layer-wcs2.js +1 -0
  221. package/dist/components/v-map-layer-wfs.d.ts +11 -0
  222. package/dist/components/v-map-layer-wfs.js +1 -0
  223. package/dist/components/v-map-layer-wfs2.js +1 -0
  224. package/dist/components/v-map-layer-wkt.d.ts +11 -0
  225. package/dist/components/v-map-layer-wkt.js +1 -0
  226. package/dist/components/v-map-layer-wkt2.js +1 -0
  227. package/dist/components/v-map-layer-wms.d.ts +11 -0
  228. package/dist/components/v-map-layer-wms.js +1 -0
  229. package/dist/components/v-map-layer-wms2.js +1 -0
  230. package/dist/components/v-map-layer-xyz.d.ts +11 -0
  231. package/dist/components/v-map-layer-xyz.js +1 -0
  232. package/dist/components/v-map-layer-xyz2.js +1 -0
  233. package/dist/components/v-map-layercontrol.d.ts +11 -0
  234. package/dist/components/v-map-layercontrol.js +1 -0
  235. package/dist/components/v-map-layergroup.d.ts +11 -0
  236. package/dist/components/v-map-layergroup.js +1 -0
  237. package/dist/components/v-map-layergroup2.js +1 -0
  238. package/dist/components/v-map-style.d.ts +11 -0
  239. package/dist/components/v-map-style.js +1 -0
  240. package/dist/components/v-map-style2.js +10 -0
  241. package/dist/components/v-map.d.ts +11 -0
  242. package/dist/components/v-map.js +1 -0
  243. package/dist/components/v-map2.js +1 -0
  244. package/dist/esm/_commonjsHelpers-E-ZsRS8r.js +32 -0
  245. package/dist/esm/app-globals-DQuL1Twl.js +3 -0
  246. package/dist/esm/cesium-provider-BJfAup3w.js +2596 -0
  247. package/dist/esm/deck-provider-C7U9VDEq.js +47709 -0
  248. package/dist/esm/geotiff-BEWxTIfH.js +45 -0
  249. package/dist/esm/geotiff-source-esnDnC-u.js +1516 -0
  250. package/dist/esm/index-B1zwA4IC.js +685 -0
  251. package/dist/esm/index-BBpiaTpT.js +165 -0
  252. package/dist/esm/index-BIEmlzCf.js +1697 -0
  253. package/dist/esm/index-BUHa4Jj0.js +307 -0
  254. package/dist/esm/index-DbSdn93t.js +20461 -0
  255. package/dist/esm/index-RpJarvr_.js +10656 -0
  256. package/dist/esm/index-jN06TXUp.js +14 -0
  257. package/dist/esm/index-jzneDarq.js +1613 -0
  258. package/dist/esm/index.browser-DhQAXuA7.js +6860 -0
  259. package/dist/esm/index.js +1 -0
  260. package/dist/esm/layer-extension-CZXK5goK.js +63 -0
  261. package/dist/esm/leaflet-provider-Q41TB6ku.js +1794 -0
  262. package/dist/esm/loader.js +11 -0
  263. package/dist/esm/main-dist-CwnA7_Xn.js +2652 -0
  264. package/dist/esm/messages-CMKJzsgL.js +180 -0
  265. package/dist/esm/openlayers-provider-CMsDsQTQ.js +1602 -0
  266. package/dist/esm/polygon-layer-ByhxGhWC.js +1295 -0
  267. package/dist/esm/scenegraph-layer-09K_B6DT.js +2526 -0
  268. package/dist/esm/styleconfig-B-bAcABs.js +21 -0
  269. package/dist/esm/v-map-builder.entry.js +3784 -0
  270. package/dist/esm/v-map-layer-geojson_12.entry.js +40881 -0
  271. package/dist/esm/v-map-layer-helper-Dys44Cgo.js +283 -0
  272. package/dist/esm/v-map-layer-terrain-geotiff.entry.js +256 -0
  273. package/dist/esm/v-map-layercontrol.entry.js +245 -0
  274. package/dist/esm/v-map.js +21 -0
  275. package/dist/esm/v-map.v-map-layer-osm.v-map-layergroup-B4pFHuSf.js +572 -0
  276. package/dist/esm/v-map_3.entry.js +4 -0
  277. package/dist/index.cjs.js +1 -0
  278. package/dist/index.js +1 -0
  279. package/dist/types/cesium-augment.d.ts +5 -0
  280. package/dist/types/components/v-map/v-map.d.ts +70 -0
  281. package/dist/types/components/v-map/v-map.test.d.ts +1 -0
  282. package/dist/types/components/v-map-builder/v-map-builder.d.ts +48 -0
  283. package/dist/types/components/v-map-builder/v-map-builder.test.d.ts +1 -0
  284. package/dist/types/components/v-map-layer-geojson/v-map-layer-geojson.d.ts +129 -0
  285. package/dist/types/components/v-map-layer-geojson/v-map-layer-geojson.test.d.ts +1 -0
  286. package/dist/types/components/v-map-layer-geotiff/v-map-layer-geotiff.d.ts +74 -0
  287. package/dist/types/components/v-map-layer-geotiff/v-map-layer-geotiff.test.d.ts +1 -0
  288. package/dist/types/components/v-map-layer-google/v-map-layer-google.d.ts +78 -0
  289. package/dist/types/components/v-map-layer-osm/error-api.test.d.ts +1 -0
  290. package/dist/types/components/v-map-layer-osm/v-map-layer-osm.d.ts +50 -0
  291. package/dist/types/components/v-map-layer-osm/v-map-layer-osm.test.d.ts +1 -0
  292. package/dist/types/components/v-map-layer-scatterplot/v-map-layer-scatterplot.d.ts +54 -0
  293. package/dist/types/components/v-map-layer-terrain/v-map-layer-terrain.d.ts +74 -0
  294. package/dist/types/components/v-map-layer-terrain/v-map-layer-terrain.test.d.ts +1 -0
  295. package/dist/types/components/v-map-layer-terrain-geotiff/v-map-layer-terrain-geotiff.d.ts +117 -0
  296. package/dist/types/components/v-map-layer-terrain-geotiff/v-map-layer-terrain-geotiff.test.d.ts +1 -0
  297. package/dist/types/components/v-map-layer-tile3d/v-map-layer-tile3d.d.ts +69 -0
  298. package/dist/types/components/v-map-layer-tile3d/v-map-layer-tile3d.test.d.ts +1 -0
  299. package/dist/types/components/v-map-layer-wcs/v-map-layer-wcs.d.ts +47 -0
  300. package/dist/types/components/v-map-layer-wcs/v-map-layer-wcs.test.d.ts +1 -0
  301. package/dist/types/components/v-map-layer-wfs/v-map-layer-wfs.d.ts +59 -0
  302. package/dist/types/components/v-map-layer-wfs/v-map-layer-wfs.test.d.ts +1 -0
  303. package/dist/types/components/v-map-layer-wkt/v-map-layer-wkt.d.ts +132 -0
  304. package/dist/types/components/v-map-layer-wkt/v-map-layer-wkt.test.d.ts +1 -0
  305. package/dist/types/components/v-map-layer-wms/v-map-layer-wms.d.ts +76 -0
  306. package/dist/types/components/v-map-layer-wms/v-map-layer-wms.test.d.ts +1 -0
  307. package/dist/types/components/v-map-layer-xyz/v-map-layer-xyz.d.ts +59 -0
  308. package/dist/types/components/v-map-layer-xyz/v-map-layer-xyz.test.d.ts +1 -0
  309. package/dist/types/components/v-map-layercontrol/v-map-layercontrol.d.ts +44 -0
  310. package/dist/types/components/v-map-layercontrol/v-map-layercontrol.test.d.ts +1 -0
  311. package/dist/types/components/v-map-layergroup/v-map-layergroup.d.ts +31 -0
  312. package/dist/types/components/v-map-layergroup/v-map-layergroup.test.d.ts +1 -0
  313. package/dist/types/components/v-map-style/v-map-style.d.ts +75 -0
  314. package/dist/types/components/v-map-style/v-map-style.unit.d.ts +1 -0
  315. package/dist/types/components.d.ts +2391 -0
  316. package/dist/types/globals.d.ts +16 -0
  317. package/dist/types/index.d.ts +10 -0
  318. package/dist/types/layer/v-map-layer-helper.d.ts +45 -0
  319. package/dist/types/layer/v-map-layer-helper.unit.d.ts +1 -0
  320. package/dist/types/leaflet-augment.d.ts +15 -0
  321. package/dist/types/lib/cesium-loader.d.ts +3 -0
  322. package/dist/types/lib/ensure-importmap.d.ts +3 -0
  323. package/dist/types/lib/ensure-importmap.unit.d.ts +1 -0
  324. package/dist/types/lib/versions.gen.d.ts +5 -0
  325. package/dist/types/lib/vstyle.d.ts +44 -0
  326. package/dist/types/map-provider/cesium/CesiumGeoTIFFTerrainProvider.d.ts +92 -0
  327. package/dist/types/map-provider/cesium/CesiumLayerGroups.d.ts +64 -0
  328. package/dist/types/map-provider/cesium/GeoTIFFImageryProvider.d.ts +75 -0
  329. package/dist/types/map-provider/cesium/GeoTIFFImageryProvider.test.d.ts +1 -0
  330. package/dist/types/map-provider/cesium/cesium-provider.d.ts +87 -0
  331. package/dist/types/map-provider/cesium/i-layer.d.ts +11 -0
  332. package/dist/types/map-provider/cesium/layer-manager.d.ts +31 -0
  333. package/dist/types/map-provider/deck/DeckGLGeoTIFFLayer.d.ts +91 -0
  334. package/dist/types/map-provider/deck/DeckGLGeoTIFFTerrainLayer.d.ts +82 -0
  335. package/dist/types/map-provider/deck/LayerGroupWithModel.d.ts +55 -0
  336. package/dist/types/map-provider/deck/LayerGroups.d.ts +63 -0
  337. package/dist/types/map-provider/deck/LayerModel.d.ts +8 -0
  338. package/dist/types/map-provider/deck/RenderableGroup.d.ts +20 -0
  339. package/dist/types/map-provider/deck/deck-provider.d.ts +92 -0
  340. package/dist/types/map-provider/geotiff/geotiff-source.d.ts +30 -0
  341. package/dist/types/map-provider/geotiff/utils/AABB2D.d.ts +28 -0
  342. package/dist/types/map-provider/geotiff/utils/BVHNode2D.d.ts +36 -0
  343. package/dist/types/map-provider/geotiff/utils/GeoTIFFTileProcessor.d.ts +116 -0
  344. package/dist/types/map-provider/geotiff/utils/Triangle.d.ts +5 -0
  345. package/dist/types/map-provider/geotiff/utils/Triangulation.d.ts +94 -0
  346. package/dist/types/map-provider/geotiff/utils/colormap-utils.d.ts +47 -0
  347. package/dist/types/map-provider/geotiff/utils/normalization-utils.d.ts +39 -0
  348. package/dist/types/map-provider/geotiff/utils/sampling-utils.d.ts +13 -0
  349. package/dist/types/map-provider/leaflet/GeoTIFFGridLayer.d.ts +34 -0
  350. package/dist/types/map-provider/leaflet/WCSGridLayer.d.ts +38 -0
  351. package/dist/types/map-provider/leaflet/google-map-tiles-layer.d.ts +73 -0
  352. package/dist/types/map-provider/leaflet/leaflet-helpers.d.ts +6 -0
  353. package/dist/types/map-provider/leaflet/leaflet-provider.d.ts +73 -0
  354. package/dist/types/map-provider/ol/CustomGeoTiff.d.ts +14 -0
  355. package/dist/types/map-provider/ol/openlayers-helper.d.ts +2 -0
  356. package/dist/types/map-provider/ol/openlayers-provider.d.ts +80 -0
  357. package/dist/types/map-provider/provider-factory.d.ts +12 -0
  358. package/dist/types/map-provider/provider-factory.unit.d.ts +1 -0
  359. package/dist/types/namespaces.d.ts +3 -0
  360. package/dist/types/ol-augment.d.ts +3 -0
  361. package/dist/types/ol-override.d.ts +7 -0
  362. package/dist/types/ol.d.ts +10 -0
  363. package/dist/types/stencil-public-runtime.d.ts +1860 -0
  364. package/dist/types/testing/browser-test-utils.d.ts +6 -0
  365. package/dist/types/testing/e2e-testing.d.ts +5 -0
  366. package/dist/types/testing/e2e-utils.d.ts +4 -0
  367. package/dist/types/testing/geotiff-test-server.d.ts +5 -0
  368. package/dist/types/testing/mocks/geostyler-lyrx-parser.d.ts +11 -0
  369. package/dist/types/testing/mocks/geostyler-mapbox-parser.d.ts +11 -0
  370. package/dist/types/testing/mocks/geostyler-qgis-parser.d.ts +11 -0
  371. package/dist/types/testing/mocks/geostyler-sld-parser.d.ts +11 -0
  372. package/dist/types/testing/mocks/geostyler-style.d.ts +5 -0
  373. package/dist/types/testing/setupTests.browser.d.ts +1 -0
  374. package/dist/types/testing/setupTests.stencil.d.ts +1 -0
  375. package/dist/types/testing/setupTests.vitest.d.ts +1 -0
  376. package/dist/types/testing/stencil-testing-wrapper.d.ts +3 -0
  377. package/dist/types/types/color.d.ts +1 -0
  378. package/dist/types/types/cssmode.d.ts +1 -0
  379. package/dist/types/types/flavour.d.ts +1 -0
  380. package/dist/types/types/layerconfig.d.ts +207 -0
  381. package/dist/types/types/lonlat.d.ts +1 -0
  382. package/dist/types/types/mapinitoptions.d.ts +4 -0
  383. package/dist/types/types/mapprovider.d.ts +46 -0
  384. package/dist/types/types/provideroptions.d.ts +8 -0
  385. package/dist/types/types/styleconfig.d.ts +27 -0
  386. package/dist/types/types/styling.d.ts +24 -0
  387. package/dist/types/types/styling.unit.d.ts +1 -0
  388. package/dist/types/types/vmaplayer.d.ts +10 -0
  389. package/dist/types/utils/async-mutex.d.ts +7 -0
  390. package/dist/types/utils/diff.d.ts +64 -0
  391. package/dist/types/utils/diff.unit.d.ts +1 -0
  392. package/dist/types/utils/dom-env.d.ts +5 -0
  393. package/dist/types/utils/dom-env.unit.d.ts +1 -0
  394. package/dist/types/utils/events.d.ts +29 -0
  395. package/dist/types/utils/logger.d.ts +47 -0
  396. package/dist/types/utils/logger.unit.d.ts +1 -0
  397. package/dist/types/utils/messages.d.ts +12 -0
  398. package/dist/types/utils/spatial-utils.d.ts +6 -0
  399. package/dist/types/utils/spatial-utils.unit.d.ts +1 -0
  400. package/dist/types/versions.d.ts +7 -0
  401. package/dist/v-map/index.esm.js +0 -0
  402. package/dist/v-map/p--vVleK-M.js +1 -0
  403. package/dist/v-map/p-09d10db0.entry.js +1 -0
  404. package/dist/v-map/p-5eba6058.entry.js +10 -0
  405. package/dist/v-map/p-6b102336.entry.js +1 -0
  406. package/dist/v-map/p-B-bAcABs.js +1 -0
  407. package/dist/v-map/p-BBpiaTpT.js +1 -0
  408. package/dist/v-map/p-BdijL4Av.js +1 -0
  409. package/dist/v-map/p-Be3r33VF.js +4 -0
  410. package/dist/v-map/p-BeFu0ap4.js +1 -0
  411. package/dist/v-map/p-BxFJezdK.js +1 -0
  412. package/dist/v-map/p-CMKJzsgL.js +1 -0
  413. package/dist/v-map/p-CXfA_q8m.js +1 -0
  414. package/dist/v-map/p-CZqY0yW4.js +1 -0
  415. package/dist/v-map/p-CafTHT9i.js +1 -0
  416. package/dist/v-map/p-DCTHyf58.js +1 -0
  417. package/dist/v-map/p-DQuL1Twl.js +1 -0
  418. package/dist/v-map/p-DR9McdNX.js +1 -0
  419. package/dist/v-map/p-Dckgonw8.js +1 -0
  420. package/dist/v-map/p-DhQAXuA7.js +15 -0
  421. package/dist/v-map/p-DmICdG34.js +7 -0
  422. package/dist/v-map/p-DrOQ9V4h.js +1 -0
  423. package/dist/v-map/p-DvHXtWUg.js +1 -0
  424. package/dist/v-map/p-E-ZsRS8r.js +1 -0
  425. package/dist/v-map/p-MyTSFnEk.js +1 -0
  426. package/dist/v-map/p-RpJarvr_.js +1 -0
  427. package/dist/v-map/p-WaMDUuAz.js +1 -0
  428. package/dist/v-map/p-aa410e64.entry.js +2 -0
  429. package/dist/v-map/p-c21c93fe.entry.js +1 -0
  430. package/dist/v-map/p-jzneDarq.js +2 -0
  431. package/dist/v-map/p-uiIP-taz.js +1 -0
  432. package/dist/v-map/v-map.esm.js +1 -0
  433. package/loader/cdn.js +1 -0
  434. package/loader/index.cjs.js +1 -0
  435. package/loader/index.d.ts +24 -0
  436. package/loader/index.es2017.js +1 -0
  437. package/loader/index.js +2 -0
  438. package/package.json +193 -0
@@ -0,0 +1,811 @@
1
+ import { VMapLayerHelper } from "../../layer/v-map-layer-helper";
2
+ import { log } from "../../utils/logger";
3
+ import MSG from "../../utils/messages";
4
+ import { isGeoStylerStyle } from "../../types/styling";
5
+ const MSG_COMPONENT = 'v-map-layer-wkt - ';
6
+ export class VMapLayerWkt {
7
+ el;
8
+ /** Current load state of the layer. */
9
+ loadState = 'idle';
10
+ /**
11
+ * WKT-Geometrie (z. B. "POINT(11.57 48.14)" oder "POLYGON((...))").
12
+ */
13
+ wkt;
14
+ /**
15
+ * URL, von der eine WKT-Geometrie geladen wird (alternativ zu `wkt`).
16
+ */
17
+ url;
18
+ /**
19
+ * Sichtbarkeit des Layers.
20
+ * @default true
21
+ */
22
+ visible = true;
23
+ /**
24
+ * Globale Opazität (0–1).
25
+ * @default 1
26
+ */
27
+ opacity = 1.0;
28
+ /**
29
+ * Z-index for layer stacking order. Higher values render on top.
30
+ */
31
+ zIndex = 1000;
32
+ // ========== Styling Properties ==========
33
+ /**
34
+ * Fill color for polygon geometries (CSS color value)
35
+ * @default 'rgba(0,100,255,0.3)'
36
+ */
37
+ fillColor;
38
+ /**
39
+ * Fill opacity for polygon geometries (0-1)
40
+ * @default 0.3
41
+ */
42
+ fillOpacity;
43
+ /**
44
+ * Stroke color for lines and polygon outlines (CSS color value)
45
+ * @default 'rgba(0,100,255,1)'
46
+ */
47
+ strokeColor;
48
+ /**
49
+ * Stroke width in pixels
50
+ * @default 2
51
+ */
52
+ strokeWidth;
53
+ /**
54
+ * Stroke opacity (0-1)
55
+ * @default 1
56
+ */
57
+ strokeOpacity;
58
+ /**
59
+ * Point radius for point geometries in pixels
60
+ * @default 6
61
+ */
62
+ pointRadius;
63
+ /**
64
+ * Point color for point geometries (CSS color value)
65
+ * @default 'rgba(0,100,255,1)'
66
+ */
67
+ pointColor;
68
+ /**
69
+ * Icon URL for point features (alternative to pointColor/pointRadius)
70
+ */
71
+ iconUrl;
72
+ /**
73
+ * Icon size as [width, height] in pixels (comma-separated string like "32,32")
74
+ * @default "32,32"
75
+ */
76
+ iconSize;
77
+ /**
78
+ * Text property name from feature properties to display as label
79
+ */
80
+ textProperty;
81
+ /**
82
+ * Text color for labels (CSS color value)
83
+ * @default '#000000'
84
+ */
85
+ textColor;
86
+ /**
87
+ * Text size for labels in pixels
88
+ * @default 12
89
+ */
90
+ textSize;
91
+ /**
92
+ * Signalisiert, dass das WKT-Layer initialisiert ist.
93
+ * @event ready
94
+ */
95
+ ready;
96
+ didLoad = false;
97
+ hasLoadedOnce = false;
98
+ helper;
99
+ setLoadState(state) {
100
+ this.loadState = state;
101
+ }
102
+ /** Returns the last error detail, if any. */
103
+ async getError() {
104
+ return this.helper?.getError();
105
+ }
106
+ appliedGeostylerStyle;
107
+ async onWktChanged(oldValue, newValue) {
108
+ log(MSG_COMPONENT + 'onWktChanged');
109
+ if (oldValue !== newValue) {
110
+ await this.helper?.updateLayer({
111
+ type: 'wkt',
112
+ data: {
113
+ wkt: this.wkt,
114
+ url: this.url,
115
+ },
116
+ });
117
+ }
118
+ }
119
+ async onUrlChanged(oldValue, newValue) {
120
+ log(MSG_COMPONENT + 'onUrlChanged');
121
+ if (oldValue !== newValue) {
122
+ await this.helper?.updateLayer({
123
+ type: 'wkt',
124
+ data: {
125
+ wkt: this.wkt,
126
+ url: this.url,
127
+ },
128
+ });
129
+ }
130
+ }
131
+ async onVisibleChanged() {
132
+ log(MSG_COMPONENT + 'onVisibleChanged');
133
+ await this.helper?.setVisible(this.visible);
134
+ }
135
+ async onOpacityChanged() {
136
+ log(MSG_COMPONENT + 'onOpacityChanged');
137
+ await this.helper?.setOpacity(this.opacity);
138
+ }
139
+ async onZIndexChanged() {
140
+ log(MSG_COMPONENT + 'onZIndexChanged');
141
+ await this.helper?.setZIndex(this.zIndex);
142
+ }
143
+ // ========== Styling Property Watchers ==========
144
+ async onStyleChanged() {
145
+ log(MSG_COMPONENT + 'onStyleChanged');
146
+ // Trigger layer recreation with new style
147
+ await this.helper?.updateLayer({
148
+ type: 'wkt',
149
+ data: {
150
+ wkt: this.wkt,
151
+ url: this.url,
152
+ },
153
+ });
154
+ }
155
+ /**
156
+ * Listen for style events from v-map-style components
157
+ */
158
+ async onStyleReady(event) {
159
+ if (isGeoStylerStyle(event.detail.style)) {
160
+ if (this.isTargetedByStyle(event.detail.layerIds)) {
161
+ log(MSG_COMPONENT + 'Applying geostyler style');
162
+ this.appliedGeostylerStyle = event.detail.style;
163
+ await this.updateLayerWithGeostylerStyle();
164
+ }
165
+ }
166
+ }
167
+ /**
168
+ * Check if this layer is targeted by a style component
169
+ */
170
+ isTargetedByStyle(layerIds) {
171
+ if (!layerIds)
172
+ return false;
173
+ return layerIds.includes(this.el.id) || layerIds.length === 0;
174
+ }
175
+ async applyExistingStyles() {
176
+ const styleComponents = Array.from(document.querySelectorAll('v-map-style'));
177
+ this.appliedGeostylerStyle = undefined;
178
+ for (const styleComponent of styleComponents) {
179
+ const style = styleComponent.getStyle
180
+ ? await styleComponent.getStyle()
181
+ : undefined;
182
+ if (!style)
183
+ continue;
184
+ if (!isGeoStylerStyle(style))
185
+ continue;
186
+ const layerTargetIds = styleComponent.getLayerTargetIds
187
+ ? await styleComponent.getLayerTargetIds()
188
+ : undefined;
189
+ if (!layerTargetIds)
190
+ continue;
191
+ if (!this.isTargetedByStyle(layerTargetIds))
192
+ continue;
193
+ log(MSG_COMPONENT + 'Applying existing geostyler style');
194
+ this.appliedGeostylerStyle = style;
195
+ break;
196
+ }
197
+ await this.updateLayerWithGeostylerStyle();
198
+ }
199
+ /**
200
+ * Update the layer with the applied geostyler style
201
+ */
202
+ async updateLayerWithGeostylerStyle() {
203
+ if (!this.appliedGeostylerStyle || !this.helper)
204
+ return;
205
+ await this.helper.updateLayer({
206
+ type: 'wkt',
207
+ data: {
208
+ wkt: this.wkt,
209
+ url: this.url,
210
+ geostylerStyle: this.appliedGeostylerStyle,
211
+ },
212
+ });
213
+ }
214
+ isReady() {
215
+ return this.didLoad;
216
+ }
217
+ /**
218
+ * Returns the internal layer ID used by the map provider.
219
+ */
220
+ async getLayerId() {
221
+ return this.helper.getLayerId();
222
+ }
223
+ async connectedCallback() {
224
+ log(MSG_COMPONENT + MSG.COMPONENT_CONNECTED_CALLBACK);
225
+ if (!this.hasLoadedOnce)
226
+ return;
227
+ this.helper.startLoading();
228
+ await this.helper.initLayer(() => this.createLayerConfig(), this.el.id);
229
+ }
230
+ createLayerConfig() {
231
+ // Parse iconSize string to array
232
+ const iconSizeArray = this.iconSize
233
+ ? this.iconSize.split(',').map(s => parseInt(s.trim(), 10))
234
+ : undefined;
235
+ const style = {
236
+ fillColor: this.fillColor,
237
+ fillOpacity: this.fillOpacity,
238
+ strokeColor: this.strokeColor,
239
+ strokeWidth: this.strokeWidth,
240
+ strokeOpacity: this.strokeOpacity,
241
+ pointRadius: this.pointRadius,
242
+ pointColor: this.pointColor,
243
+ iconUrl: this.iconUrl,
244
+ iconSize: iconSizeArray,
245
+ textProperty: this.textProperty,
246
+ textColor: this.textColor,
247
+ textSize: this.textSize,
248
+ };
249
+ const config = {
250
+ type: 'wkt',
251
+ wkt: this.wkt,
252
+ url: this.url,
253
+ visible: this.visible,
254
+ zIndex: this.zIndex,
255
+ opacity: this.opacity,
256
+ style,
257
+ };
258
+ // Add geostyler style if available (takes precedence over component style props)
259
+ if (this.appliedGeostylerStyle) {
260
+ config.geostylerStyle = this.appliedGeostylerStyle;
261
+ }
262
+ return config;
263
+ }
264
+ async componentWillLoad() {
265
+ log(MSG_COMPONENT + MSG.COMPONENT_WILL_LOAD);
266
+ this.helper = new VMapLayerHelper(this.el, this);
267
+ }
268
+ async componentDidLoad() {
269
+ log(MSG_COMPONENT + MSG.COMPONENT_DID_LOAD);
270
+ this.helper.startLoading();
271
+ await this.helper.initLayer(() => this.createLayerConfig(), this.el.id);
272
+ await this.applyExistingStyles();
273
+ this.hasLoadedOnce = true;
274
+ this.didLoad = true;
275
+ this.ready.emit();
276
+ }
277
+ async disconnectedCallback() {
278
+ log(MSG_COMPONENT + MSG.COMPONENT_DISCONNECTED_CALLBACK);
279
+ await this.helper?.dispose();
280
+ }
281
+ render() {
282
+ return;
283
+ }
284
+ static get is() { return "v-map-layer-wkt"; }
285
+ static get encapsulation() { return "shadow"; }
286
+ static get originalStyleUrls() {
287
+ return {
288
+ "$": ["v-map-layer-wkt.css"]
289
+ };
290
+ }
291
+ static get styleUrls() {
292
+ return {
293
+ "$": ["v-map-layer-wkt.css"]
294
+ };
295
+ }
296
+ static get properties() {
297
+ return {
298
+ "loadState": {
299
+ "type": "string",
300
+ "mutable": true,
301
+ "complexType": {
302
+ "original": "'idle' | 'loading' | 'ready' | 'error'",
303
+ "resolved": "\"error\" | \"idle\" | \"loading\" | \"ready\"",
304
+ "references": {}
305
+ },
306
+ "required": false,
307
+ "optional": false,
308
+ "docs": {
309
+ "tags": [],
310
+ "text": "Current load state of the layer."
311
+ },
312
+ "getter": false,
313
+ "setter": false,
314
+ "reflect": true,
315
+ "attribute": "load-state",
316
+ "defaultValue": "'idle'"
317
+ },
318
+ "wkt": {
319
+ "type": "string",
320
+ "mutable": false,
321
+ "complexType": {
322
+ "original": "string",
323
+ "resolved": "string",
324
+ "references": {}
325
+ },
326
+ "required": false,
327
+ "optional": true,
328
+ "docs": {
329
+ "tags": [],
330
+ "text": "WKT-Geometrie (z. B. \"POINT(11.57 48.14)\" oder \"POLYGON((...))\")."
331
+ },
332
+ "getter": false,
333
+ "setter": false,
334
+ "reflect": true,
335
+ "attribute": "wkt"
336
+ },
337
+ "url": {
338
+ "type": "string",
339
+ "mutable": false,
340
+ "complexType": {
341
+ "original": "string",
342
+ "resolved": "string",
343
+ "references": {}
344
+ },
345
+ "required": false,
346
+ "optional": true,
347
+ "docs": {
348
+ "tags": [],
349
+ "text": "URL, von der eine WKT-Geometrie geladen wird (alternativ zu `wkt`)."
350
+ },
351
+ "getter": false,
352
+ "setter": false,
353
+ "reflect": true,
354
+ "attribute": "url"
355
+ },
356
+ "visible": {
357
+ "type": "boolean",
358
+ "mutable": false,
359
+ "complexType": {
360
+ "original": "boolean",
361
+ "resolved": "boolean",
362
+ "references": {}
363
+ },
364
+ "required": false,
365
+ "optional": false,
366
+ "docs": {
367
+ "tags": [{
368
+ "name": "default",
369
+ "text": "true"
370
+ }],
371
+ "text": "Sichtbarkeit des Layers."
372
+ },
373
+ "getter": false,
374
+ "setter": false,
375
+ "reflect": true,
376
+ "attribute": "visible",
377
+ "defaultValue": "true"
378
+ },
379
+ "opacity": {
380
+ "type": "number",
381
+ "mutable": false,
382
+ "complexType": {
383
+ "original": "number",
384
+ "resolved": "number",
385
+ "references": {}
386
+ },
387
+ "required": false,
388
+ "optional": false,
389
+ "docs": {
390
+ "tags": [{
391
+ "name": "default",
392
+ "text": "1"
393
+ }],
394
+ "text": "Globale Opazit\u00E4t (0\u20131)."
395
+ },
396
+ "getter": false,
397
+ "setter": false,
398
+ "reflect": true,
399
+ "attribute": "opacity",
400
+ "defaultValue": "1.0"
401
+ },
402
+ "zIndex": {
403
+ "type": "number",
404
+ "mutable": false,
405
+ "complexType": {
406
+ "original": "number",
407
+ "resolved": "number",
408
+ "references": {}
409
+ },
410
+ "required": false,
411
+ "optional": false,
412
+ "docs": {
413
+ "tags": [],
414
+ "text": "Z-index for layer stacking order. Higher values render on top."
415
+ },
416
+ "getter": false,
417
+ "setter": false,
418
+ "reflect": true,
419
+ "attribute": "z-index",
420
+ "defaultValue": "1000"
421
+ },
422
+ "fillColor": {
423
+ "type": "string",
424
+ "mutable": false,
425
+ "complexType": {
426
+ "original": "string",
427
+ "resolved": "string",
428
+ "references": {}
429
+ },
430
+ "required": false,
431
+ "optional": true,
432
+ "docs": {
433
+ "tags": [{
434
+ "name": "default",
435
+ "text": "'rgba(0,100,255,0.3)'"
436
+ }],
437
+ "text": "Fill color for polygon geometries (CSS color value)"
438
+ },
439
+ "getter": false,
440
+ "setter": false,
441
+ "reflect": true,
442
+ "attribute": "fill-color"
443
+ },
444
+ "fillOpacity": {
445
+ "type": "number",
446
+ "mutable": false,
447
+ "complexType": {
448
+ "original": "number",
449
+ "resolved": "number",
450
+ "references": {}
451
+ },
452
+ "required": false,
453
+ "optional": true,
454
+ "docs": {
455
+ "tags": [{
456
+ "name": "default",
457
+ "text": "0.3"
458
+ }],
459
+ "text": "Fill opacity for polygon geometries (0-1)"
460
+ },
461
+ "getter": false,
462
+ "setter": false,
463
+ "reflect": true,
464
+ "attribute": "fill-opacity"
465
+ },
466
+ "strokeColor": {
467
+ "type": "string",
468
+ "mutable": false,
469
+ "complexType": {
470
+ "original": "string",
471
+ "resolved": "string",
472
+ "references": {}
473
+ },
474
+ "required": false,
475
+ "optional": true,
476
+ "docs": {
477
+ "tags": [{
478
+ "name": "default",
479
+ "text": "'rgba(0,100,255,1)'"
480
+ }],
481
+ "text": "Stroke color for lines and polygon outlines (CSS color value)"
482
+ },
483
+ "getter": false,
484
+ "setter": false,
485
+ "reflect": true,
486
+ "attribute": "stroke-color"
487
+ },
488
+ "strokeWidth": {
489
+ "type": "number",
490
+ "mutable": false,
491
+ "complexType": {
492
+ "original": "number",
493
+ "resolved": "number",
494
+ "references": {}
495
+ },
496
+ "required": false,
497
+ "optional": true,
498
+ "docs": {
499
+ "tags": [{
500
+ "name": "default",
501
+ "text": "2"
502
+ }],
503
+ "text": "Stroke width in pixels"
504
+ },
505
+ "getter": false,
506
+ "setter": false,
507
+ "reflect": true,
508
+ "attribute": "stroke-width"
509
+ },
510
+ "strokeOpacity": {
511
+ "type": "number",
512
+ "mutable": false,
513
+ "complexType": {
514
+ "original": "number",
515
+ "resolved": "number",
516
+ "references": {}
517
+ },
518
+ "required": false,
519
+ "optional": true,
520
+ "docs": {
521
+ "tags": [{
522
+ "name": "default",
523
+ "text": "1"
524
+ }],
525
+ "text": "Stroke opacity (0-1)"
526
+ },
527
+ "getter": false,
528
+ "setter": false,
529
+ "reflect": true,
530
+ "attribute": "stroke-opacity"
531
+ },
532
+ "pointRadius": {
533
+ "type": "number",
534
+ "mutable": false,
535
+ "complexType": {
536
+ "original": "number",
537
+ "resolved": "number",
538
+ "references": {}
539
+ },
540
+ "required": false,
541
+ "optional": true,
542
+ "docs": {
543
+ "tags": [{
544
+ "name": "default",
545
+ "text": "6"
546
+ }],
547
+ "text": "Point radius for point geometries in pixels"
548
+ },
549
+ "getter": false,
550
+ "setter": false,
551
+ "reflect": true,
552
+ "attribute": "point-radius"
553
+ },
554
+ "pointColor": {
555
+ "type": "string",
556
+ "mutable": false,
557
+ "complexType": {
558
+ "original": "string",
559
+ "resolved": "string",
560
+ "references": {}
561
+ },
562
+ "required": false,
563
+ "optional": true,
564
+ "docs": {
565
+ "tags": [{
566
+ "name": "default",
567
+ "text": "'rgba(0,100,255,1)'"
568
+ }],
569
+ "text": "Point color for point geometries (CSS color value)"
570
+ },
571
+ "getter": false,
572
+ "setter": false,
573
+ "reflect": true,
574
+ "attribute": "point-color"
575
+ },
576
+ "iconUrl": {
577
+ "type": "string",
578
+ "mutable": false,
579
+ "complexType": {
580
+ "original": "string",
581
+ "resolved": "string",
582
+ "references": {}
583
+ },
584
+ "required": false,
585
+ "optional": true,
586
+ "docs": {
587
+ "tags": [],
588
+ "text": "Icon URL for point features (alternative to pointColor/pointRadius)"
589
+ },
590
+ "getter": false,
591
+ "setter": false,
592
+ "reflect": true,
593
+ "attribute": "icon-url"
594
+ },
595
+ "iconSize": {
596
+ "type": "string",
597
+ "mutable": false,
598
+ "complexType": {
599
+ "original": "string",
600
+ "resolved": "string",
601
+ "references": {}
602
+ },
603
+ "required": false,
604
+ "optional": true,
605
+ "docs": {
606
+ "tags": [{
607
+ "name": "default",
608
+ "text": "\"32,32\""
609
+ }],
610
+ "text": "Icon size as [width, height] in pixels (comma-separated string like \"32,32\")"
611
+ },
612
+ "getter": false,
613
+ "setter": false,
614
+ "reflect": true,
615
+ "attribute": "icon-size"
616
+ },
617
+ "textProperty": {
618
+ "type": "string",
619
+ "mutable": false,
620
+ "complexType": {
621
+ "original": "string",
622
+ "resolved": "string",
623
+ "references": {}
624
+ },
625
+ "required": false,
626
+ "optional": true,
627
+ "docs": {
628
+ "tags": [],
629
+ "text": "Text property name from feature properties to display as label"
630
+ },
631
+ "getter": false,
632
+ "setter": false,
633
+ "reflect": true,
634
+ "attribute": "text-property"
635
+ },
636
+ "textColor": {
637
+ "type": "string",
638
+ "mutable": false,
639
+ "complexType": {
640
+ "original": "string",
641
+ "resolved": "string",
642
+ "references": {}
643
+ },
644
+ "required": false,
645
+ "optional": true,
646
+ "docs": {
647
+ "tags": [{
648
+ "name": "default",
649
+ "text": "'#000000'"
650
+ }],
651
+ "text": "Text color for labels (CSS color value)"
652
+ },
653
+ "getter": false,
654
+ "setter": false,
655
+ "reflect": true,
656
+ "attribute": "text-color"
657
+ },
658
+ "textSize": {
659
+ "type": "number",
660
+ "mutable": false,
661
+ "complexType": {
662
+ "original": "number",
663
+ "resolved": "number",
664
+ "references": {}
665
+ },
666
+ "required": false,
667
+ "optional": true,
668
+ "docs": {
669
+ "tags": [{
670
+ "name": "default",
671
+ "text": "12"
672
+ }],
673
+ "text": "Text size for labels in pixels"
674
+ },
675
+ "getter": false,
676
+ "setter": false,
677
+ "reflect": true,
678
+ "attribute": "text-size"
679
+ }
680
+ };
681
+ }
682
+ static get events() {
683
+ return [{
684
+ "method": "ready",
685
+ "name": "ready",
686
+ "bubbles": true,
687
+ "cancelable": true,
688
+ "composed": true,
689
+ "docs": {
690
+ "tags": [{
691
+ "name": "event",
692
+ "text": "ready"
693
+ }],
694
+ "text": "Signalisiert, dass das WKT-Layer initialisiert ist."
695
+ },
696
+ "complexType": {
697
+ "original": "void",
698
+ "resolved": "void",
699
+ "references": {}
700
+ }
701
+ }];
702
+ }
703
+ static get methods() {
704
+ return {
705
+ "getError": {
706
+ "complexType": {
707
+ "signature": "() => Promise<VMapErrorDetail | undefined>",
708
+ "parameters": [],
709
+ "references": {
710
+ "Promise": {
711
+ "location": "global",
712
+ "id": "global::Promise"
713
+ },
714
+ "VMapErrorDetail": {
715
+ "location": "import",
716
+ "path": "../../utils/events",
717
+ "id": "src/utils/events.ts::VMapErrorDetail",
718
+ "referenceLocation": "VMapErrorDetail"
719
+ }
720
+ },
721
+ "return": "Promise<VMapErrorDetail>"
722
+ },
723
+ "docs": {
724
+ "text": "Returns the last error detail, if any.",
725
+ "tags": []
726
+ }
727
+ },
728
+ "getLayerId": {
729
+ "complexType": {
730
+ "signature": "() => Promise<string>",
731
+ "parameters": [],
732
+ "references": {
733
+ "Promise": {
734
+ "location": "global",
735
+ "id": "global::Promise"
736
+ }
737
+ },
738
+ "return": "Promise<string>"
739
+ },
740
+ "docs": {
741
+ "text": "Returns the internal layer ID used by the map provider.",
742
+ "tags": []
743
+ }
744
+ }
745
+ };
746
+ }
747
+ static get elementRef() { return "el"; }
748
+ static get watchers() {
749
+ return [{
750
+ "propName": "wkt",
751
+ "methodName": "onWktChanged"
752
+ }, {
753
+ "propName": "url",
754
+ "methodName": "onUrlChanged"
755
+ }, {
756
+ "propName": "visible",
757
+ "methodName": "onVisibleChanged"
758
+ }, {
759
+ "propName": "opacity",
760
+ "methodName": "onOpacityChanged"
761
+ }, {
762
+ "propName": "zIndex",
763
+ "methodName": "onZIndexChanged"
764
+ }, {
765
+ "propName": "fillColor",
766
+ "methodName": "onStyleChanged"
767
+ }, {
768
+ "propName": "fillOpacity",
769
+ "methodName": "onStyleChanged"
770
+ }, {
771
+ "propName": "strokeColor",
772
+ "methodName": "onStyleChanged"
773
+ }, {
774
+ "propName": "strokeWidth",
775
+ "methodName": "onStyleChanged"
776
+ }, {
777
+ "propName": "strokeOpacity",
778
+ "methodName": "onStyleChanged"
779
+ }, {
780
+ "propName": "pointRadius",
781
+ "methodName": "onStyleChanged"
782
+ }, {
783
+ "propName": "pointColor",
784
+ "methodName": "onStyleChanged"
785
+ }, {
786
+ "propName": "iconUrl",
787
+ "methodName": "onStyleChanged"
788
+ }, {
789
+ "propName": "iconSize",
790
+ "methodName": "onStyleChanged"
791
+ }, {
792
+ "propName": "textProperty",
793
+ "methodName": "onStyleChanged"
794
+ }, {
795
+ "propName": "textColor",
796
+ "methodName": "onStyleChanged"
797
+ }, {
798
+ "propName": "textSize",
799
+ "methodName": "onStyleChanged"
800
+ }];
801
+ }
802
+ static get listeners() {
803
+ return [{
804
+ "name": "styleReady",
805
+ "method": "onStyleReady",
806
+ "target": "document",
807
+ "capture": false,
808
+ "passive": false
809
+ }];
810
+ }
811
+ }