Added MapProjection.Type

This commit is contained in:
Clemens 2022-03-05 18:40:57 +01:00
parent a07948be02
commit 16fb98ac86
15 changed files with 126 additions and 77 deletions

View file

@ -120,7 +120,7 @@ namespace MapControl
{
var update = false;
if (ParentMap == null || !ParentMap.MapProjection.IsWebMercator)
if (ParentMap == null || ParentMap.MapProjection.Type != MapProjectionType.WebMercator)
{
update = TileMatrix != null;
TileMatrix = null;