Documentation | Samples | Snap
How to snap a vehicle to a road if the known vehicle location is not very precise. Uses a simulated GPS-like position.
This sample illustrates use of:
Name | Description |
---|---|
TGIS_Shape.SetPosition | Move the whole shape. |
TGIS_Shape.Centroid | Calculate the central point of a shape. |
This sample is available on following platforms (click to see source code):