Maps

Defines the maps

Class · Namespace LiveChartsCore.Geo · Assembly LiveChartsCore · View source

Inheritance

Object Maps

Members

Methods

GetWorldMap No parameters

Gets the world map.

GetMapFromDirectory 1 parameter

Gets a map from a specified path.

String path The path.

GetMapFromStreamReader 1 parameter

Gets a map from a specified stream.

StreamReader stream The stream.

BuildProjector 4 parameters

Builds a projector with the given parameters.

MapProjection projection The projection.

Single[] mapSize Size of the map.

Double centerLon The center longitude (used for Orthographic projection).

Double centerLat The center latitude (used for Orthographic projection).

BuildProjector 10 parameters

Builds a projector that lays the map out inside a sub-rectangle of the chart canvas rather than the whole canvas — needed when title / legend reservations push the map render area away from (0, 0).

MapProjection projection The projection.

Single[] mapSize Size of the map render area (will be normalized by the projector).

Single baseOffsetX Screen-space X of the map render area's top-left.

Single baseOffsetY Screen-space Y of the map render area's top-left.

Double centerLon The center longitude (used for Orthographic projection).

Double centerLat The center latitude (used for Orthographic projection).

Double minLatitude The minimum latitude clip; NaN for the projection's default. Honored by Mercator and Default; Orthographic ignores it.

Double maxLatitude The maximum latitude clip; NaN for the projection's default. Honored by Mercator and Default; Orthographic ignores it.

Double minLongitude The minimum longitude clip; NaN for the projection's default. Honored by Mercator and Default; Orthographic ignores it.

Double maxLongitude The maximum longitude clip; NaN for the projection's default. Honored by Mercator and Default; Orthographic ignores it.