@vcmap/core
Preparing search index...
setSnappingFeatures
Function setSnappingFeatures
setSnappingFeatures
(
results
:
(
|
{
otherVertexIndex
:
number
;
snapped
:
Coordinate
;
type
:
"orthogonal"
}
|
{
otherVertexIndex
:
number
;
parallelIndex
:
number
;
snapped
:
Coordinate
;
type
:
"parallel"
;
}
|
{
snapped
:
Coordinate
;
type
:
"vertex"
}
|
{
snapped
:
Coordinate
;
type
:
"edge"
}
|
undefined
)
[]
,
coordinates
:
Coordinate
[]
,
layer
:
VectorLayer
,
)
:
()
=>
void
Parameters
results
: (
|
{
otherVertexIndex
:
number
;
snapped
:
Coordinate
;
type
:
"orthogonal"
}
|
{
otherVertexIndex
:
number
;
parallelIndex
:
number
;
snapped
:
Coordinate
;
type
:
"parallel"
;
}
|
{
snapped
:
Coordinate
;
type
:
"vertex"
}
|
{
snapped
:
Coordinate
;
type
:
"edge"
}
|
undefined
)
[]
coordinates
:
Coordinate
[]
layer
:
VectorLayer
Returns
()
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@vcmap/core
Loading...