RasterDataSource.withTileSource constructor
- MapContext context,
- String name,
- RasterTileSource tileSource
Creates a RasterDataSource instance with the provided raster tile source.
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.
-
contextThe map context to associate the data source with. -
nameThe unique name of the data source. -
tileSourceThe raster tile source.
Implementation
factory RasterDataSource.withTileSource(MapContext context, String name, RasterTileSource tileSource) => $prototype.withTileSource(context, name, tileSource);