Commit Graph

183 Commits

Author SHA1 Message Date
Eric van der Vlist ec0883ac54 *Not* using redux for mouseState. 2022-09-12 08:53:11 +02:00
Eric van der Vlist 3421686f1f Using Redux to provide application wise slippy context. 2022-09-12 00:45:40 +02:00
Eric van der Vlist 716d05fb3e Starting again with what has been developed as sandbox/map. 2022-09-11 20:01:12 +02:00
Eric van der Vlist f81c436f7d NPM updates 2022-09-09 20:51:18 +02:00
Eric van der Vlist 2b1066fd5b Still implementing mouse handlers. 2022-09-06 23:46:08 +02:00
Eric van der Vlist ec48c63667 Staring to implement mouse handlers. 2022-09-06 19:24:30 +02:00
Eric van der Vlist af226285be Debouncing resize events 2022-09-06 11:44:36 +02:00
Eric van der Vlist 4e26d94843 Correct algorithm for centering tiles. 2022-09-06 11:39:27 +02:00
Eric van der Vlist 9e8aec244e Attempt to create a new, more react friendly slippy map library. 2022-09-06 00:08:17 +02:00
Eric van der Vlist a154a5aa44 Refactoring (moving geolocation in a library) 2022-09-04 22:45:20 +02:00
Eric van der Vlist d015c4f1b9 Working around the fact that react's strict mode initializes compenents twice... 2022-09-04 21:08:31 +02:00
Eric van der Vlist 5867338836 Introducing redux to manage tracks. 2022-09-04 19:28:20 +02:00
Eric van der Vlist b01870d234 Changing the overlays order so that controls are on top of tracks. 2022-09-03 23:39:58 +02:00
Eric van der Vlist f7b59e5ead Reanbling background geolocation. 2022-09-03 23:31:45 +02:00
Eric van der Vlist a8da543228 Refactoring live-overlay which was using Pigeon's GeoJson component to create a GPXOverlay. 2022-09-03 23:15:29 +02:00
Eric van der Vlist 194b46bad0 First working example with background geolocation, that is: working on Android, not tested on iOS and needing a fallback on the web. 2022-09-02 23:41:55 +02:00
Eric van der Vlist ff32b75480 Moving things around between map and overlay components. 2022-09-02 17:56:10 +02:00
Eric van der Vlist 95205bb49f Adding a sample GeoJson overlay (and figuring out a dirty way to tunnel mapState and latLngToPixel between Pigeon components). 2022-09-02 15:56:41 +02:00
Eric van der Vlist 3dfbd648b7 Reformating 2022-09-02 11:05:50 +02:00
Eric van der Vlist 8ec7e7d045 Adding zoom control 2022-09-01 22:37:46 +02:00
Eric van der Vlist d8c3035bb2 Trying to control the center and zoom of pigeon maps (doesn't work on my phone) 2022-09-01 21:30:31 +02:00
Eric van der Vlist a0ee63ef09 "Trying pigeon-maps as an alternative to react-leaflet +leaflet and it seems much easier (and reactive). 2022-09-01 19:05:23 +02:00
Eric van der Vlist 01fc789614 Moving the map in a component and, trying to make it live, seeing that react-leaflet isn't really... reactive !
(See https://stackoverflow.com/questions/65763931/react-leaflet-update-map-center - basically: most of the map properties are immutable)
2022-09-01 18:48:29 +02:00
Eric van der Vlist 1f53fbd3be Updating index.tsx to reflect changes between React 17 and 18. 2022-09-01 18:47:36 +02:00
Eric van der Vlist f20e082697 Using trapeze to set permissions in Android build directory's manifest. 2022-09-01 13:51:16 +02:00
Eric van der Vlist 375d173d6d Installing Ionic geolocation plugin. 2022-09-01 12:59:45 +02:00
Eric van der Vlist 6e419839e9 Basic leaflet example shamelessly stolen from various places on the web. 2022-08-31 22:03:27 +02:00
Eric van der Vlist 44fd94b520 Upgrade to React 18. 2022-08-31 21:21:53 +02:00
Eric van der Vlist 0860516d66 Project config and more cleanup. 2022-08-31 20:22:00 +02:00
Eric van der Vlist 432e36f9e9 Cleaned up initial source. 2022-08-31 15:30:20 +02:00
Eric van der Vlist 6079ec1577 Cleaned up initial source. 2022-08-31 15:28:20 +02:00
Eric van der Vlist 97153cbbca first commit 2022-08-31 14:36:18 +02:00
Eric van der Vlist 58d441f91e Initial commit 2022-08-31 14:35:20 +02:00