rilling / OSMDashboard-Winter-2024-COMP-354

OpenStreetMaps Dashboard for OpenTracks
https://f-droid.org/de/packages/de.storchp.opentracks.osmplugin/
Apache License 2.0
5 stars 10 forks source link

Display the user’s current position on the map #26

Open JenniferHann opened 6 months ago

JenniferHann commented 6 months ago

Description: On the map interface, the user should be displayed their current position. This feature allows the user to know where they are in the resort.

Expected Outcome: When the map is open on the application, the user will be able to identify where they are on the map within the resort using an icon and the map will be positioned for the user's location to be in the middle so that they won't have to search for it.

Alternative Solutions: We could have either the location be an icon, or an image or have it customizable for the user to easily identify themselves when compared to the visuals of the map. The map could either display the whole resort with the user's location in the middle or it could be a zoom-in feature where the user's location and only a few meters from the user is displayed.

Verification: Have the user in a different location and see if the user's location is displayed properly and accurately on the map and if it's easily identifiable.

Eleanor-Hui commented 5 months ago

Updated MapsActivity.java, user can jump to OSM Dashboard's map interface to show user's current location by using the button on OpenTrack, and can click the button to zoom in and out of the map.