コード例 #1
0
 public static void RemoveChild(this MapLayer layer, CustomPushpin pushpin)
 {
     layer.Children.Remove(pushpin);
 }
コード例 #2
0
 public static void RemoveChild(this MapLayer layer, CustomPushpin pushpin)
 {
     layer.Children.Remove(pushpin);
 }
コード例 #3
0
 /// <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);
 }
コード例 #4
0
 /// <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);
 }