Skip to content

[Issue] show route uses wrong reference location / wrong reference location made when adding infrastructure? #23

Description

@YannickSeyeux

When adding a new infrastructure with coordinates, it will show the infrastructure on the map at the correct location.

However, when I click "Show route", it displays a route to "Undefined | Agentur für Webdesign und App, Bogenstraße 8, 20144 Hamburg, Germany". This seems to happen with recently created infrastructures.

Steps to reproduce

Open the application

  1. Click the + button
  2. Add a new infrastructure
  3. Click add

After creating a infrastructure, or if you want to check a infrastructure location

  1. Click the list button
  2. Search for your recently made school
  3. Click "Show route"

Expected outcome: a route is established from my current location to the coordinates listed in the new infrastructure.
Actual outcome: a route is established to "Undefined | Agentur für Webdesign und App, Bogenstraße 8, 20144 Hamburg, Germany"

Screenshot 2024-05-29 135919 Screenshot 2024-05-29 135807 Screenshot 2024-05-29 134012

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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