General map graticule for WPF

This commit is contained in:
Clemens 2022-03-04 22:28:18 +01:00
parent c998f19fe5
commit a07948be02
11 changed files with 414 additions and 122 deletions

View file

@ -31,7 +31,7 @@ namespace MapControl
var width = rect.Width / Wgs84MeterPerDegree;
var height = rect.Height / Wgs84MeterPerDegree;
return new CenteredBoundingBox(center, width, height);
return center != null ? new CenteredBoundingBox(center, width, height) : null;
}
/// <summary>