setMapStyle abstract method

bool setMapStyle(
  1. String style
)

Applies JSON style transformations to the map. Same as setMapStyle(0, style). Affects VectorMap and Hybrid map types. Set to empty string to clear previous styling. Returns true if the style was successfully parsed, and false otherwise. If the returned value is false, the current map style remains unchanged.

Implementation

core.bool setMapStyle(core.String style);