MapStore2 icon indicating copy to clipboard operation
MapStore2 copied to clipboard

#8436 - Draw Support - Add support for hole creation

Open offtherailz opened this issue 3 years ago • 0 comments

Description

With this PR we add to Openlayers DrawSupport the option hole, that, used with drawOrEdit status, makes the tool draw an hole inside an existing polygon/multipolygon added as feature of drawSupport. After draw, the modified feature will be included as usual in the proper events triggered by drawsupport.

Please check if the PR fulfills these requirements

  • [x] The commit message follows our guidelines: https://github.com/geosolutions-it/MapStore2/blob/master/CONTRIBUTING.md
  • [x] Tests for the changes have been added (for bug fixes / features)
  • [x] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x", remove the others)

  • [ ] Bugfix
  • [x] Feature
  • [ ] Code style update (formatting, local variables)
  • [ ] Refactoring (no functional changes, no api changes)
  • [ ] Build related changes
  • [ ] CI related changes
  • [ ] Other... Please describe:

Issue

What is the current behavior?

#8436

What is the new behavior? DrawSupport provides support for hole creation

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • [ ] Yes, and I documented them in migration notes
  • [x] No

Other useful information

offtherailz avatar Jul 26 '22 09:07 offtherailz