void webMap_GetMapCompleted(object sender, GetMapCompletedEventArgs e)
{
if (e.Error == null)
{
foreach (Layer layer in e.Map.Layers)
if (layer is KmlLayer)
(layer as KmlLayer).Initialized += kmllayer_Initialized;
MyMap = e.Map;
MyMap.WrapAround = true;
ContentPanel.Children.Add(MyMap);
ContentPanel.Children.Add(MyInfoWindow);
MyInfoWindow.Map = MyMap;
}
}