# connectionPath

Geo Map: great-circle arcs or flat-map straight routes; on globes, straight lifts the equirectangular route onto the surface.

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

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

## Definition

| Item | Value |
| --- | --- |
| JavaScript property | `connectionPath` |
| HTML attribute | `connection-path` |
| Type | `GeoMapConnectionPath` |
| Default | `'great-circle'` |
| Allowed values | `great-circle`, `straight` |

- [GeoMapConnectionPath](https://chart.syidax.com/docs/types/GeoMapConnectionPath.md) — Type definition

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

## Configuration example

```javascript
chart.connectionPath = 'great-circle';
```

<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-connectionPath)
