fromJson

open fun fromJson(@NonNull styleJson: String): Style.Builder

Will load a new map style from a json string.

If the style fails to load or an invalid style URI is set, the map view will become blank. An error message will be logged in the Android logcat and MapView.OnDidFailLoadingMapListener callback will be triggered.

Return

this