aboutsummaryrefslogtreecommitdiffstats
path: root/package.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.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.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index f08c3c9..6011349 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"vite": "^6.3.5"
},
"dependencies": {
+ "@fontsource/inter": "^5.2.6",
"bootstrap": "5.3.x",
"bootstrap-icons": "1.13.x",
"ol": "10.6.x",