From a684b88b5f84846af7be03c9ae77c319fe3aa6b4 Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Sat, 18 May 2024 11:42:40 +0200 Subject: [PATCH] Update BoundingBoxTileSource.cs --- MapControl/Shared/BoundingBoxTileSource.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/MapControl/Shared/BoundingBoxTileSource.cs b/MapControl/Shared/BoundingBoxTileSource.cs index 4ed9df4f..49862311 100644 --- a/MapControl/Shared/BoundingBoxTileSource.cs +++ b/MapControl/Shared/BoundingBoxTileSource.cs @@ -5,7 +5,13 @@ using System; using System.Globalization; using System.Threading.Tasks; +#if WINUI +using Microsoft.UI.Xaml.Media; +#elif UWP +using Windows.UI.Xaml.Media; +#else using System.Windows.Media; +#endif namespace MapControl { @@ -52,7 +58,8 @@ namespace MapControl } /// - /// Gets the bounding box in meters of a standard Web Mercator tile, specified by grid column and row indices and zoom level. + /// Gets the bounding box in meters of a standard Web Mercator tile, + /// specified by grid column and row indices and zoom level. /// public static void GetTileBounds(int column, int row, int zoomLevel, out double west, out double south, out double east, out double north)