Skip to content

Add support for drawing tools #5

Description

@mlopezFC

Analyze the possibility of enabling drawing tools in the map.

Activity

  1. djerman commented on Jun 17, 2020

    @djerman

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

  2. mlopezFC commented on Jun 17, 2020

    @mlopezFC
    MemberAuthor

    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!

  3. djerman commented on Jun 17, 2020

    @djerman

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

  4. paodb commented on Apr 6, 2022

    @paodb
    Member

    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.

  5. jonasrotilli commented on Aug 30, 2023

    @jonasrotilli

    Line is a very precious resource.

    ++

  6. jonasrotilli commented on Aug 30, 2023

    @jonasrotilli

    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.

  7. mlopezFC commented on Sep 18, 2023

    @mlopezFC
    MemberAuthor

    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!

  8. moved this to Under consideration in Flowing Code Addonson May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions