public static void RemoveChild(this MapLayer layer, CustomPushpin pushpin)
 {
     layer.Children.Remove(pushpin);
 }
 public static void RemoveChild(this MapLayer layer, CustomPushpin pushpin)
 {
     layer.Children.Remove(pushpin);
 }
 /// <summary>
 /// Allows a custom pushpin to be added to a MapLayer
 /// </summary>
 /// <param name="layer">MapLayer to add custom pushpin to</param>
 /// <param name="pushpin">Custom Pushpin to add to layer</param>
 public static void AddChild(this MapLayer layer, CustomPushpin pushpin)
 {
     layer.AddChild(pushpin, pushpin.Location);
 }
 /// <summary>
 /// Allows a custom pushpin to be added to a MapLayer
 /// </summary>
 /// <param name="layer">MapLayer to add custom pushpin to</param>
 /// <param name="pushpin">Custom Pushpin to add to layer</param>
 public static void AddChild(this MapLayer layer, CustomPushpin pushpin)
 {
     layer.AddChild(pushpin, pushpin.Location);
 }