MapOverlay.GeoCoordinate Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the GeoCoordinates of the overlay of the map control.

Namespace:  Microsoft.Phone.Maps.Controls
Assembly:  Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)

Syntax

<TypeConverterAttribute(GetType(GeoCoordinateConverter))> _
Public Property GeoCoordinate As GeoCoordinate
[TypeConverterAttribute(typeof(GeoCoordinateConverter))]
public GeoCoordinate GeoCoordinate { get; set; }

Property Value

Type: System.Device.Location..::.GeoCoordinate
The GeoCoordinates of the overlay of the map control.

Remarks

If you specify a GeoCoordinate that is beyond the horizon of the map as displayed, the MapOverlay is not visible.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

MapOverlay Class

Microsoft.Phone.Maps.Controls Namespace