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

Add support for drawing tools #5

Open
mlopezFC opened this issue Jun 16, 2020 · 7 comments
Open

Add support for drawing tools #5

mlopezFC opened this issue Jun 16, 2020 · 7 comments
Labels
enhancement New feature or request

Comments

@mlopezFC
Copy link
Member

Analyze the possibility of enabling drawing tools in the map.

@djerman
Copy link

djerman commented Jun 17, 2020

If it is possible there should be option for placing(drawing) polylines on the map.
drawingModes: ['marker', 'circle', 'polygon', 'polyline', 'rectangle']

@mlopezFC
Copy link
Member Author

If it is possible there should be option for placing(drawing) polylines on the map.
drawingModes: ['marker', 'circle', 'polygon', 'polyline', 'rectangle']

If you're referring to creating lines, markers and polygons from the server side, that is already supported (take a look at the demo source code and also at the demo itself by clicking "Add Polygon")

What are not supported are circles, if you need that, please create a different issue.

Thanks for the feedback!

@djerman
Copy link

djerman commented Jun 17, 2020

Thanks for response,
no I don't need circle, for me it's enough to add marker and line...

@javier-godoy javier-godoy added the enhancement New feature or request label Jul 2, 2020
@paodb
Copy link
Member

paodb commented Apr 6, 2022

I've been investigating this feature and adding the drawing toolbar will implied having to add new definitions in both, the web-component and this addon. In order to work, new definitions for the missing shapes are needed: circle, rectangle (similar at what already exists for polygons and markers) and the same for the toolbar's drawing manager.

@jonasrotilli
Copy link

Line is a very precious resource.

++

@jonasrotilli
Copy link

If it is possible there should be option for placing(drawing) polylines on the map.
drawingModes: ['marker', 'circle', 'polygon', 'polyline', 'rectangle']

If you're referring to creating lines, markers and polygons from the server side, that is already supported (take a look at the demo source code and also at the demo itself by clicking "Add Polygon")

What are not supported are circles, if you need that, please create a different issue.

Thanks for the feedback!

In the example there are only polygon. It mainly takes the line.
Circles, rectangles, triangles can be drawn with polygon, but lines are hopeless, the polygon "closes" and is outside the scope of any line.

@mlopezFC
Copy link
Member Author

Hi @jonasrotilli . This ticket was created for adding support for drawing tools, so the user can draw features directly on maps. I've created a new ticket for handling lines when creating features programmatically from the server side.
This ticket will track the progress of of enabling drawing tools in the map.
Thanks for the feedback!

@paodb paodb moved this to Under consideration in Flowing Code Addons May 6, 2024
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
Status: Under consideration
Development

No branches or pull requests

5 participants