Primary constructor parameters

This commit is contained in:
ClemensFischer 2025-11-26 23:34:22 +01:00
parent f63fba98c1
commit 65462697df
8 changed files with 35 additions and 31 deletions

View file

@ -9,12 +9,12 @@ namespace MapControl
/// a MapTileLayer or a MapImageLayer should be updated immediately,
/// or MapPath Data in projected map coordinates should be recalculated.
/// </summary>
public bool ProjectionChanged { get; } = projectionChanged;
public bool ProjectionChanged => projectionChanged;
/// <summary>
/// Indicates that the view transform center has moved across 180° longitude.
/// Used to control when a MapTileLayer should be updated immediately.
/// </summary>
public bool TransformCenterChanged { get; } = transformCenterChanged;
public bool TransformCenterChanged => transformCenterChanged;
}
}