Show / Hide Table of Contents

Class MapPointBuilder

Builder for creating and modifying point geometries incrementally.

Inheritance
object
GeometryBuilder<MapPoint>
MapPointBuilder
GeometryBuilder<MapPoint>.SpatialReference
GeometryBuilder<MapPoint>.Extent
GeometryBuilder<MapPoint>.HasM
GeometryBuilder<MapPoint>.HasZ
GeometryBuilder<MapPoint>.IsEmpty
GeometryBuilder<MapPoint>.IsSketchValid
GeometryBuilder<MapPoint>.HasCurves
GeometryBuilder<MapPoint>.ReplaceGeometry(MapPoint)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Esri.ArcGISRuntime.Geometry
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class MapPointBuilder : GeometryBuilder<MapPoint>
Remarks

Point geometries are immutable and cannot be changed directly once created. The MapPointBuilder has a number of constructors to allow you to create a new point, or you can edit an existing point using SetXY(double, double) or OffsetBy(double, double). Use ToGeometry() to return the new MapPoint from the builder.

Constructors

Name Description
MapPointBuilder(MapPoint?)

Initializes a new instance of the MapPointBuilder class using the specified MapPoint.

MapPointBuilder(SpatialReference?)

Initializes a new instance of the MapPointBuilder class with the specified SpatialReference.

MapPointBuilder(double, double)

Initializes a new instance of the MapPointBuilder class.

MapPointBuilder(double, double, SpatialReference?)

Initializes a new instance of the MapPointBuilder class.

MapPointBuilder(double, double, double)

Initializes a new instance of the MapPointBuilder class.

MapPointBuilder(double, double, double, SpatialReference?)

Initializes a new instance of the MapPointBuilder class.

Properties

Name Description
M

Gets or sets the m-value for the map point.

X

Gets or sets the x-coordinate for the map point.

Y

Gets or sets the y-coordinate for the map point.

Z

Gets or sets the z-value for the map point.

Methods

Name Description
CreateWithM(double, double, double)

Initializes a new instance of the MapPointBuilder class.

CreateWithM(double, double, double, SpatialReference?)

Initializes a new instance of the MapPointBuilder class.

CreateWithM(double, double, double, double)

Initializes a new instance of the MapPointBuilder class.

CreateWithM(double, double, double, double, SpatialReference?)

Initializes a new instance of the MapPointBuilder class.

OffsetBy(double, double)

Offsets the point by the given offsets for the x and y dimension.

SetXY(double, double)

Sets the x and y coordinates of a map point.

ToGeometry()

Returns the Geometry this geometry builder is constructing or modifying.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.