Commit graph

461 commits

Author SHA1 Message Date
vcoppe
920e7901f4 remove disclaimer 2024-08-29 14:10:40 +02:00
vcoppe
a23fea3d98 fix split control icon color for dark theme 2024-08-26 17:57:22 +02:00
mbof
b9ca55c798
Implement fit-to-track (#43) (#69)
* Implement fit-to-track (#43)

* * Change icon to Maximize
* Use default animation
* Rename feature to "Fly to"
* Move logic to stores so that it can be reused in the main menu (and eventually a keyboard shortcut)

* improve zoom on selected POIs, rework zoom buttons and add shortcut

---------

Co-authored-by: vcoppe <vianney.coppe@gmail.com>
2024-08-26 14:00:53 +02:00
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
mbof
d939ef2f60
Set interpolation mode to "monotone" to avoid backwards-going lines (fix #70) (#71) 2024-08-26 12:24:45 +02:00
vcoppe
c1faea787a block delete shortcut when focusing an input #68 2024-08-23 10:31:02 +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
14ed58aaab show duplicate button in horizontal list, closes #64 2024-08-19 12:03:08 +02:00
vcoppe
49582dcddd fix some URLs 2024-08-16 12:51:55 +02:00
vcoppe
fa30739fd0 inject static meta tags for each language 2024-08-16 12:25:24 +02:00
vcoppe
84b3d29e2e embedding: add support files hosted on google drive 2024-08-14 18:27:47 +02:00
vcoppe
9327870d54 support html img in wpt desc 2024-08-14 18:19:28 +02:00
vcoppe
66b57e0013 fix 404 2024-08-14 12:14:29 +02:00
vcoppe
879b65953f backward compatibility with old embedding URLs 2024-08-14 11:29:23 +02:00
vcoppe
e800b2ebef optional parameter for language, instead of rest parameter 2024-08-14 09:27:53 +02:00
vcoppe
22e9c76a5b fix custom basemap tile URL update 2024-08-14 09:21:55 +02:00
vcoppe
069a598429 extract redundant code in helper function 2024-08-13 14:58:15 +02:00
vcoppe
9e6e8c069d fix crawling issue 2024-08-12 19:13:13 +02:00
vcoppe
b052472411 make overpass data expire after one week 2024-08-12 14:33:31 +02:00
vcoppe
fb66cedfc3 fix details 2024-08-12 14:18:41 +02:00
vcoppe
195e54af6d zoom on elevation profile, closes #54 2024-08-12 12:42:16 +02:00
vcoppe
795b85da13 show alphabetically sorted list of POI icons 2024-08-11 19:43:28 +02:00
vcoppe
f4d7a45191 embedding theme option, closes #57 2024-08-11 18:19:03 +02:00
vcoppe
ad22ad8caa improve routing details 2024-08-11 17:40:47 +02:00
vcoppe
7e39634cdb rework some icons 2024-08-11 13:47:10 +02:00
vcoppe
bee1bd9c6a remove heatmap-related stuff 2024-08-11 11:57:01 +02:00
vcoppe
6fafb38b6d improve readability of shortcut with + 2024-08-11 11:49:16 +02:00
vcoppe
c600b25921 fix several time input issues, closes #47 2024-08-11 00:02:53 +02:00
vcoppe
0cb74c9a45 fix wpt svg 2024-08-09 23:50:47 +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
646b77dbb7 fix page title 2024-08-09 10:04:29 +02:00
vcoppe
bcb4c7b348 correct alternate links 2024-08-09 09:51:59 +02:00
vcoppe
1cadc870f7 elevation profile selection style reactive to theme, closes #53 2024-08-08 23:25:02 +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
4eb09f26c7 fix merging embedding options with default ones, closes #39 2024-08-05 17:52:24 +02:00
vcoppe
87e75f967f fix custom layers spacing 2024-08-05 17:15:50 +02:00
vcoppe
1f6bf60927 show anchor point dialog also on contextmenu, closes #33 2024-08-05 16:31:47 +02:00
vcoppe
cfc537a59c show ctrl shortcuts for safari, closes #31 2024-07-26 11:40:18 +02:00
vcoppe
a3f692f969 use base in 404 redirect 2024-07-26 00:12:36 +02:00
vcoppe
cbb6920ebf 404 redirect if wrong locale or page 2024-07-26 00:03:29 +02:00
vcoppe
a7f6e62242 remove console logs 2024-07-25 19:18:10 +02:00
vcoppe
7d7d312476 split custom basemaps and overlays, and allow reordering 2024-07-25 18:48:11 +02:00
vcoppe
8fb41837cc add pitch to navigation map control 2024-07-25 18:38:03 +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
bfb812d79a fix custom layer replacement, closes #22 2024-07-24 10:21:37 +02:00
vcoppe
d1db934d31 only try to load docs if it exists 2024-07-24 09:20:10 +02:00
vcoppe
d62ba77ecb add gravel bike profile 2024-07-23 19:26:11 +02:00
vcoppe
9603cc00af load language files from list, and init map language 2024-07-23 18:57:36 +02:00
vcoppe
2039a1d44e finer grained anchors points at high zoom levels, related to #16 2024-07-23 15:55:16 +02:00
vcoppe
75d9813fe0 export options 2024-07-23 11:20:31 +02:00
vcoppe
b3a06ea6ae fix line color handling, closes #21 2024-07-22 18:27:53 +02:00
vcoppe
d0dcafa78e small improvements 2024-07-19 23:22:29 +02:00
vcoppe
d81d189cdf elevation tool test 2024-07-19 13:18:38 +02:00
vcoppe
48aa88489e refactor elevation queries 2024-07-19 13:17:23 +02:00
vcoppe
78fff5981c differentiate selected item and hovered one 2024-07-19 10:09:49 +02:00
vcoppe
603616b4a3 quick help style 2024-07-19 09:53:03 +02:00
vcoppe
27347a8399 add small border to resizer, and explain in docs 2024-07-18 19:10:34 +02:00
vcoppe
37334f734b avoid opacity select overflow 2024-07-18 19:00:29 +02:00
vcoppe
41d60457c6 add file color to waypoint 2024-07-18 17:52:50 +02:00
vcoppe
e0892d0b55 set POI name to category when absent, closes, #15 2024-07-18 16:43:03 +02:00
vcoppe
06e6d7e81e fix map loaded twice 2024-07-18 16:32:36 +02:00
vcoppe
25ea9607f2 only try to hide direction markers when the layer exists 2024-07-18 16:15:37 +02:00
vcoppe
923e47cc45 use devicePixelRatio in additional scales logic 2024-07-18 15:26:31 +02:00
vcoppe
79e872670b allow POI overlap when zoomed in 2024-07-18 13:23:48 +02:00
vcoppe
8c08bc9c7e hide direction markers when item is hidden 2024-07-18 12:53:55 +02:00
vcoppe
161af5751a use default basemap when current one is not found 2024-07-18 12:44:52 +02:00
vcoppe
db1aa3e3d1 create car/motorcycle category and add garage, related to #7 2024-07-18 11:45:35 +02:00
vcoppe
d6c0e403f9 fix time with routing issue 2024-07-18 10:43:38 +02:00
vcoppe
44afe6cc76 fix file tree margins 2024-07-18 00:49:35 +02:00
vcoppe
e16c92fe0a grey out items being cut 2024-07-18 00:37:13 +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
2b7067a1fb overpass layers progress 2024-07-17 19:40:53 +02:00
vcoppe
9bc5e16351 working overpass layer, and selection 2024-07-17 14:19:04 +02:00
vcoppe
af919c7316 overpass layer progress 2024-07-16 23:57:17 +02:00
vcoppe
fe100f9247 add mapillary frame close button 2024-07-16 16:16:53 +02:00
vcoppe
d0d35468ea routing shortcut 2024-07-16 15:48:01 +02:00
vcoppe
210dd2fe98 fix custom layer creation, relates to #12 2024-07-16 13:26:11 +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
7f143bf843 refine mapbox style json match 2024-07-16 00:08:15 +02:00
vcoppe
18d3bd426b detect vector styles loaded from mapbox api 2024-07-15 23:44:10 +02:00
vcoppe
f1edc0d2d6 improve mapillary coverage contrast 2024-07-15 23:31:51 +02:00
vcoppe
90a04d7af7 layer control on top of file tabs 2024-07-15 22:50:42 +02:00
vcoppe
a85beee1f0 disclaimer message 2024-07-15 13:19:56 +02:00
vcoppe
d09d2ced04 improve bounds logic 2024-07-15 12:55:25 +02:00
vcoppe
339ecc1c87 fix profile overlay size and glitch when dragging 2024-07-15 11:37:22 +02:00
vcoppe
111eb5c4df improve fix for single select 2024-07-15 10:44:15 +02:00
vcoppe
78d5a478e5 manual webgl2 check 2024-07-13 12:51:04 +02:00