You've already forked lazarus-ccr
LazMapViewer: Use threads in colored_tracks sample project.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8109 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -19,6 +19,8 @@ object MainForm: TMainForm
|
||||
DrawingEngine = MapView.BuiltInDE
|
||||
Font.Color = clBlack
|
||||
MapProvider = 'OpenStreetMap Mapnik'
|
||||
POIImagesWidth = 0
|
||||
UseThreads = True
|
||||
OnZoomChange = MapViewZoomChange
|
||||
end
|
||||
object Panel1: TPanel
|
||||
|
@ -66,7 +66,7 @@ begin
|
||||
Screen.Cursor := crHourglass;
|
||||
try
|
||||
// Threaded painting interferes with track painting over several tiles
|
||||
MapView.UseThreads := false;
|
||||
MapView.UseThreads := true; //false;
|
||||
MapView.MapProvider := Combobox1.Text;
|
||||
MapView.Active := true;
|
||||
|
||||
|
Reference in New Issue
Block a user