APIProperty: control {<OpenLayers.Control>}. The control that initialized this handler. The control is assumed to have a valid map property - that map is used in the handler's own setMap method.
APIProperty: keyMask
{Integer} Use bitwise operators and one or more of the OpenLayers.Handler
constants to construct a keyMask. The keyMask is used by
Example: (code) // handler only responds if the Shift key is down handler.keyMask = OpenLayers.Handler.MOD_SHIFT;
// handler only responds if Ctrl-Shift is down
handler.keyMask = OpenLayers.Handler.MOD_SHIFT |
OpenLayers.Handler.MOD_CTRL;
(end)
APIProperty: multi {Boolean} Cast features to multi-part geometries before passing to the layer. Default is false.
APIProperty: persist {Boolean} Leave the feature rendered until destroyFeature is called. Default is false. If set to true, the feature remains rendered until destroyFeature is called, typically by deactivating the handler or starting another drawing.
APIProperty: pixelTolerance {Number} Maximum number of pixels between down and up (mousedown and mouseup, or touchstart and touchend) for the handler to add a new point. If set to an integer value, if the displacement between down and up is great to this value no point will be added. Default value is 5.
APIProperty: stopDown {Boolean} Stop event propagation on mousedown. Must be false to allow "pan while drawing". Defaults to false.
APIPropery: stopUp {Boolean} Stop event propagation on mouse. Must be false to allow "pan while dragging". Defaults to fase.
APIProperty: citeCompliant {Boolean} If set to true, coordinates of features drawn in a map extent crossing the date line won't exceed the world bounds. Default is false.