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
|
DrawingEngine = MapView.BuiltInDE
|
||||||
Font.Color = clBlack
|
Font.Color = clBlack
|
||||||
MapProvider = 'OpenStreetMap Mapnik'
|
MapProvider = 'OpenStreetMap Mapnik'
|
||||||
|
POIImagesWidth = 0
|
||||||
|
UseThreads = True
|
||||||
OnZoomChange = MapViewZoomChange
|
OnZoomChange = MapViewZoomChange
|
||||||
end
|
end
|
||||||
object Panel1: TPanel
|
object Panel1: TPanel
|
||||||
|
@ -66,7 +66,7 @@ begin
|
|||||||
Screen.Cursor := crHourglass;
|
Screen.Cursor := crHourglass;
|
||||||
try
|
try
|
||||||
// Threaded painting interferes with track painting over several tiles
|
// Threaded painting interferes with track painting over several tiles
|
||||||
MapView.UseThreads := false;
|
MapView.UseThreads := true; //false;
|
||||||
MapView.MapProvider := Combobox1.Text;
|
MapView.MapProvider := Combobox1.Text;
|
||||||
MapView.Active := true;
|
MapView.Active := true;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user