@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.
- package/LICENSE +21 -0
- package/README.md +185 -0
- package/dist/cjs/_commonjsHelpers-B83fTs8d.js +36 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/cjs/cesium-provider-BiFFyAl9.js +2598 -0
- package/dist/cjs/deck-provider-Ctq3Q8a1.js +47824 -0
- package/dist/cjs/geotiff-CEwvF9cG.js +47 -0
- package/dist/cjs/geotiff-source-RaNzzWkC.js +1522 -0
- package/dist/cjs/index-B1oGO1g-.js +10658 -0
- package/dist/cjs/index-B8LHqjyg.js +1765 -0
- package/dist/cjs/index-BIL4VsgP.js +310 -0
- package/dist/cjs/index-Blku2QY8.js +167 -0
- package/dist/cjs/index-CJvvX4yx.js +21 -0
- package/dist/cjs/index-CbVT-Con.js +699 -0
- package/dist/cjs/index-ISOEpMC3.js +20478 -0
- package/dist/cjs/index-JSwBbvGA.js +1621 -0
- package/dist/cjs/index.browser-DQhD8Jwl.js +6873 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/layer-extension-B_olS0rc.js +65 -0
- package/dist/cjs/leaflet-provider-DOqfs7g5.js +1815 -0
- package/dist/cjs/loader.cjs.js +13 -0
- package/dist/cjs/main-dist-7TykwFci.js +2655 -0
- package/dist/cjs/messages-D7h4m8Tx.js +186 -0
- package/dist/cjs/openlayers-provider-Dfeg6L4n.js +1604 -0
- package/dist/cjs/polygon-layer-B9PrN7vr.js +1300 -0
- package/dist/cjs/scenegraph-layer-DwNoxQdi.js +2530 -0
- package/dist/cjs/styleconfig-CVRqArk-.js +23 -0
- package/dist/cjs/v-map-builder.cjs.entry.js +3786 -0
- package/dist/cjs/v-map-layer-geojson_12.cjs.entry.js +40894 -0
- package/dist/cjs/v-map-layer-helper-iAzxAg9I.js +285 -0
- package/dist/cjs/v-map-layer-terrain-geotiff.cjs.entry.js +258 -0
- package/dist/cjs/v-map-layercontrol.cjs.entry.js +247 -0
- package/dist/cjs/v-map.cjs.js +25 -0
- package/dist/cjs/v-map.v-map-layer-osm.v-map-layergroup-BsXp3BoL.js +582 -0
- package/dist/cjs/v-map_3.cjs.entry.js +12 -0
- package/dist/collection/collection-manifest.json +30 -0
- package/dist/collection/components/v-map/v-map.css +3 -0
- package/dist/collection/components/v-map/v-map.js +467 -0
- package/dist/collection/components/v-map/v-map.test.js +33 -0
- package/dist/collection/components/v-map-builder/v-map-builder.css +1 -0
- package/dist/collection/components/v-map-builder/v-map-builder.js +913 -0
- package/dist/collection/components/v-map-builder/v-map-builder.test.js +56 -0
- package/dist/collection/components/v-map-layer-geojson/v-map-layer-geojson.js +862 -0
- package/dist/collection/components/v-map-layer-geojson/v-map-layer-geojson.test.js +42 -0
- package/dist/collection/components/v-map-layer-geotiff/v-map-layer-geotiff.css +4 -0
- package/dist/collection/components/v-map-layer-geotiff/v-map-layer-geotiff.js +500 -0
- package/dist/collection/components/v-map-layer-geotiff/v-map-layer-geotiff.test.js +38 -0
- package/dist/collection/components/v-map-layer-google/v-map-layer-google.css +1 -0
- package/dist/collection/components/v-map-layer-google/v-map-layer-google.js +442 -0
- package/dist/collection/components/v-map-layer-osm/error-api.test.js +108 -0
- package/dist/collection/components/v-map-layer-osm/v-map-layer-osm.css +4 -0
- package/dist/collection/components/v-map-layer-osm/v-map-layer-osm.js +311 -0
- package/dist/collection/components/v-map-layer-osm/v-map-layer-osm.test.js +36 -0
- package/dist/collection/components/v-map-layer-scatterplot/v-map-layer-scatterplot.css +1 -0
- package/dist/collection/components/v-map-layer-scatterplot/v-map-layer-scatterplot.js +305 -0
- package/dist/collection/components/v-map-layer-terrain/v-map-layer-terrain.css +3 -0
- package/dist/collection/components/v-map-layer-terrain/v-map-layer-terrain.js +548 -0
- package/dist/collection/components/v-map-layer-terrain/v-map-layer-terrain.test.js +36 -0
- package/dist/collection/components/v-map-layer-terrain-geotiff/v-map-layer-terrain-geotiff.css +3 -0
- package/dist/collection/components/v-map-layer-terrain-geotiff/v-map-layer-terrain-geotiff.js +735 -0
- package/dist/collection/components/v-map-layer-terrain-geotiff/v-map-layer-terrain-geotiff.test.js +42 -0
- package/dist/collection/components/v-map-layer-tile3d/v-map-layer-tile3d.css +3 -0
- package/dist/collection/components/v-map-layer-tile3d/v-map-layer-tile3d.js +449 -0
- package/dist/collection/components/v-map-layer-tile3d/v-map-layer-tile3d.test.js +50 -0
- package/dist/collection/components/v-map-layer-wcs/v-map-layer-wcs.css +1 -0
- package/dist/collection/components/v-map-layer-wcs/v-map-layer-wcs.js +448 -0
- package/dist/collection/components/v-map-layer-wcs/v-map-layer-wcs.test.js +39 -0
- package/dist/collection/components/v-map-layer-wfs/v-map-layer-wfs.css +1 -0
- package/dist/collection/components/v-map-layer-wfs/v-map-layer-wfs.js +489 -0
- package/dist/collection/components/v-map-layer-wfs/v-map-layer-wfs.test.js +43 -0
- package/dist/collection/components/v-map-layer-wkt/v-map-layer-wkt.css +1 -0
- package/dist/collection/components/v-map-layer-wkt/v-map-layer-wkt.js +811 -0
- package/dist/collection/components/v-map-layer-wkt/v-map-layer-wkt.test.js +34 -0
- package/dist/collection/components/v-map-layer-wms/v-map-layer-wms.css +1 -0
- package/dist/collection/components/v-map-layer-wms/v-map-layer-wms.js +453 -0
- package/dist/collection/components/v-map-layer-wms/v-map-layer-wms.test.js +36 -0
- package/dist/collection/components/v-map-layer-xyz/v-map-layer-xyz.css +1 -0
- package/dist/collection/components/v-map-layer-xyz/v-map-layer-xyz.js +331 -0
- package/dist/collection/components/v-map-layer-xyz/v-map-layer-xyz.test.js +28 -0
- package/dist/collection/components/v-map-layercontrol/v-map-layercontrol.css +74 -0
- package/dist/collection/components/v-map-layercontrol/v-map-layercontrol.js +277 -0
- package/dist/collection/components/v-map-layercontrol/v-map-layercontrol.test.js +134 -0
- package/dist/collection/components/v-map-layergroup/v-map-layergroup.css +4 -0
- package/dist/collection/components/v-map-layergroup/v-map-layergroup.js +212 -0
- package/dist/collection/components/v-map-layergroup/v-map-layergroup.test.js +39 -0
- package/dist/collection/components/v-map-style/v-map-style.css +38 -0
- package/dist/collection/components/v-map-style/v-map-style.js +492 -0
- package/dist/collection/components/v-map-style/v-map-style.unit.js +62 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/layer/v-map-layer-helper.js +281 -0
- package/dist/collection/layer/v-map-layer-helper.unit.js +234 -0
- package/dist/collection/lib/cesium-loader.js +58 -0
- package/dist/collection/lib/ensure-importmap.js +12 -0
- package/dist/collection/lib/ensure-importmap.unit.js +57 -0
- package/dist/collection/lib/versions.gen.js +6 -0
- package/dist/collection/lib/vstyle.js +8 -0
- package/dist/collection/map-provider/cesium/CesiumGeoTIFFTerrainProvider.js +285 -0
- package/dist/collection/map-provider/cesium/CesiumLayerGroups.js +159 -0
- package/dist/collection/map-provider/cesium/GeoTIFFImageryProvider.js +192 -0
- package/dist/collection/map-provider/cesium/GeoTIFFImageryProvider.test.js +57 -0
- package/dist/collection/map-provider/cesium/cesium-provider.js +1408 -0
- package/dist/collection/map-provider/cesium/i-layer.js +1 -0
- package/dist/collection/map-provider/cesium/layer-manager.js +467 -0
- package/dist/collection/map-provider/deck/DeckGLGeoTIFFLayer.js +483 -0
- package/dist/collection/map-provider/deck/DeckGLGeoTIFFTerrainLayer.js +410 -0
- package/dist/collection/map-provider/deck/LayerGroupWithModel.js +169 -0
- package/dist/collection/map-provider/deck/LayerGroups.js +192 -0
- package/dist/collection/map-provider/deck/LayerModel.js +1 -0
- package/dist/collection/map-provider/deck/RenderableGroup.js +1 -0
- package/dist/collection/map-provider/deck/deck-provider.js +1563 -0
- package/dist/collection/map-provider/geotiff/geotiff-source.js +172 -0
- package/dist/collection/map-provider/geotiff/utils/AABB2D.js +24 -0
- package/dist/collection/map-provider/geotiff/utils/BVHNode2D.js +166 -0
- package/dist/collection/map-provider/geotiff/utils/GeoTIFFTileProcessor.js +484 -0
- package/dist/collection/map-provider/geotiff/utils/Triangle.js +1 -0
- package/dist/collection/map-provider/geotiff/utils/Triangulation.js +321 -0
- package/dist/collection/map-provider/geotiff/utils/colormap-utils.js +190 -0
- package/dist/collection/map-provider/geotiff/utils/normalization-utils.js +122 -0
- package/dist/collection/map-provider/geotiff/utils/sampling-utils.js +108 -0
- package/dist/collection/map-provider/leaflet/GeoTIFFGridLayer.js +147 -0
- package/dist/collection/map-provider/leaflet/WCSGridLayer.js +124 -0
- package/dist/collection/map-provider/leaflet/google-map-tiles-layer.js +352 -0
- package/dist/collection/map-provider/leaflet/leaflet-helpers.js +94 -0
- package/dist/collection/map-provider/leaflet/leaflet-provider.js +1095 -0
- package/dist/collection/map-provider/ol/CustomGeoTiff.js +145 -0
- package/dist/collection/map-provider/ol/openlayers-helper.js +26 -0
- package/dist/collection/map-provider/ol/openlayers-provider.js +1427 -0
- package/dist/collection/map-provider/provider-factory.js +44 -0
- package/dist/collection/map-provider/provider-factory.unit.js +66 -0
- package/dist/collection/testing/browser-test-utils.js +49 -0
- package/dist/collection/testing/e2e-testing.js +122 -0
- package/dist/collection/testing/e2e-utils.js +70 -0
- package/dist/collection/testing/geotiff-test-server.js +100 -0
- package/dist/collection/testing/mocks/geostyler-lyrx-parser.js +12 -0
- package/dist/collection/testing/mocks/geostyler-mapbox-parser.js +12 -0
- package/dist/collection/testing/mocks/geostyler-qgis-parser.js +12 -0
- package/dist/collection/testing/mocks/geostyler-sld-parser.js +13 -0
- package/dist/collection/testing/mocks/geostyler-style.js +5 -0
- package/dist/collection/testing/setupTests.browser.js +1 -0
- package/dist/collection/testing/setupTests.stencil.js +20 -0
- package/dist/collection/testing/setupTests.vitest.js +59 -0
- package/dist/collection/testing/stencil-testing-wrapper.js +43 -0
- package/dist/collection/testing/styleMock.js +1 -0
- package/dist/collection/types/color.js +1 -0
- package/dist/collection/types/cssmode.js +1 -0
- package/dist/collection/types/flavour.js +1 -0
- package/dist/collection/types/layerconfig.js +1 -0
- package/dist/collection/types/lonlat.js +1 -0
- package/dist/collection/types/mapinitoptions.js +1 -0
- package/dist/collection/types/mapprovider.js +1 -0
- package/dist/collection/types/provideroptions.js +1 -0
- package/dist/collection/types/styleconfig.js +19 -0
- package/dist/collection/types/styling.js +13 -0
- package/dist/collection/types/styling.unit.js +37 -0
- package/dist/collection/types/vmaplayer.js +1 -0
- package/dist/collection/utils/async-mutex.js +28 -0
- package/dist/collection/utils/diff.js +142 -0
- package/dist/collection/utils/diff.unit.js +59 -0
- package/dist/collection/utils/dom-env.js +43 -0
- package/dist/collection/utils/dom-env.unit.js +92 -0
- package/dist/collection/utils/events.js +8 -0
- package/dist/collection/utils/logger.js +183 -0
- package/dist/collection/utils/logger.unit.js +98 -0
- package/dist/collection/utils/messages.js +12 -0
- package/dist/collection/utils/spatial-utils.js +27 -0
- package/dist/collection/utils/spatial-utils.unit.js +24 -0
- package/dist/components/_commonjsHelpers.js +1 -0
- package/dist/components/cesium-provider.js +1 -0
- package/dist/components/deck-provider.js +1 -0
- package/dist/components/events.js +1 -0
- package/dist/components/geotiff-source.js +1 -0
- package/dist/components/geotiff.js +4 -0
- package/dist/components/index.browser.js +15 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/components/index2.js +1 -0
- package/dist/components/index3.js +1 -0
- package/dist/components/index4.js +1 -0
- package/dist/components/index5.js +1 -0
- package/dist/components/index6.js +1 -0
- package/dist/components/index7.js +1 -0
- package/dist/components/index8.js +7 -0
- package/dist/components/layer-extension.js +1 -0
- package/dist/components/leaflet-provider.js +1 -0
- package/dist/components/main-dist.js +1 -0
- package/dist/components/messages.js +1 -0
- package/dist/components/openlayers-provider.js +1 -0
- package/dist/components/polygon-layer.js +1 -0
- package/dist/components/scenegraph-layer.js +1 -0
- package/dist/components/styleconfig.js +1 -0
- package/dist/components/styling.js +1 -0
- package/dist/components/v-map-builder.d.ts +11 -0
- package/dist/components/v-map-builder.js +2 -0
- package/dist/components/v-map-layer-geojson.d.ts +11 -0
- package/dist/components/v-map-layer-geojson.js +1 -0
- package/dist/components/v-map-layer-geojson2.js +1 -0
- package/dist/components/v-map-layer-geotiff.d.ts +11 -0
- package/dist/components/v-map-layer-geotiff.js +1 -0
- package/dist/components/v-map-layer-geotiff2.js +1 -0
- package/dist/components/v-map-layer-google.d.ts +11 -0
- package/dist/components/v-map-layer-google.js +1 -0
- package/dist/components/v-map-layer-google2.js +1 -0
- package/dist/components/v-map-layer-helper.js +1 -0
- package/dist/components/v-map-layer-osm.d.ts +11 -0
- package/dist/components/v-map-layer-osm.js +1 -0
- package/dist/components/v-map-layer-osm2.js +1 -0
- package/dist/components/v-map-layer-scatterplot.d.ts +11 -0
- package/dist/components/v-map-layer-scatterplot.js +1 -0
- package/dist/components/v-map-layer-scatterplot2.js +1 -0
- package/dist/components/v-map-layer-terrain-geotiff.d.ts +11 -0
- package/dist/components/v-map-layer-terrain-geotiff.js +1 -0
- package/dist/components/v-map-layer-terrain.d.ts +11 -0
- package/dist/components/v-map-layer-terrain.js +1 -0
- package/dist/components/v-map-layer-terrain2.js +1 -0
- package/dist/components/v-map-layer-tile3d.d.ts +11 -0
- package/dist/components/v-map-layer-tile3d.js +1 -0
- package/dist/components/v-map-layer-tile3d2.js +1 -0
- package/dist/components/v-map-layer-wcs.d.ts +11 -0
- package/dist/components/v-map-layer-wcs.js +1 -0
- package/dist/components/v-map-layer-wcs2.js +1 -0
- package/dist/components/v-map-layer-wfs.d.ts +11 -0
- package/dist/components/v-map-layer-wfs.js +1 -0
- package/dist/components/v-map-layer-wfs2.js +1 -0
- package/dist/components/v-map-layer-wkt.d.ts +11 -0
- package/dist/components/v-map-layer-wkt.js +1 -0
- package/dist/components/v-map-layer-wkt2.js +1 -0
- package/dist/components/v-map-layer-wms.d.ts +11 -0
- package/dist/components/v-map-layer-wms.js +1 -0
- package/dist/components/v-map-layer-wms2.js +1 -0
- package/dist/components/v-map-layer-xyz.d.ts +11 -0
- package/dist/components/v-map-layer-xyz.js +1 -0
- package/dist/components/v-map-layer-xyz2.js +1 -0
- package/dist/components/v-map-layercontrol.d.ts +11 -0
- package/dist/components/v-map-layercontrol.js +1 -0
- package/dist/components/v-map-layergroup.d.ts +11 -0
- package/dist/components/v-map-layergroup.js +1 -0
- package/dist/components/v-map-layergroup2.js +1 -0
- package/dist/components/v-map-style.d.ts +11 -0
- package/dist/components/v-map-style.js +1 -0
- package/dist/components/v-map-style2.js +10 -0
- package/dist/components/v-map.d.ts +11 -0
- package/dist/components/v-map.js +1 -0
- package/dist/components/v-map2.js +1 -0
- package/dist/esm/_commonjsHelpers-E-ZsRS8r.js +32 -0
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/esm/cesium-provider-BJfAup3w.js +2596 -0
- package/dist/esm/deck-provider-C7U9VDEq.js +47709 -0
- package/dist/esm/geotiff-BEWxTIfH.js +45 -0
- package/dist/esm/geotiff-source-esnDnC-u.js +1516 -0
- package/dist/esm/index-B1zwA4IC.js +685 -0
- package/dist/esm/index-BBpiaTpT.js +165 -0
- package/dist/esm/index-BIEmlzCf.js +1697 -0
- package/dist/esm/index-BUHa4Jj0.js +307 -0
- package/dist/esm/index-DbSdn93t.js +20461 -0
- package/dist/esm/index-RpJarvr_.js +10656 -0
- package/dist/esm/index-jN06TXUp.js +14 -0
- package/dist/esm/index-jzneDarq.js +1613 -0
- package/dist/esm/index.browser-DhQAXuA7.js +6860 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/layer-extension-CZXK5goK.js +63 -0
- package/dist/esm/leaflet-provider-Q41TB6ku.js +1794 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/main-dist-CwnA7_Xn.js +2652 -0
- package/dist/esm/messages-CMKJzsgL.js +180 -0
- package/dist/esm/openlayers-provider-CMsDsQTQ.js +1602 -0
- package/dist/esm/polygon-layer-ByhxGhWC.js +1295 -0
- package/dist/esm/scenegraph-layer-09K_B6DT.js +2526 -0
- package/dist/esm/styleconfig-B-bAcABs.js +21 -0
- package/dist/esm/v-map-builder.entry.js +3784 -0
- package/dist/esm/v-map-layer-geojson_12.entry.js +40881 -0
- package/dist/esm/v-map-layer-helper-Dys44Cgo.js +283 -0
- package/dist/esm/v-map-layer-terrain-geotiff.entry.js +256 -0
- package/dist/esm/v-map-layercontrol.entry.js +245 -0
- package/dist/esm/v-map.js +21 -0
- package/dist/esm/v-map.v-map-layer-osm.v-map-layergroup-B4pFHuSf.js +572 -0
- package/dist/esm/v-map_3.entry.js +4 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/cesium-augment.d.ts +5 -0
- package/dist/types/components/v-map/v-map.d.ts +70 -0
- package/dist/types/components/v-map/v-map.test.d.ts +1 -0
- package/dist/types/components/v-map-builder/v-map-builder.d.ts +48 -0
- package/dist/types/components/v-map-builder/v-map-builder.test.d.ts +1 -0
- package/dist/types/components/v-map-layer-geojson/v-map-layer-geojson.d.ts +129 -0
- package/dist/types/components/v-map-layer-geojson/v-map-layer-geojson.test.d.ts +1 -0
- package/dist/types/components/v-map-layer-geotiff/v-map-layer-geotiff.d.ts +74 -0
- package/dist/types/components/v-map-layer-geotiff/v-map-layer-geotiff.test.d.ts +1 -0
- package/dist/types/components/v-map-layer-google/v-map-layer-google.d.ts +78 -0
- package/dist/types/components/v-map-layer-osm/error-api.test.d.ts +1 -0
- package/dist/types/components/v-map-layer-osm/v-map-layer-osm.d.ts +50 -0
- package/dist/types/components/v-map-layer-osm/v-map-layer-osm.test.d.ts +1 -0
- package/dist/types/components/v-map-layer-scatterplot/v-map-layer-scatterplot.d.ts +54 -0
- package/dist/types/components/v-map-layer-terrain/v-map-layer-terrain.d.ts +74 -0
- package/dist/types/components/v-map-layer-terrain/v-map-layer-terrain.test.d.ts +1 -0
- package/dist/types/components/v-map-layer-terrain-geotiff/v-map-layer-terrain-geotiff.d.ts +117 -0
- package/dist/types/components/v-map-layer-terrain-geotiff/v-map-layer-terrain-geotiff.test.d.ts +1 -0
- package/dist/types/components/v-map-layer-tile3d/v-map-layer-tile3d.d.ts +69 -0
- package/dist/types/components/v-map-layer-tile3d/v-map-layer-tile3d.test.d.ts +1 -0
- package/dist/types/components/v-map-layer-wcs/v-map-layer-wcs.d.ts +47 -0
- package/dist/types/components/v-map-layer-wcs/v-map-layer-wcs.test.d.ts +1 -0
- package/dist/types/components/v-map-layer-wfs/v-map-layer-wfs.d.ts +59 -0
- package/dist/types/components/v-map-layer-wfs/v-map-layer-wfs.test.d.ts +1 -0
- package/dist/types/components/v-map-layer-wkt/v-map-layer-wkt.d.ts +132 -0
- package/dist/types/components/v-map-layer-wkt/v-map-layer-wkt.test.d.ts +1 -0
- package/dist/types/components/v-map-layer-wms/v-map-layer-wms.d.ts +76 -0
- package/dist/types/components/v-map-layer-wms/v-map-layer-wms.test.d.ts +1 -0
- package/dist/types/components/v-map-layer-xyz/v-map-layer-xyz.d.ts +59 -0
- package/dist/types/components/v-map-layer-xyz/v-map-layer-xyz.test.d.ts +1 -0
- package/dist/types/components/v-map-layercontrol/v-map-layercontrol.d.ts +44 -0
- package/dist/types/components/v-map-layercontrol/v-map-layercontrol.test.d.ts +1 -0
- package/dist/types/components/v-map-layergroup/v-map-layergroup.d.ts +31 -0
- package/dist/types/components/v-map-layergroup/v-map-layergroup.test.d.ts +1 -0
- package/dist/types/components/v-map-style/v-map-style.d.ts +75 -0
- package/dist/types/components/v-map-style/v-map-style.unit.d.ts +1 -0
- package/dist/types/components.d.ts +2391 -0
- package/dist/types/globals.d.ts +16 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/layer/v-map-layer-helper.d.ts +45 -0
- package/dist/types/layer/v-map-layer-helper.unit.d.ts +1 -0
- package/dist/types/leaflet-augment.d.ts +15 -0
- package/dist/types/lib/cesium-loader.d.ts +3 -0
- package/dist/types/lib/ensure-importmap.d.ts +3 -0
- package/dist/types/lib/ensure-importmap.unit.d.ts +1 -0
- package/dist/types/lib/versions.gen.d.ts +5 -0
- package/dist/types/lib/vstyle.d.ts +44 -0
- package/dist/types/map-provider/cesium/CesiumGeoTIFFTerrainProvider.d.ts +92 -0
- package/dist/types/map-provider/cesium/CesiumLayerGroups.d.ts +64 -0
- package/dist/types/map-provider/cesium/GeoTIFFImageryProvider.d.ts +75 -0
- package/dist/types/map-provider/cesium/GeoTIFFImageryProvider.test.d.ts +1 -0
- package/dist/types/map-provider/cesium/cesium-provider.d.ts +87 -0
- package/dist/types/map-provider/cesium/i-layer.d.ts +11 -0
- package/dist/types/map-provider/cesium/layer-manager.d.ts +31 -0
- package/dist/types/map-provider/deck/DeckGLGeoTIFFLayer.d.ts +91 -0
- package/dist/types/map-provider/deck/DeckGLGeoTIFFTerrainLayer.d.ts +82 -0
- package/dist/types/map-provider/deck/LayerGroupWithModel.d.ts +55 -0
- package/dist/types/map-provider/deck/LayerGroups.d.ts +63 -0
- package/dist/types/map-provider/deck/LayerModel.d.ts +8 -0
- package/dist/types/map-provider/deck/RenderableGroup.d.ts +20 -0
- package/dist/types/map-provider/deck/deck-provider.d.ts +92 -0
- package/dist/types/map-provider/geotiff/geotiff-source.d.ts +30 -0
- package/dist/types/map-provider/geotiff/utils/AABB2D.d.ts +28 -0
- package/dist/types/map-provider/geotiff/utils/BVHNode2D.d.ts +36 -0
- package/dist/types/map-provider/geotiff/utils/GeoTIFFTileProcessor.d.ts +116 -0
- package/dist/types/map-provider/geotiff/utils/Triangle.d.ts +5 -0
- package/dist/types/map-provider/geotiff/utils/Triangulation.d.ts +94 -0
- package/dist/types/map-provider/geotiff/utils/colormap-utils.d.ts +47 -0
- package/dist/types/map-provider/geotiff/utils/normalization-utils.d.ts +39 -0
- package/dist/types/map-provider/geotiff/utils/sampling-utils.d.ts +13 -0
- package/dist/types/map-provider/leaflet/GeoTIFFGridLayer.d.ts +34 -0
- package/dist/types/map-provider/leaflet/WCSGridLayer.d.ts +38 -0
- package/dist/types/map-provider/leaflet/google-map-tiles-layer.d.ts +73 -0
- package/dist/types/map-provider/leaflet/leaflet-helpers.d.ts +6 -0
- package/dist/types/map-provider/leaflet/leaflet-provider.d.ts +73 -0
- package/dist/types/map-provider/ol/CustomGeoTiff.d.ts +14 -0
- package/dist/types/map-provider/ol/openlayers-helper.d.ts +2 -0
- package/dist/types/map-provider/ol/openlayers-provider.d.ts +80 -0
- package/dist/types/map-provider/provider-factory.d.ts +12 -0
- package/dist/types/map-provider/provider-factory.unit.d.ts +1 -0
- package/dist/types/namespaces.d.ts +3 -0
- package/dist/types/ol-augment.d.ts +3 -0
- package/dist/types/ol-override.d.ts +7 -0
- package/dist/types/ol.d.ts +10 -0
- package/dist/types/stencil-public-runtime.d.ts +1860 -0
- package/dist/types/testing/browser-test-utils.d.ts +6 -0
- package/dist/types/testing/e2e-testing.d.ts +5 -0
- package/dist/types/testing/e2e-utils.d.ts +4 -0
- package/dist/types/testing/geotiff-test-server.d.ts +5 -0
- package/dist/types/testing/mocks/geostyler-lyrx-parser.d.ts +11 -0
- package/dist/types/testing/mocks/geostyler-mapbox-parser.d.ts +11 -0
- package/dist/types/testing/mocks/geostyler-qgis-parser.d.ts +11 -0
- package/dist/types/testing/mocks/geostyler-sld-parser.d.ts +11 -0
- package/dist/types/testing/mocks/geostyler-style.d.ts +5 -0
- package/dist/types/testing/setupTests.browser.d.ts +1 -0
- package/dist/types/testing/setupTests.stencil.d.ts +1 -0
- package/dist/types/testing/setupTests.vitest.d.ts +1 -0
- package/dist/types/testing/stencil-testing-wrapper.d.ts +3 -0
- package/dist/types/types/color.d.ts +1 -0
- package/dist/types/types/cssmode.d.ts +1 -0
- package/dist/types/types/flavour.d.ts +1 -0
- package/dist/types/types/layerconfig.d.ts +207 -0
- package/dist/types/types/lonlat.d.ts +1 -0
- package/dist/types/types/mapinitoptions.d.ts +4 -0
- package/dist/types/types/mapprovider.d.ts +46 -0
- package/dist/types/types/provideroptions.d.ts +8 -0
- package/dist/types/types/styleconfig.d.ts +27 -0
- package/dist/types/types/styling.d.ts +24 -0
- package/dist/types/types/styling.unit.d.ts +1 -0
- package/dist/types/types/vmaplayer.d.ts +10 -0
- package/dist/types/utils/async-mutex.d.ts +7 -0
- package/dist/types/utils/diff.d.ts +64 -0
- package/dist/types/utils/diff.unit.d.ts +1 -0
- package/dist/types/utils/dom-env.d.ts +5 -0
- package/dist/types/utils/dom-env.unit.d.ts +1 -0
- package/dist/types/utils/events.d.ts +29 -0
- package/dist/types/utils/logger.d.ts +47 -0
- package/dist/types/utils/logger.unit.d.ts +1 -0
- package/dist/types/utils/messages.d.ts +12 -0
- package/dist/types/utils/spatial-utils.d.ts +6 -0
- package/dist/types/utils/spatial-utils.unit.d.ts +1 -0
- package/dist/types/versions.d.ts +7 -0
- package/dist/v-map/index.esm.js +0 -0
- package/dist/v-map/p--vVleK-M.js +1 -0
- package/dist/v-map/p-09d10db0.entry.js +1 -0
- package/dist/v-map/p-5eba6058.entry.js +10 -0
- package/dist/v-map/p-6b102336.entry.js +1 -0
- package/dist/v-map/p-B-bAcABs.js +1 -0
- package/dist/v-map/p-BBpiaTpT.js +1 -0
- package/dist/v-map/p-BdijL4Av.js +1 -0
- package/dist/v-map/p-Be3r33VF.js +4 -0
- package/dist/v-map/p-BeFu0ap4.js +1 -0
- package/dist/v-map/p-BxFJezdK.js +1 -0
- package/dist/v-map/p-CMKJzsgL.js +1 -0
- package/dist/v-map/p-CXfA_q8m.js +1 -0
- package/dist/v-map/p-CZqY0yW4.js +1 -0
- package/dist/v-map/p-CafTHT9i.js +1 -0
- package/dist/v-map/p-DCTHyf58.js +1 -0
- package/dist/v-map/p-DQuL1Twl.js +1 -0
- package/dist/v-map/p-DR9McdNX.js +1 -0
- package/dist/v-map/p-Dckgonw8.js +1 -0
- package/dist/v-map/p-DhQAXuA7.js +15 -0
- package/dist/v-map/p-DmICdG34.js +7 -0
- package/dist/v-map/p-DrOQ9V4h.js +1 -0
- package/dist/v-map/p-DvHXtWUg.js +1 -0
- package/dist/v-map/p-E-ZsRS8r.js +1 -0
- package/dist/v-map/p-MyTSFnEk.js +1 -0
- package/dist/v-map/p-RpJarvr_.js +1 -0
- package/dist/v-map/p-WaMDUuAz.js +1 -0
- package/dist/v-map/p-aa410e64.entry.js +2 -0
- package/dist/v-map/p-c21c93fe.entry.js +1 -0
- package/dist/v-map/p-jzneDarq.js +2 -0
- package/dist/v-map/p-uiIP-taz.js +1 -0
- package/dist/v-map/v-map.esm.js +1 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +193 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import type { VMapErrorHost } from '../../layer/v-map-layer-helper';
|
|
3
|
+
import type { VMapErrorDetail } from '../../utils/events';
|
|
4
|
+
import { StyleEvent } from '../../types/styling';
|
|
5
|
+
export declare class VMapLayerTile3d implements VMapErrorHost {
|
|
6
|
+
el: HTMLElement;
|
|
7
|
+
/** Current load state of the layer. */
|
|
8
|
+
loadState: 'idle' | 'loading' | 'ready' | 'error';
|
|
9
|
+
/**
|
|
10
|
+
* URL pointing to the Cesium 3D Tileset.
|
|
11
|
+
*/
|
|
12
|
+
url: string;
|
|
13
|
+
/**
|
|
14
|
+
* Optional JSON string or object with Cesium3DTileset options.
|
|
15
|
+
*/
|
|
16
|
+
tilesetOptions?: string | Record<string, unknown>;
|
|
17
|
+
/**
|
|
18
|
+
* Whether the tileset should be visible.
|
|
19
|
+
* @default true
|
|
20
|
+
*/
|
|
21
|
+
visible: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Global opacity factor (0-1).
|
|
24
|
+
* @default 1
|
|
25
|
+
*/
|
|
26
|
+
opacity: number;
|
|
27
|
+
/**
|
|
28
|
+
* Z-index used for ordering tilesets.
|
|
29
|
+
* @default 1000
|
|
30
|
+
*/
|
|
31
|
+
zIndex: number;
|
|
32
|
+
/**
|
|
33
|
+
* Fired once the tileset layer is initialised.
|
|
34
|
+
*/
|
|
35
|
+
ready: EventEmitter<void>;
|
|
36
|
+
private didLoad;
|
|
37
|
+
private hasLoadedOnce;
|
|
38
|
+
private helper;
|
|
39
|
+
private appliedCesiumStyle?;
|
|
40
|
+
connectedCallback(): Promise<void>;
|
|
41
|
+
componentWillLoad(): Promise<void>;
|
|
42
|
+
componentDidLoad(): Promise<void>;
|
|
43
|
+
disconnectedCallback(): Promise<void>;
|
|
44
|
+
/**
|
|
45
|
+
* Indicates whether the tileset has been initialised and added to the map.
|
|
46
|
+
*/
|
|
47
|
+
isReady(): Promise<boolean>;
|
|
48
|
+
setLoadState(state: 'idle' | 'loading' | 'ready' | 'error'): void;
|
|
49
|
+
/** Returns the last error detail, if any. */
|
|
50
|
+
getError(): Promise<VMapErrorDetail | undefined>;
|
|
51
|
+
onUrlChanged(oldValue: string, newValue: string): Promise<void>;
|
|
52
|
+
onTilesetOptionsChanged(): Promise<void>;
|
|
53
|
+
onVisibleChanged(): Promise<void>;
|
|
54
|
+
onOpacityChanged(): Promise<void>;
|
|
55
|
+
onZIndexChanged(): Promise<void>;
|
|
56
|
+
/**
|
|
57
|
+
* Listen for style events from v-map-style components
|
|
58
|
+
*/
|
|
59
|
+
onStyleReady(event: CustomEvent<StyleEvent>): Promise<void>;
|
|
60
|
+
private applyExistingStyles;
|
|
61
|
+
/**
|
|
62
|
+
* Check if this layer is targeted by a style component
|
|
63
|
+
*/
|
|
64
|
+
private isTargetedByStyle;
|
|
65
|
+
private updateLayerWithCesiumStyle;
|
|
66
|
+
private parseTilesetOptions;
|
|
67
|
+
private createLayerConfig;
|
|
68
|
+
render(): any;
|
|
69
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { VMapErrorHost } from '../../layer/v-map-layer-helper';
|
|
2
|
+
import type { VMapErrorDetail } from '../../utils/events';
|
|
3
|
+
export declare class VMapLayerWcs implements VMapErrorHost {
|
|
4
|
+
el: HTMLElement;
|
|
5
|
+
/** Current load state of the layer. */
|
|
6
|
+
loadState: 'idle' | 'loading' | 'ready' | 'error';
|
|
7
|
+
/** Basis-URL des WCS-Dienstes. */
|
|
8
|
+
url: string;
|
|
9
|
+
/** Coverage-Name/ID. */
|
|
10
|
+
coverageName: string;
|
|
11
|
+
/** Ausgabeformat, z. B. image/tiff. */
|
|
12
|
+
format: string;
|
|
13
|
+
/** WCS-Version. */
|
|
14
|
+
version: string;
|
|
15
|
+
/** Projektion (Projection) für die Quelle. */
|
|
16
|
+
projection?: string;
|
|
17
|
+
/** Auflösungen als JSON-Array, z. B. [1000,500]. */
|
|
18
|
+
resolutions?: string;
|
|
19
|
+
/** Zusätzliche Parameter als JSON-String. */
|
|
20
|
+
params?: string;
|
|
21
|
+
/** Sichtbarkeit des Layers. */
|
|
22
|
+
visible: boolean;
|
|
23
|
+
/** Opazität (0–1). */
|
|
24
|
+
opacity: number;
|
|
25
|
+
/** Z-Index für die Darstellung. */
|
|
26
|
+
zIndex: number;
|
|
27
|
+
private didLoad;
|
|
28
|
+
private hasLoadedOnce;
|
|
29
|
+
private helper;
|
|
30
|
+
setLoadState(state: 'idle' | 'loading' | 'ready' | 'error'): void;
|
|
31
|
+
/** Returns the last error detail, if any. */
|
|
32
|
+
getError(): Promise<VMapErrorDetail | undefined>;
|
|
33
|
+
componentWillLoad(): void;
|
|
34
|
+
componentDidLoad(): Promise<void>;
|
|
35
|
+
connectedCallback(): Promise<void>;
|
|
36
|
+
disconnectedCallback(): Promise<void>;
|
|
37
|
+
/** Gibt `true` zurück, sobald der Layer initialisiert wurde. */
|
|
38
|
+
isReady(): Promise<boolean>;
|
|
39
|
+
onVisibleChanged(): Promise<void>;
|
|
40
|
+
onOpacityChanged(): Promise<void>;
|
|
41
|
+
onZIndexChanged(): Promise<void>;
|
|
42
|
+
onSourceChanged(): Promise<void>;
|
|
43
|
+
private parseParams;
|
|
44
|
+
private parseResolutions;
|
|
45
|
+
private createLayerConfig;
|
|
46
|
+
render(): any;
|
|
47
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { VMapErrorHost } from '../../layer/v-map-layer-helper';
|
|
2
|
+
import type { VMapErrorDetail } from '../../utils/events';
|
|
3
|
+
import { StyleEvent } from '../../types/styling';
|
|
4
|
+
export declare class VMapLayerWfs implements VMapErrorHost {
|
|
5
|
+
el: HTMLElement;
|
|
6
|
+
/** Current load state of the layer. */
|
|
7
|
+
loadState: 'idle' | 'loading' | 'ready' | 'error';
|
|
8
|
+
/** WFS Endpunkt (z. B. https://server/wfs). */
|
|
9
|
+
url: string;
|
|
10
|
+
/** Feature-Typ (typeName) des WFS. */
|
|
11
|
+
typeName: string;
|
|
12
|
+
/** WFS Version, Standard 1.1.0. */
|
|
13
|
+
version: string;
|
|
14
|
+
/** Ausgabeformat, z. B. application/json. */
|
|
15
|
+
outputFormat: string;
|
|
16
|
+
/** Ziel-Referenzsystem, Standard EPSG:3857. */
|
|
17
|
+
srsName: string;
|
|
18
|
+
/** Zusätzliche Parameter als JSON-String. */
|
|
19
|
+
params?: string;
|
|
20
|
+
/** Sichtbarkeit des Layers. */
|
|
21
|
+
visible: boolean;
|
|
22
|
+
/** Opazität (0–1). */
|
|
23
|
+
opacity: number;
|
|
24
|
+
/** Z-Index für Rendering. */
|
|
25
|
+
zIndex: number;
|
|
26
|
+
private didLoad;
|
|
27
|
+
private hasLoadedOnce;
|
|
28
|
+
private helper;
|
|
29
|
+
private appliedGeostylerStyle?;
|
|
30
|
+
setLoadState(state: 'idle' | 'loading' | 'ready' | 'error'): void;
|
|
31
|
+
/** Returns the last error detail, if any. */
|
|
32
|
+
getError(): Promise<VMapErrorDetail | undefined>;
|
|
33
|
+
componentWillLoad(): void;
|
|
34
|
+
componentDidLoad(): Promise<void>;
|
|
35
|
+
connectedCallback(): Promise<void>;
|
|
36
|
+
disconnectedCallback(): Promise<void>;
|
|
37
|
+
/** Gibt `true` zurück, sobald der Layer initialisiert wurde. */
|
|
38
|
+
isReady(): Promise<boolean>;
|
|
39
|
+
onVisibleChanged(): Promise<void>;
|
|
40
|
+
onOpacityChanged(): Promise<void>;
|
|
41
|
+
onZIndexChanged(): Promise<void>;
|
|
42
|
+
onSourceChanged(): Promise<void>;
|
|
43
|
+
private parseParams;
|
|
44
|
+
/**
|
|
45
|
+
* Listen for style events from v-map-style components
|
|
46
|
+
*/
|
|
47
|
+
onStyleReady(event: CustomEvent<StyleEvent>): Promise<void>;
|
|
48
|
+
/**
|
|
49
|
+
* Check if this layer is targeted by a style component
|
|
50
|
+
*/
|
|
51
|
+
private isTargetedByStyle;
|
|
52
|
+
private applyExistingStyles;
|
|
53
|
+
/**
|
|
54
|
+
* Update the layer with the applied geostyler style
|
|
55
|
+
*/
|
|
56
|
+
private updateLayerWithGeostylerStyle;
|
|
57
|
+
private createLayerConfig;
|
|
58
|
+
render(): any;
|
|
59
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import type { VMapLayer } from '../../types/vmaplayer';
|
|
3
|
+
import type { VMapErrorDetail } from '../../utils/events';
|
|
4
|
+
import type { VMapErrorHost } from '../../layer/v-map-layer-helper';
|
|
5
|
+
import { StyleEvent } from '../../types/styling';
|
|
6
|
+
export declare class VMapLayerWkt implements VMapLayer, VMapErrorHost {
|
|
7
|
+
el: HTMLElement;
|
|
8
|
+
/** Current load state of the layer. */
|
|
9
|
+
loadState: 'idle' | 'loading' | 'ready' | 'error';
|
|
10
|
+
/**
|
|
11
|
+
* WKT-Geometrie (z. B. "POINT(11.57 48.14)" oder "POLYGON((...))").
|
|
12
|
+
*/
|
|
13
|
+
wkt?: string;
|
|
14
|
+
/**
|
|
15
|
+
* URL, von der eine WKT-Geometrie geladen wird (alternativ zu `wkt`).
|
|
16
|
+
*/
|
|
17
|
+
url?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Sichtbarkeit des Layers.
|
|
20
|
+
* @default true
|
|
21
|
+
*/
|
|
22
|
+
visible: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Globale Opazität (0–1).
|
|
25
|
+
* @default 1
|
|
26
|
+
*/
|
|
27
|
+
opacity: number;
|
|
28
|
+
/**
|
|
29
|
+
* Z-index for layer stacking order. Higher values render on top.
|
|
30
|
+
*/
|
|
31
|
+
zIndex: number;
|
|
32
|
+
/**
|
|
33
|
+
* Fill color for polygon geometries (CSS color value)
|
|
34
|
+
* @default 'rgba(0,100,255,0.3)'
|
|
35
|
+
*/
|
|
36
|
+
fillColor?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Fill opacity for polygon geometries (0-1)
|
|
39
|
+
* @default 0.3
|
|
40
|
+
*/
|
|
41
|
+
fillOpacity?: number;
|
|
42
|
+
/**
|
|
43
|
+
* Stroke color for lines and polygon outlines (CSS color value)
|
|
44
|
+
* @default 'rgba(0,100,255,1)'
|
|
45
|
+
*/
|
|
46
|
+
strokeColor?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Stroke width in pixels
|
|
49
|
+
* @default 2
|
|
50
|
+
*/
|
|
51
|
+
strokeWidth?: number;
|
|
52
|
+
/**
|
|
53
|
+
* Stroke opacity (0-1)
|
|
54
|
+
* @default 1
|
|
55
|
+
*/
|
|
56
|
+
strokeOpacity?: number;
|
|
57
|
+
/**
|
|
58
|
+
* Point radius for point geometries in pixels
|
|
59
|
+
* @default 6
|
|
60
|
+
*/
|
|
61
|
+
pointRadius?: number;
|
|
62
|
+
/**
|
|
63
|
+
* Point color for point geometries (CSS color value)
|
|
64
|
+
* @default 'rgba(0,100,255,1)'
|
|
65
|
+
*/
|
|
66
|
+
pointColor?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Icon URL for point features (alternative to pointColor/pointRadius)
|
|
69
|
+
*/
|
|
70
|
+
iconUrl?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Icon size as [width, height] in pixels (comma-separated string like "32,32")
|
|
73
|
+
* @default "32,32"
|
|
74
|
+
*/
|
|
75
|
+
iconSize?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Text property name from feature properties to display as label
|
|
78
|
+
*/
|
|
79
|
+
textProperty?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Text color for labels (CSS color value)
|
|
82
|
+
* @default '#000000'
|
|
83
|
+
*/
|
|
84
|
+
textColor?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Text size for labels in pixels
|
|
87
|
+
* @default 12
|
|
88
|
+
*/
|
|
89
|
+
textSize?: number;
|
|
90
|
+
/**
|
|
91
|
+
* Signalisiert, dass das WKT-Layer initialisiert ist.
|
|
92
|
+
* @event ready
|
|
93
|
+
*/
|
|
94
|
+
ready: EventEmitter<void>;
|
|
95
|
+
private didLoad;
|
|
96
|
+
private hasLoadedOnce;
|
|
97
|
+
private helper;
|
|
98
|
+
setLoadState(state: 'idle' | 'loading' | 'ready' | 'error'): void;
|
|
99
|
+
/** Returns the last error detail, if any. */
|
|
100
|
+
getError(): Promise<VMapErrorDetail | undefined>;
|
|
101
|
+
private appliedGeostylerStyle?;
|
|
102
|
+
onWktChanged(oldValue: string, newValue: string): Promise<void>;
|
|
103
|
+
onUrlChanged(oldValue: string, newValue: string): Promise<void>;
|
|
104
|
+
onVisibleChanged(): Promise<void>;
|
|
105
|
+
onOpacityChanged(): Promise<void>;
|
|
106
|
+
onZIndexChanged(): Promise<void>;
|
|
107
|
+
onStyleChanged(): Promise<void>;
|
|
108
|
+
/**
|
|
109
|
+
* Listen for style events from v-map-style components
|
|
110
|
+
*/
|
|
111
|
+
onStyleReady(event: CustomEvent<StyleEvent>): Promise<void>;
|
|
112
|
+
/**
|
|
113
|
+
* Check if this layer is targeted by a style component
|
|
114
|
+
*/
|
|
115
|
+
private isTargetedByStyle;
|
|
116
|
+
private applyExistingStyles;
|
|
117
|
+
/**
|
|
118
|
+
* Update the layer with the applied geostyler style
|
|
119
|
+
*/
|
|
120
|
+
private updateLayerWithGeostylerStyle;
|
|
121
|
+
isReady(): boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Returns the internal layer ID used by the map provider.
|
|
124
|
+
*/
|
|
125
|
+
getLayerId(): Promise<string>;
|
|
126
|
+
connectedCallback(): Promise<void>;
|
|
127
|
+
private createLayerConfig;
|
|
128
|
+
componentWillLoad(): Promise<void>;
|
|
129
|
+
componentDidLoad(): Promise<void>;
|
|
130
|
+
disconnectedCallback(): Promise<void>;
|
|
131
|
+
render(): void;
|
|
132
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import type { VMapErrorDetail } from '../../utils/events';
|
|
3
|
+
import type { VMapErrorHost } from '../../layer/v-map-layer-helper';
|
|
4
|
+
/**
|
|
5
|
+
* OGC WMS Layer
|
|
6
|
+
*/
|
|
7
|
+
export declare class VMapLayerWms implements VMapErrorHost {
|
|
8
|
+
el: HTMLElement;
|
|
9
|
+
/** Current load state of the layer. */
|
|
10
|
+
loadState: 'idle' | 'loading' | 'ready' | 'error';
|
|
11
|
+
/**
|
|
12
|
+
* Basis-URL des WMS-Dienstes (GetMap-Endpunkt ohne Query-Parameter).
|
|
13
|
+
*/
|
|
14
|
+
url: string;
|
|
15
|
+
/**
|
|
16
|
+
* Kommagetrennte Layer-Namen (z. B. "topp:states").
|
|
17
|
+
*/
|
|
18
|
+
layers: string;
|
|
19
|
+
/**
|
|
20
|
+
* WMS-`STYLES` Parameter (kommagetrennt).
|
|
21
|
+
* @default ""
|
|
22
|
+
*/
|
|
23
|
+
styles?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Bildformat des GetMap-Requests.
|
|
26
|
+
* @default "image/png"
|
|
27
|
+
*/
|
|
28
|
+
format: string;
|
|
29
|
+
/**
|
|
30
|
+
* Transparente Kacheln anfordern.
|
|
31
|
+
* @default true
|
|
32
|
+
*/
|
|
33
|
+
transparent: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Tiled/geslicete Requests verwenden (falls Server unterstützt).
|
|
36
|
+
* @default true
|
|
37
|
+
*/
|
|
38
|
+
tiled: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Sichtbarkeit des WMS-Layers.
|
|
41
|
+
* @default true
|
|
42
|
+
*/
|
|
43
|
+
visible: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Globale Opazität des WMS-Layers (0–1).
|
|
46
|
+
* @default 1
|
|
47
|
+
*/
|
|
48
|
+
opacity: number;
|
|
49
|
+
/**
|
|
50
|
+
* Z-index for layer stacking order. Higher values render on top.
|
|
51
|
+
*/
|
|
52
|
+
zIndex: number;
|
|
53
|
+
/**
|
|
54
|
+
* Signalisiert, dass der WMS-Layer bereit ist.
|
|
55
|
+
* @event ready
|
|
56
|
+
*/
|
|
57
|
+
ready: EventEmitter<void>;
|
|
58
|
+
private hasLoadedOnce;
|
|
59
|
+
private helper;
|
|
60
|
+
setLoadState(state: 'idle' | 'loading' | 'ready' | 'error'): void;
|
|
61
|
+
/** Returns the last error detail, if any. */
|
|
62
|
+
getError(): Promise<VMapErrorDetail | undefined>;
|
|
63
|
+
onVisibleChanged(): Promise<void>;
|
|
64
|
+
onOpacityChanged(): Promise<void>;
|
|
65
|
+
onZIndexChanged(): Promise<void>;
|
|
66
|
+
onUrlChanged(oldValue: string, newValue: string): Promise<void>;
|
|
67
|
+
onLayersChanged(oldValue: string, newValue: string): Promise<void>;
|
|
68
|
+
onStylesChanged(oldValue: string, newValue: string): Promise<void>;
|
|
69
|
+
private updateLayer;
|
|
70
|
+
connectedCallback(): Promise<void>;
|
|
71
|
+
componentWillLoad(): Promise<void>;
|
|
72
|
+
componentDidLoad(): Promise<void>;
|
|
73
|
+
disconnectedCallback(): Promise<void>;
|
|
74
|
+
private createLayerConfig;
|
|
75
|
+
render(): void;
|
|
76
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import type { VMapErrorDetail } from '../../utils/events';
|
|
3
|
+
import { type VMapErrorHost } from '../../layer/v-map-layer-helper';
|
|
4
|
+
/**
|
|
5
|
+
* XYZ Tile Layer
|
|
6
|
+
*/
|
|
7
|
+
export declare class VMapLayerXyz implements VMapErrorHost {
|
|
8
|
+
el: HTMLElement;
|
|
9
|
+
/** Current load state of the layer. */
|
|
10
|
+
loadState: 'idle' | 'loading' | 'ready' | 'error';
|
|
11
|
+
/**
|
|
12
|
+
* URL-Template für Kacheln, z. B. "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png".
|
|
13
|
+
*/
|
|
14
|
+
url: string;
|
|
15
|
+
/**
|
|
16
|
+
* Attributions-/Copyright-Text (HTML erlaubt).
|
|
17
|
+
*/
|
|
18
|
+
attributions?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Maximaler Zoomlevel, den der Tile-Server liefert.
|
|
21
|
+
* @default 19
|
|
22
|
+
*/
|
|
23
|
+
maxZoom?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Größe einer Kachel in Pixeln.
|
|
26
|
+
* @default 256
|
|
27
|
+
*/
|
|
28
|
+
tileSize?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Subdomains für parallele Tile-Anfragen (z. B. "a,b,c").
|
|
31
|
+
*/
|
|
32
|
+
subdomains?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Sichtbarkeit des XYZ-Layers.
|
|
35
|
+
* @default true
|
|
36
|
+
*/
|
|
37
|
+
visible: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Opazität (0–1).
|
|
40
|
+
* @default 1
|
|
41
|
+
*/
|
|
42
|
+
opacity: number;
|
|
43
|
+
/**
|
|
44
|
+
* Wird ausgelöst, wenn der XYZ-Layer bereit ist.
|
|
45
|
+
* @event ready
|
|
46
|
+
*/
|
|
47
|
+
ready: EventEmitter<void>;
|
|
48
|
+
private hasLoadedOnce;
|
|
49
|
+
private helper;
|
|
50
|
+
setLoadState(state: 'idle' | 'loading' | 'ready' | 'error'): void;
|
|
51
|
+
/** Returns the last error detail, if any. */
|
|
52
|
+
getError(): Promise<VMapErrorDetail | undefined>;
|
|
53
|
+
private createLayerConfig;
|
|
54
|
+
connectedCallback(): Promise<void>;
|
|
55
|
+
componentWillLoad(): Promise<void>;
|
|
56
|
+
componentDidLoad(): Promise<void>;
|
|
57
|
+
disconnectedCallback(): Promise<void>;
|
|
58
|
+
render(): void;
|
|
59
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
type ElementInfo = {
|
|
2
|
+
id: string;
|
|
3
|
+
element: HTMLElement;
|
|
4
|
+
visible: boolean;
|
|
5
|
+
opacity: number;
|
|
6
|
+
zIndex: number;
|
|
7
|
+
};
|
|
8
|
+
type LayerInfo = {
|
|
9
|
+
info: ElementInfo;
|
|
10
|
+
label: string;
|
|
11
|
+
};
|
|
12
|
+
export declare class VMapLayerControl {
|
|
13
|
+
/** ID der zu steuernden Karte (DOM-Element mit dieser id) */
|
|
14
|
+
for: string;
|
|
15
|
+
host: HTMLElement;
|
|
16
|
+
layerGroups: Array<{
|
|
17
|
+
info: ElementInfo;
|
|
18
|
+
label: string;
|
|
19
|
+
groupTitle: string;
|
|
20
|
+
basemapid?: string;
|
|
21
|
+
layers: Array<LayerInfo>;
|
|
22
|
+
}>;
|
|
23
|
+
private observer?;
|
|
24
|
+
private mapElement;
|
|
25
|
+
connectedCallback(): Promise<void>;
|
|
26
|
+
componentWillLoad(): Promise<void>;
|
|
27
|
+
disconnectedCallback(): Promise<void>;
|
|
28
|
+
private findMapElement;
|
|
29
|
+
private initObserver;
|
|
30
|
+
private readBool;
|
|
31
|
+
private readNumber;
|
|
32
|
+
private readString;
|
|
33
|
+
private updateLayerGroupsFromDom;
|
|
34
|
+
private cloneLayerGroups;
|
|
35
|
+
private getLayersFromDom;
|
|
36
|
+
private setBool;
|
|
37
|
+
private setNumber;
|
|
38
|
+
private handleVisibilityChange;
|
|
39
|
+
private handleOpacityChange;
|
|
40
|
+
private handleZIndexChange;
|
|
41
|
+
private handleBaseLayerChange;
|
|
42
|
+
render(): any;
|
|
43
|
+
}
|
|
44
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare class VMapLayerGroup {
|
|
2
|
+
el: HTMLElement;
|
|
3
|
+
/**
|
|
4
|
+
* Sichtbarkeit der gesamten Gruppe.
|
|
5
|
+
* @default true
|
|
6
|
+
*/
|
|
7
|
+
visible: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Globale Opazität (0–1) für alle Kinder.
|
|
10
|
+
* @default 1
|
|
11
|
+
*/
|
|
12
|
+
opacity: number;
|
|
13
|
+
/**
|
|
14
|
+
* Base map identifier for this layer group. When set, layers in this group will be treated as base map layers.
|
|
15
|
+
*/
|
|
16
|
+
basemapid: string | null;
|
|
17
|
+
private mapProvider;
|
|
18
|
+
private groupId;
|
|
19
|
+
onVisibleChanged(): Promise<void>;
|
|
20
|
+
onBaseMapIdChanged(): Promise<void>;
|
|
21
|
+
private init;
|
|
22
|
+
connectedCallback(): Promise<void>;
|
|
23
|
+
componentWillLoad(): Promise<void>;
|
|
24
|
+
componentDidLoad(): Promise<void>;
|
|
25
|
+
componentWillRender(): Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Returns the internal group identifier used by the map provider.
|
|
28
|
+
*/
|
|
29
|
+
getGroupId(): Promise<string>;
|
|
30
|
+
render(): any;
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { type StyleFormat, type ResolvedStyle, StyleEvent } from '../../types/styling';
|
|
3
|
+
export declare class VMapStyle {
|
|
4
|
+
el: HTMLElement;
|
|
5
|
+
/**
|
|
6
|
+
* The styling format to parse (supports 'sld', 'mapbox-gl', 'qgis', 'lyrx', 'cesium-3d-tiles').
|
|
7
|
+
*/
|
|
8
|
+
format: StyleFormat;
|
|
9
|
+
/**
|
|
10
|
+
* The style source - can be a URL to fetch from or inline SLD/style content.
|
|
11
|
+
*/
|
|
12
|
+
src?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Inline style content as string (alternative to src).
|
|
15
|
+
*/
|
|
16
|
+
content?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Target layer IDs to apply this style to. If not specified, applies to all compatible layers.
|
|
19
|
+
*/
|
|
20
|
+
layerTargets?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Whether to automatically apply the style when loaded.
|
|
23
|
+
* @default true
|
|
24
|
+
*/
|
|
25
|
+
autoApply: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Fired when style is successfully parsed and ready to apply.
|
|
28
|
+
*/
|
|
29
|
+
styleReady: EventEmitter<StyleEvent>;
|
|
30
|
+
/**
|
|
31
|
+
* Fired when style parsing fails.
|
|
32
|
+
*/
|
|
33
|
+
styleError: EventEmitter<Error>;
|
|
34
|
+
private parsedStyle?;
|
|
35
|
+
private isLoading;
|
|
36
|
+
private error?;
|
|
37
|
+
private sldParser;
|
|
38
|
+
private mapboxParser;
|
|
39
|
+
private qgisParser;
|
|
40
|
+
private lyrxParser;
|
|
41
|
+
connectedCallback(): Promise<void>;
|
|
42
|
+
onStyleSourceChanged(): Promise<void>;
|
|
43
|
+
/**
|
|
44
|
+
* Load and parse the style from src or content.
|
|
45
|
+
*/
|
|
46
|
+
loadAndParseStyle(): Promise<ResolvedStyle | undefined>;
|
|
47
|
+
private parseStyle;
|
|
48
|
+
private parseSLD;
|
|
49
|
+
private parseMapboxGL;
|
|
50
|
+
private parseQGIS;
|
|
51
|
+
private parseLyrx;
|
|
52
|
+
/**
|
|
53
|
+
* Get the currently parsed style.
|
|
54
|
+
*/
|
|
55
|
+
getStyle(): Promise<ResolvedStyle | undefined>;
|
|
56
|
+
private parseCesium3DTiles;
|
|
57
|
+
private parseGeoStyler;
|
|
58
|
+
/**
|
|
59
|
+
* Get the target layer IDs as array. async
|
|
60
|
+
*/
|
|
61
|
+
getLayerTargetIds(): Promise<string[]>;
|
|
62
|
+
/**
|
|
63
|
+
* Get the target layer IDs as array.
|
|
64
|
+
*/
|
|
65
|
+
getLayerTargets(): string[];
|
|
66
|
+
/**
|
|
67
|
+
* Check if style is loading.
|
|
68
|
+
*/
|
|
69
|
+
isStyleLoading(): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Get any parsing error.
|
|
72
|
+
*/
|
|
73
|
+
getError(): Error | undefined;
|
|
74
|
+
render(): any;
|
|
75
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|