Improved MapGraticule

This commit is contained in:
ClemensFischer 2026-02-07 00:01:04 +01:00
parent c8449be6ff
commit 3e814c4272
4 changed files with 78 additions and 103 deletions

View file

@ -59,8 +59,12 @@ namespace MapControl
path = (Path)Children[0];
}
var labels = DrawGraticule(((PathGeometry)path.Data).Figures);
var childrenCount = 1;
var labels = new List<Label>();
var figures = ((PathGeometry)path.Data).Figures;
figures.Clear();
DrawGraticule(figures, labels);
foreach (var label in labels)
{