The following members of class <MapViewTypes.h> are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Types
(deprecated) enum class | SketchCreationMode { Unknown, Point, Polyline, Polygon, Multipoint } |
(deprecated) enum class | SketchResizeMode { None, Stretch, Uniform } |
(deprecated) enum class | SketchVertexEditMode { InteractionEdit, SelectOnly } |
Type Documentation
[since Esri::ArcGISRuntime 100.12]
enum class SketchCreationMode
This enum is deprecated. We strongly advise against using it in new code.
Enumerates the type of geometry and how it will be created by the SketchEditor.
Constant | Value | Description |
---|---|---|
SketchCreationMode::Unknown | -1 | Unknown geometry. |
SketchCreationMode::Point | 0 | Sketches a Point geometry. |
SketchCreationMode::Polyline | 1 | Sketches a Polyline geometry incrementally vertex by vertex. |
SketchCreationMode::Polygon | 2 | Sketches a Polygon geometry incrementally vertex by vertex. |
SketchCreationMode::Multipoint | 10 | Sketches a Multipoint geometry. |
This enum was introduced or modified in Esri::ArcGISRuntime 100.12.
[since Esri::ArcGISRuntime 100.12]
enum class SketchResizeMode
This enum is deprecated. We strongly advise against using it in new code.
Describes how geometry is resized to fill its allocated space while editing geometry.
The SketchResizeMode can be one of:
Constant | Value | Description |
---|---|---|
SketchResizeMode::None | 0 | The geometry preserves its original size. |
SketchResizeMode::Stretch | 1 | The geometry is resized to fill the destination dimensions. The aspect ratio is not preserved. |
SketchResizeMode::Uniform | 2 | The geometry is resized to fill the destination dimensions while it preserves its native aspect ratio. |
This enum was introduced or modified in Esri::ArcGISRuntime 100.12.
[since Esri::ArcGISRuntime 100.12]
enum class SketchVertexEditMode
This enum is deprecated. We strongly advise against using it in new code.
Describes how vertices respond to user interaction.
The SketchVertexEditMode can be one of:
Constant | Value | Description |
---|---|---|
SketchVertexEditMode::InteractionEdit | 0 | Selection state and location of vertex can be updated through user interaction (i.e. tap, drag). |
SketchVertexEditMode::SelectOnly | 1 | Only selection state of vertex can be updated through user interaction. |
This enum was introduced or modified in Esri::ArcGISRuntime 100.12.