Skip to content

Property road not populated in IInstruction object #31

@mkv123

Description

@mkv123

Hi,

Thanks for making all these plugins to make it easy to try out different routing services.

Noticed that the "road" attribute is not poplated on the instruction object.

IInstruction defined here:
https://www.liedman.net/leaflet-routing-machine/api/#iinstruction

Relevant code here

https://github.com/perliedman/lrm-graphhopper/blob/master/src/L.Routing.GraphHopper.js#L221

Adding road: instr.street_name seems to do the trick.

PS: I know this is looking for a maintainer but thought I'd document it anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions