diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ca5db5cca..484234062 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -879,8 +879,8 @@ importers: specifier: ^3.4.4 version: 3.7.2 maplibre-gl: - specifier: ^5.6.2 - version: 5.24.0 + specifier: ^6.0.0 + version: 6.8.0 media-chrome: specifier: ^4.19.0 version: 4.19.2(react@19.2.8) @@ -906,8 +906,8 @@ importers: specifier: ^3.10.0 version: 3.13.0(svelte@5.56.10(@typescript-eslint/types@8.68.0)) svelte-maplibre: - specifier: ^1.2.5 - version: 1.3.0(svelte@5.56.10(@typescript-eslint/types@8.68.0)) + specifier: ^2.0.0 + version: 2.0.0(svelte@5.56.10(@typescript-eslint/types@8.68.0)) svelte-persisted-store: specifier: ^0.12.0 version: 0.12.0(svelte@5.56.10(@typescript-eslint/types@8.68.0)) @@ -3473,9 +3473,9 @@ packages: resolution: {integrity: sha512-Z7C/xXCiGWsg0KuKsHTKJxbWhpI3Vs5GwLfOean7MGyVFGqdRgBbAjOCh6u4bbjPc/8MJ2pZmK/0DLdCbivLDA==} engines: {node: '>=8'} - '@mapbox/jsonlint-lines-primitives@2.0.2': - resolution: {integrity: sha512-rY0o9A5ECsTQRVhv7tL/OyDpGAoUB4tTvLiW1DSzQGq4bvTPhNw1VpSNjDJc5GFZ2XuyOtSWSVN05qOtcD71qQ==} - engines: {node: '>= 0.6'} + '@mapbox/jsonlint-lines-primitives@2.0.3': + resolution: {integrity: sha512-0SElaV0uMxEnxzBhhX9WTuPyUeMsAN/SS0i16tjuba4/mio63MG9khjC1a0JAiPGXAwvwm4UfHJURCN7nyudQg==} + engines: {node: '>= 22'} '@mapbox/mapbox-gl-rtl-text@0.4.0': resolution: {integrity: sha512-WNSgEFxXd2a15Eh2GwZNWBiV7Z8leq8JEGcoHpfrgaBDmFQMW4a1MO5Ol9BNv6APqTbHZ8uq7L8H5q2KCVt1kg==} @@ -3490,28 +3490,21 @@ packages: '@mapbox/tiny-sdf@2.2.0': resolution: {integrity: sha512-LVL4wgI9YAum5V+LNVQO6QgFBPw7/MIIY4XJPNsPDMrjEwcE+JfKk1LuIl8GnF197ejVdC9QdPaxrx5gfgdGXg==} - '@mapbox/unitbezier@0.0.1': - resolution: {integrity: sha512-nMkuDXFv60aBr9soUG5q+GvZYL+2KZHVvsqFCzqnkGEf46U2fvmytHaEVc1/YZbiLn8X+eR3QzX1+dwDO1lxlw==} - '@mapbox/unitbezier@1.0.0': resolution: {integrity: sha512-fqd515fjBmANKGGsQ286E2Wvj/XvDFpGzwJxq4CI6jMQue6Oy04uCKp+JWKF00xRTmk6cEu1jPJ9p3xqH8YWqQ==} - '@mapbox/vector-tile@2.0.5': - resolution: {integrity: sha512-pXj8m7KTsqZt+1jsE0xIpGvqTSbblfkuEJL/NJmNePMtEwxO8V3XMDo9WMSfDeqHvCtBI9Lmt4mGcGR10zecmw==} + '@mapbox/vector-tile@3.0.0': + resolution: {integrity: sha512-Qf10S1uIHMk20ri/IVBnpS+esUEkVaR5Hftmz88jTInrpmWgPGJfPe3LVjjlE77trLx8tH6qjTG7uWH9hIq/0Q==} - '@mapbox/whoots-js@3.1.0': - resolution: {integrity: sha512-Es6WcD0nO5l+2BOQS4uLfNPYQaNDfbot3X1XUoloz+x0mPDS3eeORZJl06HXjwBG1fOGwCRnzK88LMdxKRrd6Q==} - engines: {node: '>=6.0.0'} + '@maplibre/geojson-vt@6.1.1': + resolution: {integrity: sha512-FVMOcmSP/yqol45t7StApEyTL5/vmqBCuFhH9n+fFuINenhaX+YgHHIt1yJ86S8kln3uJLcMvmEU2cfn6E2eCQ==} - '@maplibre/geojson-vt@6.1.0': - resolution: {integrity: sha512-2eIY4gZxeKIVOZVNkAMb+5NgXhgsMQpOveTQAvnp53LYqHGJZDidk7Ew0Tged9PThidpbS+NFTh0g4zivhPDzQ==} - - '@maplibre/maplibre-gl-style-spec@24.10.0': - resolution: {integrity: sha512-lichxSiagMEBBrqHF0trtMQH9RKh+9jUlIJl0qW0QHvt2H/tbvUWdE+ZzI2Jd0/pT7j/iavLonlPu7EQ/ixTOw==} + '@maplibre/maplibre-gl-style-spec@26.4.1': + resolution: {integrity: sha512-I/qcIKVFHFSg1Meu/eqHrkSTjIez0gCsSaK56TNPutM3TkE61aSq6F1cZ4Kg4KiNs3cpViLtubDjfyRcQCdEJQ==} hasBin: true - '@maplibre/mlt@1.1.12': - resolution: {integrity: sha512-ZeK5w2TTeHOajcLaEQs1KZXw2V9wIKo1PmThlxlsHoXsQsYlBqLJzPOd6tJHRtGTChUY3DPPmjXRArYVvAbmZw==} + '@maplibre/mlt@1.2.1': + resolution: {integrity: sha512-5n5dgolE2EYxwCKgx8vlwURCB8A+kyfJJyThlYimjlGgOcOe2Bhw9VxxnnHC91OC9PgHg+nVdgVPTYPkIo62vg==} '@maplibre/vt-pbf@4.3.2': resolution: {integrity: sha512-j6p0AdjvAR19Z3XaCysle7A4ZSo08tYOzxD0Y9NQylwPAkwJJeYub5b2eVucdeDh7erhv69DahoLOevDRERRUw==} @@ -7383,8 +7376,8 @@ packages: duplexer@0.1.2: resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==} - earcut@3.0.2: - resolution: {integrity: sha512-X7hshQbLyMJ/3RPhyObLARM2sNxxmRALLKx1+NVFFnQ9gKzmCrxm9+uLIAdBcvc8FNLpctqlQ2V6AE92Ol9UDQ==} + earcut@3.2.3: + resolution: {integrity: sha512-vnS4AVwp1KHAF13i1vp1/2D5evWy3k5u/iW/B81QVsUZtV8cv2tU0b2VNFlqvh4kYwrFMDdjPCfAmfyJW9y14Q==} eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} @@ -9276,8 +9269,8 @@ packages: resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} engines: {node: '>=10'} - maplibre-gl@5.24.0: - resolution: {integrity: sha512-ALyFxgtd5R+65UqZ/++lOqwWcC0SNho9c27fYSyLmG7AfnAul2o46F05aDJGPbFU57wos9dgcIySHs0Xe6ia3A==} + maplibre-gl@6.8.0: + resolution: {integrity: sha512-+ZkjKTodsVLY0ewQThvXRxXQsclcsSgOm5LlnrBM3G8AloMJKt6Haw8mY4xrOl8T0WMqH6DTYjktZ9zGQXZd4w==} engines: {node: '>=16.14.0', npm: '>=8.1.0'} mark.js@8.11.1: @@ -10221,12 +10214,8 @@ packages: resolution: {integrity: sha512-XDF38WCH3z5OV/OVa8GKUNtLAyneuzbCisx7QUCF8Q6Nutx0WnJrQe5O+kOtBlLfRNUws98Y58Lblp+NJG5T4Q==} hasBin: true - pbf@4.0.2: - resolution: {integrity: sha512-J0ajxARhZfpUEebxYs1vhMGMuLSXtBe1e+fFPDrf2uA2hgo+UshKfNUWOz92HJNz6/NFEXseQPddnHkTreWRqg==} - hasBin: true - - pbf@5.1.0: - resolution: {integrity: sha512-Wv0yo0+uZepnoNEKsquhar1F18LogB8oeEikIhUXG16udbiXG7JecHGySwoo6kuMgjmbQYzdrTZlO+/K9t8eZg==} + pbf@5.1.2: + resolution: {integrity: sha512-mnvGdvOrIvJOBGUEdGkrVXjN8E/VkIJCkf2eS1DH2yv82ORUlLttmDt0rWY38yYZmVwciZwBUvHM20qxBZf40w==} hasBin: true peberminta@0.9.0: @@ -11841,8 +11830,8 @@ packages: peerDependencies: svelte: ^5.0.0 - svelte-maplibre@1.3.0: - resolution: {integrity: sha512-p54dzfzWGiv0gwosxOMksLz7b9pJqPBJXi7MFebrvcnRZtO4H9efkb2bqSjXLY15oLcb5Be06siRXVdKDlMc9Q==} + svelte-maplibre@2.0.0: + resolution: {integrity: sha512-3jBSr4p1uPdWKbfJt7ugSrW0HkuVJ8CiKT+9n6GXdhVeTX5wIz+rF8DkQPzbmATSVQJ8shjppc/AtxUJWLKktg==} peerDependencies: '@deck.gl/core': ^9 '@deck.gl/layers': ^9 @@ -16322,7 +16311,7 @@ snapshots: '@lukeed/csprng@1.1.0': {} - '@mapbox/jsonlint-lines-primitives@2.0.2': {} + '@mapbox/jsonlint-lines-primitives@2.0.3': {} '@mapbox/mapbox-gl-rtl-text@0.4.0': {} @@ -16345,32 +16334,28 @@ snapshots: '@mapbox/tiny-sdf@2.2.0': {} - '@mapbox/unitbezier@0.0.1': {} - '@mapbox/unitbezier@1.0.0': {} - '@mapbox/vector-tile@2.0.5': + '@mapbox/vector-tile@3.0.0': dependencies: '@mapbox/point-geometry': 1.1.0 '@types/geojson': 7946.0.16 - pbf: 4.0.2 + pbf: 5.1.2 - '@mapbox/whoots-js@3.1.0': {} - - '@maplibre/geojson-vt@6.1.0': + '@maplibre/geojson-vt@6.1.1': dependencies: kdbush: 4.1.0 - '@maplibre/maplibre-gl-style-spec@24.10.0': + '@maplibre/maplibre-gl-style-spec@26.4.1': dependencies: - '@mapbox/jsonlint-lines-primitives': 2.0.2 + '@mapbox/jsonlint-lines-primitives': 2.0.3 '@mapbox/unitbezier': 1.0.0 json-stringify-pretty-compact: 4.0.0 minimist: 1.2.8 quickselect: 3.0.0 tinyqueue: 3.0.0 - '@maplibre/mlt@1.1.12': + '@maplibre/mlt@1.2.1': dependencies: '@mapbox/point-geometry': 1.1.0 @@ -16378,7 +16363,7 @@ snapshots: dependencies: '@mapbox/point-geometry': 1.1.0 '@types/geojson': 7946.0.16 - pbf: 5.1.0 + pbf: 5.1.2 '@marijn/find-cluster-break@1.0.3': {} @@ -20364,7 +20349,7 @@ snapshots: duplexer@0.1.2: {} - earcut@3.0.2: {} + earcut@3.2.3: {} eastasianwidth@0.2.0: {} @@ -22564,24 +22549,22 @@ snapshots: dependencies: semver: 7.8.5 - maplibre-gl@5.24.0: + maplibre-gl@6.8.0: dependencies: - '@mapbox/jsonlint-lines-primitives': 2.0.2 '@mapbox/point-geometry': 1.1.0 '@mapbox/tiny-sdf': 2.2.0 - '@mapbox/unitbezier': 0.0.1 - '@mapbox/vector-tile': 2.0.5 - '@mapbox/whoots-js': 3.1.0 - '@maplibre/geojson-vt': 6.1.0 - '@maplibre/maplibre-gl-style-spec': 24.10.0 - '@maplibre/mlt': 1.1.12 + '@mapbox/unitbezier': 1.0.0 + '@mapbox/vector-tile': 3.0.0 + '@maplibre/geojson-vt': 6.1.1 + '@maplibre/maplibre-gl-style-spec': 26.4.1 + '@maplibre/mlt': 1.2.1 '@maplibre/vt-pbf': 4.3.2 '@types/geojson': 7946.0.16 - earcut: 3.0.2 + earcut: 3.2.3 gl-matrix: 3.4.4 kdbush: 4.1.0 murmurhash-js: 1.0.0 - pbf: 4.0.2 + pbf: 5.1.2 potpack: 2.1.0 quickselect: 3.0.0 tinyqueue: 3.0.0 @@ -23805,11 +23788,7 @@ snapshots: ieee754: 1.2.1 resolve-protobuf-schema: 2.1.0 - pbf@4.0.2: - dependencies: - resolve-protobuf-schema: 2.1.0 - - pbf@5.1.0: + pbf@5.1.2: dependencies: resolve-protobuf-schema: 2.1.0 @@ -25757,12 +25736,12 @@ snapshots: svelte-select: 5.8.3 vanilla-picker: 2.12.3 - svelte-maplibre@1.3.0(svelte@5.56.10(@typescript-eslint/types@8.68.0)): + svelte-maplibre@2.0.0(svelte@5.56.10(@typescript-eslint/types@8.68.0)): dependencies: d3-geo: 3.1.1 dequal: 2.0.3 just-compare: 2.3.0 - maplibre-gl: 5.24.0 + maplibre-gl: 6.8.0 pmtiles: 3.2.1 svelte: 5.56.10(@typescript-eslint/types@8.68.0) diff --git a/web/package.json b/web/package.json index d6a5ee60a..4a1d8bcb2 100644 --- a/web/package.json +++ b/web/package.json @@ -53,7 +53,7 @@ "justified-layout": "^4.1.0", "lodash-es": "^4.17.21", "luxon": "^3.4.4", - "maplibre-gl": "^5.6.2", + "maplibre-gl": "^6.0.0", "media-chrome": "^4.19.0", "pmtiles": "^4.3.0", "qrcode": "^1.5.4", @@ -62,7 +62,7 @@ "svelte-gestures": "^5.2.2", "svelte-i18n": "^4.0.1", "svelte-jsoneditor": "^3.10.0", - "svelte-maplibre": "^1.2.5", + "svelte-maplibre": "^2.0.0", "svelte-persisted-store": "^0.12.0", "tabbable": "^6.2.0", "tailwind-merge": "^3.5.0", diff --git a/web/src/lib/components/shared-components/map/Map.svelte b/web/src/lib/components/shared-components/map/Map.svelte index abdc17c8e..e227e7da8 100644 --- a/web/src/lib/components/shared-components/map/Map.svelte +++ b/web/src/lib/components/shared-components/map/Map.svelte @@ -1,9 +1,11 @@