new Snap(options)
An Open Layers Control that enables snapping to vectors.
Parameters:
Name | Type | Description |
---|---|---|
options |
Object | The options used to configure this control, any valid option for OpenLayers.Control.Snapping can be supplied |
Extends
- OpenLayers.Control.Snapping
Members
(constant) CLASS_NAME :string
The name of this class
Type:
- string
defaultHandlerOptions
Properties:
Name | Type | Description |
---|---|---|
defaultHandlerOptions |
Object | The default options passed to the handler |
snappableLayer
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
snappableLayer |
OpenLayers.Layer.Vector |
<nullable> |
The layer that will contain the vectors to snap to. |
snapToFeature
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
snapToFeature |
boolean |
<nullable> |