User Tools

Site Tools


samples:samples:measure

Table of Contents

Measure sample

Documentation | Samples | Measure

Summary

How to provide measurement; draw a measurement line and a measurement polygon.

Description

This sample illustrates use of:

Name Description
TGIS_Editor.CreateShapeCreate and activate editing of a new shape.
TGIS_Editor.EndEditEnd editing of the shape given by EditShape.
TGIS_Editor.DeleteShapeDelete currently edited shape and end editing.
TGIS_Utils.CSUnitsListGlobal Instance of list of all units.
TGIS_CSUnits.AsArealConvert units as areal to string representation with proper units symbol.
TGIS_CSUnits.AsLinearConvert units as linear to string representation with proper units symbol.

Code

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

2017/09/04 12:12