imageFormat property

MapServiceImageFormat imageFormat

The image format used to generate map images on this layer.

If imageFormat value is MapServiceImageFormat.default_, the default image format is defined by the service.

Implementation

MapServiceImageFormat get imageFormat {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ArcGISMapImageLayer_getImageFormat(
      _handle,
      errorHandler,
    );
  });
  return MapServiceImageFormat._fromCoreValue(
    coreValue,
  );
}
void imageFormat=(MapServiceImageFormat value)

Implementation

set imageFormat(MapServiceImageFormat value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_ArcGISMapImageLayer_setImageFormat(
      _handle,
      value.coreValue,
      errorHandler,
    );
  });
}