compressionQuality property

double compressionQuality

The compression quality.

Compression quality is a value from 0 to 100 or NaN. A lower number reduces the size of the exported tile package, but reduces the quality. This applies to JPEG format tiles. If the value is NaN the service will use its default compression quality. The default compression value for the service is accessible on the services metadata under TileInfo.compressionQuality.

Implementation

double get compressionQuality {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ExportTileCacheParameters_getCompressionQuality(
      _handle,
      errorHandler,
    );
  });
}
void compressionQuality=(double value)

Implementation

set compressionQuality(double value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_ExportTileCacheParameters_setCompressionQuality(
      _handle,
      value,
      errorHandler,
    );
  });
}