setBaseStyle method

Future<void> setBaseStyle(
  1. String styleName
)

Switch the base map style and restore all custom layers automatically.

Implementation

Future<void> setBaseStyle(String styleName) async {
  _currentBaseStyle = styleName;
  await _rebuildAndApplyStyle();
}