Documentation | Samples | AddLayer
How to add a layer to the viewer and do few basic operations like zoom in/out or drag a map.
This is a very basic sample. Probably the first sample we ever created.
This sample illustrates use of:
Name | Description |
---|---|
TGIS_Layer.Params | Parameters (colors, fills, etc.) object. |
TGIS_Layer.Path | Path to file holding the layer's data. |
TGIS_LayerSHP | Layer that can read SHP file. |
TGIS_Layer.Params | Parameters (colors, fills, etc.) object. |
TGIS_Viewer.Add | Add a layer to the Viewer. |
TGIS_Utils.GisCreateLayer | Create a layer given by a name. |
This sample is available on following platforms (click to see source code):