API REFERENCE
mapRegion
Geo Map: fit a continent in 2D, or face it on an orthographic globe.
Definition
| Item | Value |
|---|---|
| JavaScript property | mapRegion |
| HTML attribute | map-region |
| Type | GeoMapRegion |
| Default | undefined |
| Allowed values | world, africa, asia, europe, north-america, south-america, oceania, antarctica |
undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.
- GeoMapRegion
Type definition
Configuration example
// Register sy-geo-map and create the element before configuring it.
chart.mapRegion = "asia";