Class TMapViewer
Unit
CmpMapViewer
Declaration
type TMapViewer = class()
Description
the visualization componentMethods
Overview
Description
 |
constructor Create(AOwner: TComponent); override; |
creates a MapViewer Object and sets all Fields to an initial value
 |
destructor Destroy; override; |
destroies the object
 |
procedure move(direction: Integer); |
move the map in a direction (NORTH
, EAST
, WEST
, SOUTH
)
 |
procedure pan(x0, y0, x1, y1: Integer); |
pan map (x0, y0: target position; x1, y1: start position); x0, y0, x1, y1 in pixel
 |
procedure RefreshMap; |
show the refreshed map
show the map with the settings of TEnvelope
'env'
 |
procedure StartMap; |
show the initial map (needed as first action)
 |
procedure ZoomIn(factor: Double); overload; |
zoom with a specified factor (centered)
 |
procedure ZoomIn(posX, posY: Integer); overload; |
zoom at a position: zoom factor is the default (ZOOMINFACTOR
); posX and posY in pixel
 |
procedure ZoomIn; overload; |
zoom (centered): zoom factor is the default (ZOOMINFACTOR
)
 |
procedure ZoomIn(minX, minY, maxX, maxY: Integer); overload; |
zoom (shows a selected part of the map); minX, maxX, minY, maxY as X/Y values
zoom (shows the selection, saved in the TEnvelope
'env')
 |
procedure ZoomOut(factor: Double); overload; |
zoom out with a factor (centered)
 |
procedure ZoomOut; overload; |
zoom out (centered): zoom factor is the default (ZOOMOUTFACTOR
)
 |
procedure ZoomOut(PosX, PosY: Integer); overload; |
zoom out at a specified position: zoom factor is the default (ZOOMOUTFACTOR
); PosX and PosY in pixel
 |
procedure ZoomToFullExtend; |
show the full extended map
Properties
Overview
Description
 |
property BackgroundColor: TColor; |
sets the background color of the working panel
the TCustomCmpClient
component to communicate with a server
 |
property MinWidthInMapUnit: Double; |
min. width of the visible image, measure in the unit of the map (meter, km, miles, radiant, ...)
 |
property NavigationButtonOn: Boolean; |
activation of the navigation panels (N, E, W, S)
 |
property NavigationImageOn: Boolean; |
activation of the navigation image
 |
property NavigationMode: Integer; |
sets the navigation mode (NAVNOTHING
, NAVZOOMIN
, NAVZOOMOUT
, NAVMOVE
, NAVINFO
)
Generated by PasDoc 0.8.7 on Fre 14. Nov 2003 15:13:30