User Tools

Site Tools


Table of Contents

SimpleEdit sample

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.EditorEditor context.
TGIS_Editor.CreateShapeCreate and activate editing of a new shape.
TGIS_Editor.SnapLayerLayer containing geometry to which edited points will be snapped.
TGIS_Editor.CurrentShapeCurrently edited shape.
TGIS_Editor.DeleteShapeDelete currently edited shape and end editing.
TGIS_Utils.GisPoint3DFrom2DConvert 2D point into 3D point.


This sample is available on following platforms (click to see source code):

2020/09/22 01:17

Page Tools