mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 06:26:41 +00:00
Version 4.4.1: MapPolygon for UWP in progress
This commit is contained in:
parent
2f828fbe2d
commit
7246cbd002
8 changed files with 109 additions and 141 deletions
|
|
@ -59,10 +59,16 @@ namespace MapControl
|
|||
parentMap.ViewportChanged += OnViewportChanged;
|
||||
}
|
||||
|
||||
ParentMapChanged();
|
||||
SetDataTransform();
|
||||
UpdateData();
|
||||
}
|
||||
}
|
||||
|
||||
protected MapShape()
|
||||
: this(new PathGeometry())
|
||||
{
|
||||
}
|
||||
|
||||
protected MapShape(Geometry data)
|
||||
{
|
||||
Data = data;
|
||||
|
|
@ -70,6 +76,8 @@ namespace MapControl
|
|||
MapPanel.InitMapElement(this);
|
||||
}
|
||||
|
||||
partial void SetDataTransform(); // WPF only
|
||||
|
||||
protected abstract void UpdateData();
|
||||
|
||||
protected Point LocationToPoint(Location location)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue