Commit graph

736 commits

Author SHA1 Message Date
vcoppe
7ea12972bf same width for all tool menus 2024-06-12 14:53:26 +02:00
vcoppe
812961dcec fix selection bug 2024-06-12 13:18:15 +02:00
vcoppe
0e9211cb27 invert moving and total stats 2024-06-12 12:56:50 +02:00
vcoppe
3c687a6608 chart range selection on crop slider change 2024-06-12 12:46:59 +02:00
vcoppe
9ad16ac294 drag-select range elevation profile 2024-06-12 12:13:30 +02:00
vcoppe
5642129623 remove tmp anchor when not routing 2024-06-11 23:40:10 +02:00
vcoppe
8506206ab8 better direction markers 2024-06-11 22:57:57 +02:00
vcoppe
57c1635eb7 fix mismatch between file content and selection 2024-06-11 22:47:41 +02:00
vcoppe
e0fd6aa18b fix distance markers 2024-06-11 22:42:03 +02:00
vcoppe
3e691c7f12 fix close menu on escape 2024-06-11 22:04:49 +02:00
vcoppe
c72b817e8f drop file to load 2024-06-11 19:27:10 +02:00
vcoppe
d8df3204d9 use same width for merge menu 2024-06-11 19:16:28 +02:00
vcoppe
729c4e693a clear reduce listeners 2024-06-11 19:11:35 +02:00
vcoppe
afbf60c5b2 simplify tool 2024-06-11 19:08:46 +02:00
vcoppe
9c5ca84004 add icon to merge button 2024-06-11 16:52:39 +02:00
vcoppe
c4cc4b179b clean tool 2024-06-11 16:33:06 +02:00
vcoppe
14a81a530c scissor tool 2024-06-10 20:03:57 +02:00
vcoppe
287fd4c8ac small ui improvement 2024-06-10 17:55:48 +02:00
vcoppe
093032cc26 change routing menu minimize 2024-06-10 16:56:50 +02:00
vcoppe
69a945aa4d start-end markers 2024-06-10 13:21:53 +02:00
vcoppe
9190d85bcd polish toolbar and routing menu 2024-06-10 12:06:32 +02:00
vcoppe
5b167b09db toggle elevation profile 2024-06-09 17:22:41 +02:00
vcoppe
a5ff7b5abd add belgium topo layer 2024-06-09 16:53:04 +02:00
vcoppe
d9b5f54d19 merge tool 2024-06-08 17:19:22 +02:00
vcoppe
5347ae0efe direction markers styling 2024-06-07 16:43:46 +02:00
vcoppe
dd7b560371 improve distance and direction markers 2024-06-07 15:54:40 +02:00
vcoppe
13c7574e25 update swisstopo maps 2024-06-07 13:32:44 +02:00
vcoppe
80180f7a41 update ign layers 2024-06-07 13:19:28 +02:00
vcoppe
abb021527c disable cookie request 2024-06-06 18:40:08 +02:00
vcoppe
16bdf9fdbe strava heatmap layers (nakarte proxy) 2024-06-06 18:11:03 +02:00
vcoppe
41d5fa4efc swisstopo ski touring layer 2024-06-06 12:52:00 +02:00
vcoppe
c97f52e746 new SCAN25 url 2024-06-06 12:37:40 +02:00
vcoppe
7979939835 ign ski touring layer 2024-06-06 12:16:07 +02:00
vcoppe
8611c9c63d global map cursor logic 2024-06-06 11:58:50 +02:00
vcoppe
192ae7ae0a progress 2024-06-06 11:44:53 +02:00
vcoppe
869d0e0d0d use POIs instead of waypoints 2024-06-06 00:01:00 +02:00
vcoppe
316012cfe4 fix bugs 2024-06-05 23:37:55 +02:00
vcoppe
fa3099c4b0 open collapsibles if needed 2024-06-05 21:54:29 +02:00
vcoppe
7c29db40ee minor dnd improvements 2024-06-05 21:36:24 +02:00
vcoppe
df03f78c09 functional dnd 2024-06-05 21:08:01 +02:00
vcoppe
a70fbe4f64 remove console.log 2024-06-05 21:07:02 +02:00
vcoppe
b3a8b74433 functional dnd? 2024-06-05 17:19:03 +02:00
vcoppe
69334d977d fix dnd bugs 2024-06-05 15:20:28 +02:00
vcoppe
5f7155090b use ids in each blocks for sortable 2024-06-05 14:51:32 +02:00
vcoppe
256996379a buggy sortable file elements 2024-06-04 16:11:47 +02:00
vcoppe
ac83e4bf77 fix routing detail 2024-06-04 15:30:49 +02:00
vcoppe
245ba07141 move tracks, segments and waypoints within same list 2024-06-03 19:34:23 +02:00
vcoppe
c9363de0ab scroll to selection 2024-06-03 16:06:14 +02:00
vcoppe
980bd8b79a progress 2024-05-24 22:53:30 +02:00
vcoppe
fb21347e63 progress 2024-05-24 20:23:49 +02:00
vcoppe
8e085a718f fix routing controls add/update logic 2024-05-24 19:00:26 +02:00
vcoppe
30e1cac0a9 put back duplicate 2024-05-24 17:23:26 +02:00
vcoppe
1958eac83c correct json structure 2024-05-24 16:41:43 +02:00
vcoppe
e5a64707a3 remove unused string 2024-05-24 16:41:08 +02:00
vcoppe
eaab84c49d remove structure from toolbar 2024-05-24 16:40:42 +02:00
vcoppe
19d3fd9316 apply routing tool to selection 2024-05-24 16:37:26 +02:00
vcoppe
590bb9abf7 increase opacity when selected 2024-05-24 14:45:28 +02:00
vcoppe
c313d9a5c7 selection utilities 2024-05-24 13:16:41 +02:00
vcoppe
cb2d541de7 fix export 2024-05-23 16:46:24 +02:00
vcoppe
9626a71515 delete any selection 2024-05-23 16:35:20 +02:00
vcoppe
d8fa8500da select all in current subtree 2024-05-23 15:08:34 +02:00
vcoppe
6cbf9a3248 duplicate any selection 2024-05-23 14:44:07 +02:00
vcoppe
8b5d1f1fbf progress 2024-05-23 12:57:24 +02:00
vcoppe
51495e9bd1 progress 2024-05-23 11:21:57 +02:00
vcoppe
f202b6c196 progress 2024-05-22 16:05:31 +02:00
vcoppe
94bfd791b7 sync and cache file order 2024-05-21 22:37:52 +02:00
vcoppe
effc83a3c4 change reduce icon 2024-05-21 21:50:19 +02:00
vcoppe
d50fdf20a7 vertical and horizontal file list with same component 2024-05-21 17:47:08 +02:00
vcoppe
44b270e2c2 working file tree 2024-05-21 13:22:14 +02:00
vcoppe
b997b7518a progress 2024-05-20 14:32:52 +02:00
vcoppe
60f3896b8b sortable file hierarchy progress 2024-05-17 15:02:45 +02:00
vcoppe
4520c929e2 change default collapsible state 2024-05-17 13:22:49 +02:00
vcoppe
e916d5b102 set terrain on style load if needed 2024-05-17 13:10:20 +02:00
vcoppe
51213faa7e file collapsible closed by default 2024-05-17 12:20:46 +02:00
vcoppe
9a4d06e11d improve vertical file list styling 2024-05-16 19:10:26 +02:00
vcoppe
c0c0b14728 start of vertical view 2024-05-16 18:18:42 +02:00
vcoppe
a6637d5e27 extract collapsible tree component 2024-05-16 16:24:50 +02:00
vcoppe
db618b67b0 fix freezed files bug 2024-05-16 13:27:12 +02:00
vcoppe
93a3a28182 better use immer 2024-05-15 15:30:02 +02:00
vcoppe
d93e43e268 group filestate updates 2024-05-15 11:47:42 +02:00
vcoppe
57ebefcb38 waypoint popup info 2024-05-13 19:43:10 +02:00
vcoppe
7eb3dc07a0 avoid 3d effect when no pitch but keep elevation queries working 2024-05-09 00:14:43 +02:00
vcoppe
703c331d44 routing off with elevation 2024-05-09 00:02:27 +02:00
vcoppe
99b20eb1d1 fix stats update 2024-05-08 23:01:56 +02:00
vcoppe
510edcf344 overlays below traces 2024-05-08 21:51:52 +02:00
vcoppe
f8056cee73 distance markers 2024-05-08 21:31:54 +02:00
vcoppe
563f5e0a9c direction markers 2024-05-08 14:53:28 +02:00
vcoppe
4f9025d6c1 reorganize view menu 2024-05-08 12:37:06 +02:00
vcoppe
e5c03ab39b more menu icons 2024-05-08 12:35:31 +02:00
vcoppe
765c2018b8 adapt routing icon 2024-05-08 12:20:01 +02:00
vcoppe
41a181f9bf toggle 3d button 2024-05-08 12:00:04 +02:00
vcoppe
0bdd3e7d8a functional with immer 2024-05-07 18:14:47 +02:00
vcoppe
d35b702011 improve routing menu 2024-05-07 17:19:53 +02:00
vcoppe
95d6993cfe better map bounds logic 2024-05-07 15:16:32 +02:00
vcoppe
0118ebe55a fix patch limits 2024-05-07 15:09:44 +02:00
vcoppe
2379cb2860 bounded history 2024-05-07 13:19:02 +02:00
vcoppe
f2bba14174 update bounds whenever files are added 2024-05-07 12:37:21 +02:00
vcoppe
44cc39fbd6 fix file order 2024-05-07 12:36:54 +02:00
vcoppe
597095defa change bounds on file load 2024-05-07 12:16:30 +02:00
vcoppe
d0ac364d7d fix stats update logic 2024-05-07 10:37:24 +02:00
vcoppe
6d9fdda1a7 open routing when creating a file 2024-05-06 17:56:07 +02:00
vcoppe
86d941b00d remember active overlays 2024-05-06 15:52:11 +02:00
vcoppe
281b20249d differentiate shift click and ctrl click on tabs 2024-05-06 14:44:48 +02:00
vcoppe
a261193267 layer selection 2024-05-05 18:59:09 +02:00
vcoppe
b3d016e2af progress with layer settings 2024-05-04 23:50:27 +02:00
vcoppe
35b0adc7e5 fix routing profile query param 2024-05-04 15:17:44 +02:00
vcoppe
71d68a3b5c store settings 2024-05-04 15:10:30 +02:00
vcoppe
b85dc81c14 reorganize 2024-05-04 14:27:12 +02:00
vcoppe
3a01e62101 avoid livequerying all patches 2024-05-04 11:00:56 +02:00
vcoppe
c9bc13a1c5 fix anchors for new files 2024-05-04 00:06:03 +02:00
vcoppe
f92748871e remove unused parameter 2024-05-03 22:17:38 +02:00
vcoppe
619849f987 store stats outside of gpx object 2024-05-03 22:15:47 +02:00
vcoppe
22884b3a8b remove logging 2024-05-03 17:53:30 +02:00
vcoppe
e9cf49f51b do not compute stats on draft object 2024-05-03 17:37:34 +02:00
vcoppe
28a50dd46e fix typings 2024-05-03 16:19:11 +02:00
vcoppe
6c9faf54b1 dexie progress 2024-05-03 15:59:34 +02:00
vcoppe
cd919258ad dexie progress 2024-05-02 19:51:08 +02:00
vcoppe
16c94eb973 fix can undo 2024-04-30 22:43:06 +02:00
vcoppe
8df4e50304 remove duplicate logic 2024-04-30 22:38:58 +02:00
vcoppe
f24a7ba427 functional undo-redo 2024-04-30 22:35:54 +02:00
vcoppe
667c94a4c4 patches with immer (not working atm) 2024-04-30 20:55:47 +02:00
vcoppe
0db9f46c05 fix routing controls update for multiple segments 2024-04-30 16:00:06 +02:00
vcoppe
2eb53c4d15 waypoints reactive to file changes 2024-04-30 15:57:47 +02:00
vcoppe
e761283501 create routing controls reactively 2024-04-30 15:19:50 +02:00
vcoppe
49053bcaaa tab context menu and shortcuts 2024-04-29 17:03:23 +02:00
vcoppe
a6bcebf306 increase accent color contrast 2024-04-29 14:30:38 +02:00
vcoppe
412852d1ff remove default axeis labels 2024-04-29 13:29:10 +02:00
vcoppe
687c998678 style elevation profile marker 2024-04-28 19:18:54 +02:00
vcoppe
583af07412 refactoring for tools and start waypoint 2024-04-28 18:59:31 +02:00
vcoppe
6b201d8341 move routing files 2024-04-28 17:50:39 +02:00
vcoppe
031977b801 dark mode everywhere 2024-04-28 17:01:22 +02:00
vcoppe
ccc26f79e7 create new file 2024-04-27 12:18:40 +02:00
vcoppe
0eb9c7b57e always fill to bottom of the chart 2024-04-27 11:46:47 +02:00
vcoppe
83309593d7 one more routing error 2024-04-27 11:38:34 +02:00
vcoppe
6cc3918530 one more routing error 2024-04-27 11:32:11 +02:00
vcoppe
98b772539d surface localization 2024-04-27 11:24:29 +02:00
vcoppe
ca7d85b421 sonner on routing error, and dark mode 2024-04-27 11:16:59 +02:00
vcoppe
2ad0e9125e handle routing failure 2024-04-27 09:42:55 +02:00
vcoppe
4f79c64fa5 improve routing controls logic 2024-04-27 09:33:49 +02:00
vcoppe
e83c330ac5 surface 2024-04-26 22:35:42 +02:00
vcoppe
eae83faa3d elevation toggles back to col 2024-04-26 19:45:16 +02:00
vcoppe
f0b963692c insertable anchor point 2024-04-26 19:34:46 +02:00
vcoppe
92b77735e9 some comments 2024-04-26 14:37:05 +02:00
vcoppe
3af68ab41d use same routing function for all operations 2024-04-26 14:30:08 +02:00
vcoppe
c71b7f4e3a extract routing functions 2024-04-26 14:16:59 +02:00
vcoppe
de1b5f3820 routing control popup progress 2024-04-26 13:33:17 +02:00
vcoppe
7ec68c1a26 remove borders 2024-04-26 12:30:39 +02:00
vcoppe
3a8ea16a94 basic routing working 2024-04-26 10:18:08 +02:00
vcoppe
e9278fab57 find closest to dragged 2024-04-25 19:13:53 +02:00
vcoppe
fec275574c routing progress 2024-04-25 19:02:34 +02:00
vcoppe
7ef19adf53 routing controls class 2024-04-25 16:41:06 +02:00
vcoppe
22de36d426 renaming 2024-04-25 14:55:35 +02:00
vcoppe
e5d2ca0574 remove insertable marker logic for now 2024-04-25 14:52:24 +02:00
vcoppe
08ad971de5 move routing stuff 2024-04-25 14:48:09 +02:00
vcoppe
3441dffde7 support color 2024-04-25 14:42:19 +02:00
vcoppe
a23e73e82a avoid selecting other file when routing 2024-04-25 13:56:07 +02:00
vcoppe
20af7c4e45 progress 2024-04-25 13:48:31 +02:00
vcoppe
b5990e2d36 rework stores 2024-04-25 11:13:15 +02:00
vcoppe
e7dbb07ace reactive modifications 2024-04-24 22:35:53 +02:00
vcoppe
ae7806a553 fix pointer events 2024-04-24 20:14:45 +02:00
vcoppe
482dff54f4 start of routing reactivity 2024-04-24 20:13:42 +02:00
vcoppe
88c6681a78 progress 2024-04-24 19:32:55 +02:00
vcoppe
e12a704c2e more localization 2024-04-24 18:13:01 +02:00
vcoppe
34d3242022 more localization 2024-04-24 18:02:35 +02:00
vcoppe
97e1075517 continue localization 2024-04-24 17:39:56 +02:00
vcoppe
74ad6b3dbe adapt scale control units 2024-04-24 16:57:32 +02:00
vcoppe
c9bf4bc401 elevation profile reactive to unit changes 2024-04-24 16:53:33 +02:00
vcoppe
78b7612171 start localization 2024-04-24 16:12:50 +02:00
vcoppe
9bde53a4e2 simplify tabs 2024-04-24 12:55:53 +02:00
vcoppe
1237e9ab0d elevation profile toggles below 2024-04-24 11:24:26 +02:00
vcoppe
9be7c8eb02 enable terrain only when pitch is positive 2024-04-24 10:18:33 +02:00
vcoppe
9bc743bc18 single simplify call to create whole anchor point hierarchy 2024-04-23 19:33:11 +02:00
vcoppe
dff39366fa kdbush to check for hover near track 2024-04-23 18:36:16 +02:00
vcoppe
e7a6e68520 show/hide edit markers depending on zoom level 2024-04-23 16:20:47 +02:00
vcoppe
31989f4c3b store lowest level at which anchor was found 2024-04-23 14:39:55 +02:00
vcoppe
b38c75be9a create anchor points hierarchy for edition 2024-04-23 14:11:05 +02:00
vcoppe
d46662e038 start of routing 2024-04-22 19:36:31 +02:00
vcoppe
32b15feb0a cleaner updates 2024-04-22 17:33:30 +02:00
vcoppe
8f6c1fc88d wrap file collection in single object 2024-04-22 17:22:21 +02:00
vcoppe
c61b559343 marker on elevation profile hover 2024-04-22 16:53:33 +02:00
vcoppe
f7328397d6 tooltip data 2024-04-22 16:24:44 +02:00
vcoppe
2d84805407 slope and surface data on elevation profile 2024-04-22 16:02:24 +02:00
vcoppe
cfbb15c895 avoid adding deleted layer to map on layer switch 2024-04-22 12:54:21 +02:00
vcoppe
02f2ace72e shortcut to select all 2024-04-22 11:45:57 +02:00
vcoppe
515ad7048d elevation profile for all selected files (in order) 2024-04-22 11:38:23 +02:00
vcoppe
c3a90c8281 fit bounds behaviors 2024-04-22 10:45:02 +02:00
vcoppe
3d4273f9fe toggle additional data on elevation profile 2024-04-21 16:40:28 +02:00
vcoppe
0bf10c85ca remove axis labels padding 2024-04-21 12:18:54 +02:00
vcoppe
ef287c6583 multiple axes 2024-04-21 12:13:58 +02:00
vcoppe
1ee25c093c responsive chartjs elevation profile 2024-04-20 23:17:11 +02:00
vcoppe
1aa348266e fix sortable bug with first loaded files 2024-04-20 18:55:40 +02:00
vcoppe
7885bdbce5 battle with sortable 2024-04-20 18:47:16 +02:00
vcoppe
93df26bca4 static website 2024-04-20 15:43:44 +02:00
vcoppe
3cb1547dce sortable with multidrag 2024-04-20 15:38:17 +02:00
vcoppe
0b3057f122 3d terrain 2024-04-19 17:26:56 +02:00
vcoppe
39f0871362 sortable file tabs 2024-04-19 17:06:36 +02:00
vcoppe
13af33903b file tabs 2024-04-19 16:13:08 +02:00
vcoppe
219400aa87 remove font awesome 2024-04-19 12:16:51 +02:00
vcoppe
7ca0b3bae3 add first tool 2024-04-18 15:58:46 +02:00
vcoppe
877d7bbf9d add extra separator 2024-04-18 15:49:20 +02:00
vcoppe
194c1eb341 fix save all shortcut 2024-04-18 15:48:07 +02:00
vcoppe
78258454be basic file operations 2024-04-18 15:30:19 +02:00
vcoppe
d800ff5540 restructure 2024-04-18 10:55:55 +02:00
vcoppe
395164033d load file shortcut 2024-04-18 10:52:45 +02:00
vcoppe
685c2bb541 load and display gpx 2024-04-17 16:46:51 +02:00
vcoppe
0c97410c87 refresh layers after style change 2024-04-17 12:21:56 +02:00
vcoppe
ab0b425243 use store to access map object 2024-04-17 11:44:37 +02:00
vcoppe
bd2d3eed66 first gpx file on map 2024-04-16 22:57:28 +02:00
vcoppe
396aa9a765 replace delete shortcut 2024-04-15 11:40:35 +02:00
vcoppe
8a81c30cf1 layer control with responsive height 2024-04-15 11:25:31 +02:00
vcoppe
2cd07688c9 collapsible state memory in layer control 2024-04-15 11:04:36 +02:00
vcoppe
87c62544bd lucide icons 2024-04-15 10:33:47 +02:00
vcoppe
add887af7f layer settings in accordion 2024-04-14 16:42:38 +02:00
vcoppe
2631387f91 flex layer settings 2024-04-14 15:49:21 +02:00
vcoppe
6a8dfb5d5e layer settings 2024-04-14 15:36:41 +02:00
vcoppe
ac15f9064f scrollable layer list 2024-04-14 14:53:57 +02:00
vcoppe
32c992a492 geocoder animation 2024-04-12 18:05:26 +02:00
vcoppe
b5a0200ca5 animation for layer control 2024-04-12 17:22:04 +02:00
vcoppe
f4f10c03a1 collapsible layer control categories 2024-04-12 15:51:57 +02:00
vcoppe
cae8cb63f9 uniformize layer control input styling 2024-04-12 15:12:27 +02:00
vcoppe
f38d5b7a75 use shadcn in layer control 2024-04-12 13:58:35 +02:00
vcoppe
02bfc3b07b layer control progress 2024-04-12 13:43:51 +02:00
vcoppe
1eeaddc1bd layer control progress 2024-04-12 12:38:19 +02:00
vcoppe
c6d435e3b5 all layers except strava 2024-04-11 17:51:48 +02:00
vcoppe
75ef69ab42 beginning of map layer control 2024-04-11 17:18:21 +02:00
vcoppe
b5a9fa3218 menubar detail 2024-04-10 14:57:25 +02:00
vcoppe
8fcdc13caf switch to mapbox gl 2024-04-10 14:54:35 +02:00
vcoppe
588175d30c toolbar 2024-04-09 18:46:01 +02:00
vcoppe
fb343cbbf0 position menu wrt the map 2024-04-09 17:37:23 +02:00
vcoppe
e5b2c5708d floating menu 2024-04-09 17:21:26 +02:00
vcoppe
8c04e26c72 donate button 2024-04-09 17:01:50 +02:00
vcoppe
4e0bb275fb menubar 2024-04-08 17:12:39 +02:00
vcoppe
411ae8e6a6 create components folder 2024-04-08 14:52:13 +02:00
vcoppe
b8f2776980 working geocoder 2024-04-08 14:45:52 +02:00
vcoppe
a1cbcfb953 maplibre map 2024-04-05 17:53:42 +02:00
vcoppe
2e9770882c first commit 2024-04-03 16:13:42 +02:00