Click or drag to resize
MapViewLocationToScreen Method (MapPoint)
Converts a location in map coordinates to a screen coordinate relative to the upper-left corner of the map.

Namespace: Esri.ArcGISRuntime.Controls
Assembly: Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 10.2.7.0 (10.2.7.1234)
Syntax
public override Point LocationToScreen(
	MapPoint location
)

Parameters

location
Type: Esri.ArcGISRuntime.GeometryMapPoint
The location in map coordinates to convert to screen coordinate.

Return Value

Type: Point
Screen location in this map control's local display coordinate system
Remarks

The screen location returned is relative to the upper left corner of the map control. If you need a location relative to another visual element, use the TransformToVisual method to create a transformation between the map and another visual element.

See Also
Supported Platforms
This type is supported on the following ArcGIS Runtime .NET SDK platforms:
Windows Desktop
Windows Phone
Windows Store