Add @api stable annotations for ol.control.ZoomToExtent

This commit is contained in:
Éric Lemoine
2014-08-19 16:55:35 +02:00
parent 967bbebaa0
commit 26ec1d5924
2 changed files with 2 additions and 2 deletions

View File

@@ -1134,7 +1134,7 @@ olx.control.ZoomSliderOptions.prototype.minResolution;
* target: (Element|undefined),
* tipLabel: (string|undefined),
* extent: (ol.Extent|undefined)}}
* @api
* @api stable
*/
olx.control.ZoomToExtentOptions;

View File

@@ -19,7 +19,7 @@ goog.require('ol.pointer.PointerEventHandler');
* @constructor
* @extends {ol.control.Control}
* @param {olx.control.ZoomToExtentOptions=} opt_options Options.
* @api
* @api stable
*/
ol.control.ZoomToExtent = function(opt_options) {
var options = goog.isDef(opt_options) ? opt_options : {};