Problem
As we add more visualization types, it will be useful to pull in multiple visualization layers into the same visualization. To do this, we'll need an API to addLayer to an existing visualization.
For example, users may want to create a heatmap visualization at low zoom levels, and a graduatedCircle visualization at high zoom levels.
A user may also want to add two or more layers to a map from different data sources.
Implementation
Problem
As we add more visualization types, it will be useful to pull in multiple visualization layers into the same visualization. To do this, we'll need an API to
addLayerto an existing visualization.For example, users may want to create a
heatmapvisualization at low zoom levels, and agraduatedCirclevisualization at high zoom levels.A user may also want to add two or more layers to a map from different data sources.
Implementation
minZoomandmaxZoomproperties to each viz typeaddLayerfunction to add a layer to an existing viz object