Skip to content

Don't center map to position when far from Paris #84

@eliemichel

Description

@eliemichel

I also suggest to disable the bike and stand view then, or at least the display of the path to reach the station as (1) it is useless and (2) it takes time to compute (for instance if you are in New York…).

  • Disable view centering on the geolocation when at, say, more than Config.maxDistanceFromParis from Paris.
  • Disable direction computing when at more than Config.maxDistanceFromStation
  • Display a status message to explain the situation, like "Vous êtes actuellement loin de Paris. Géoposition désactivée."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions