setMapStyle method
Sets the styling of the base map using a string containing JSON.
Null value will reset the base map to default style.
If styleJson is invalid throws MapStyleException.
For more details see the official documentation: https://developers.google.com/maps/documentation/ios-sdk/styling https://developers.google.com/maps/documentation/android-sdk/styling
Implementation
Future<void> setMapStyle(String? styleJson) async {
return GoogleMapsNavigationPlatform.instance.viewAPI.setMapStyle(
_viewId,
styleJson,
);
}