Commit Graph

  • d82d972ff2 Uninstalling src/store/index.ts which doesn't wotk out of thebox with redux-toolkit. vdv 2022-09-24 11:27:04 +02:00
  • 52ca7e3fe7 Removing localforage and friends. vdv 2022-09-24 10:31:40 +02:00
  • 2831f901a7 Changing components stacking. vdv 2022-09-24 00:29:42 +02:00
  • 548d4a43cb Using CordovaSQLiteDriver whenever possible. vdv 2022-09-23 23:39:53 +02:00
  • d0bac1c509 Storing imported tracks in local "forage". vdv 2022-09-23 22:34:59 +02:00
  • bb2130793d Using UUIDs to identify tracks (instead of a numerical index) to make it easier to synchronize databases. vdv 2022-09-23 15:07:39 +02:00
  • a212841c6c Supporting multiple tracks. vdv 2022-09-23 15:01:02 +02:00
  • 0c615ee00c Installing ionic-storage and its sqlite driver. vdv 2022-09-23 15:00:17 +02:00
  • 3af532de54 Cosmetics vdv 2022-09-22 23:22:20 +02:00
  • 3856e4b516 Displaying a GPX track vdv 2022-09-22 23:05:50 +02:00
  • a559a37952 Parsing GPX files. vdv 2022-09-22 21:50:39 +02:00
  • c545ff1d15 Adding a file chooser to import GPX files vdv 2022-09-22 15:47:41 +02:00
  • 7447cfd128 Using Ionic components. vdv 2022-09-22 13:52:08 +02:00
  • 18c2819da9 Displaying the current location on the whiteboard. vdv 2022-09-21 16:17:43 +02:00
  • f0cf255f14 Changed the zoom relative level for the SVG overlay to avoid issues at higher zoom levels (probably due to rounding errors). vdv 2022-09-21 15:47:57 +02:00
  • 7808b7db7e Implementing a SVG layout (aka whiteboard). vdv 2022-09-21 00:23:42 +02:00
  • 92700c3964 Fixing compilation warnings. vdv 2022-09-20 17:38:24 +02:00
  • 46cffdcc4c Button to center the map on the current location. vdv 2022-09-20 17:29:02 +02:00
  • 88755e35f9 Changing the scale step for double click and mouse wheel events. vdv 2022-09-14 20:41:31 +02:00
  • 4204168a3f Taking scale into account while reevaluating the state. vdv 2022-09-14 20:36:43 +02:00
  • 67e4d13989 Adding some first unit test and managing translations with scale=1 vdv 2022-09-14 17:50:27 +02:00
  • 3a7d4987a3 Refactoring to take advantage of Immer's drafts vdv 2022-09-14 11:52:37 +02:00
  • d5196f4340 Re-implementing basic scale and shift actions (without reevaluating the scope). vdv 2022-09-14 11:21:39 +02:00
  • 2eb9a6cb47 Adding scale support in the computeStateFromScope method. vdv 2022-09-14 10:26:27 +02:00
  • 4687624259 Fixing an obvious bug vdv 2022-09-14 10:08:14 +02:00
  • 4bbb642b41 Cosmetic (reformat) vdv 2022-09-14 10:03:49 +02:00
  • db0761efd1 Refactoring (in progress) to put most of the logic in Redux reducers. vdv 2022-09-13 18:17:08 +02:00
  • fd79fba51f Using tiles. vdv 2022-09-12 16:45:27 +02:00
  • c4bd74a598 Handling wheel events vdv 2022-09-12 15:58:10 +02:00
  • b81b5e509e Renaming src/components/slippy/index.tsx -> src/components/slippy/sleepy.tsx vdv 2022-09-12 15:31:02 +02:00
  • 75b4bb2e2b Moving the underlying map out of the slippy component and handling window resize events. vdv 2022-09-12 15:10:12 +02:00
  • 2207ae1652 Moving slippy components in their own directory. vdv 2022-09-12 09:17:06 +02:00
  • d4f3e96743 Using redux selector in layer rather than viewport. vdv 2022-09-12 09:01:54 +02:00
  • ec0883ac54 *Not* using redux for mouseState. vdv 2022-09-12 08:53:11 +02:00
  • 3421686f1f Using Redux to provide application wise slippy context. vdv 2022-09-12 00:45:40 +02:00
  • 716d05fb3e Starting again with what has been developed as sandbox/map. vdv 2022-09-11 20:01:12 +02:00
  • f81c436f7d NPM updates first-go vdv 2022-09-09 20:51:18 +02:00
  • 2b1066fd5b Still implementing mouse handlers. vdv 2022-09-06 23:46:08 +02:00
  • ec48c63667 Staring to implement mouse handlers. vdv 2022-09-06 19:24:30 +02:00
  • af226285be Debouncing resize events vdv 2022-09-06 11:44:36 +02:00
  • 4e26d94843 Correct algorithm for centering tiles. vdv 2022-09-06 11:39:27 +02:00
  • 9e8aec244e Attempt to create a new, more react friendly slippy map library. vdv 2022-09-06 00:08:17 +02:00
  • a154a5aa44 Refactoring (moving geolocation in a library) vdv 2022-09-04 22:45:20 +02:00
  • d015c4f1b9 Working around the fact that react's strict mode initializes compenents twice... vdv 2022-09-04 21:08:31 +02:00
  • 5867338836 Introducing redux to manage tracks. vdv 2022-09-04 19:28:20 +02:00
  • b01870d234 Changing the overlays order so that controls are on top of tracks. vdv 2022-09-03 23:39:58 +02:00
  • f7b59e5ead Reanbling background geolocation. vdv 2022-09-03 23:31:45 +02:00
  • a8da543228 Refactoring live-overlay which was using Pigeon's GeoJson component to create a GPXOverlay. vdv 2022-09-03 23:15:29 +02:00
  • 194b46bad0 First working example with background geolocation, that is: working on Android, not tested on iOS and needing a fallback on the web. vdv 2022-09-02 23:41:55 +02:00
  • ff32b75480 Moving things around between map and overlay components. vdv 2022-09-02 17:56:10 +02:00
  • 95205bb49f Adding a sample GeoJson overlay (and figuring out a dirty way to tunnel mapState and latLngToPixel between Pigeon components). vdv 2022-09-02 15:56:41 +02:00
  • 3dfbd648b7 Reformating vdv 2022-09-02 11:05:50 +02:00
  • 8ec7e7d045 Adding zoom control vdv 2022-09-01 22:37:46 +02:00
  • d8c3035bb2 Trying to control the center and zoom of pigeon maps (doesn't work on my phone) vdv 2022-09-01 21:30:31 +02:00
  • a0ee63ef09 "Trying pigeon-maps as an alternative to react-leaflet +leaflet and it seems much easier (and reactive). vdv 2022-09-01 19:05:23 +02:00
  • 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) vdv 2022-09-01 18:48:29 +02:00
  • 1f53fbd3be Updating index.tsx to reflect changes between React 17 and 18. vdv 2022-09-01 18:47:36 +02:00
  • f20e082697 Using trapeze to set permissions in Android build directory's manifest. vdv 2022-09-01 13:51:16 +02:00
  • 375d173d6d Installing Ionic geolocation plugin. vdv 2022-09-01 12:59:45 +02:00
  • 6e419839e9 Basic leaflet example shamelessly stolen from various places on the web. vdv 2022-08-31 22:03:27 +02:00
  • 44fd94b520 Upgrade to React 18. vdv 2022-08-31 21:21:53 +02:00
  • 0860516d66 Project config and more cleanup. vdv 2022-08-31 20:22:00 +02:00
  • 432e36f9e9 Cleaned up initial source. vdv 2022-08-31 15:30:20 +02:00
  • 6079ec1577 Cleaned up initial source. vdv 2022-08-31 15:28:20 +02:00
  • 97153cbbca first commit vdv 2022-08-31 14:36:18 +02:00
  • 58d441f91e Initial commit vdv 2022-08-31 14:35:20 +02:00