exportTilesAllowed property

bool exportTilesAllowed

True if exporting tiles in compact format (.tpk) is supported, false otherwise.

This property indicates whether the map service supports exporting tiles as compact (.tpk) format. Exporting tiles allows you to use them as a basemap, operational layer, or elevation source, without network connectivity. See TileCache for information on creating a layer from a local tile cache.

To export tiles, you can use either the ExportTileCacheTask or the OfflineMapTask.

There are two formats for exporting a tile cache:

Implementation

bool get exportTilesAllowed {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ArcGISMapServiceInfo_getExportTilesAllowed(
      _handle,
      errorHandler,
    );
  });
}