Show / Hide Table of Contents

Class MapPointBuilder

Builder for creating and modifying point geometries incrementally.

Inheritance
System.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)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
In This Article
Back to top Copyright © 2022 Esri.