imageFormat property
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,
);
}
Implementation
set imageFormat(MapServiceImageFormat value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_ArcGISMapImageLayer_setImageFormat(
_handle,
value.coreValue,
errorHandler,
);
});
}