setStyleProjection

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