User Tools

Site Tools


Table of Contents

Locate sample

Documentation | Samples | Locate


How to convert mouse coordinates to map coordinates and use them to locate a shape.


This sample illustrates use of:

Name Description
TGIS_Viewer.LocateLocate a shape that is near _ptg, but is closer than _prec distance.
TGIS_Viewer.GetRetrieve the layer identified by a name.
TGIS_Viewer.ScreenToMapConverts point coordinates from screen related to map related.


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

2020/05/26 09:38

Page Tools