示例#1
0
        public HeatLayerBuilder AddHeatmapLayer()
        {
            var heatLayer = new HeatmapLayer(this.Map);

            this.Map.Layers.Add(heatLayer);

            return(new HeatLayerBuilder(heatLayer));
        }
        internal HeatmapGradientFactory(HeatmapLayer heatmapLayer)
        {
            if (heatmapLayer == null)
            {
                throw new ArgumentNullException(nameof(heatmapLayer));
            }

            this.heatmapLayer = heatmapLayer;
        }