# GeoMapChartEngine

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

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

```rust
struct GeoMapChartEngine
```



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

## Members

- [`measure`](#function-measure)

<a id="function-measure"></a>

### measure

```rust
fn measure(size: Size, map: &DrawnMap, series: &[HeatLandSeries], markers: &[GeoMarker], options: &GeoMapOptions) -> Result<GeoMapMeasurement, ChartError>
```

Measures a map of the given size. The projection is fitted into the draw margin (the
whole control without one) and the lands are clipped to its area, which is the plot of
the scene; a collapsed draw margin hides the map. A heat map of fewer than two colours, or
colour stops of another count, is an error.

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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`

## Availability

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