RasterDataSource.withTileSource constructor

RasterDataSource.withTileSource(
  1. MapContext context,
  2. String name,
  3. 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.

  • context The map context to associate the data source with.

  • name The unique name of the data source.

  • tileSource The raster tile source.

Implementation

factory RasterDataSource.withTileSource(MapContext context, String name, RasterTileSource tileSource) => $prototype.withTileSource(context, name, tileSource);