GeoMapChart
Class

Assembly LiveChartsCore
Namespace LiveChartsCore

Summary:
Defines a geo map chart.

Inheritance:
Object =>
GeoMapChart

Constructors

// Initializes a new instance of the GeoMapChart class.
IGeoMapView mapView//
)

Properties

Gets the chart view.
Type: IGeoMapView
Gets the current zoom level.
Type: Single
Gets the current pan offset.
Type: LvcPoint
Gets or sets the rotation center longitude (used for Orthographic projection).
Type: Double
Gets or sets the rotation center latitude (used for Orthographic projection).
Type: Double

Events

Occurs when a land (country) is clicked.
Handler definition: Action<LandClickedEventArgs>

Methods

// Gets the active theme, ensuring it is set up for the current dark/light mode.
// Move the map to the specified view.
Object command// The sender.
)
// Pans the map.
LvcPoint delta// The sender.
)
// Zooms the map.
LvcPoint pivot, // The sender.
ZoomDirection direction// The pivot point in control coordinates.
)
// Resets the viewport to the default zoom and pan.
// Animates the globe rotation to the specified longitude and latitude. Only has a visual effect when the projection is Orthographic.
Double longitude, // The target center longitude.
Double latitude, // The target center latitude.
Int32 durationMs// The animation duration in milliseconds.
)
// Queues a measure request to update the chart.
ChartUpdateParams chartUpdateParams//
)
// Unload the map resources.
// Finds the land definition at the specified pointer position, if any.
LvcPoint pointerPosition// The pointer position in control coordinates.
)