User Tools

Site Tools


Table of Contents

HelloDK sample

Documentation | Samples | HelloDK


How to create a very basic DK11 application. See step-by-step tutorial.


This sample illustrates use of:

Name Description
TGIS_ViewerEncapsulation of the generic viewer.
TGIS_ViewerWndMain visual control responsible for map presentation on window.
TGIS_Viewer.OpenOpen project.
TGIS_Viewer.InvalidateWholeMapInvalidate whole map.
TGIS_Viewer.LockLock viewer.
TGIS_Viewer.UnlockUnlock viewer.
TGIS_Viewer.ScreenToMapConverts point coordinates from screen related to map related.
TGIS_Viewer.LocateLocate a shape that is near _ptg, but is closer than _prec distance.
TGIS_Viewer.AddAdd a layer to the Viewer.
TGIS_Viewer.GetRetrieve the layer identified by a name.
TGIS_LayerVector.DeselectAllClears selection of all shapes.
TGIS_LayerVector.GetShapeGets a shape by its unique identifier on default cursor (0).
TGIS_Layer.NameName of layer; if not filled directly, then will be filled with Path when added to the viewer.
TGIS_Layer.CSCoordinate System that is assigned to the layer.
TGIS_LayerVector.ParamsReturns parameters (colors, fills, etc.) object.
TGIS_ParamsAreaParameters that are common for Areas.
TGIS_Shape.MakeEditableAdd the shape to edited items list.
TGIS_Shape.IsSelectedIs shape selected.
TGIS_Shape.LockLock a shape.
TGIS_Shape.UnlockUnlock a shape from burst-mode operation.
TGIS_Shape.AddPartAdd next part to the shape.
TGIS_Shape.AddPointAdd a point to the last part of the shape.


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

2022/10/06 08:53

Page Tools