Commit Graph

29 Commits

Author SHA1 Message Date
Eric van der Vlist d71881dc02 Adding a check to reevaluate the map if min/max zoom levels are different in choosen tile servers. 2022-09-27 18:03:43 +02:00
Eric van der Vlist f5ce103cb3 Checking zoom and tiles boundaries (#6) 2022-09-27 15:10:23 +02:00
Eric van der Vlist ac67a063c2 First steps at supporting other map tile servers (#7) 2022-09-27 12:01:26 +02:00
Eric van der Vlist eae6296c2a Using pouchdb instead of redux to store tracks. 2022-09-24 17:08:53 +02:00
Eric van der Vlist d0bac1c509 Storing imported tracks in local "forage". 2022-09-23 22:34:59 +02:00
Eric van der Vlist bb2130793d Using UUIDs to identify tracks (instead of a numerical index) to make it easier to synchronize databases. 2022-09-23 15:07:39 +02:00
Eric van der Vlist a212841c6c Supporting multiple tracks. 2022-09-23 15:01:02 +02:00
Eric van der Vlist a559a37952 Parsing GPX files. 2022-09-22 21:50:39 +02:00
Eric van der Vlist 18c2819da9 Displaying the current location on the whiteboard. 2022-09-21 16:17:43 +02:00
Eric van der Vlist f0cf255f14 Changed the zoom relative level for the SVG overlay to avoid issues at higher zoom levels (probably due to rounding errors). 2022-09-21 15:47:57 +02:00
Eric van der Vlist 7808b7db7e Implementing a SVG layout (aka whiteboard). 2022-09-21 00:23:42 +02:00
Eric van der Vlist 46cffdcc4c Button to center the map on the current location. 2022-09-20 17:29:02 +02:00
Eric van der Vlist 4204168a3f Taking scale into account while reevaluating the state. 2022-09-14 20:36:43 +02:00
Eric van der Vlist 67e4d13989 Adding some first unit test and managing translations with scale=1 2022-09-14 17:50:27 +02:00
Eric van der Vlist 3a7d4987a3 Refactoring to take advantage of Immer's drafts 2022-09-14 11:52:37 +02:00
Eric van der Vlist d5196f4340 Re-implementing basic scale and shift actions (without reevaluating the scope). 2022-09-14 11:21:39 +02:00
Eric van der Vlist 2eb9a6cb47 Adding scale support in the computeStateFromScope method. 2022-09-14 10:26:27 +02:00
Eric van der Vlist 4bbb642b41 Cosmetic (reformat) 2022-09-14 10:03:49 +02:00
Eric van der Vlist db0761efd1 Refactoring (in progress) to put most of the logic in Redux reducers. 2022-09-13 18:17:08 +02:00
Eric van der Vlist fd79fba51f Using tiles. 2022-09-12 16:45:27 +02:00
Eric van der Vlist c4bd74a598 Handling wheel events 2022-09-12 15:58:10 +02:00
Eric van der Vlist b81b5e509e Renaming src/components/slippy/index.tsx -> src/components/slippy/sleepy.tsx 2022-09-12 15:31:02 +02:00
Eric van der Vlist 75b4bb2e2b Moving the underlying map out of the slippy component and handling window resize events. 2022-09-12 15:10:12 +02:00
Eric van der Vlist 2207ae1652 Moving slippy components in their own directory. 2022-09-12 09:17:06 +02:00
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 9e8aec244e Attempt to create a new, more react friendly slippy map library. 2022-09-06 00:08:17 +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