LazMapViewer: Default map center at (0,0) with zoom=1
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9233 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
f991ac6415
commit
234c16404d
@ -1577,11 +1577,11 @@ begin
|
|||||||
|
|
||||||
FCenter := TMapCenter.Create(Self);
|
FCenter := TMapCenter.Create(Self);
|
||||||
FCenter.Longitude := 0.0;
|
FCenter.Longitude := 0.0;
|
||||||
FCenter.Latitude := 51.47696; // Greenwich observatory
|
FCenter.Latitude := 0.0;
|
||||||
|
|
||||||
FZoomMin := 0;
|
FZoomMin := 0;
|
||||||
FZoomMax := 19;
|
FZoomMax := 19;
|
||||||
Zoom := 15;
|
Zoom := 1;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
destructor TMapView.Destroy;
|
destructor TMapView.Destroy;
|
||||||
|
Loading…
Reference in New Issue
Block a user