# mapRegion

Geo Map: fit a continent in 2D, or face it on an orthographic globe.

Canonical: https://chart.syidax.com/docs/options/mapRegion/

<a id="definition"></a>

## 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](https://chart.syidax.com/docs/types/GeoMapRegion.md) — Type definition

<a id="example"></a>

## Configuration example

```javascript
// Register sy-geo-map and create the element before configuring it.
chart.mapRegion = "asia";
```

- [Geo Map · Complete examples and API](https://chart.syidax.com/docs/components/geo-map.md)

<a id="related"></a>

## Related documentation

A property with the same name may have different types and defaults across charts. When using a direct tag, follow that chart's documentation below.

- [Shared facade and direct tags](https://chart.syidax.com/docs/concepts.md)
- [sy-geo-map](https://chart.syidax.com/docs/components/geo-map.md#property-mapRegion)
- [sy-flow-lines](https://chart.syidax.com/docs/components/flow-lines.md#property-mapRegion)
