# GeoMarker

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls-livecharts/struct-geomarker/

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

```rust
struct GeoMarker
```

A circle at a geographic coordinate over the map, the native counterpart of a
`GeoVisualElement` around a `GeometryVisual<CircleGeometry>`: it is centred on its
coordinate, follows pan, zoom and the rotation of a globe at a constant size, and is hidden on
the far side of the globe. Its defaults are the city markers of the source's `MapsTests`: 14
pixels of orange red with a white outline of 2.

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

## Members

- [`TYPE`](#assoc_const-type)
- [`to_ref`](#function-to_ref)
- [`construct`](#function-construct)
- [`new`](#function-new)
- [`at`](#function-at)
- [`entity_id`](#function-entity_id)
- [`snapshot`](#function-snapshot)
- [`longitude`](#function-longitude)
- [`set_longitude`](#function-set_longitude)
- [`latitude`](#function-latitude)
- [`set_latitude`](#function-set_latitude)
- [`size`](#function-size)
- [`set_size`](#function-set_size)
- [`fill`](#function-fill)
- [`set_fill`](#function-set_fill)
- [`stroke`](#function-stroke)
- [`set_stroke`](#function-set_stroke)
- [`stroke_thickness`](#function-stroke_thickness)
- [`set_stroke_thickness`](#function-set_stroke_thickness)
- [`longitude_property`](#function-longitude_property)
- [`latitude_property`](#function-latitude_property)
- [`size_property`](#function-size_property)
- [`fill_property`](#function-fill_property)
- [`stroke_property`](#function-stroke_property)
- [`stroke_thickness_property`](#function-stroke_thickness_property)

<a id="assoc_const-type"></a>

### TYPE

```rust
const TYPE: &'static $crate::TypeInfo
```

The runtime type of this class.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L86)

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

### to_ref

```rust
fn to_ref(self: &Self) -> $crate::Ref<GeoMarker>
```

Returns a strong reference to this object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L86)

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

### construct

```rust
fn construct() -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L92)

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

### new

```rust
fn new() -> Ref<Self>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L98)

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

### at

```rust
fn at(longitude: f64, latitude: f64) -> Ref<Self>
```

A marker at the given longitude and latitude, in degrees.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L102)

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

### entity_id

```rust
fn entity_id(self: &Self) -> u64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L108)

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

### snapshot

```rust
fn snapshot(self: &Self) -> ferroui_livecharts::GeoMarker
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L111)

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

### longitude

```rust
fn longitude(self: &Self) -> f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L121)

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

### set_longitude

```rust
fn set_longitude(self: &Self, value: f64)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L124)

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

### latitude

```rust
fn latitude(self: &Self) -> f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L127)

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

### set_latitude

```rust
fn set_latitude(self: &Self, value: f64)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L130)

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

### size

```rust
fn size(self: &Self) -> f64
```

The diameter.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L134)

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

### set_size

```rust
fn set_size(self: &Self, value: f64)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L137)

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

### fill

```rust
fn fill(self: &Self) -> Option<Color>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L140)

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

### set_fill

```rust
fn set_fill(self: &Self, value: Option<Color>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L143)

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

### stroke

```rust
fn stroke(self: &Self) -> Option<Color>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L146)

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

### set_stroke

```rust
fn set_stroke(self: &Self, value: Option<Color>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L149)

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

### stroke_thickness

```rust
fn stroke_thickness(self: &Self) -> f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L152)

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

### set_stroke_thickness

```rust
fn set_stroke_thickness(self: &Self, value: f64)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L155)

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

### longitude_property

```rust
fn longitude_property() -> &'static StyledProperty<f64>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L159)

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

### latitude_property

```rust
fn latitude_property() -> &'static StyledProperty<f64>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L159)

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

### size_property

```rust
fn size_property() -> &'static StyledProperty<f64>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L159)

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

### fill_property

```rust
fn fill_property() -> &'static StyledProperty<Option<Color>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L159)

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

### stroke_property

```rust
fn stroke_property() -> &'static StyledProperty<Option<Color>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L159)

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

### stroke_thickness_property

```rust
fn stroke_thickness_property() -> &'static StyledProperty<f64>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls.LiveCharts/geo_models.rs#L159)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- [`Receiver`](/docs/0.5.0/api/ferroui-system/task/oneshot/struct-receiver/)
- `Any`
- [`FerroObjectImplExt`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimplext/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Deref`
- [`Upcast<T>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`Upcast<GeoMarker>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`StaticType`](/docs/0.5.0/api/ferroui-base/trait-statictype/)
- [`ObjectType`](/docs/0.5.0/api/ferroui-base/trait-objecttype/)
- [`Subclassable<T>`](/docs/0.5.0/api/ferroui-base/trait-subclassable/)
- [`DefaultConstructible`](/docs/0.5.0/api/ferroui-base/trait-defaultconstructible/)
- [`FerroObjectImpl`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimpl/)

## Availability

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