Esempio n. 1
0
 /// <summary>
 /// Add a marker, along with its style
 /// </summary>
 /// <param name="marker"></param>
 /// <param name="style"></param>
 public void AddMarker(GoogleStaticMapMarker marker, GoogleStaticMapMarkerStyle style)
 {
     if (style == null)
     {
         throw new CannotAddMarkerWithoutStyleException();
     }
     MarkerStyles.Add(marker, style);
 }
Esempio n. 2
0
 /// <summary>
 /// remove a marker
 /// </summary>
 /// <param name="marker"></param>
 public void RemoveMarker(GoogleStaticMapMarker marker)
 {
     MarkerStyles.Remove(marker);
 }
 /// <summary>
 /// remove a marker
 /// </summary>
 /// <param name="marker"></param>
 public void RemoveMarker(GoogleStaticMapMarker marker)
 {
     MarkerStyles.Remove(marker);
 }
 /// <summary>
 /// Add a marker, along with its style
 /// </summary>
 /// <param name="marker"></param>
 /// <param name="style"></param>
 public void AddMarker(GoogleStaticMapMarker marker, GoogleStaticMapMarkerStyle style)
 {
     if (style == null) throw new CannotAddMarkerWithoutStyleException();
     MarkerStyles.Add(marker, style);
 }