opentraildata / OpenTrails-Mobile

A mobile application for viewing trail maps
MIT License
18 stars 8 forks source link

Reminder/ Warning message when user recenters map on location, but they are outside map bounds #141

Open alanjosephwilliams opened 10 years ago

alanjosephwilliams commented 10 years ago

Context

This application aims to provide access to both trail data & map tiles when the user lacks an internet connection.

The extent of the map tiles available are based on the extent of the geodata in the app. Their zoom levels are restricted in order to keep the map tiles to a certain file size limitation.

When the user tries to navigate outside of the bounds of the map tiles available, there is a gentle bounce that prevents them from doing so.

However, when the user herself is located outside of the map bounds, and tries to recenter the map on their location, there is a somewhat confusing UX, wherein the attempt to recenter is made.

Action

We should instead trigger a gentle reminder / warning, perhaps immediately atop the bottom navigation UI.

The copy can read something to the effect of "You are located outside the bounds of the map! We can't recenter on your current location"

We could also throw the error message when the app starts, but I think that is lower priority,

Further Context

There are likely other UX challenges inherent in this attempt to give users map tiles offline. For example, if a deployment tries to give users data for an entire state, the size of the map tile load will likely exceed what we can ask people to download.

We also have no UX Flow for avoiding local maps altogether, and instead relying on their delivery over wifi or data.