preferredImageFormat property

TileImageFormat preferredImageFormat

The preferred image format used for tiles of this WMTS layer.

If an image format is not specified when creating this layer, then the value is TileImageFormat.unknown until the layer is loaded.

Implementation

TileImageFormat get preferredImageFormat {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_WMTSLayer_getPreferredImageFormat(
      _handle,
      errorHandler,
    );
  });
  return TileImageFormat._fromCoreValue(
    coreValue,
  );
}