Move ol.DeclutterGroup to ol/render/canvas

This commit is contained in:
Michael Kuenzli
2018-04-18 14:55:48 +02:00
parent b740630e89
commit 3b983564b3
7 changed files with 29 additions and 30 deletions

View File

@@ -23,7 +23,7 @@ const CanvasImageReplay = function(
/**
* @private
* @type {ol.DeclutterGroup}
* @type {module:ol/render/canvas~DeclutterGroup}
*/
this.declutterGroup_ = null;
@@ -217,7 +217,7 @@ CanvasImageReplay.prototype.setImageStyle = function(imageStyle, declutterGroup)
const origin = imageStyle.getOrigin();
this.anchorX_ = anchor[0];
this.anchorY_ = anchor[1];
this.declutterGroup_ = /** @type {ol.DeclutterGroup} */ (declutterGroup);
this.declutterGroup_ = /** @type {module:ol/render/canvas~DeclutterGroup} */ (declutterGroup);
this.hitDetectionImage_ = hitDetectionImage;
this.image_ = image;
this.height_ = size[1];