Skip to content

Commit bb59ef6

Browse files
authored
MVTAnnotationsPlugin: Limit loaded tiles in screen only (#1629)
* Limit loaded tiles in screen only * Cleanup * Update the plugin * Add a basic hierarchy for traversal * Hierarchy updates * Updates * Add unload guards * Update * Updates * Clean up * Fix event listener * Fixes * Fix condition
1 parent 56aba9b commit bb59ef6

4 files changed

Lines changed: 445 additions & 470 deletions

File tree

example/three/annotationsExample.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ const KIND_TO_ICON = {
101101

102102
const params = {
103103

104-
errorTarget: 20,
105104
occupancyGrid: false,
106105

107106
};
@@ -309,8 +308,6 @@ function animate() {
309308
controls.update();
310309

311310
// tiles update
312-
tiles.errorTarget = params.errorTarget;
313-
314311
tiles.setResolutionFromRenderer( camera, renderer );
315312
tiles.setCamera( camera );
316313
camera.updateMatrixWorld();

src/three/plugins/mvt/HierarchicalLock.js

Lines changed: 0 additions & 275 deletions
This file was deleted.

0 commit comments

Comments
 (0)