setStyleProjection

open override fun setStyleProjection(properties: Value): Expected<String, None>

Sets the map's projection. If called with null, the map will reset to Mercator.

Return

A string describing an error if the operation was not successful, empty otherwise.

Parameters

properties

A map of style projection values, with their names as a key. Supported projections are:

  • Mercator

  • Globe