|
Hierarchy
TCollection->TPersistent->TObject
Unit
uNMap
Description
Object collection - child TCollection. Allows to make a multilayered
map. The class gives operation for manipulation layers. You can add, delete
layers. To operate order of drawing layers.There are also some properties
about layers such as the maximal and minimal coordinates, the main projection.
There are some methods on scaling and movement of the map.
Properties
| FNMap: TNMap |
Identifies map TNMap, to which belongs to object TNLayers |
| bInitMaps:Boolean |
Defines open in map at least one layer |
| gvXmin, gvYmin, gvXmax, gvYmax:integer |
Screen coordinates of the area, which at present draw
on screen |
| ggXmin, ggYmin, ggXmax, ggYmax:Double |
Geographical coordinates of the area of the screen,
which at present draw on screen |
| gtXmin, gtYmin, gtXmax, gtYmax:Double |
Geographical coordinates of the maximum size of the
map |
| property Items[Index: Integer]: TNLayer |
Access to element of the collections |
| MainProjId:smallint |
Main projection for displayed maps |
Methods
| constructor Create(NMap: TNMap) |
Constructor |
| destructor Destroy |
Destructor |
| function Add: TNLayer |
Add new Layer |
| procedure Zoom(X, Y, procZoom: integer) |
For scaling the map |
| procedure MovePixel(movX, movY: integer) |
Moving Map |
Events
|