Module type for MapEvent
This commit is contained in:
@@ -29,7 +29,7 @@ const LEADING_DIGITS = [1, 2, 5];
|
||||
* @typedef {Object} Options
|
||||
* @property {string} [className='ol-scale-line'] CSS Class name.
|
||||
* @property {number} [minWidth=64] Minimum width in pixels.
|
||||
* @property {function(ol.MapEvent)} [render] Function called when the control
|
||||
* @property {function(module:ol/MapEvent~MapEvent)} [render] Function called when the control
|
||||
* should be re-rendered. This is called in a `requestAnimationFrame` callback.
|
||||
* @property {Element|string} [target] Specify a target if you want the control
|
||||
* to be rendered outside of the map's viewport.
|
||||
@@ -135,7 +135,7 @@ ScaleLine.prototype.getUnits = function() {
|
||||
|
||||
/**
|
||||
* Update the scale line element.
|
||||
* @param {ol.MapEvent} mapEvent Map event.
|
||||
* @param {module:ol/MapEvent~MapEvent} mapEvent Map event.
|
||||
* @this {ol.control.ScaleLine}
|
||||
* @api
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user