|
Hierarchy
TCustomControl->TWinControl->TControl->TComponents->TPersistent->TObject
Unit
uNMap
Description
Object in which the map is displayed.The collection of layers for display
on a map is set in propertiesTNLayers. The current tool work with a map
is set the property NMapTool. There is a convenient editor for setting
begin load scale of a map, the editor of adding and removing layers and
setting the order of display layers.
Properties
| BackFront:TBitmap |
Back screen buffer |
| property NFrontColor:TColor |
Background color |
| property NMapTool:TMapToolState |
Current tool |
| property NLayers: TNLayers |
Collection of Layers |
| property NStartX: double |
Coords X position maps at initial loading. Type coords
(IC) |
| property NStartY: double |
Coords Y position maps at initial loading. Type coords(IC)
|
| property NStartWidth: double |
Map width at initial loading. Type coords(IC) |
Methods
| constructor Create(AOwner: TComponent) |
Constructor |
| destructor Destroy |
Destructor |
| Procedure SetMaxSize |
It sets max sizes of layers on map. |
| procedure Select(x,y:integer) |
Selecting the object on screen by coordinates X,Y |
Events
| property OnSelect:TSelectEvent |
Occurs after selecting the object |
|