Skip to content

Import/export request json #25

@easbar

Description

@easbar

There should be a way to initialize the app with some (route request) state and also export the current state. Low-level editing of the request state would also be useful. So far this was possible by editing the URL in the browser's address box, but especially with custom models the URL will become too long.

Maybe there should be a (somewhat hidden) text box that displays the route request as JSON. This way users can easily copy the request to include it somewhere else in their application (use it against the Directions API for example) or share it somewhere to report a routing related problem etc.

Editing this text box would allow setting low-level parameters that are not covered elsewhere in the UI and this way we could also import the JSON that was exported by someone else. We probably need some basic validation for this such that the UI won't be in a broken state in case invalid JSON is inserted.

Not sure yet, just leaving this here for discussion.

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