Documentation | Samples | SimpleEdit
How to create a basic editor: edit existing or create a new shape and edit its vertices.
This sample illustrates use of:
Name | Description |
---|---|
TGIS_Viewer.Editor | Editor context. |
TGIS_Editor.CreateShape | Create and activate editing of a new shape. |
TGIS_Editor.SnapLayer | Layer containing geometry to which edited points will be snapped. |
TGIS_Editor.CurrentShape | Currently edited shape. |
TGIS_Editor.DeleteShape | Delete currently edited shape and end editing. |
TGIS_Utils.GisPoint3DFrom2D | Convert 2D point into 3D point. |
This sample is available on following platforms (click to see source code):