Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
        }