ArcGISTiledLayer.withTileCache constructor
- TileCache tileCache
Creates an ArcGIS Tiled Layer object from a local cache of previously rendered map tiles.
Parameters:
tileCache
— A tile cache.
Implementation
factory ArcGISTiledLayer.withTileCache(TileCache tileCache) {
_initializeArcGISEnvironmentIfNeeded();
final handle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_ArcGISTiledLayer_createWithTileCache(
tileCache._handle, errorHandler);
});
return Layer._instanceCache.instanceWith(handle);
}