setMapStyle
Sets the style of the map based on a JSON resource. The JSON file should define the styles for the map elements.
Parameters
json
The resource id of the JSON file containing the map styles. If null, the map style will be reset to the default style.
Sets the style of the map based on a provided string. The string should define the styles for the map elements.
Parameters
jsonString
The string defining the map styles. If null, the map style will be reset to the default style.