FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    GeoMapOptions

    struct · ferroui-livecharts · v0.5.0

    struct GeoMapOptions
    

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

    View source

    Members

    draw_margin

    draw_margin: Option<ferroui_base::Rect>
    

    An explicit draw margin; None takes the whole control.

    Source

    projection

    projection: crate::geo::MapProjection
    

    Source

    bounds

    bounds: crate::geo::GeographicBounds
    

    Source

    center_longitude

    center_longitude: f64
    

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

    Source

    center_latitude

    center_latitude: f64
    

    Source

    viewport

    viewport: MapViewport
    

    Source

    stroke

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

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

    Source

    fill

    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

    stroke_width

    stroke_width: f64
    

    Source

    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
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Default

    Availability

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