Method ScreenToBaseSurface
ScreenToBaseSurface(PointF)
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(PointF screenPoint)
Parameters
Type | Name | Description |
---|---|---|
Android.Graphics.PointF | screenPoint | The screen coordinate, in pixels. The coordinate of the top left corner of the screen is 0,0. |
Returns
Type | Description |
---|---|
MapPoint | A MapPoint on the base surface of the scene;
or |
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 Android | 200.3 - 200.5 |
Xamarin.Android | 100.0 - 100.14 |