We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i am using a TileDataSource on a layer RasterTileLayer.
TileDataSource windTileDataSource = new GribTilesMapLayer(projections, MainActivity.this, gribFileTileSource, windselectedtype); RasterTileLayer windlayer = new RasterTileLayer(windTileDataSource); mapView.getLayers().add(windlayer);
i load new data to the windTileDataSource and do i need to remove the windlayer everytime and add it again to the mapview? i am doing like this
mapView.getLayers().remove(windlayer); windlayer = new RasterTileLayer(windTileDataSource); mapView.getLayers().add(windlayer);
Is there anyway to refresh the datasource other than this method? to acheive a smooth data change on the mapview.
The text was updated successfully, but these errors were encountered:
Yes, there is a method called notifyTilesChanged in TileDataSource class.
notifyTilesChanged
TileDataSource
Sorry, something went wrong.
No branches or pull requests
i am using a TileDataSource on a layer RasterTileLayer.
i load new data to the windTileDataSource and do i need to remove the windlayer everytime and add it again to the mapview?
i am doing like this
Is there anyway to refresh the datasource other than this method?
to acheive a smooth data change on the mapview.
The text was updated successfully, but these errors were encountered: