Show / Hide Table of Contents

Method CreateWithM

CreateWithM(Double, Double, Double)

Creates a new 2D map point with an m (measure) value. The spatial reference is null.

Declaration
public static MapPoint CreateWithM(double x, double y, double m)
Parameters
Type Name Description
Double x

The x-coordinate for the map point.

Double y

The y-coordinate for the map point.

Double m

The m-value for the map point.

Returns
Type Description
MapPoint

MapPoint instance with HasM true

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.0 - 100.14
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.14
UWP100.0 - 100.14

CreateWithM(Double, Double, Double, SpatialReference)

Creates a new 2D map point with an m (measure) value and a spatial reference.

Declaration
public static MapPoint CreateWithM(double x, double y, double m, SpatialReference spatialReference)
Parameters
Type Name Description
Double x

The x-coordinate for the map point.

Double y

The y-coordinate for the map point.

Double m

The m-value for the map point.

SpatialReference spatialReference

spatial reference of the MapPoint

Returns
Type Description
MapPoint

MapPoint instance with HasM true

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.0 - 100.14
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.14
UWP100.0 - 100.14

CreateWithM(Double, Double, Double, Double)

Creates a new 3D map point with an x, y, z, and m (measure) coordinate.

Declaration
public static MapPoint CreateWithM(double x, double y, double z, double m)
Parameters
Type Name Description
Double x

The x-coordinate for the map point.

Double y

The y-coordinate for the map point.

Double z

The z-value for the map point.

Double m

The m-value for the map point.

Returns
Type Description
MapPoint

MapPoint instance with HasM true

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
TargetVersions
.NET Standard 2.0100.3 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.0 - 100.14
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.14
UWP100.0 - 100.14

CreateWithM(Double, Double, Double, Double, SpatialReference)

Creates a new 3D map point with an x, y, z, m (measure) and a spatial reference.

Declaration
public static MapPoint CreateWithM(double x, double y, double z, double m, SpatialReference spatialReference)
Parameters
Type Name Description
Double x

The x-coordinate for the map point.

Double y

The y-coordinate for the map point.

Double z

The z-value for the map point.

Double m

The m-value for the map point.

SpatialReference spatialReference

The spatial reference of the map point.

Returns
Type Description
MapPoint

MapPoint instance with HasM true

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
TargetVersions
.NET Standard 2.0100.3 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.0 - 100.14
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.14
UWP100.0 - 100.14
In This Article
Back to top Copyright © 2021 Esri.