mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Removed test code
This commit is contained in:
parent
c8161f2dce
commit
db9f7f950d
|
|
@ -16,17 +16,6 @@ namespace WpfApplication
|
|||
//BingMapsTileLayer.ApiKey = "...";
|
||||
|
||||
InitializeComponent();
|
||||
|
||||
for (double lon = -180; lon < 180; lon += 10)
|
||||
{
|
||||
var pushpin = new Pushpin { Content = lon };
|
||||
MapPanel.SetLocation(pushpin, new Location(50, lon));
|
||||
map.Children.Add(pushpin);
|
||||
|
||||
var path = new MapPath { Data = new EllipseGeometry(new Point(lon, 60), 10, 10), Stroke = Brushes.Blue, StrokeThickness = 2 };
|
||||
MapPanel.SetLocation(path, new Location(50, lon));
|
||||
map.Children.Add(path);
|
||||
}
|
||||
}
|
||||
|
||||
private void MapMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
|
||||
|
|
|
|||
Loading…
Reference in a new issue