Commit Graph

299 Commits

Author SHA1 Message Date
Eric van der Vlist 7df0b41260 GpxDialog (wip) 2022-12-12 15:37:12 +01:00
Eric van der Vlist 59faede004 Begining to implement a GPX Dialog component 2022-12-12 11:41:09 +01:00
Eric van der Vlist 31bec02496 Starting to implement a proper UI for GPX import. 2022-12-11 16:20:34 +01:00
Eric van der Vlist 8c82b9c040 Trying decluttering (doesn't work that well) 2022-12-10 21:58:27 +01:00
Eric van der Vlist 882e5545fd Allowing multiple Gpx files import 2022-12-10 21:25:15 +01:00
Eric van der Vlist 86a8c823f1 Changing Gpx and Trkpt indexes so that GPX are sorted by datetime desc and Trkpt use their timestamp as indexes. 2022-12-10 18:31:51 +01:00
Eric van der Vlist c6e1f63a85 Adding arrows to trksegs. 2022-12-10 16:23:10 +01:00
Eric van der Vlist 327f0a6910 Mechanism to add style functions 2022-12-10 12:16:46 +01:00
Eric van der Vlist 821957a4f7 Starting to refactor OL styles to be able to support arrows and point markers. 2022-12-09 21:43:54 +01:00
Eric van der Vlist da053dcb50 Displaying routes. 2022-12-09 17:31:56 +01:00
Eric van der Vlist f84c82bc32 Relying on the change handler for Gpx, Trk and Trkseg too. 2022-12-09 15:18:14 +01:00
Eric van der Vlist c2d6f6f285 Relying on the change handler for AllGpxes and FPX import. 2022-12-09 14:57:54 +01:00
Eric van der Vlist 21a63ec54c Cleanup (remove the tree/branch mechanism which isn't useful). 2022-12-08 21:27:40 +01:00
Eric van der Vlist 38224d73da Adding minZoom extension property for Wpts 2022-12-07 15:09:08 +01:00
Eric van der Vlist 008ca2ce3b Adding Wpt icons 2022-12-07 13:30:46 +01:00
Eric van der Vlist b36ad82b61 Saving Wpt after edition. 2022-12-06 21:56:23 +01:00
Eric van der Vlist 156fefae3b Working on Wpt save after edition. 2022-12-06 21:27:25 +01:00
Eric van der Vlist c8a8622c91 Begining to implement the Wpt update dialog 2022-12-06 17:09:31 +01:00
Eric van der Vlist cc121fea27 Adding an onCleanup hook to cancel dispatches and watches for Wpt 2022-12-06 14:54:59 +01:00
Eric van der Vlist 5829f93c91 Refactoring to watch WPT updates. 2022-12-06 14:36:50 +01:00
Eric van der Vlist 063bee4e28 Forgotten component ... 2022-12-05 18:48:57 +01:00
Eric van der Vlist 8bd0c74727 Dialog component 2022-11-30 22:44:02 +01:00
Eric van der Vlist 1e65ca2f72 More dialog, I can't stand suid/mui :( ! 2022-11-30 18:08:45 +01:00
Eric van der Vlist b5cd2cd58b GPX labels. 2022-11-30 14:46:05 +01:00
Eric van der Vlist 3fd43b09a4 i18n 2022-11-30 13:58:55 +01:00
Eric van der Vlist 3e191dbf38 Adding `<Suspense>` wrappers to start rendering Gpxes before they have all been fetched and removed auto compaction and compact db at init time. 2022-11-30 11:15:53 +01:00
Eric van der Vlist 079a36c1de Finding the moveTolerance option (great improvement with touch screens). 2022-11-29 22:38:08 +01:00
Eric van der Vlist ca37281a0b Basic info dialog 2022-11-29 22:12:50 +01:00
Eric van der Vlist 35937a933c Changing the selection UI. 2022-11-29 21:19:28 +01:00
Eric van der Vlist 82cdad5f1f Styles. 2022-11-29 21:07:46 +01:00
Eric van der Vlist d5be1b8672 Cleaner way to define styles. 2022-11-29 19:49:05 +01:00
Eric van der Vlist 4d1b1c9a06 Setting a flag to select features 2022-11-29 16:54:13 +01:00
Eric van der Vlist deb1f267ab Doing the samething for WPts 2022-11-29 15:06:39 +01:00
Eric van der Vlist ab1d644e8e Trying different ways to select and potentially update OL features 2022-11-29 14:59:57 +01:00
Eric van der Vlist 400711eb80 Adding a selectHandler (not functional yet). 2022-11-28 21:36:12 +01:00
Eric van der Vlist 42d66ecfa5 (Re)Implementing the map chooser. 2022-11-28 19:33:02 +01:00
Eric van der Vlist f10fa11348 Basic mechanism to support different tile providers. 2022-11-28 15:27:36 +01:00
Eric van der Vlist 1fb7f47c05 Adding Wpt names. 2022-11-28 12:14:09 +01:00
Eric van der Vlist 6121df68bf Adding `<Wpt>` 2022-11-28 11:52:50 +01:00
Eric van der Vlist ec5d90f768 Diffrent flags for start and finish 2022-11-28 08:38:21 +01:00
Eric van der Vlist 12cfa9337a Starting to add some style to trksegs. 2022-11-27 22:48:35 +01:00
Eric van der Vlist bbaf1e798b Addinf trkseg start/end points 2022-11-27 19:17:33 +01:00
Eric van der Vlist 6c2573ba8b Refreshing GPX list after importing a new GPX. 2022-11-27 18:24:17 +01:00
Eric van der Vlist 37fd31a040 Displaying trksegs through geojson. 2022-11-27 17:12:25 +01:00
Eric van der Vlist ab7374f360 `<Trkseg>` component 2022-11-27 16:18:50 +01:00
Eric van der Vlist 54f2ab06d9 `<Trk>` component 2022-11-27 16:09:08 +01:00
Eric van der Vlist 79fb39100f `<Gpx>` component 2022-11-27 15:50:08 +01:00
Eric van der Vlist 346b9a1186 Creating a `<AllGpxes>` component. 2022-11-27 14:32:21 +01:00
Eric van der Vlist d0bc9422f3 Addind a few @ts-ignore :( ... 2022-11-27 12:29:30 +01:00
Eric van der Vlist 0f9b66b0d4 File renaming 2022-11-27 12:24:57 +01:00
Eric van der Vlist 7f571882de Moving controls out of the ol map object. 2022-11-27 12:12:22 +01:00
Eric van der Vlist 83e14932a4 GPX import. 2022-11-26 22:04:08 +01:00
Eric van der Vlist 02f02984e5 Bring back navigation buttons. 2022-11-26 12:33:26 +01:00
Eric van der Vlist 2c79c74376 Showing the current location. 2022-11-25 22:12:44 +01:00
Eric van der Vlist 1efdc30e5c Re-implementing GetLocation 2022-11-25 21:09:59 +01:00
Eric van der Vlist ef8ee5e00e Standard ol controls. 2022-11-25 17:10:49 +01:00
Eric van der Vlist 9a5808741b Map navigation. 2022-11-25 17:06:07 +01:00
Eric van der Vlist 3e66119b3e Getting stuff done in the sandbox. 2022-11-25 16:45:26 +01:00
Eric van der Vlist 8bb8792ee2 Cleaning before switching to SoliJS 2022-11-25 16:23:31 +01:00
Eric van der Vlist 2fa6199979 ShowLocation component. 2022-11-23 18:25:23 +01:00
Eric van der Vlist 1555c00fe8 Moving the map center to the current location when required. 2022-11-22 22:10:08 +01:00
Eric van der Vlist 0ba385c476 Adding a (non yet operational) control to get the current location. 2022-11-22 18:03:53 +01:00
Eric van der Vlist 0f8f892688 Slight refactoring 2022-11-22 15:41:47 +01:00
Eric van der Vlist 0d8bc3b2f1 Basic Openlayers map. 2022-11-22 15:18:34 +01:00
Eric van der Vlist e75b2f670c Starting again... 2022-11-22 08:19:52 +01:00
Eric van der Vlist 1c403ae819 Adding a modal for the Explorer (context menu). 2022-11-22 07:48:17 +01:00
Eric van der Vlist 9459622a95 Re-implementing the map chooser 2022-11-21 17:49:09 +01:00
Eric van der Vlist c731c6a7e6 Testing the onContextMenu event. 2022-11-17 23:33:57 +01:00
Eric van der Vlist 8906bed1e7 Minor enhancement. 2022-11-17 23:11:33 +01:00
Eric van der Vlist 7c09a5536a Adding a simple cache to keep track of points 2022-11-17 23:04:47 +01:00
Eric van der Vlist a53ddfa63e Adding startTransition to defer GPX renderings. 2022-11-17 21:05:12 +01:00
Eric van der Vlist 64d928e893 Adding start and finish icons to trksegs. 2022-11-17 17:28:24 +01:00
Eric van der Vlist ad3d2125bb Switching from shared web workers (not supported by chrome on android) to "normal" web workers. 2022-11-17 16:10:44 +01:00
Eric van der Vlist e4621e4651 Adapting "slippy graphics" to the new structure. 2022-11-17 15:26:29 +01:00
Eric van der Vlist 812849cdef Using useViewport in LayerStack rather than TiledLayer to share it with slippy graphics. 2022-11-17 14:57:55 +01:00
Eric van der Vlist fa049e36e5 Creating a useViewport custom hook to ba used by both `<TiledLayer>` and slippy graphics. 2022-11-17 14:06:05 +01:00
Eric van der Vlist ef3759079c Displaying GPX tracks (1st attempt) 2022-11-17 12:55:00 +01:00
Eric van der Vlist d86d63ca61 Starting to implement GPX visualization. 2022-11-15 20:19:14 +01:00
Eric van der Vlist 9b23bcec5c Computing bounding boxes when saving GPX files. 2022-11-15 15:24:21 +01:00
Eric van der Vlist 5fdd63103e Reimplementing GPX imports. 2022-11-14 18:35:04 +01:00
Eric van der Vlist a2d0e8cf6a Retrieving GPX import from master. 2022-11-14 14:13:12 +01:00
Eric van der Vlist 68ebdbdbf6 Using plainnumbers instead of BigInts for GPXids. 2022-11-14 11:39:37 +01:00
Eric van der Vlist 00ad6285d0 Updating pouchdb keys based on an updated version of docuri. 2022-11-13 20:02:11 +01:00
Eric van der Vlist 74dbff2d23 Fixing a bug (the `<g>` element wasn't always available as ref.current in TiledLayer), using a useEffect seems to do the trick. 2022-11-03 22:20:14 +01:00
Eric van der Vlist 45ab894622 Marker bug fix 2022-11-03 12:19:21 +01:00
Eric van der Vlist ba78422a29 Markers check that they belong to the current viewport to display. 2022-11-03 11:57:04 +01:00
Eric van der Vlist c4094b28ae Refactoring to send a viewport property to slippy graphics (new, more generic, name for markers) 2022-11-03 11:37:22 +01:00
Eric van der Vlist 8e2a68fb0f Displaying the current location. 2022-11-02 22:28:08 +01:00
Eric van der Vlist 1ed4875e5e Implementing a Marker component. 2022-11-02 21:27:29 +01:00
Eric van der Vlist 925174db79 Back/Forward buttons 2022-11-02 16:04:18 +01:00
Eric van der Vlist 8e78fbc7ec Moving fils around 2022-11-02 15:29:13 +01:00
Eric van der Vlist 61fc42b251 Handling window resize (and rotate). 2022-11-02 15:14:34 +01:00
Eric van der Vlist 7811f00779 Re-implementing (foreground) geolocation (and npm packages update). 2022-11-01 21:27:36 +01:00
Eric van der Vlist fe9cc6437d Using atomWithHash to enable back/forward actions. 2022-11-01 17:58:57 +01:00
Eric van der Vlist e1583846ed Cleanup and doc. 2022-11-01 14:37:08 +01:00
Eric van der Vlist de69aff4c9 Removing nolonger used code 2022-11-01 14:23:18 +01:00
Eric van der Vlist 19062ac126 Removing a console.log() 2022-11-01 14:17:36 +01:00
Eric van der Vlist 50114598b2 Doc and cache improvement. 2022-11-01 14:16:36 +01:00
Eric van der Vlist 352cb0d870 Cleanup 2022-11-01 11:50:59 +01:00
Eric van der Vlist 04d2aa1ac1 More cleanup for the tiled layer cache. 2022-11-01 11:46:54 +01:00