mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 22:46:58 +00:00
CsWinRT1028, C# LangVersion 12
This commit is contained in:
parent
e1a4ba3fd6
commit
c0783efb4a
27 changed files with 67 additions and 119 deletions
|
|
@ -24,22 +24,13 @@ namespace MapControl
|
|||
/// </summary>
|
||||
public partial class MapGraticule
|
||||
{
|
||||
private class Label
|
||||
private class Label(string latText, string lonText, double x, double y, double rotation)
|
||||
{
|
||||
public Label(string latText, string lonText, double x, double y, double rotation)
|
||||
{
|
||||
LatitudeText = latText;
|
||||
LongitudeText = lonText;
|
||||
X = x;
|
||||
Y = y;
|
||||
Rotation = rotation;
|
||||
}
|
||||
|
||||
public string LatitudeText { get; }
|
||||
public string LongitudeText { get; }
|
||||
public double X { get; }
|
||||
public double Y { get; }
|
||||
public double Rotation { get; }
|
||||
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;
|
||||
}
|
||||
|
||||
private const double LineInterpolationResolution = 2d;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue