mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Updated projection center update behavior
This commit is contained in:
parent
94e8edf18b
commit
c245a8f722
6 changed files with 38 additions and 11 deletions
|
|
@ -14,7 +14,8 @@ namespace MapControl.Projections
|
|||
/// </summary>
|
||||
public class ProjNetMapProjection : MapProjection
|
||||
{
|
||||
protected ProjNetMapProjection()
|
||||
protected ProjNetMapProjection(bool hasCenter = false)
|
||||
: base(hasCenter)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ namespace MapControl.Projections
|
|||
public class Wgs84OrthographicProjection : ProjNetMapProjection
|
||||
{
|
||||
public Wgs84OrthographicProjection()
|
||||
: base(true)
|
||||
{
|
||||
CenterChanged();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ namespace MapControl.Projections
|
|||
public class Wgs84StereographicProjection : ProjNetMapProjection
|
||||
{
|
||||
public Wgs84StereographicProjection()
|
||||
: base(true)
|
||||
{
|
||||
CenterChanged();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue