public interface IMultilevelTiledRasterDataRetrieverCallback
raster data retriever
to call.
There is usually no need to make a user implementation. An implementation to call the methods on is provided by the raster model implementation that has been created using either a MultilevelTiledRasterModelBuilder
or a QuadTreeRasterModelBuilder
.
Modifier and Type | Method and Description |
---|---|
void |
onCanceled(MultilevelTileCoordinate tileCoordinate)
Call this method when the request for the raster tile data was canceled.
|
void |
onDataAvailable(MultilevelTileCoordinate tileCoordinate,
DataEntity data)
Call this method when you have retrieved the raster tile data in its
raw form. |
void |
onDataNotAvailable(MultilevelTileCoordinate tileCoordinate)
Call this method when there is no data available for the tile coordindate.
|
void |
onError(MultilevelTileCoordinate tileCoordinate,
String message)
Call this method when there is an error to retrieve the raster tile data.
|
void |
onImageAvailable(MultilevelTileCoordinate tileCoordinate,
Image image)
Call this method when you have retrieved the raster tile data and have decoded it as an image.
|
void onDataAvailable(@NotNull MultilevelTileCoordinate tileCoordinate, @NotNull DataEntity data)
raw
form.
Supported mime types for the raster tile data:
Imagery:
Elevation:
tileCoordinate
- the tile coordinate for which the raster tile data was retrieved.data
- the raster tile data.void onImageAvailable(@NotNull MultilevelTileCoordinate tileCoordinate, @NotNull Image image)
Supported image types:
Imagery:
Elevation:
tileCoordinate
- the tile coordinate for which the raster tile data was retrieved.image
- the raster tile data decoded into an image.void onDataNotAvailable(@NotNull MultilevelTileCoordinate tileCoordinate)
tileCoordinate
- the tile coordinate for which there is no raster tile data.void onError(@NotNull MultilevelTileCoordinate tileCoordinate, @NotNull String message)
tileCoordinate
- the tile coordinate for which there is no raster tile data.message
- a message to detail what went wrong.void onCanceled(@NotNull MultilevelTileCoordinate tileCoordinate)
tileCoordinate
- the tile coordinate for which the request was canceled.