Constructor MapPoint
MapPoint(Double, Double)
Initializes a new instance of the MapPoint class.
Declaration
public MapPoint(double x, double y)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | x | x |
| System.Double | y | y |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |
Relevant samples
MapPoint(Double, Double, SpatialReference)
Initializes a new instance of the MapPoint class.
Declaration
public MapPoint(double x, double y, SpatialReference spatialReference)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | x | x |
| System.Double | y | y |
| SpatialReference | spatialReference | Spatial Reference |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |
Relevant samples
MapPoint(Double, Double, Double)
Initializes a new instance of the MapPoint class with an x, y, z and a
null spatial reference.
Declaration
public MapPoint(double x, double y, double z)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | x | The x-coordinate for the map point. |
| System.Double | y | The y-coordinate for the map point. |
| System.Double | z | The z-value for the map point. |
Remarks
The minimum z-value is -6,356,752 meters, which is the approximate radius of the earth (the WGS 84 datum semi-minor axis). The maximum z-value is 55,000,000 meters.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |
Relevant samples
MapPoint(Double, Double, Double, SpatialReference)
Initializes a new instance of the MapPoint class with an x, y, z and spatial reference.
Declaration
public MapPoint(double x, double y, double z, SpatialReference spatialReference)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | x | The x-coordinate for the map point. |
| System.Double | y | The y-coordinate for the map point. |
| System.Double | z | The z-value for the map point. |
| SpatialReference | spatialReference | The spatial reference of the map point. |
Remarks
The minimum z-value is -6,356,752 meters, which is the approximate radius of the earth (the WGS 84 datum semi-minor axis). The maximum z-value is 55,000,000 meters.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |