Add zoom to extent control

This commit is contained in:
Stéphane Brunner
2013-06-26 16:21:07 +02:00
committed by Éric Lemoine
parent 757ccf148b
commit 86001fd331
4 changed files with 130 additions and 0 deletions

View File

@@ -226,6 +226,15 @@
* @property {number|undefined} minResolution Minimum resolution.
*/
/**
* @typedef {Object} ol.control.ZoomToExtentOptions
* @property {string|undefined} className Class name.
* @property {ol.Map|undefined} map Map.
* @property {Element|undefined} target Target.
* @property {ol.Extent|undefined} extent The extent to zoom to. If
* undefined the validity extent of the view projection is used.
*/
/**
* @typedef {Object} ol.interaction.DoubleClickZoomOptions
* @property {number|undefined} delta The zoom delta applied on each double