mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 22:46:58 +00:00
Remove CanvasPanel
This commit is contained in:
parent
22d5aadb9d
commit
3a9050676c
6 changed files with 10 additions and 75 deletions
|
|
@ -71,8 +71,6 @@ namespace MapControl
|
|||
|
||||
protected virtual void UpdateData()
|
||||
{
|
||||
MapPanel.SetLocation(this, Location);
|
||||
|
||||
if (parentMap != null && Location != null && Data != null)
|
||||
{
|
||||
var matrix = parentMap.GetMapTransform(Location);
|
||||
|
|
@ -86,6 +84,8 @@ namespace MapControl
|
|||
Data.Transform = new MatrixTransform { Matrix = matrix };
|
||||
}
|
||||
}
|
||||
|
||||
MapPanel.SetLocation(this, Location);
|
||||
}
|
||||
|
||||
#region Methods used only by derived classes MapPolyline, MapPolygon and MapMultiPolygon
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue