getStyle

fun getStyle(name: String): MapStyle?

Returns a loaded MapStyle by its name or null if it does not exist.

Parameters

name

The name of the style to retrieve