aboutsummaryrefslogtreecommitdiffstats
path: root/package-lock.json
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2025-06-18 18:12:54 +0200
committerGuilhem Moulin <guilhem@fripost.org>2025-06-19 17:22:36 +0200
commit263f7ce2325a258df149cf29c32f2bbbb97d7924 (patch)
tree3b075841da85da71dff0b6effb353cb94ea1b4b3 /package-lock.json
parentd1d98433bda4498c6942e2245260278972892a64 (diff)
Add panel to measure lengths and areas.
Inspired from https://openlayers.org/en/latest/examples/measure.html and https://openlayers.org/en/latest/examples/draw-features.html . We use the Inter font https://rsms.me/inter/ for the measurement value as it has good support for tabular-nums.
Diffstat (limited to 'package-lock.json')
-rw-r--r--package-lock.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/package-lock.json b/package-lock.json
index f25d658..ca0a6f8 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9,6 +9,7 @@
"version": "0.0.1",
"license": "AGPL-3.0-or-later",
"dependencies": {
+ "@fontsource/inter": "^5.2.6",
"bootstrap": "5.3.x",
"bootstrap-icons": "1.13.x",
"ol": "10.6.x",
@@ -604,6 +605,14 @@
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
}
},
+ "node_modules/@fontsource/inter": {
+ "version": "5.2.6",
+ "resolved": "https://registry.npmjs.org/@fontsource/inter/-/inter-5.2.6.tgz",
+ "integrity": "sha512-CZs9S1CrjD0jPwsNy9W6j0BhsmRSQrgwlTNkgQXTsAeDRM42LBRLo3eo9gCzfH4GvV7zpyf78Ozfl773826csw==",
+ "funding": {
+ "url": "https://github.com/sponsors/ayuhito"
+ }
+ },
"node_modules/@humanfs/core": {
"version": "0.19.1",
"resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",