MercatorProjector
Class

Assembly LiveChartsCore
Namespace LiveChartsCore.Geo

Summary:
Projects latitude and longitude coordinates using the Mercator projection.

Inheritance:
Object =>
MapProjector =>
MercatorProjector

Constructors

// Initializes a new instance of the MercatorProjector class.
Single mapWidth, // Width of the map.
Single mapHeight, // Height of the map.
Single offsetX, // The offset x.
Single offsetY// The offset y.
)

Properties

Gets the preferred ratio.
Type: Single[]
Gets the map width.
Type: Single
Gets the map height.
Type: Single
Gets the x offset width.
Type: Single
Gets the y offset.
Type: Single

Methods

// Projects the given point.
Double[] point// The point.
)