Module type for ol.style.*

This commit is contained in:
Frederic Junod
2018-03-27 15:04:07 +02:00
parent 2de83adb8e
commit 7cbc22fece
24 changed files with 184 additions and 184 deletions
+3 -3
View File
@@ -10,7 +10,7 @@ import {asString} from '../color.js';
const IconImageCache = function() {
/**
* @type {!Object.<string, ol.style.IconImage>}
* @type {!Object.<string, module:ol/style/IconImage~IconImage>}
* @private
*/
this.cache_ = {};
@@ -71,7 +71,7 @@ IconImageCache.prototype.expire = function() {
* @param {string} src Src.
* @param {?string} crossOrigin Cross origin.
* @param {module:ol/color~Color} color Color.
* @return {ol.style.IconImage} Icon image.
* @return {module:ol/style/IconImage~IconImage} Icon image.
*/
IconImageCache.prototype.get = function(src, crossOrigin, color) {
const key = getKey(src, crossOrigin, color);
@@ -83,7 +83,7 @@ IconImageCache.prototype.get = function(src, crossOrigin, color) {
* @param {string} src Src.
* @param {?string} crossOrigin Cross origin.
* @param {module:ol/color~Color} color Color.
* @param {ol.style.IconImage} iconImage Icon image.
* @param {module:ol/style/IconImage~IconImage} iconImage Icon image.
*/
IconImageCache.prototype.set = function(src, crossOrigin, color, iconImage) {
const key = getKey(src, crossOrigin, color);