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
+1 -1
View File
@@ -1134,7 +1134,7 @@ olx.control.ZoomSliderOptions.prototype.minResolution;
* target: (Element|undefined), * target: (Element|undefined),
* tipLabel: (string|undefined), * tipLabel: (string|undefined),
* extent: (ol.Extent|undefined)}} * extent: (ol.Extent|undefined)}}
* @api * @api stable
*/ */
olx.control.ZoomToExtentOptions; olx.control.ZoomToExtentOptions;
+1 -1
View File
@@ -19,7 +19,7 @@ goog.require('ol.pointer.PointerEventHandler');
* @constructor * @constructor
* @extends {ol.control.Control} * @extends {ol.control.Control}
* @param {olx.control.ZoomToExtentOptions=} opt_options Options. * @param {olx.control.ZoomToExtentOptions=} opt_options Options.
* @api * @api stable
*/ */
ol.control.ZoomToExtent = function(opt_options) { ol.control.ZoomToExtent = function(opt_options) {
var options = goog.isDef(opt_options) ? opt_options : {}; var options = goog.isDef(opt_options) ? opt_options : {};