|
Hierarchy TReadMapFile->TCollectionItem->TPersistent->TObject Unit uNLayer Description Object layer, an element of collection TNLayers. It is used for work with one layer of data MapInfo which includes geographical coordinates and table data. There are three ways of data location in a component. The first way to set property "FileName" a path on the disk. The second way, for convenience of carrying the application on the other computer, it is possible to set the path to geographical data through the system registry. For this purpose fill in properties "NRegistryRoot", "NRegistryPath", "NRegistryName" which indicate path value from registry. Now in property "FileName" it is possible to use a keyword %REG%. Opening the layer, the keyword will be replaced with value from registry. The third way to save the geographical data in file DFM, in given way the application can consist of one file. It is also possible to set the following parameters:
Properties
Methods
Events
|