You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After VectorTileSource#loadTile uses the reload tile method on the worker, tile.rawTileData ends up being set to null. This is happening here: since rawTileData isn't transferred back and forth during reload tile, tile.rawTileData needs to be preserved when performing unloadVectorData.
@lucaswoj I wouldn't expect rawTileData to retain any external references, and so I'd think it should be safe to remove the this.rawTileData = null; from Tile#unloadVectorData. Do you concur?
The text was updated successfully, but these errors were encountered:
lucaswoj
changed the title
Fix bug causing 'reload tile' to remove vector data needed for feature queries
Fix bug causing "Map#queryRenderedFeatures" to return no features after "Tile#redoPlacement"
Sep 20, 2016
After VectorTileSource#loadTile uses the
reload tile
method on the worker,tile.rawTileData
ends up being set to null. This is happening here: sincerawTileData
isn't transferred back and forth during reload tile,tile.rawTileData
needs to be preserved when performingunloadVectorData
.@lucaswoj I wouldn't expect
rawTileData
to retain any external references, and so I'd think it should be safe to remove thethis.rawTileData = null;
fromTile#unloadVectorData
. Do you concur?The text was updated successfully, but these errors were encountered: