ConvertGeoCoordinateToViewportPoint Method
Collapse the table of content
Expand the table of content

Map.ConvertGeoCoordinateToViewportPoint Method

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

Converts the specified GeoCoordinate to the corresponding point in the viewport of the Map control.

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

public Point ConvertGeoCoordinateToViewportPoint(
	GeoCoordinate geoCoordinate
)

Parameters

geoCoordinate
Type: System.Device.Location.GeoCoordinate
The GeoCoordinate to convert to the corresponding point in the viewport of the Map control.

Return Value

Type: System.Windows.Point
The point in the viewport of the Map control that corresponds to the specified GeoCoordinate.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2016 Microsoft