API REFERENCE
projection
Geo Map: identity keeps the coordinate frame; mercator selects spherical Mercator.
Definition
| Item | Value |
|---|---|
| JavaScript property | projection |
| HTML attribute | Pass objects, arrays, and callbacks as JavaScript properties |
| Type | GeoMapProjection |
| Default | undefined |
| Literals in the type | identity, mercator, equirectangular, albers, orthographic |
undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.
- GeoMapProjection
Type definition
Configuration example
// Register sy-geo-map and create the element before configuring it.
chart.projection = "mercator";