LineTileSource constructor
- TileSourceDataVersion getDataVersionLambda(),
- void addListenerLambda(),
- void removeListenerLambda(),
- TileSourceLoadTileRequestHandle? loadTileLambda(),
- TilingScheme tilingSchemeGetLambda(),
- List<
int> storageLevelsGetLambda(),
A source of geodetic line tiles.
Lines provided by an implementation must be clipped to the boundaries of the requested tile. The implementations must be thread-safe.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.
Implementation
factory LineTileSource(
TileSourceDataVersion Function(TileKey) getDataVersionLambda,
void Function(TileSourceListener) addListenerLambda,
void Function(TileSourceListener) removeListenerLambda,
TileSourceLoadTileRequestHandle? Function(TileKey, LineTileSourceLoadResultHandler) loadTileLambda,
TilingScheme Function() tilingSchemeGetLambda,
List<int> Function() storageLevelsGetLambda
) => LineTileSource$Lambdas(
getDataVersionLambda,
addListenerLambda,
removeListenerLambda,
loadTileLambda,
tilingSchemeGetLambda,
storageLevelsGetLambda
);