# SnappingController.js

Summary

SnappingController.js |
Functions |
destroy | See Also: <OpenLayer.Control>
setLayerId Enables snapping if the given layerId exists in current | map.
Properties |
QName The qualified name for this control. Needed by XML config to | instantiate it.

### Functions

### destroy

> destroy : function()

See Also: <OpenLayer.Control>

### setLayerId Enables snapping if the given layerId exists in current

map.

Parameters: layerId | {String} The layerId on wich the snapping should be based

### Properties

### QName The qualified name for this control. Needed by XML config to

instantiate it.

> destroy : function()

See Also: OpenLayer.Control