Add @api stable annotations for ol.control.ZoomToExtent
This commit is contained in:
+1
-1
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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 : {};
|
||||||
|
|||||||
Reference in New Issue
Block a user