Documentation | Samples | HelloDK
How to create a very basic DK11 application. See step-by-step tutorial.
This sample illustrates use of:
Name | Description |
---|---|
TGIS_Viewer | Encapsulation of the generic viewer. |
TGIS_ViewerWnd | Main visual control responsible for map presentation on window. |
TGIS_Viewer.Open | Open project. |
TGIS_Viewer.InvalidateWholeMap | Invalidate whole map. |
TGIS_Viewer.Lock | Lock viewer. |
TGIS_Viewer.Unlock | Unlock viewer. |
TGIS_Viewer.ScreenToMap | Converts point coordinates from screen related to map related. |
TGIS_Viewer.Locate | Locate a shape that is near _ptg, but is closer than _prec distance. |
TGIS_Viewer.Add | Add a layer to the Viewer. |
TGIS_Viewer.Get | Retrieve the layer identified by a name. |
TGIS_LayerVector.DeselectAll | Clears selection of all shapes. |
TGIS_LayerVector.GetShape | Gets a shape by its unique identifier on default cursor (0). |
TGIS_Layer.Name | Name of layer; if not filled directly, then will be filled with Path when added to the viewer. |
TGIS_Layer.CS | Coordinate System that is assigned to the layer. |
TGIS_LayerVector.Params | Returns parameters (colors, fills, etc.) object. |
TGIS_ParamsArea | Parameters that are common for Areas. |
TGIS_Shape.MakeEditable | Add the shape to edited items list. |
TGIS_Shape.IsSelected | Is shape selected. |
TGIS_Shape.Lock | Lock a shape. |
TGIS_Shape.Unlock | Unlock a shape from burst-mode operation. |
TGIS_Shape.AddPart | Add next part to the shape. |
TGIS_Shape.AddPoint | Add a point to the last part of the shape. |
This sample is available on following platforms (click to see source code):