Skip to content

Use nearestPoint API to snap waypoints #58

Description

@si-the-pie

The mobile app is currently running blind. By this I mean that when a waypoint is set by tapping or by search by name, there is no attempt to locate the nearest point on the cyclable network. This leads to a lot of failed routing, similar to the report at #30 where undefined values are set for waypoints.

This problem is easily reproduced by setting a waypoint over the sea.

The enhancement is to use the API call at: http://www.cyclestreets.net/api/nearestpoint/ to snap to the routeable network before trying to generate a route.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions