Updated projection center update behavior

This commit is contained in:
ClemensFischer 2026-01-20 22:21:26 +01:00
parent 94e8edf18b
commit c245a8f722
6 changed files with 38 additions and 11 deletions

View file

@ -14,7 +14,8 @@ namespace MapControl.Projections
/// </summary>
public class ProjNetMapProjection : MapProjection
{
protected ProjNetMapProjection()
protected ProjNetMapProjection(bool hasCenter = false)
: base(hasCenter)
{
}

View file

@ -13,6 +13,7 @@ namespace MapControl.Projections
public class Wgs84OrthographicProjection : ProjNetMapProjection
{
public Wgs84OrthographicProjection()
: base(true)
{
CenterChanged();
}

View file

@ -12,6 +12,7 @@ namespace MapControl.Projections
public class Wgs84StereographicProjection : ProjNetMapProjection
{
public Wgs84StereographicProjection()
: base(true)
{
CenterChanged();
}