Move RBush typedefs out of src/ol/typedefs.js

This commit is contained in:
Frederic Junod
2018-03-22 17:13:48 +01:00
parent c34e7e2246
commit 48740f0026
3 changed files with 14 additions and 12 deletions

View File

@@ -502,7 +502,7 @@ CanvasReplay.prototype.renderDeclutter_ = function(declutterGroup, feature) {
if (declutterGroup && declutterGroup.length > 5) {
const groupCount = declutterGroup[4];
if (groupCount == 1 || groupCount == declutterGroup.length - 5) {
/** @type {ol.RBushEntry} */
/** @type {module:ol/structs/RBush~Entry} */
const box = {
minX: /** @type {number} */ (declutterGroup[0]),
minY: /** @type {number} */ (declutterGroup[1]),