-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: format handler for multiple geometry types and formats (#1276)
* feat: added initial bounding box format handler for jsonform * feat: add polygons and editors * chore: cleanup * feat: selection input + adjusted returned values accordingly * fix: feature selection story & renamed drawtool to bbox * chore: format * fix: lint & tests * fix: spread features * feat: type spatial custom validator * chore: update collection schema * test: render drawtools on type spatial * feat: add projection option * test: projection * fix: auto start drawing * fix: remove `*-editor` formats * fix: update editors types & adapt the validator and stories * feat: support format point/points * feat: support wkt and geojson types and handle their validations * chore: update stories and clean up * test: adjust tests * fix: return a feature for single formats and feature collection for plural * feat: support line/lines format * fix: discard drawing on destroy * fix: adjust collection schema and format --------- Co-authored-by: A-Behairi <[email protected]>
- Loading branch information
1 parent
7242b4c
commit 0285b72
Showing
30 changed files
with
1,376 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.