vizicities icon indicating copy to clipboard operation
vizicities copied to clipboard

Deduplicate logic to load data only for new tiles

Open robhawkes opened this issue 10 years ago • 0 comments

The changes in #112 introduce the much-needed ability to only load data for tiles that have changed, vastly reducing the network load whilst also preventing the flickering caused by existing tiles being re-loaded.

As discussed in #112, this approach works but is likely to create unnecessary duplication once it's needed within multiple Blueprint outputs. A better approach should be introduced that de-duplicates this effort whilst allowing the Blueprint outputs to maintain a high level of control over what they do with new and removed tiles.

One approach could be to track tiles within BlueprintHelperTileGrid and emit 2 new properties within the moved event; newTiles and removedTiles.

robhawkes avatar Dec 12 '14 12:12 robhawkes