type TZylWgs84Map = class(TPaintBox)
WGS84 map class.
![]() |
procedure Paint; override; |
![]() |
procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override; |
![]() |
procedure MouseMove(Shift: TShiftState; X, Y: Integer); override; |
![]() |
procedure Draw(); virtual; |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
destructor Destroy(); override; |
![]() |
procedure DrawMap(); |
![]() |
procedure RefreshMap; |
![]() |
procedure Reset; |
![]() |
procedure GetEpsg3857MapCoordinates( const LatitudeAsDecimalDegrees, LongitudeAsDecimalDegrees: Extended; var X, Y: Extended); |
![]() |
procedure GetCoordinatesFromEpsg3857Position(const X, Y: Extended; var LatitudeAsDecimalDegrees, LongitudeAsDecimalDegrees: Extended); |
![]() |
procedure GetEpsg4326MapCoordinates( const LatitudeAsDecimalDegrees, LongitudeAsDecimalDegrees: Extended; var X, Y: Extended); |
![]() |
procedure GetCoordinatesFromEpsg4326Position(const X, Y: Extended; var LatitudeAsDecimalDegrees, LongitudeAsDecimalDegrees: Extended); |
![]() |
procedure SaveMapToImage(fileName: String); |
![]() |
property CenterPosition: TGPSPosition read fCenterPosition write SetCenterPosition; |
![]() |
property CenterPositionMarker: TMarker read fCenterPositionMarker write fCenterPositionMarker; |
![]() |
property Markers: TMarkers read FMarkers write FMarkers; |
![]() |
property Paths: TPaths read FPaths write FPaths; |
![]() |
property Polylines: TPaths read FPaths write FPaths; |
![]() |
property Circles: TCircles read FCircles write FCircles; |
![]() |
property Rectangles: TRectangles read FRectangles write FRectangles; |
![]() |
property UnlockKey: String read FUnlockKey write FUnlockKey; |
![]() |
property MapImagePath: String read fMapImagePath write fMapImagePath; |
![]() |
property MapType: TWgs84MapType read fMapType write fMapType; |
![]() |
property West: Extended read FWest write FWest; |
![]() |
property North: Extended read FNorth write FNorth; |
![]() |
property East: Extended read FEast write Feast; |
![]() |
property South: Extended read FSouth write FSouth; |
![]() |
property IsBoundingBoxInDecimalDegrees: Boolean read FIsBoundingBoxInDecimalDegrees write FIsBoundingBoxInDecimalDegrees; |
![]() |
property OnMapClick: TPositionEvent read FOnMapClick write FOnMapClick; |
![]() |
property OnMapRightClick: TPositionEvent read FOnMapRightClick write FOnMapRightClick; |
![]() |
property OnMapMouseMove: TPositionEvent read FOnMapMouseMove write FOnMapMouseMove; |
![]() |
property OnMapCenterChange: TPositionEvent read FOnMapCenterChange write FOnMapCenterChange; |
![]() |
procedure Paint; override; |
|
Paint method. You can override it. | |
![]() |
procedure MouseMove(Shift: TShiftState; X, Y: Integer); override; |
|
MouseMove method. You can override it.
Parameters
| |
![]() |
procedure Draw(); virtual; |
|
Draw the map. You can override it. | |
![]() |
constructor Create(AOwner: TComponent); override; |
|
Constructor.
Parameters
| |
![]() |
destructor Destroy(); override; |
|
Destructor. | |
![]() |
procedure DrawMap(); |
|
Display the map. | |
![]() |
procedure RefreshMap; |
|
Refresh the map. | |
![]() |
procedure Reset; |
|
Reset the position to default value. | |
![]() |
procedure SaveMapToImage(fileName: String); |
|
Save the current map to jpeg image.
Parameters
| |
![]() |
property CenterPosition: TGPSPosition read fCenterPosition write SetCenterPosition; |
|
Center position coordinates. | |
![]() |
property CenterPositionMarker: TMarker read fCenterPositionMarker write fCenterPositionMarker; |
|
Marker for the center position. | |
![]() |
property Markers: TMarkers read FMarkers write FMarkers; |
|
List of markers to be shown on the map, except center position marker. | |
![]() |
property Paths: TPaths read FPaths write FPaths; |
|
Paths to be shown on the map as polylines. | |
![]() |
property Polylines: TPaths read FPaths write FPaths; |
|
Paths to be shown on the map as polylines. | |
![]() |
property Circles: TCircles read FCircles write FCircles; |
|
List of circles to be shown on the map. | |
![]() |
property Rectangles: TRectangles read FRectangles write FRectangles; |
|
List of rectangles to be shown on the map. | |
![]() |
property MapImagePath: String read fMapImagePath write fMapImagePath; |
|
Map Image. Can be Jpeg, png, gif or bitmap. | |
![]() |
property MapType: TWgs84MapType read fMapType write fMapType; |
|
Map projection type. | |
![]() |
property West: Extended read FWest write FWest; |
|
Bounding box west value. | |
![]() |
property North: Extended read FNorth write FNorth; |
|
Bounding box north value. | |
![]() |
property East: Extended read FEast write Feast; |
|
Bounding box east value. | |
![]() |
property South: Extended read FSouth write FSouth; |
|
Bounding box south value. | |
![]() |
property OnMapClick: TPositionEvent read FOnMapClick write FOnMapClick; |
|
Occurs when the map is clicked. | |
![]() |
property OnMapRightClick: TPositionEvent read FOnMapRightClick write FOnMapRightClick; |
|
Occurs when the map is right clicked. | |
![]() |
property OnMapMouseMove: TPositionEvent read FOnMapMouseMove write FOnMapMouseMove; |
|
Occurs when the mouse moves over the map. | |
![]() |
property OnMapCenterChange: TPositionEvent read FOnMapCenterChange write FOnMapCenterChange; |
|
Occurs when the center of the map has changed. | |