API REFERENCE

projection

Geo Map: identity keeps the coordinate frame; mercator selects spherical Mercator.

Definition

ItemValue
JavaScript propertyprojection
HTML attributePass objects, arrays, and callbacks as JavaScript properties
TypeGeoMapProjection
Defaultundefined
Literals in the typeidentity, mercator, equirectangular, albers, orthographic

undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.

Configuration example

javascript
// Register sy-geo-map and create the element before configuring it.
chart.projection = "mercator";