Module type for MapEvent

This commit is contained in:
Tim Schaub
2018-03-18 09:48:06 -06:00
parent 393df3faf3
commit 0edbfde4d3
7 changed files with 14 additions and 14 deletions

View File

@@ -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
*/