Add CORS configuration and tile handling improvements

This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-03-26 00:34:42 +02:00
parent 604f0e070d
commit f08058ea9c
9 changed files with 159 additions and 25 deletions
@@ -256,7 +256,7 @@ public class GoogleMapsDownloaderV2
var existingTile = existingTiles.FirstOrDefault(t =>
Math.Abs(t.Latitude - tileCenter.Lat) < 0.0001 &&
Math.Abs(t.Longitude - tileCenter.Lon) < 0.0001 &&
t.ZoomLevel == zoomLevel);
t.TileZoom == zoomLevel);
if (existingTile != null)
{