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)

Syntax

Public Function ConvertGeoCoordinateToViewportPoint ( _
    geoCoordinate As GeoCoordinate _
) As Point
public Point ConvertGeoCoordinateToViewportPoint(
    GeoCoordinate geoCoordinate
)

Parameters

Return Value

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

Map Class

Microsoft.Phone.Maps.Controls Namespace