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

[Backport 2.x] Add rectangle as custom mode #358

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link

Backport 7a53e13 from #247

* Add dependency to mapbox-gl-draw
* Add rectangle mode

New draw mode that extends polygon but behaves
like rectangle.

On First click, coordinate is set. On Second click the rectangle
is created as bounding box. This will be used for
drawing bounding box.

Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
(cherry picked from commit 7a53e13)
@opensearch-trigger-bot opensearch-trigger-bot bot requested a review from a team March 23, 2023 17:21
@VijayanB VijayanB self-assigned this Mar 23, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #358 (d0d6208) into 2.x (59cb429) will not change coverage.
The diff coverage is n/a.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff           @@
##              2.x     #358   +/-   ##
=======================================
  Coverage   83.89%   83.89%           
=======================================
  Files          19       19           
  Lines         478      478           
  Branches       73       73           
=======================================
  Hits          401      401           
  Misses         55       55           
  Partials       22       22           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@VijayanB VijayanB merged commit da8897e into 2.x Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants