From 938fd36aeceb595ac518f2571e5712f4cdff65d0 Mon Sep 17 00:00:00 2001 From: Alex Bezdieniezhnykh Date: Tue, 8 Jul 2025 19:33:22 +0300 Subject: [PATCH] fix zooming in map matcher --- Azaion.Annotator/Controls/MapMatcher.xaml | 14 +++++++------- Azaion.Common/SecurityConstants.cs | 2 +- Azaion.Common/Services/GPSMatcherService.cs | 4 ++-- Azaion.Suite/config.system.json | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Azaion.Annotator/Controls/MapMatcher.xaml b/Azaion.Annotator/Controls/MapMatcher.xaml index 22c9e35..22dbfd0 100644 --- a/Azaion.Annotator/Controls/MapMatcher.xaml +++ b/Azaion.Annotator/Controls/MapMatcher.xaml @@ -137,13 +137,13 @@ HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/> - - - + + + + gpsDeniedConfig.Value.MinKeyPoints) + if (result.KeyPoints >= gpsDeniedConfig.Value.MinKeyPoints) { var direction = _lastGeoPoint.DirectionTo(result.GeoPoint); _directions.Enqueue(direction); diff --git a/Azaion.Suite/config.system.json b/Azaion.Suite/config.system.json index aa45128..c6f777f 100644 --- a/Azaion.Suite/config.system.json +++ b/Azaion.Suite/config.system.json @@ -35,7 +35,7 @@ "ModelBatchSize": 4 }, "GpsDeniedConfig": { - "MinKeyPoints": 12 + "MinKeyPoints": 11 }, "ThumbnailConfig": { "Size": "240,135", "Border": 10 } } \ No newline at end of file