* _uncacheFeatureIDs * @param {Object} cache * @param {Set} featureIDs - Set(featureIDs)
(cache, featureIDs)
| 520 | * @param {Set} featureIDs - Set(featureIDs) |
| 521 | */ |
| 522 | _uncacheFeatureIDs(cache, featureIDs) { |
| 523 | for (const featureID of featureIDs) { |
| 524 | const box = cache.boxes.get(featureID); |
| 525 | if (box) { |
| 526 | cache.boxes.delete(featureID); // uncache box |
| 527 | cache.rbush.remove(box); |
| 528 | } |
| 529 | cache.features.delete(featureID); // uncache feature |
| 530 | } |
| 531 | } |
| 532 | |
| 533 | |
| 534 | /** |
no test coverage detected