set Map Projection
@NonNull()
Content copied to clipboard
Updates the active map projection. The function expects a collection of common and projection specific properties. Common properties shared by all map projections are: - "name" with possible values "mercator" or "globe".
Return
string describing an error if the operation was not successful, expected with `void` value otherwise.
Parameters
projection
An object describing properties of the map projection.