diff --git a/components/lazmapviewer/examples/colored_tracks/main.lfm b/components/lazmapviewer/examples/colored_tracks/main.lfm index 6fc421a69..c4bbb4a12 100644 --- a/components/lazmapviewer/examples/colored_tracks/main.lfm +++ b/components/lazmapviewer/examples/colored_tracks/main.lfm @@ -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 diff --git a/components/lazmapviewer/examples/colored_tracks/main.pas b/components/lazmapviewer/examples/colored_tracks/main.pas index 7f1a545e9..85d925a5a 100644 --- a/components/lazmapviewer/examples/colored_tracks/main.pas +++ b/components/lazmapviewer/examples/colored_tracks/main.pas @@ -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;