currentStyle property

String currentStyle

The name of the sublayer's current style.

Setting current style to an empty string indicates the default style will be used.

Implementation

String get currentStyle {
  final stringHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_WMSSublayer_getCurrentStyle(
      _handle,
      errorHandler,
    );
  });
  return stringHandle.toDartString();
}
void currentStyle=(String value)

Implementation

set currentStyle(String value) {
  final coreValue = _CString(value);
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_WMSSublayer_setCurrentStyle(
      _handle,
      coreValue.bytes,
      errorHandler,
    );
  });
}