public MarkerBuilder Add() { var marker = new Marker(Map); Map.Markers.Add(marker); return new MarkerBuilder(marker); }
public InfoWindow(Marker marker) : base(PassThroughNonNull(marker).Map) { if (marker == null) throw new ArgumentNullException("marker"); this.marker = marker; Content = string.Format(CultureInfo.InvariantCulture, "{0}Marker{1}",marker.Map.Id,marker.Index); Template = new HtmlTemplate(); }
public MarkerBuilder(Marker marker) { this.Marker = marker; }
public MarkerSerializer(Marker marker) { this.marker = marker; }
private static Marker PassThroughNonNull(Marker marker) { if (marker == null) throw new ArgumentNullException("marker"); return marker; }