FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    GeoMarker

    struct · ferroui-controls-livecharts · v0.5.0

    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

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

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

    Returns a strong reference to this object.

    Source

    construct

    fn construct() -> Self
    

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    at

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

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

    Source

    entity_id

    fn entity_id(self: &Self) -> u64
    

    Source

    snapshot

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

    Source

    longitude

    fn longitude(self: &Self) -> f64
    

    Source

    set_longitude

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

    Source

    latitude

    fn latitude(self: &Self) -> f64
    

    Source

    set_latitude

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

    Source

    size

    fn size(self: &Self) -> f64
    

    The diameter.

    Source

    set_size

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

    Source

    fill

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

    Source

    set_fill

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

    Source

    stroke

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

    Source

    set_stroke

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

    Source

    stroke_thickness

    fn stroke_thickness(self: &Self) -> f64
    

    Source

    set_stroke_thickness

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

    Source

    longitude_property

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

    Source

    latitude_property

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

    Source

    size_property

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

    Source

    fill_property

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

    Source

    stroke_property

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

    Source

    stroke_thickness_property

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

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.