Method ScreenToBaseSurface
ScreenToBaseSurface(CGPoint)
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(CGPoint screenPoint)
Parameters
Type | Name | Description |
---|---|---|
CoreGraphics.CGPoint | 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 iOS | 200.0 - 200.8 |
Xamarin.iOS | 100.0 - 100.15 |