-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Labels
Description
I have a raster layer with a custom httpDataSource that pulls a small set of tiles. The tiles need to be updated about twice a second. I was able to get the layer to update the tiles by calling reloadTiles() on the data source. However this causes the screen to flicker as the old tile is removed then goes to empty background which then goes to the new tile. All of which takes enough time to see it flash.
is there a way to smoothly transition between new and old tiles. I tried layer.updateVisibleTiles() but that doesn't seem to do anything.
I've tried the following settings with no luck.
mapOptions.setRenderMode(GLSurfaceView.RENDERMODE_CONTINUOUSLY);
layer.setMemoryCaching(false);
layer.setPersistentCaching(false);
layer.setTileFading(true);