Move handlerOptions to the Control prototype.
This commit is contained in:
@@ -120,6 +120,12 @@ OpenLayers.Control = OpenLayers.Class({
|
|||||||
*/
|
*/
|
||||||
active: null,
|
active: null,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Property: handlerOptions
|
||||||
|
* {Object} Used to set non-default properties on the control's handler
|
||||||
|
*/
|
||||||
|
handlerOptions: null,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: handler
|
* Property: handler
|
||||||
* {<OpenLayers.Handler>} null
|
* {<OpenLayers.Handler>} null
|
||||||
|
|||||||
@@ -62,7 +62,6 @@ OpenLayers.Control.DrawFeature = OpenLayers.Class(OpenLayers.Control, {
|
|||||||
* APIProperty: handlerOptions
|
* APIProperty: handlerOptions
|
||||||
* {Object} Used to set non-default properties on the control's handler
|
* {Object} Used to set non-default properties on the control's handler
|
||||||
*/
|
*/
|
||||||
handlerOptions: null,
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor: OpenLayers.Control.DrawFeature
|
* Constructor: OpenLayers.Control.DrawFeature
|
||||||
|
|||||||
@@ -144,7 +144,6 @@ OpenLayers.Control.GetFeature = OpenLayers.Class(OpenLayers.Control, {
|
|||||||
* {Object} Additional options for the handlers used by this control. This
|
* {Object} Additional options for the handlers used by this control. This
|
||||||
* is a hash with the keys "click", "box" and "hover".
|
* is a hash with the keys "click", "box" and "hover".
|
||||||
*/
|
*/
|
||||||
handlerOptions: null,
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: handlers
|
* Property: handlers
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ OpenLayers.Control.Measure = OpenLayers.Class(OpenLayers.Control, {
|
|||||||
* APIProperty: handlerOptions
|
* APIProperty: handlerOptions
|
||||||
* {Object} Used to set non-default properties on the control's handler
|
* {Object} Used to set non-default properties on the control's handler
|
||||||
*/
|
*/
|
||||||
handlerOptions: null,
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: callbacks
|
* Property: callbacks
|
||||||
|
|||||||
@@ -46,6 +46,11 @@ OpenLayers.Control.PinchZoom = OpenLayers.Class(OpenLayers.Control, {
|
|||||||
*/
|
*/
|
||||||
autoActivate: true,
|
autoActivate: true,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* APIProperty: handlerOptions
|
||||||
|
* {Object} Used to set non-default properties on the pinch handler
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor: OpenLayers.Control.PinchZoom
|
* Constructor: OpenLayers.Control.PinchZoom
|
||||||
* Create a control for zooming with pinch gestures. This works on devices
|
* Create a control for zooming with pinch gestures. This works on devices
|
||||||
|
|||||||
@@ -82,7 +82,6 @@ OpenLayers.Control.SLDSelect = OpenLayers.Class(OpenLayers.Control, {
|
|||||||
* APIProperty: handlerOptions
|
* APIProperty: handlerOptions
|
||||||
* {Object} Used to set non-default properties on the control's handler
|
* {Object} Used to set non-default properties on the control's handler
|
||||||
*/
|
*/
|
||||||
handlerOptions: null,
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIProperty: sketchStyle
|
* APIProperty: sketchStyle
|
||||||
|
|||||||
@@ -140,7 +140,6 @@ OpenLayers.Control.WMSGetFeatureInfo = OpenLayers.Class(OpenLayers.Control, {
|
|||||||
* }
|
* }
|
||||||
* (end)
|
* (end)
|
||||||
*/
|
*/
|
||||||
handlerOptions: null,
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: handler
|
* Property: handler
|
||||||
|
|||||||
@@ -120,7 +120,6 @@ OpenLayers.Control.WMTSGetFeatureInfo = OpenLayers.Class(OpenLayers.Control, {
|
|||||||
* }
|
* }
|
||||||
* (end)
|
* (end)
|
||||||
*/
|
*/
|
||||||
handlerOptions: null,
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: handler
|
* Property: handler
|
||||||
|
|||||||
Reference in New Issue
Block a user