Maps
struct · ferroui-livecharts · v0.5.0
struct Maps
The maps of the source (Maps).
Members
world_map
fn world_map() -> &'static DrawnMap
The bundled world map (GetWorldMap), parsed once and shared.
map_from_geojson
fn map_from_geojson(json: &str) -> Result<DrawnMap, ChartError>
A map of one layer, default, read from GeoJSON text (GetMapFromStreamReader).
build_projector
fn build_projector(projection: MapProjection, map_size: [f64; 2], base_offset: [f64; 2], center: (f64, f64), bounds: GeographicBounds) -> MapProjector
A projector of the projection fitted into the map area (BuildProjector): the area keeps
the aspect ratio of the projection, centred on the shorter side, and the orthographic
globe faces center (longitude, latitude) in degrees.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.