User Tools

Site Tools


samples:samples:trackingtest

Table of Contents

TrackingTest sample

Documentation | Samples | TrackingTest

Summary

How to efficiently implement tracking layer - to update locations of dozens of shapes like vehicles.

Description

This sample illustrates use of:

Name Description
TGIS_Shape.CentroidCalculate the central point of a shape.
TGIS_Shape.ParamsReturns parameters (colors, fills etc) object.
TGIS_Shape.SetPositionMove the whole shape.
TGIS_Viewer.LockLock viewer.
TGIS_Viewer.UnlockUnlock viewer.

Code

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

2022/10/28 15:04

Page Tools