benkleintechnologies / Guardia

0 stars 0 forks source link

Create Basic Map View for App #2

Closed benkleintechnologies closed 4 months ago

benkleintechnologies commented 5 months ago

Locations of all other users need to be retrieved from the database at a regular interval. Should probably use WebSockets

Then a map view should be created showing the user's current location and all other users' retrieved locations.

Should be an option to recenter on your own location, and to drag around the map to view where other users are. If too complicated, we'll make a new issue for this.

Similar to #3 and code may be able to re-used somewhat.

benkleintechnologies commented 5 months ago

I made a Map.tsx component which should show the locations on the map, but isn't working yet and still needs more tweaking

benkleintechnologies commented 4 months ago

10 Deals with the rest of this issue. The map is now working, shows all locations from the database, focuses on the smallest possible view fitting all points, and has a button to go to the user's own location. Dragging around was standard.