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

@@ -18,7 +18,7 @@ import {inherits} from '../index.js';
* @property {string} [tipLabel='Reset rotation'] Text label to use for the rotate tip.
* @property {number} [duration=250] Animation duration in milliseconds.
* @property {boolean} [autoHide=true] Hide the control when rotation is 0.
* @property {function(ol.MapEvent)} [render] Function called when the control should
* @property {function(module:ol/MapEvent~MapEvent)} [render] Function called when the control should
* be re-rendered. This is called in a `requestAnimationFrame` callback.
* @property {function()} [resetNorth] Function called when the control is clicked.
* This will override the default `resetNorth`.
@@ -153,7 +153,7 @@ Rotate.prototype.resetNorth_ = function() {
/**
* Update the rotate control element.
* @param {ol.MapEvent} mapEvent Map event.
* @param {module:ol/MapEvent~MapEvent} mapEvent Map event.
* @this {ol.control.Rotate}
* @api
*/