aboutsummaryrefslogtreecommitdiffstats
path: root/index.html
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 /index.html
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 'index.html')
-rw-r--r--index.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.html b/index.html
index f4dec03..e782d0a 100644
--- a/index.html
+++ b/index.html
@@ -11,6 +11,7 @@
<div id="map-control-container" aria-hidden="true">
<div id="layer-selection-panel"></div>
<div id="map-legend-panel"></div>
+ <div id="measure-panel"></div>
<div id="map-menu"></div>
</div>
<div id="popup"></div>