setMapProjection

open override fun setMapProjection(mapProjection: MapProjection)

Set current map projection for the map. Should only be used to set projection before initial style was loaded to avoid visual blinking. When working with projections added during runtime styling please use Style's setProjection method.

Parameters

mapProjection

MapProjection to be applied to the map