mapview.interactions.snap()
This module sets up the snap interaction for the mapview.
Methods
(inner) snap(mapview)
Sets up the snap interaction for the mapview.
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
mapview | Object | The mapview object. Properties
|
(inner) tileloadend(e)
Callback function for the `tileloadend event of the feature source. Adds features from the loaded tile to the snap source.
Parameters:
Name | Type | Description |
---|---|---|
e | ol. | The tile load event. |