GeoVisualElement

Wraps a Visual (or the older VisualElement) and positions it at a geographic (longitude, latitude) on a GeoMapChart. Each measure pass re-projects the coordinate via the chart's current projector and writes the result onto the inner visual, so the overlay follows zoom, pan, and orthographic rotation. When the coordinate isn't visible (e.g. the back hemisphere on MapProjection.Orthographic), the inner visual is removed from the UI for the frame so it doesn't ghost at its last on-screen position.

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

Inheritance

Object ChartElement GeoVisualElement

Implements

Members

Properties

Visual ChartElement
Gets the wrapped visual, a Visual or a VisualElement, the constructors take no other type.
Longitude Double
Gets or sets the longitude (in degrees) where the visual is anchored.
Guide: Markers on the map
Latitude Double
Gets or sets the latitude (in degrees) where the visual is anchored.
Guide: Markers on the map
Tag Object
Gets or sets the object that contains data about the control.
IsVisible Boolean
Gets or sets a value indicating whether the element is visible.

Methods

Invalidate 1 parameter

Invalidates the IChartElement in the user interface.

Chart chart The chart.

RemoveFromUI 1 parameter

Removes the element from the UI.

Chart chart The chart.

RemoveOldPaints 1 parameter

Deletes the Paint instances that changed from the user interface.

IChartView chart The chart.

Events

PropertyChanged PropertyChangedEventHandler
Occurs when a property value changes.

Constructors

GeoVisualElement 1 parameter

Initializes a new GeoVisualElement wrapping the given inner visual.

Visual visual The visual to position at (Longitude, Latitude).

GeoVisualElement 1 parameter

Initializes a new GeoVisualElement wrapping the given inner visual element.

VisualElement visual The visual element to position at (Longitude, Latitude).