Move handlerOptions to the Control prototype.

This commit is contained in:
Frederic Junod
2012-04-11 11:25:39 +02:00
parent 24d421a449
commit 1a59e47737
8 changed files with 11 additions and 6 deletions

View File

@@ -46,6 +46,11 @@ OpenLayers.Control.PinchZoom = OpenLayers.Class(OpenLayers.Control, {
*/
autoActivate: true,
/**
* APIProperty: handlerOptions
* {Object} Used to set non-default properties on the pinch handler
*/
/**
* Constructor: OpenLayers.Control.PinchZoom
* Create a control for zooming with pinch gestures. This works on devices