@vcmap/core
Preparing search index...
SelectFeaturesSession
Type Alias SelectFeaturesSession
SelectFeaturesSession
:
EditorSession
<
SELECT
>
&
{
currentFeatures
:
Feature
[]
;
featuresChanged
:
VcsEvent
<
Feature
[]
>
;
firstFeature
:
Feature
|
null
;
mode
:
SelectionMode
;
modeChanged
:
VcsEvent
<
SelectionMode
>
;
clearSelection
()
:
void
;
setCurrentFeatures
(
features
:
|
Feature
<
Geometry
,
{
[
x
:
string
]:
any
}
>
|
Feature
<
Geometry
,
{
[
x
:
string
]:
any
}
>
[]
,
)
:
Promise
<
void
>
;
setMode
(
mode
:
SelectionMode
)
:
void
;
}
Type Declaration
currentFeatures
:
Feature
[]
featuresChanged
:
VcsEvent
<
Feature
[]
>
firstFeature
:
Feature
|
null
mode
:
SelectionMode
modeChanged
:
VcsEvent
<
SelectionMode
>
clearSelection
:
function
clearSelection
()
:
void
Returns
void
setCurrentFeatures
:
function
setCurrentFeatures
(
features
:
|
Feature
<
Geometry
,
{
[
x
:
string
]:
any
}
>
|
Feature
<
Geometry
,
{
[
x
:
string
]:
any
}
>
[]
,
)
:
Promise
<
void
>
Parameters
features
:
|
Feature
<
Geometry
,
{
[
x
:
string
]:
any
}
>
|
Feature
<
Geometry
,
{
[
x
:
string
]:
any
}
>
[]
Returns
Promise
<
void
>
setMode
:
function
setMode
(
mode
:
SelectionMode
)
:
void
Sets the selection mode. Raises modeChanged event, throws error when invalid selection mode input.
Parameters
mode
:
SelectionMode
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@vcmap/core
Loading...
Sets the selection mode. Raises modeChanged event, throws error when invalid selection mode input.