mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-07 23:45:05 +00:00
Improved MapGraticule
This commit is contained in:
parent
c8449be6ff
commit
3e814c4272
4 changed files with 78 additions and 103 deletions
|
|
@ -49,15 +49,15 @@ namespace MapControl
|
|||
if (ParentMap != null)
|
||||
{
|
||||
var pathGeometry = new PathGeometry();
|
||||
|
||||
var labels = DrawGraticule(pathGeometry.Figures);
|
||||
|
||||
var labels = new List<Label>();
|
||||
var pen = new Pen
|
||||
{
|
||||
Brush = Foreground,
|
||||
Thickness = StrokeThickness,
|
||||
};
|
||||
|
||||
DrawGraticule(pathGeometry.Figures, labels);
|
||||
|
||||
drawingContext.DrawGeometry(null, pen, pathGeometry);
|
||||
|
||||
if (labels.Count > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue