Skip to content

Precision in Project-OSRM-Web seems to be wrong when using newer OSRM #790

@pnaegele

Description

@pnaegele

Hello there,

OSRM.CONSTANTS.PRECISION in /routing/OSRM.RoutingGeometry.js seems to be set to a wrong value for a run-of-the-mill OSRM installation.
It is currently set to 5, should be 6.

So... if someone has issues with their routes being rendered in a straight line way up north, they need to set OSRM.CONSTANTS.PRECISION in /routing/OSRM.RoutingGeometry.js to 6.

Best regards!

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