Add label option to ZoomToExtent
This commit is contained in:
@@ -1409,6 +1409,7 @@ olx.control.ZoomSliderOptions.prototype.render;
|
||||
/**
|
||||
* @typedef {{className: (string|undefined),
|
||||
* target: (Element|undefined),
|
||||
* label: (string|undefined),
|
||||
* tipLabel: (string|undefined),
|
||||
* extent: (ol.Extent|undefined)}}
|
||||
* @api stable
|
||||
@@ -1432,6 +1433,14 @@ olx.control.ZoomToExtentOptions.prototype.className;
|
||||
olx.control.ZoomToExtentOptions.prototype.target;
|
||||
|
||||
|
||||
/**
|
||||
* Text label to use for the button. Default is `E`
|
||||
* @type {string|undefined}
|
||||
* @api stable
|
||||
*/
|
||||
olx.control.ZoomToExtentOptions.prototype.label;
|
||||
|
||||
|
||||
/**
|
||||
* Text label to use for the button tip. Default is `Zoom to extent`
|
||||
* @type {string|undefined}
|
||||
|
||||
Reference in New Issue
Block a user