Skip to content

Commit

Permalink
[Selection] increase version number of selection package
Browse files Browse the repository at this point in the history
[Selection] edit changelog and readme of selection package
  • Loading branch information
HenFo committed Nov 19, 2024
1 parent 21b3eaf commit 2f90964
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/packages/selection/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# @open-pioneer/selection

## 0.7.1

- Added support for point selections

## 0.7.0

### Minor Changes
Expand Down
7 changes: 7 additions & 0 deletions src/packages/selection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ This package provides a UI component to perform a selection on given selection s
To add the component to your app, import `Selection` from `@open-pioneer/selection`. The `@open-pioneer/notifier` package is required too.

The mandatory properties are `mapId` and `sources` (layer source to be selected on).

`selectionMethods` is an optional property that can hold a list of selection methods: `point`, `extent`.
It defaults to `extent` if omitted.
If more than one method is provided, buttons to toggle between them are added to the selection window.
The first method in the list is initially selected.

The limit per selection is 10.000 items.

```tsx
Expand All @@ -25,6 +31,7 @@ import { Search, SearchSelectEvent } from "@open-pioneer/search";
<Selection
mapId={MAP_ID}
sources={datasources}
selectionMethods={["extent", "point"]}
onSelectionComplete={(event: SelectionCompleteEvent) => {
// do something
}}
Expand Down
2 changes: 1 addition & 1 deletion src/packages/selection/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@open-pioneer/selection",
"version": "0.7.0",
"version": "0.7.1",
"description": "This package provides a UI component to perform a selection on given selection sources from the map.",
"license": "Apache-2.0",
"main": "index.ts",
Expand Down

0 comments on commit 2f90964

Please sign in to comment.