API REFERENCE
mapBackground
Geo Map: bundled Natural Earth land/coastlines, or no background.
Definition
| Item | Value |
|---|---|
| JavaScript property | mapBackground |
| HTML attribute | map-background |
| Type | GeoMapBackground |
| Default | undefined |
| Allowed values | none, natural-earth |
undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.
- GeoMapBackground
Type definition
Configuration example
// Register sy-geo-map and create the element before configuring it.
chart.mapBackground = "natural-earth";