public virtual PolylineBuilder Points(Action <LocationFactory <Polyline> > action) { if (action == null) { throw new ArgumentNullException(nameof(action)); } var factory = new LocationFactory <Polyline>(this.Shape); action(factory); return(this); }
public HeatLayerBuilder Data(Action <LocationFactory <HeatmapLayer> > action) { if (action == null) { throw new ArgumentNullException(nameof(action)); } var factory = new LocationFactory <HeatmapLayer>(this.Layer); action(factory); return(this); }