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

[WIP/RFC] Drawing simple shapes on the map #108

Open
hauke96 opened this issue Apr 14, 2023 · 0 comments
Open

[WIP/RFC] Drawing simple shapes on the map #108

hauke96 opened this issue Apr 14, 2023 · 0 comments
Labels
enhancement New feature or request
Projects

Comments

@hauke96
Copy link
Owner

hauke96 commented Apr 14, 2023

Maybe the PathOverlay helps. I don't know what's possible with OsmDroid and the overlay, maybe some of the following features aren't doable.

Tasks/acceptance criteria:

  • In the toolbar should be a button (maybe with a pen or path icon) to enable the drawing mode
  • After clicking the draw-button, the toolbar changes and will have the following buttons
    • Note-button to go back to note-mode
    • Line-button to draw lines
    • Polygon-Button to draw polygon
  • In draw mode, the following map interaction should be possible
    • Tap on a shape selects it
    • Tap on map adds a new point for the current line shape or starts drawing a new line shape
    • Each point of the selected shape should be able to be moved

Discussion/questions:

  • Should there be a color button to choose a color or should drawn shapes also have a category?
  • How to modify polygon shapes?
  • Should shapes have a text (like "this area is grass" or so)
@hauke96 hauke96 added the enhancement New feature or request label Apr 14, 2023
@hauke96 hauke96 added this to To do in 1.8.0 Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
1.8.0
To do
Development

No branches or pull requests

1 participant