Configure ol.interaction.DblClickZoom with options

This commit is contained in:
Tom Payne
2013-04-22 14:20:45 +02:00
parent a4d8e1c4d8
commit f2836ea111
3 changed files with 17 additions and 6 deletions

View File

@@ -164,6 +164,12 @@
* @property {number|undefined} minResolution Minimum resolution.
*/
/**
* @typedef {Object} ol.interaction.DblClickZoomOptions
* @property {number|undefined} delta The zoom delta applied on each double
* click.
*/
/**
* Interactions for the map. Default is true for all options.
* @typedef {Object} ol.interaction.DefaultsOptions
@@ -182,6 +188,7 @@
* desired.
* @property {boolean|undefined} touchRotate Whether touch rotate is desired.
* @property {boolean|undefined} touchZoom Whether touch zoom is desired.
* @property {number|undefined} zoomDelta Zoom delta.
*/
/**