organicmaps / organicmaps

🍃 Organic Maps is a free Android & iOS offline maps app for travelers, tourists, hikers, and cyclists. It uses crowd-sourced OpenStreetMap data and is developed with love by MapsWithMe (MapsMe) founders and our community. No ads, no tracking, no data collection, no crapware. Please donate to support the development!
https://organicmaps.app
Apache License 2.0
9.53k stars 914 forks source link

Location history / timeline #4267

Open ph00lt0 opened 1 year ago

ph00lt0 commented 1 year ago

As requested on Matrix.

I would love to see a location history feature much like Google offers as Timeline in Google Maps.

An overview of location and time of where one has been per day would be amazing. Might be good to have a configurable interval to have the user decide on battery impact of this.

Please let me know what you need to make this happen.

biodranik commented 1 year ago

There is already a "Recent track" feature working on iOS. It may be generalized. That feature needs careful design and implementation to be useful:

RedAuburn commented 1 year ago

imo this feels a bit out of scope, there are already solutions such as nextcloud PhoneTrack and OwnTracks (although we could integrate with them)

ph00lt0 commented 1 year ago

A few comments:

imo this feels a bit out of scope, there are already solutions such as nextcloud PhoneTrack and OwnTracks (although we could integrate with them)

Nextcloud phone track is not a stable solution. Besides it not working well in terms of logging location, it does not have a day by day view. This is more a solution that can show where you have been ever. Yes some data is present but there is no visualization. Owntrack afaik also relies on Nextcloud Phonetrack.

To address @biodranik's very valid questions: Obviously a feature like this will consume battery. But so does it when using Google Maps. When relying on Google's location I don't see why this would have much more impact. With GPS it surely would consume more but this can be a choice of the end user. May not be as bad for people who drive a lot and have it connected to the car anyway.

Yeah a feature to turn and off with a toggle in the a history tab would be great.

I think great inspiration can be taken from Google Timeline. Have a map on top showing the locations per day and the routes and below a list of locations with timestamps (start-end) of location a user has remained let's say over 15min.Allow the user to swipe back and forward between the dates. A date picker that could be opened from an icon on top would also make sense.

For clearing history one could look at how browsing history can be deleted: last hour, last day, last week, all.

I think location history should not be turned on by default. When user presses the toggle they can be informed with a pop up explaining that the data remains on the device and is not shared by the app.

PanderMusubi commented 1 year ago

Nextcloud Phonetrack shows in screenshots visualizations. Perhaps since its update three weeks ago. Worth looking into again to integrate with it?

If integration is worthwhile, perhaps also sync bookmarks with it.

biodranik commented 1 year ago

What are the pros and cons of this integration? How important is it for most users?