# GeoMapOptions

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-livecharts/geo_map_chart_engine/struct-geomapoptions/

**struct** · [`ferroui-livecharts`](/docs/0.5.0/api/ferroui-livecharts/) · v0.5.0

```rust
struct GeoMapOptions
```

The settings of a map chart (the projection, bounds and paints of `IGeoMapView`, and the
centre and viewport of `GeoMapChart`).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo_map_chart_engine.rs#L315)

## Members

- [`draw_margin`](#struct_field-draw_margin)
- [`projection`](#struct_field-projection)
- [`bounds`](#struct_field-bounds)
- [`center_longitude`](#struct_field-center_longitude)
- [`center_latitude`](#struct_field-center_latitude)
- [`viewport`](#struct_field-viewport)
- [`stroke`](#struct_field-stroke)
- [`fill`](#struct_field-fill)
- [`stroke_width`](#struct_field-stroke_width)

<a id="struct_field-draw_margin"></a>

### draw_margin

```rust
draw_margin: Option<ferroui_base::Rect>
```

An explicit draw margin; `None` takes the whole control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo_map_chart_engine.rs#L317)

<a id="struct_field-projection"></a>

### projection

```rust
projection: crate::geo::MapProjection
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo_map_chart_engine.rs#L318)

<a id="struct_field-bounds"></a>

### bounds

```rust
bounds: crate::geo::GeographicBounds
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo_map_chart_engine.rs#L319)

<a id="struct_field-center_longitude"></a>

### center_longitude

```rust
center_longitude: f64
```

The longitude and latitude an orthographic globe faces (`CenterLongitude`,
`CenterLatitude`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo_map_chart_engine.rs#L322)

<a id="struct_field-center_latitude"></a>

### center_latitude

```rust
center_latitude: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo_map_chart_engine.rs#L323)

<a id="struct_field-viewport"></a>

### viewport

```rust
viewport: MapViewport
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo_map_chart_engine.rs#L324)

<a id="struct_field-stroke"></a>

### stroke

```rust
stroke: Option<ferroui_base::media::Color>
```

The stroke of every land; `None` takes the stroke of its layer.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo_map_chart_engine.rs#L326)

<a id="struct_field-fill"></a>

### fill

```rust
fill: Option<ferroui_base::media::Color>
```

The fill of a land without heat and of the globe; `None` takes the fill of its layer.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo_map_chart_engine.rs#L328)

<a id="struct_field-stroke_width"></a>

### stroke_width

```rust
stroke_width: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo_map_chart_engine.rs#L329)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Default`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
