Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]: Geographical coordinate picker for node editing pane #361

Open
3 tasks done
munterfi opened this issue Nov 20, 2024 · 0 comments
Open
3 tasks done

Comments

@munterfi
Copy link
Member

munterfi commented Nov 20, 2024

Preflight Checklist

Request type

Request for enhancement of a component

Functionality

A geographical coordinate picker in the node edit pane would be a helpful feature and could also support #239.

Proposed Functionality:

A new expandable Location area in the node editing pane shows a map where a marker represents the location of the currently selected node. The marker can be moved by the user to adjust the coordinate of the node. On new nodes, a geocoding suggestion based on the operation point or name is provided (#205 would further increase the probability to find an suggestion), but not yet set for the node. The coordinate is an optional property of a node.

image

This feature requires adding an optional coordinate field to the Node object in the data model:

"nodes": [
    {
      "id": 22,
      "betriebspunktName": "A",
      "fullName": "StopA",
      "positionX": 384,
      "positionY": 192,
      "coordinate":
       {
          "longitude": 7.5,
          "latitude": 46.5,
       },
       ...
    },
    ...
]

Link to design proposal file

https://angular.app.sbb.ch/journey-maps/introduction/getting-started

SBB Angular - Journey-Maps-Web-Component

openlayer-openstreetmap-hikebike-map

angular-openlayers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants