setStyleProjection

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

Sets the map's [projection](https://docs.mapbox.com/mapbox-gl-js/style-spec/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