Commit Graph

114 Commits

Author SHA1 Message Date
mbof
766ebe0275 Add support for nautical units (#61) (#66)
* Add support for nautical units

* Make panel reactive to unit changes even after pushing down conversions into utility functions.

* Fix issue: km->mph conversion was not done right.

* Add support for nautical units to the Time dialog.

* Add support for nautical units to the embedding view and embedding playground.

* add missing parameter and rename

* "npx prettier" pass on the files changed in this PR

Does not include changes to `website/src/lib/db.ts`, because there would otherwise be lots of unrelated formatting changes

* Change elevation unit to meters for 'nautical' distances.

* hide elevation decimals

---------

Co-authored-by: bdbkun <1308709+mbof@users.noreply.github.com>
Co-authored-by: vcoppe <vianney.coppe@gmail.com>
2024-08-26 12:51:05 +02:00
vcoppe
e42dd6e144 fix stats slice bug, closes #67 2024-08-22 14:56:39 +02:00
vcoppe
b5fd8ea09b refine routing controls interactions 2024-08-22 10:41:04 +02:00
vcoppe
1a4ae96782 fix routing anchor visibility for any bearing 2024-08-19 12:55:17 +02:00
vcoppe
069a598429 extract redundant code in helper function 2024-08-13 14:58:15 +02:00
vcoppe
795b85da13 show alphabetically sorted list of POI icons 2024-08-11 19:43:28 +02:00
vcoppe
ad22ad8caa improve routing details 2024-08-11 17:40:47 +02:00
vcoppe
c600b25921 fix several time input issues, closes #47 2024-08-11 00:02:53 +02:00
vcoppe
5b877e1ef5 fix imperial speed input, closes #46 2024-08-09 23:28:59 +02:00
vcoppe
143dd71f4a allow HTML in wpt desc, and handle link field 2024-08-09 16:22:32 +02:00
vcoppe
00d6c9b45d waypoint sym icons, and change layer color design 2024-08-08 23:20:09 +02:00
vcoppe
f10b18afe2 handle waypoint symbols 2024-08-08 17:52:11 +02:00
vcoppe
8dee6db813 add link to docs in help boxes 2024-08-07 16:54:48 +02:00
vcoppe
d7c756e471 time management improvements for routing tool 2024-08-07 16:22:22 +02:00
vcoppe
61c6a29d64 fix elevation artefacts when routing 2024-08-06 16:08:17 +02:00
vcoppe
6f946a0075 fix crop selection from elevation profile, and improve for dark mode, closes #41 2024-08-05 18:16:28 +02:00
vcoppe
1f6bf60927 show anchor point dialog also on contextmenu, closes #33 2024-08-05 16:31:47 +02:00
vcoppe
a7f6e62242 remove console logs 2024-07-25 19:18:10 +02:00
vcoppe
5ab1b77227 update scissors tool, closes #20 2024-07-25 16:15:44 +02:00
vcoppe
f4fc667b03 facilitate route editing on touch devices 2024-07-24 15:17:41 +02:00
vcoppe
d62ba77ecb add gravel bike profile 2024-07-23 19:26:11 +02:00
vcoppe
2039a1d44e finer grained anchors points at high zoom levels, related to #16 2024-07-23 15:55:16 +02:00
vcoppe
48aa88489e refactor elevation queries 2024-07-19 13:17:23 +02:00
vcoppe
d6c0e403f9 fix time with routing issue 2024-07-18 10:43:38 +02:00
vcoppe
3f6f9a8844 fallback elevation value for smoothing and after routing 2024-07-18 00:12:59 +02:00
vcoppe
c8a8ff70b2 Merge branch 'overpass-layer' 2024-07-17 23:11:43 +02:00
vcoppe
92a1c600d0 add overpass poi to file 2024-07-17 23:05:17 +02:00
vcoppe
031184b086 fix routing issue with time data 2024-07-17 19:59:45 +02:00
vcoppe
d0d35468ea routing shortcut 2024-07-16 15:48:01 +02:00
vcoppe
4c6633d81d try to fix empty routing profile at first load 2024-07-16 12:24:57 +02:00
vcoppe
e88dbafead enable routing tool without selection, and support multi-select 2024-07-16 12:17:23 +02:00
vcoppe
b8e03cf947 fix mounting and destroying issues 2024-07-13 11:42:21 +02:00
vcoppe
a7f9e082e4 fix double-click in checkbox and select inputs 2024-07-12 12:19:03 +02:00
vcoppe
7daf26aa5f finish tools docs 2024-07-10 15:09:52 +02:00
vcoppe
cb4abedc16 small progress 2024-07-10 00:11:47 +02:00
vcoppe
bdcc554aaf fix routing controls visibility on edges of the map 2024-07-09 23:41:38 +02:00
vcoppe
e86dcb7750 docs progress 2024-07-09 22:49:57 +02:00
vcoppe
e174d4d2f5 add routing docs 2024-07-09 22:15:05 +02:00
vcoppe
13a997e272 fix urls with base 2024-07-08 23:39:45 +02:00
vcoppe
8d36e4bafe Merge pull request #5 from raphaklaus/fix/date-bug
Fix calendar bug
2024-07-05 22:16:39 +02:00
vcoppe
cb735db216 about page 2024-07-05 16:08:16 +02:00
Raphael D. Pinheiro
5449805cc0 fix calendar bug 2024-07-04 21:30:23 +02:00
vcoppe
76b41dc546 finish reworking immer updates 2024-07-04 16:25:13 +02:00
vcoppe
8643abfafa real incremental immer patches 2024-07-04 02:17:50 +02:00
vcoppe
804a155257 add contextmenu actions to edit menu 2024-06-27 18:23:11 +02:00
vcoppe
1fdcc4289a accessibility improvements 2024-06-27 15:50:15 +02:00
vcoppe
90e73a2739 fix adding point to empty file 2024-06-27 00:29:43 +02:00
vcoppe
f823bcade5 create slope segments 2024-06-25 19:41:37 +02:00
vcoppe
ad6b1900a1 street view control 2024-06-24 19:41:44 +02:00
vcoppe
b13cf62597 limit lon lat precision shown 2024-06-20 00:45:41 +02:00