unloadStyle

fun unloadStyle(styleName: String): Error?

Unload the specified style. Before unloading a style, make sure that it is no loner used by a MapView instance.

Return

The error code.

Parameters

styleName

The name of the style to unload.