Method ScreenToBaseSurface
ScreenToBaseSurface(Point)
Converts the specified screen coordinate, relative to the upper-left corner of the scene view, to a location on the base surface in map coordinates.
Declaration
public MapPoint ScreenToBaseSurface(Point screenPoint)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Maui.Graphics.Point | screenPoint | The screen coordinate, in device-independent pixels (DIPs). |
Returns
Type | Description |
---|---|
MapPoint | a location in map coordinates. |
Remarks
To call this method, assign a scene to the scene view, ensure that it is loaded and the draw status is Completed.
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET | 200.0 - 200.6 |
.NET Windows | 200.0 - 200.6 |
.NET Android | 200.3 - 200.6 |
.NET iOS | 200.0 - 200.6 |