Click or drag to resize

MapPointBuilder Class

Builder for creating MapPoint instances.
Inheritance Hierarchy
SystemObject
  Esri.ArcGISRuntime.GeometryGeometryBuilderMapPoint
    Esri.ArcGISRuntime.GeometryMapPointBuilder

Namespace:  Esri.ArcGISRuntime.Geometry
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0
Syntax
public class MapPointBuilder : GeometryBuilder<MapPoint>

The MapPointBuilder type exposes the following members.

Constructors
  NameDescription
Public methodMapPointBuilder(MapPoint)
Initializes a new instance of the MapPointBuilder class.
Public methodMapPointBuilder(SpatialReference)
Initializes a new instance of the MapPointBuilder class.
Public methodMapPointBuilder(Double, Double)
Initializes a new instance of the MapPointBuilder class.
Public methodMapPointBuilder(Double, Double, SpatialReference)
Initializes a new instance of the MapPointBuilder class.
Public methodMapPointBuilder(Double, Double, Double)
Initializes a new instance of the MapPointBuilder class.
Public methodMapPointBuilder(Double, Double, Double, SpatialReference)
Initializes a new instance of the MapPointBuilder class.
Top
Properties
  NameDescription
Public propertyCode exampleExtent
Gets the extent for the geometry in the builder.
(Inherited from GeometryBuilderT.)
Public propertyHasM
Gets a value indicating if the geometry builder has M.
(Inherited from GeometryBuilderT.)
Public propertyHasZ
Gets a value indicating if the geometry builder has Z.
(Inherited from GeometryBuilderT.)
Public propertyIsEmpty
Check if a geometry builder is empty or not.
(Inherited from GeometryBuilderT.)
Public propertyIsSketchValid
Gets a flag indicating if this builder contains sufficient points to show a valid graphical sketch.
(Inherited from GeometryBuilderT.)
Public propertyM
Gets or sets the m coordinate for the point.
Public propertySpatialReference
Gets the SpatialReference for the geometry being built.
(Inherited from GeometryBuilderT.)
Public propertyX
Gets or sets the x coordinate for the point.
Public propertyY
Gets or sets the y coordinate for the point.
Public propertyZ
Gets or sets the z coordinate for the point.
Top
Methods
  NameDescription
Public methodStatic memberCreateWithM(Double, Double, Double)
Initializes a new instance of the MapPointBuilder class.
Public methodStatic memberCreateWithM(Double, Double, Double, SpatialReference)
Initializes a new instance of the MapPointBuilder class.
Public methodStatic memberCreateWithM(Double, Double, Double, Double)
Initializes a new instance of the MapPointBuilder class.
Public methodStatic memberCreateWithM(Double, Double, Double, Double, SpatialReference)
Initializes a new instance of the MapPointBuilder class.
Public methodOffsetBy
Offsets the envelope by the given offsets for the x and y dimension.
Public methodReplaceGeometry
Replace the geometry in the builder to the new geometry.
(Inherited from GeometryBuilderT.)
Public methodSetXY
Sets the x and y ordinates of a point.
Public methodCode exampleToGeometry
Returns a Geometry instance representing the current state of the builder
(Inherited from GeometryBuilderT.)
Top
Remarks

Use the MapPointBuilder Class to to create and/or modify a MapPoint shape. The builder is best suited for editing workflows where the user may be adding, inserting or removing parts of a MapPoint geometry interactively. MapPoints are based upon the parent Geometry Class. The Geometry Class is immutable which means that you can not change its shape once it is created. Hence the MapPointBuilder provides the way to make changes when working with a MapPoint. Use the ToGeometry Method to get the MapPoint geometry from the builder.

See Also