mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Primary constructor parameters
This commit is contained in:
parent
f63fba98c1
commit
65462697df
8 changed files with 35 additions and 31 deletions
|
|
@ -27,11 +27,11 @@ namespace MapControl
|
|||
{
|
||||
private class Label(string latText, string lonText, double x, double y, double rotation)
|
||||
{
|
||||
public string LatitudeText { get; } = latText;
|
||||
public string LongitudeText { get; } = lonText;
|
||||
public double X { get; } = x;
|
||||
public double Y { get; } = y;
|
||||
public double Rotation { get; } = rotation;
|
||||
public string LatitudeText => latText;
|
||||
public string LongitudeText => lonText;
|
||||
public double X => x;
|
||||
public double Y => y;
|
||||
public double Rotation => rotation;
|
||||
}
|
||||
|
||||
private const double LineInterpolationResolution = 2d;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue