Skip to content

Draw Area Selection - Active #9

@Ryllau

Description

@Ryllau

Hello!
I am running into a few issue with the DrawAreaSelection active function. I hope you can provide some clarity if this is a known bug or potentially an issue with my implementation.

  1. The rect drag feature does not create the proper rectangle progress lines. When clicking and dragging, nothing appears on the map. When you release the mouse, a single line is drawn on the map or could be a box with very weird dimensions, either way it does not match the initial click and drag rectangle. However, I am able to click in markers to make a polygon.

  2. I want to set the draw-panel-help element to a different message by using document.getElementById('draw-panel-help').textContent but this does not seem to work when using active. This works fine in the onButtonActivate function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions