Fix missing method declaration

ol/renderer/vector was using the abstract ReplayGroup type while
referencing replayGroup.addDeclutter(), which was only defined
on the canvas and webgl implementations and was also defined
differently.
This commit is contained in:
William Wall
2018-10-03 16:08:26 -06:00
parent 84dda90bfc
commit b8addb4c24
3 changed files with 12 additions and 5 deletions

View File

@@ -120,8 +120,7 @@ class CanvasReplayGroup extends ReplayGroup {
}
/**
* @param {boolean} group Group with previous replay.
* @return {import("../canvas.js").DeclutterGroup} Declutter instruction group.
* @inheritDoc
*/
addDeclutter(group) {
let declutter = null;