Module type for ol.ImageState

This commit is contained in:
Frederic Junod
2018-03-19 09:31:18 +01:00
parent 3edbbf0b46
commit ded99ccad7
3 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -15,7 +15,7 @@ import {iconImageCache} from '../style.js';
* @param {string|undefined} src Src.
* @param {module:ol/size~Size} size Size.
* @param {?string} crossOrigin Cross origin.
* @param {ol.ImageState} imageState Image state.
* @param {module:ol/ImageState~ImageState} imageState Image state.
* @param {module:ol/color~Color} color Color.
* @extends {module:ol/events/EventTarget~EventTarget}
*/
@@ -61,7 +61,7 @@ const IconImage = function(image, src, size, crossOrigin, imageState, color) {
/**
* @private
* @type {ol.ImageState}
* @type {module:ol/ImageState~ImageState}
*/
this.imageState_ = imageState;
@@ -96,7 +96,7 @@ inherits(IconImage, EventTarget);
* @param {string} src Src.
* @param {module:ol/size~Size} size Size.
* @param {?string} crossOrigin Cross origin.
* @param {ol.ImageState} imageState Image state.
* @param {module:ol/ImageState~ImageState} imageState Image state.
* @param {module:ol/color~Color} color Color.
* @return {ol.style.IconImage} Icon image.
*/
@@ -169,7 +169,7 @@ IconImage.prototype.getImage = function(pixelRatio) {
/**
* @return {ol.ImageState} Image state.
* @return {module:ol/ImageState~ImageState} Image state.
*/
IconImage.prototype.getImageState = function() {
return this.imageState_;