setMapStyle method
- ContentStoreItem style, {
- bool smoothTransition = false,
Set map view details by content.
Parameters
- IN style Style content.
- IN smoothTransition Enables a smooth transition between old and new style.
Throws
- An exception if it fails
Implementation
void setMapStyle(
final ContentStoreItem style, {
final bool smoothTransition = false,
}) {
setMapStyleById(style.id, smoothTransition: smoothTransition);
}