Skip to content

RouteUtils getDistanceToStep not measuring correctly #205

@cammace

Description

@cammace

Currently RouteUtils.getDistanceToStep method measures straight through route ignoring curves and the actual geometry of the route. I've made a demo in the testapp requesting a directions route, drawing the route and then measuring the distance of the last step and drawing the exact same points the getDistanceToStep method measures:

We should be measuring the exact geometry of the route

cc: @zugaldia

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions