@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,48 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import type { BuilderConfig } from '../../utils/diff';
|
|
3
|
+
/**
|
|
4
|
+
* A component that builds map configurations dynamically from JSON/YAML configuration scripts.
|
|
5
|
+
*
|
|
6
|
+
* @part mount - The container element where the generated map and layers are mounted.
|
|
7
|
+
*/
|
|
8
|
+
export declare class VMapBuilder {
|
|
9
|
+
hostEl: HTMLElement;
|
|
10
|
+
/**
|
|
11
|
+
* Configuration object for the map builder. Can be any structure that will be normalized to BuilderConfig.
|
|
12
|
+
*/
|
|
13
|
+
mapconfig?: unknown;
|
|
14
|
+
/**
|
|
15
|
+
* Event emitted when the map configuration has been successfully parsed and is ready to use.
|
|
16
|
+
*/
|
|
17
|
+
configReady: EventEmitter<BuilderConfig>;
|
|
18
|
+
/**
|
|
19
|
+
* Event emitted when there is an error parsing the map configuration.
|
|
20
|
+
*/
|
|
21
|
+
configError: EventEmitter<{
|
|
22
|
+
message: string;
|
|
23
|
+
errors?: string[];
|
|
24
|
+
}>;
|
|
25
|
+
private current?;
|
|
26
|
+
componentDidLoad(): Promise<void>;
|
|
27
|
+
onMapConfigChanged(_oldValue: string, _newValue: string): Promise<void>;
|
|
28
|
+
private parseFromSlot;
|
|
29
|
+
private normalizeLayerType;
|
|
30
|
+
private toOptionalString;
|
|
31
|
+
private toOptionalNumber;
|
|
32
|
+
private toOptionalBoolean;
|
|
33
|
+
private toCsv;
|
|
34
|
+
private cleanRecord;
|
|
35
|
+
private normalizeLayer;
|
|
36
|
+
private normalize;
|
|
37
|
+
private normalizeStyles;
|
|
38
|
+
private normalizeStyle;
|
|
39
|
+
private syncStyles;
|
|
40
|
+
private ensureAttr;
|
|
41
|
+
private ensureGroup;
|
|
42
|
+
private toKebabCase;
|
|
43
|
+
private createLayerEl;
|
|
44
|
+
private patchLayer;
|
|
45
|
+
private applyDiff;
|
|
46
|
+
private onSlotChange;
|
|
47
|
+
render(): any;
|
|
48
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,129 @@
|
|
|
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 VMapLayerGeoJSON implements VMapErrorHost {
|
|
5
|
+
el: HTMLElement;
|
|
6
|
+
/** Current load state of the layer. */
|
|
7
|
+
loadState: 'idle' | 'loading' | 'ready' | 'error';
|
|
8
|
+
/** Prop, die du intern nutzt/weiterverarbeitest */
|
|
9
|
+
geojson?: string;
|
|
10
|
+
/**
|
|
11
|
+
* URL to fetch GeoJSON data from. Alternative to providing data via slot.
|
|
12
|
+
*/
|
|
13
|
+
url: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* Whether the layer is visible on the map.
|
|
16
|
+
*/
|
|
17
|
+
visible: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Z-index for layer stacking order. Higher values render on top.
|
|
20
|
+
*/
|
|
21
|
+
zIndex: number;
|
|
22
|
+
/**
|
|
23
|
+
* Opazität der geojson-Kacheln (0–1).
|
|
24
|
+
* @default 1
|
|
25
|
+
*/
|
|
26
|
+
opacity: number;
|
|
27
|
+
/**
|
|
28
|
+
* Fill color for polygon geometries (CSS color value)
|
|
29
|
+
* @default 'rgba(0,100,255,0.3)'
|
|
30
|
+
*/
|
|
31
|
+
fillColor?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Fill opacity for polygon geometries (0-1)
|
|
34
|
+
* @default 0.3
|
|
35
|
+
*/
|
|
36
|
+
fillOpacity?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Stroke color for lines and polygon outlines (CSS color value)
|
|
39
|
+
* @default 'rgba(0,100,255,1)'
|
|
40
|
+
*/
|
|
41
|
+
strokeColor?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Stroke width in pixels
|
|
44
|
+
* @default 2
|
|
45
|
+
*/
|
|
46
|
+
strokeWidth?: number;
|
|
47
|
+
/**
|
|
48
|
+
* Stroke opacity (0-1)
|
|
49
|
+
* @default 1
|
|
50
|
+
*/
|
|
51
|
+
strokeOpacity?: number;
|
|
52
|
+
/**
|
|
53
|
+
* Point radius for point geometries in pixels
|
|
54
|
+
* @default 6
|
|
55
|
+
*/
|
|
56
|
+
pointRadius?: number;
|
|
57
|
+
/**
|
|
58
|
+
* Point color for point geometries (CSS color value)
|
|
59
|
+
* @default 'rgba(0,100,255,1)'
|
|
60
|
+
*/
|
|
61
|
+
pointColor?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Icon URL for point features (alternative to pointColor/pointRadius)
|
|
64
|
+
*/
|
|
65
|
+
iconUrl?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Icon size as [width, height] in pixels (comma-separated string like "32,32")
|
|
68
|
+
* @default "32,32"
|
|
69
|
+
*/
|
|
70
|
+
iconSize?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Text property name from feature properties to display as label
|
|
73
|
+
*/
|
|
74
|
+
textProperty?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Text color for labels (CSS color value)
|
|
77
|
+
* @default '#000000'
|
|
78
|
+
*/
|
|
79
|
+
textColor?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Text size for labels in pixels
|
|
82
|
+
* @default 12
|
|
83
|
+
*/
|
|
84
|
+
textSize?: number;
|
|
85
|
+
private geoSlot?;
|
|
86
|
+
private mo?;
|
|
87
|
+
private lastString?;
|
|
88
|
+
private layerId;
|
|
89
|
+
private didLoad;
|
|
90
|
+
private hasLoadedOnce;
|
|
91
|
+
private helper;
|
|
92
|
+
private appliedGeostylerStyle?;
|
|
93
|
+
/**
|
|
94
|
+
* Returns the internal layer ID used by the map provider.
|
|
95
|
+
*/
|
|
96
|
+
getLayerId(): Promise<string>;
|
|
97
|
+
setLoadState(state: 'idle' | 'loading' | 'ready' | 'error'): void;
|
|
98
|
+
/** Returns the last error detail, if any. */
|
|
99
|
+
getError(): Promise<VMapErrorDetail | undefined>;
|
|
100
|
+
connectedCallback(): Promise<void>;
|
|
101
|
+
componentWillLoad(): Promise<void>;
|
|
102
|
+
componentDidLoad(): Promise<void>;
|
|
103
|
+
disconnectedCallback(): Promise<void>;
|
|
104
|
+
isReady(): boolean;
|
|
105
|
+
onGeoJsonChanged(oldValue: string, newValue: string): Promise<void>;
|
|
106
|
+
onUrlChanged(oldValue: string, newValue: string): Promise<void>;
|
|
107
|
+
onVisibleChanged(): Promise<void>;
|
|
108
|
+
onOpacityChanged(): Promise<void>;
|
|
109
|
+
onZIndexChanged(): Promise<void>;
|
|
110
|
+
onStyleChanged(): Promise<void>;
|
|
111
|
+
/**
|
|
112
|
+
* Listen for style events from v-map-style components
|
|
113
|
+
*/
|
|
114
|
+
onStyleReady(event: CustomEvent<StyleEvent>): Promise<void>;
|
|
115
|
+
/**
|
|
116
|
+
* Check if this layer is targeted by a style component
|
|
117
|
+
*/
|
|
118
|
+
private isTargetedByStyle;
|
|
119
|
+
private applyExistingStyles;
|
|
120
|
+
/**
|
|
121
|
+
* Update the layer with the applied geostyler style
|
|
122
|
+
*/
|
|
123
|
+
private updateLayerWithGeostylerStyle;
|
|
124
|
+
private onSlotChange;
|
|
125
|
+
private observeAssignedNodes;
|
|
126
|
+
private readGeoJsonFromSlot;
|
|
127
|
+
private createLayerConfig;
|
|
128
|
+
render(): any;
|
|
129
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,74 @@
|
|
|
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 type { ColorMap as GeoStylerColorMap } from 'geostyler-style';
|
|
6
|
+
export declare class VMapLayerGeoTIFF implements VMapLayer, VMapErrorHost {
|
|
7
|
+
el: HTMLElement;
|
|
8
|
+
/** Current load state of the layer. */
|
|
9
|
+
loadState: 'idle' | 'loading' | 'ready' | 'error';
|
|
10
|
+
/**
|
|
11
|
+
* URL to the GeoTIFF file to be displayed on the map.
|
|
12
|
+
*/
|
|
13
|
+
url: string;
|
|
14
|
+
visible: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Opazität der GeoTIFF-Kacheln (0–1).
|
|
17
|
+
* @default 1
|
|
18
|
+
*/
|
|
19
|
+
opacity: number;
|
|
20
|
+
/**
|
|
21
|
+
* Z-index for layer stacking order. Higher values render on top.
|
|
22
|
+
*/
|
|
23
|
+
zIndex: number;
|
|
24
|
+
/**
|
|
25
|
+
* NoData Values to discard (overriding any nodata values in the metadata).
|
|
26
|
+
*/
|
|
27
|
+
nodata?: number;
|
|
28
|
+
/**
|
|
29
|
+
* ColorMap für die Visualisierung (kann entweder ein vordefinierter Name oder eine GeoStyler ColorMap sein).
|
|
30
|
+
*/
|
|
31
|
+
colorMap?: string | GeoStylerColorMap;
|
|
32
|
+
/**
|
|
33
|
+
* Value range for colormap normalization [min, max].
|
|
34
|
+
*/
|
|
35
|
+
valueRange?: [number, number];
|
|
36
|
+
/**
|
|
37
|
+
* Wird ausgelöst, wenn der GeoTIFF-Layer bereit ist.
|
|
38
|
+
* @event ready
|
|
39
|
+
*/
|
|
40
|
+
ready: EventEmitter<void>;
|
|
41
|
+
private didLoad;
|
|
42
|
+
private hasLoadedOnce;
|
|
43
|
+
private helper;
|
|
44
|
+
setLoadState(state: 'idle' | 'loading' | 'ready' | 'error'): void;
|
|
45
|
+
/** Returns the last error detail, if any. */
|
|
46
|
+
getError(): Promise<VMapErrorDetail | undefined>;
|
|
47
|
+
onUrlChanged(): Promise<void>;
|
|
48
|
+
onVisibleChanged(): Promise<void>;
|
|
49
|
+
onOpacityChanged(): Promise<void>;
|
|
50
|
+
onZIndexChanged(): Promise<void>;
|
|
51
|
+
onNodataChanged(): Promise<void>;
|
|
52
|
+
onColorMapChanged(): Promise<void>;
|
|
53
|
+
onValueRangeChanged(): Promise<void>;
|
|
54
|
+
isReady(): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Returns the internal layer ID used by the map provider.
|
|
57
|
+
*/
|
|
58
|
+
getLayerId(): Promise<string>;
|
|
59
|
+
private createLayerConfig;
|
|
60
|
+
connectedCallback(): Promise<void>;
|
|
61
|
+
disconnectedCallback(): Promise<void>;
|
|
62
|
+
/**
|
|
63
|
+
* Handle styleReady event from v-map-style component
|
|
64
|
+
*/
|
|
65
|
+
private handleStyleReady;
|
|
66
|
+
/**
|
|
67
|
+
* Extract RasterSymbolizer from GeoStyler Style
|
|
68
|
+
*/
|
|
69
|
+
private extractRasterSymbolizer;
|
|
70
|
+
componentWillLoad(): Promise<void>;
|
|
71
|
+
componentDidLoad(): Promise<void>;
|
|
72
|
+
componentWillRender(): Promise<void>;
|
|
73
|
+
render(): void;
|
|
74
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
* Google Maps Basemap Layer
|
|
6
|
+
*/
|
|
7
|
+
export declare class VMapLayerGoogle implements VMapErrorHost {
|
|
8
|
+
el: HTMLElement;
|
|
9
|
+
/** Current load state of the layer. */
|
|
10
|
+
loadState: 'idle' | 'loading' | 'ready' | 'error';
|
|
11
|
+
/**
|
|
12
|
+
* Karten-Typ: "roadmap" | "satellite" | "hybrid" | "terrain".
|
|
13
|
+
* @default "roadmap"
|
|
14
|
+
*/
|
|
15
|
+
mapType: 'roadmap' | 'satellite' | 'terrain' | 'hybrid';
|
|
16
|
+
/**
|
|
17
|
+
* Google Maps API-Schlüssel.
|
|
18
|
+
* @example
|
|
19
|
+
* <v-map-layer-google api-key="YOUR_KEY"></v-map-layer-google>
|
|
20
|
+
*/
|
|
21
|
+
apiKey?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Sprach-Lokalisierung (BCP-47, z. B. "de", "en-US").
|
|
24
|
+
* @default "en"
|
|
25
|
+
*/
|
|
26
|
+
language?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Region-Bias (ccTLD/Region-Code, z. B. "DE", "US").
|
|
29
|
+
* Beeinflusst Labels/Suchergebnisse.
|
|
30
|
+
*/
|
|
31
|
+
region?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Sichtbarkeit des Layers.
|
|
34
|
+
* @default true
|
|
35
|
+
*/
|
|
36
|
+
visible: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Opazität des Layers (0–1).
|
|
39
|
+
* @default 1
|
|
40
|
+
*/
|
|
41
|
+
opacity: number;
|
|
42
|
+
/**
|
|
43
|
+
* Scale factor for tile display.
|
|
44
|
+
* @default "scaleFactor1x"
|
|
45
|
+
*/
|
|
46
|
+
scale?: 'scaleFactor1x' | 'scaleFactor2x' | 'scaleFactor4x';
|
|
47
|
+
/**
|
|
48
|
+
* Maximum zoom level for the layer.
|
|
49
|
+
*/
|
|
50
|
+
maxZoom?: number;
|
|
51
|
+
/**
|
|
52
|
+
* Custom styles for the Google Map (JSON array of styling objects).
|
|
53
|
+
* Can be passed as JSON string or array.
|
|
54
|
+
*/
|
|
55
|
+
styles?: Record<string, unknown>[] | string;
|
|
56
|
+
/**
|
|
57
|
+
* Google Maps libraries to load (comma-separated string).
|
|
58
|
+
* @example "geometry,places,drawing"
|
|
59
|
+
*/
|
|
60
|
+
libraries?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Signalisiert, dass der Google-Layer bereit ist. `detail` enthält Metadaten.
|
|
63
|
+
* @event ready
|
|
64
|
+
*/
|
|
65
|
+
ready: EventEmitter<void>;
|
|
66
|
+
private hasLoadedOnce;
|
|
67
|
+
private helper;
|
|
68
|
+
setLoadState(state: 'idle' | 'loading' | 'ready' | 'error'): void;
|
|
69
|
+
/** Returns the last error detail, if any. */
|
|
70
|
+
getError(): Promise<VMapErrorDetail | undefined>;
|
|
71
|
+
parseStyles(newValue: Record<string, unknown>[] | string): void;
|
|
72
|
+
private createLayerConfig;
|
|
73
|
+
connectedCallback(): Promise<void>;
|
|
74
|
+
componentWillLoad(): Promise<void>;
|
|
75
|
+
componentDidLoad(): Promise<void>;
|
|
76
|
+
disconnectedCallback(): Promise<void>;
|
|
77
|
+
render(): void;
|
|
78
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
export declare class VMapLayerOSM implements VMapLayer, VMapErrorHost {
|
|
6
|
+
el: HTMLElement;
|
|
7
|
+
/** Current load state of the layer. */
|
|
8
|
+
loadState: 'idle' | 'loading' | 'ready' | 'error';
|
|
9
|
+
visible: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Opazität der OSM-Kacheln (0–1).
|
|
12
|
+
* @default 1
|
|
13
|
+
*/
|
|
14
|
+
opacity: number;
|
|
15
|
+
/**
|
|
16
|
+
* Z-index for layer stacking order. Higher values render on top.
|
|
17
|
+
*/
|
|
18
|
+
zIndex: number;
|
|
19
|
+
/**
|
|
20
|
+
* Base URL for OpenStreetMap tile server. Defaults to the standard OSM tile server.
|
|
21
|
+
*/
|
|
22
|
+
url: string;
|
|
23
|
+
/**
|
|
24
|
+
* Wird ausgelöst, wenn der OSM-Layer bereit ist.
|
|
25
|
+
* @event ready
|
|
26
|
+
*/
|
|
27
|
+
ready: EventEmitter<void>;
|
|
28
|
+
private didLoad;
|
|
29
|
+
private hasLoadedOnce;
|
|
30
|
+
private helper;
|
|
31
|
+
setLoadState(state: 'idle' | 'loading' | 'ready' | 'error'): void;
|
|
32
|
+
/** Returns the last error detail, if any. */
|
|
33
|
+
getError(): Promise<VMapErrorDetail | undefined>;
|
|
34
|
+
onVisibleChanged(): Promise<void>;
|
|
35
|
+
onOpacityChanged(): Promise<void>;
|
|
36
|
+
onZIndexChanged(): Promise<void>;
|
|
37
|
+
onUrlChanged(oldValue: string, newValue: string): Promise<void>;
|
|
38
|
+
isReady(): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Returns the internal layer ID used by the map provider.
|
|
41
|
+
*/
|
|
42
|
+
getLayerId(): Promise<string>;
|
|
43
|
+
private createLayerConfig;
|
|
44
|
+
connectedCallback(): Promise<void>;
|
|
45
|
+
componentWillLoad(): Promise<void>;
|
|
46
|
+
componentDidLoad(): Promise<void>;
|
|
47
|
+
componentWillRender(): Promise<void>;
|
|
48
|
+
disconnectedCallback(): Promise<void>;
|
|
49
|
+
render(): void;
|
|
50
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
export type Color = string | [number, number, number, number?];
|
|
5
|
+
export declare class VMapLayerScatterplot implements VMapErrorHost {
|
|
6
|
+
el: HTMLElement;
|
|
7
|
+
/** Current load state of the layer. */
|
|
8
|
+
loadState: 'idle' | 'loading' | 'ready' | 'error';
|
|
9
|
+
/**
|
|
10
|
+
* Datenquelle für Punkte. Erwartet Objekte mit mindestens
|
|
11
|
+
* einer Position in [lon, lat]. Zusätzliche Felder sind erlaubt.
|
|
12
|
+
*/
|
|
13
|
+
data?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Optionaler Remote-Pfad für JSON/CSV/GeoJSON, der zu `data` geladen wird.
|
|
16
|
+
*/
|
|
17
|
+
url?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Funktion zur Bestimmung der Füllfarbe je Punkt. Rückgabe
|
|
20
|
+
* z. B. [r,g,b] oder CSS-Farbe (providerabhängig).
|
|
21
|
+
*/
|
|
22
|
+
getFillColor: Color;
|
|
23
|
+
/**
|
|
24
|
+
* Funktion/konstanter Wert für den Punkt-Radius.
|
|
25
|
+
* @default 4
|
|
26
|
+
*/
|
|
27
|
+
getRadius: number;
|
|
28
|
+
/**
|
|
29
|
+
* Globale Opazität (0–1).
|
|
30
|
+
* @default 1
|
|
31
|
+
*/
|
|
32
|
+
opacity: number;
|
|
33
|
+
/**
|
|
34
|
+
* Sichtbarkeit des Layers.
|
|
35
|
+
* @default true
|
|
36
|
+
*/
|
|
37
|
+
visible: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Wird ausgelöst, sobald der Scatterplot registriert wurde.
|
|
40
|
+
* @event ready
|
|
41
|
+
*/
|
|
42
|
+
ready: EventEmitter<void>;
|
|
43
|
+
private hasLoadedOnce;
|
|
44
|
+
private helper;
|
|
45
|
+
setLoadState(state: 'idle' | 'loading' | 'ready' | 'error'): void;
|
|
46
|
+
/** Returns the last error detail, if any. */
|
|
47
|
+
getError(): Promise<VMapErrorDetail | undefined>;
|
|
48
|
+
private createLayerConfig;
|
|
49
|
+
connectedCallback(): Promise<void>;
|
|
50
|
+
componentWillLoad(): Promise<void>;
|
|
51
|
+
componentDidLoad(): Promise<void>;
|
|
52
|
+
disconnectedCallback(): Promise<void>;
|
|
53
|
+
render(): void;
|
|
54
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { VMapErrorHost } from '../../layer/v-map-layer-helper';
|
|
2
|
+
import type { VMapErrorDetail } from '../../utils/events';
|
|
3
|
+
export declare class VMapLayerTerrain implements VMapErrorHost {
|
|
4
|
+
el: HTMLElement;
|
|
5
|
+
/** Current load state of the layer. */
|
|
6
|
+
loadState: 'idle' | 'loading' | 'ready' | 'error';
|
|
7
|
+
/**
|
|
8
|
+
* URL zu Höhenraster im Heightmap-Format (z. B. GeoTIFF oder PNG Heightmap).
|
|
9
|
+
*/
|
|
10
|
+
elevationData: string;
|
|
11
|
+
/**
|
|
12
|
+
* Optionale Textur (RGB) für das Terrain.
|
|
13
|
+
*/
|
|
14
|
+
texture?: string;
|
|
15
|
+
/**
|
|
16
|
+
* JSON-Repräsentation eines Elevation-Decoders (z. B. '{"r":1,"g":1,"b":1,"offset":0}').
|
|
17
|
+
*/
|
|
18
|
+
elevationDecoder?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Darstellung des Mesh als Drahtgitter.
|
|
21
|
+
*/
|
|
22
|
+
wireframe?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Basisfarbe für das Terrain. Erwartet Hex oder RGB (z. B. '#ff0000' oder '255,0,0').
|
|
25
|
+
*/
|
|
26
|
+
color?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Minimale Zoomstufe für das Terrain.
|
|
29
|
+
*/
|
|
30
|
+
minZoom?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Maximale Zoomstufe für das Terrain.
|
|
33
|
+
*/
|
|
34
|
+
maxZoom?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Fehler-Toleranz für das Mesh (wird an TerrainRenderer durchgereicht).
|
|
37
|
+
*/
|
|
38
|
+
meshMaxError?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Sichtbarkeit des Layers.
|
|
41
|
+
*/
|
|
42
|
+
visible: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Opazität des Layers.
|
|
45
|
+
*/
|
|
46
|
+
opacity: number;
|
|
47
|
+
/**
|
|
48
|
+
* Z-Index für die Darstellung.
|
|
49
|
+
*/
|
|
50
|
+
zIndex: number;
|
|
51
|
+
private didLoad;
|
|
52
|
+
private hasLoadedOnce;
|
|
53
|
+
private helper;
|
|
54
|
+
setLoadState(state: 'idle' | 'loading' | 'ready' | 'error'): void;
|
|
55
|
+
/** Returns the last error detail, if any. */
|
|
56
|
+
getError(): Promise<VMapErrorDetail | undefined>;
|
|
57
|
+
componentWillLoad(): void;
|
|
58
|
+
componentDidLoad(): Promise<void>;
|
|
59
|
+
connectedCallback(): Promise<void>;
|
|
60
|
+
disconnectedCallback(): Promise<void>;
|
|
61
|
+
/**
|
|
62
|
+
* Liefert `true`, sobald das Terrain-Layer initialisiert wurde.
|
|
63
|
+
*/
|
|
64
|
+
isReady(): Promise<boolean>;
|
|
65
|
+
onVisibleChanged(): Promise<void>;
|
|
66
|
+
onOpacityChanged(): Promise<void>;
|
|
67
|
+
onZIndexChanged(): Promise<void>;
|
|
68
|
+
onTerrainConfigChanged(): Promise<void>;
|
|
69
|
+
private pushTerrainUpdate;
|
|
70
|
+
private getElevationDecoder;
|
|
71
|
+
private getColorArray;
|
|
72
|
+
private createLayerConfig;
|
|
73
|
+
render(): any;
|
|
74
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,117 @@
|
|
|
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 type { ColorMap as GeoStylerColorMap } from 'geostyler-style';
|
|
6
|
+
export declare class VMapLayerTerrainGeotiff implements VMapLayer, VMapErrorHost {
|
|
7
|
+
el: HTMLElement;
|
|
8
|
+
/** Current load state of the layer. */
|
|
9
|
+
loadState: 'idle' | 'loading' | 'ready' | 'error';
|
|
10
|
+
/**
|
|
11
|
+
* URL to the GeoTIFF file containing elevation data.
|
|
12
|
+
*/
|
|
13
|
+
url: string;
|
|
14
|
+
/**
|
|
15
|
+
* Quell-Projektion des GeoTIFF (z. B. "EPSG:32632" oder proj4-String)
|
|
16
|
+
*/
|
|
17
|
+
projection?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Erzwingt die Verwendung der projection-Prop, ignoriert GeoKeys
|
|
20
|
+
*/
|
|
21
|
+
forceProjection?: boolean;
|
|
22
|
+
visible: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Opacity of the terrain layer (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
|
+
* NoData value to discard (overriding any nodata values in the metadata).
|
|
34
|
+
*/
|
|
35
|
+
nodata?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Mesh error tolerance in meters (Martini).
|
|
38
|
+
* Smaller values = more detailed mesh, but slower.
|
|
39
|
+
* @default 4.0
|
|
40
|
+
*/
|
|
41
|
+
meshMaxError?: number;
|
|
42
|
+
/**
|
|
43
|
+
* Enable wireframe mode (show only mesh lines).
|
|
44
|
+
* @default false
|
|
45
|
+
*/
|
|
46
|
+
wireframe?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Optional texture URL (can be an image or tile URL).
|
|
49
|
+
*/
|
|
50
|
+
texture?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Color for the terrain (if no texture is provided).
|
|
53
|
+
* [r, g, b] with values 0-255.
|
|
54
|
+
* @default [255, 255, 255]
|
|
55
|
+
*/
|
|
56
|
+
color?: [number, number, number];
|
|
57
|
+
/**
|
|
58
|
+
* ColorMap for elevation data visualization.
|
|
59
|
+
* Only relevant when no texture is set.
|
|
60
|
+
*/
|
|
61
|
+
colorMap?: string | GeoStylerColorMap;
|
|
62
|
+
/**
|
|
63
|
+
* Value range for colormap normalization [min, max].
|
|
64
|
+
*/
|
|
65
|
+
valueRange?: [number, number];
|
|
66
|
+
/**
|
|
67
|
+
* Elevation exaggeration factor.
|
|
68
|
+
* @default 1.0
|
|
69
|
+
*/
|
|
70
|
+
elevationScale?: number;
|
|
71
|
+
/**
|
|
72
|
+
* Rendering mode for GeoTIFF terrain.
|
|
73
|
+
* @default terrain
|
|
74
|
+
*/
|
|
75
|
+
renderMode?: 'terrain' | 'colormap';
|
|
76
|
+
/**
|
|
77
|
+
* Minimum zoom level.
|
|
78
|
+
*/
|
|
79
|
+
minZoom?: number;
|
|
80
|
+
/**
|
|
81
|
+
* Maximum zoom level.
|
|
82
|
+
*/
|
|
83
|
+
maxZoom?: number;
|
|
84
|
+
/**
|
|
85
|
+
* Tile size in pixels.
|
|
86
|
+
* @default 256
|
|
87
|
+
*/
|
|
88
|
+
tileSize?: number;
|
|
89
|
+
/**
|
|
90
|
+
* Fired when the terrain layer is ready.
|
|
91
|
+
* @event ready
|
|
92
|
+
*/
|
|
93
|
+
ready: EventEmitter<void>;
|
|
94
|
+
private didLoad;
|
|
95
|
+
private hasLoadedOnce;
|
|
96
|
+
private helper;
|
|
97
|
+
setLoadState(state: 'idle' | 'loading' | 'ready' | 'error'): void;
|
|
98
|
+
/** Returns the last error detail, if any. */
|
|
99
|
+
getError(): Promise<VMapErrorDetail | undefined>;
|
|
100
|
+
onUrlChanged(): Promise<void>;
|
|
101
|
+
onVisibleChanged(): Promise<void>;
|
|
102
|
+
onOpacityChanged(): Promise<void>;
|
|
103
|
+
onZIndexChanged(): Promise<void>;
|
|
104
|
+
onPropertyChanged(): Promise<void>;
|
|
105
|
+
isReady(): boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Returns the internal layer ID used by the map provider.
|
|
108
|
+
*/
|
|
109
|
+
getLayerId(): Promise<string>;
|
|
110
|
+
private createLayerConfig;
|
|
111
|
+
connectedCallback(): Promise<void>;
|
|
112
|
+
disconnectedCallback(): Promise<void>;
|
|
113
|
+
componentWillLoad(): Promise<void>;
|
|
114
|
+
componentDidLoad(): Promise<void>;
|
|
115
|
+
componentWillRender(): Promise<void>;
|
|
116
|
+
render(): any;
|
|
117
|
+
}
|
package/dist/types/components/v-map-layer-terrain-geotiff/v-map-layer-terrain-geotiff.test.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|