You've already forked lazarus-ccr
LazMapViewer: Fix track demos (hick-up with previously used map provider).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8774 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -22,7 +22,7 @@ object MainForm: TMainForm
|
||||
Font.CharSet = ANSI_CHARSET
|
||||
Font.Color = clBlack
|
||||
Font.Pitch = fpVariable
|
||||
MapProvider = 'OpenStreetMap Mapnik'
|
||||
MapProvider = 'Google Maps'
|
||||
POIImage.Data = {
|
||||
36170000424D36170000000000003600000028000000200000002E0000000100
|
||||
2000000000000017000064000000640000000000000000000000FFFFFF00FFFF
|
||||
@ -211,7 +211,6 @@ object MainForm: TMainForm
|
||||
FEEB0000FEC70000FE980000FD570000EA0CFFFFFF00FFFFFF00FFFFFF00FFFF
|
||||
FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00
|
||||
}
|
||||
POIImagesWidth = 0
|
||||
POITextBgColor = clCream
|
||||
OnCenterMove = MapViewCenterMove
|
||||
OnZoomChange = MapViewZoomChange
|
||||
|
@ -74,7 +74,7 @@ begin
|
||||
crs := Screen.Cursor;
|
||||
Screen.Cursor := crHourglass;
|
||||
try
|
||||
MapView.MapProvider := 'Open Topo Map';
|
||||
MapView.MapProvider := 'Google Maps'; //'Open Topo Map';
|
||||
MapView.Active := true;
|
||||
// Center on Grand Canyon Village
|
||||
MapView.Zoom := 13;
|
||||
@ -134,7 +134,7 @@ var
|
||||
begin
|
||||
reader := TGpxReader.Create;
|
||||
try
|
||||
reader.LoadFromFile(GPX_FILE_NAME, MapView.GPSItems, b);
|
||||
reader.LoadFromFile(Application.Location + GPX_FILE_NAME, MapView.GPSItems, b);
|
||||
MapView.Engine.ZoomOnArea(b);
|
||||
FTrack := MapView.GpsItems.GetObjectsInArea(b).Items[0] as TGpsTrack;
|
||||
|
||||
|
@ -43,6 +43,7 @@
|
||||
<Filename Value="main.pas"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
<ComponentName Value="MainForm"/>
|
||||
<HasResources Value="True"/>
|
||||
<ResourceBaseClass Value="Form"/>
|
||||
</Unit1>
|
||||
</Units>
|
||||
@ -58,6 +59,9 @@
|
||||
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
||||
</SearchPaths>
|
||||
<Linking>
|
||||
<Debugging>
|
||||
<DebugInfoType Value="dsDwarf3"/>
|
||||
</Debugging>
|
||||
<Options>
|
||||
<Win32>
|
||||
<GraphicApplication Value="True"/>
|
||||
|
Reference in New Issue
Block a user