put default config if no config.json found

refactor Constants
This commit is contained in:
Alex Bezdieniezhnykh
2025-06-30 20:06:02 +03:00
parent 6eeb6d20bf
commit bb6413c4f0
10 changed files with 191 additions and 174 deletions
@@ -43,7 +43,7 @@ public class SatelliteDownloader(
private const int OUTPUT_TILE_SIZE = 512;
private readonly string _apiKey = mapConfig.Value.ApiKey;
private readonly string _satDirectory = Path.Combine(SecurityConstants.EXTERNAL_GPS_DENIED_FOLDER, directoriesConfig.Value.GpsSatDirectory);
private readonly string _satDirectory = Path.Combine(Constants.EXTERNAL_GPS_DENIED_FOLDER, directoriesConfig.Value.GpsSatDirectory);
public async Task GetTiles(GeoPoint centerGeoPoint, double radiusM, int zoomLevel, CancellationToken token = default)
{