Commit Graph

161 Commits

Author SHA1 Message Date
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 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 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 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
Eric van der Vlist a6f10b9ee0 Implementing a cache cleanup method. 2022-10-31 22:14:28 +01:00
Eric van der Vlist 9f9576d2f6 Bug fix... 2022-10-31 21:40:10 +01:00
Eric van der Vlist 8deed17b05 Continuing to re-plug the handlers. 2022-10-31 21:01:56 +01:00
Eric van der Vlist eb1618d009 Re-pluging handlers (on LiveMap). 2022-10-31 18:05:58 +01:00
Eric van der Vlist 8341da64a3 Making a property optional 2022-10-31 15:08:50 +01:00
Eric van der Vlist 7b5abaccd3 Refactoring to split logic between `<Map>` and a brand new `<LiveMap>` component. 2022-10-31 15:02:46 +01:00
Eric van der Vlist 425ad06e33 Cleanup 2022-10-30 22:13:10 +01:00
Eric van der Vlist 0284cdbab9 Updating test snapshots. 2022-10-30 22:09:42 +01:00