CartoDB / toolkit

JS library to interact with CARTO APIs in a simple way
https://toolkit-wheat.now.sh
BSD 3-Clause "New" or "Revised" License
9 stars 3 forks source link

Fix adding multiple layers without await #111

Closed VictorVelarde closed 4 years ago

VictorVelarde commented 4 years ago

Small fix that allows adding several layers without await.

I have also joined the "1 layer per type default styles example" into /examples/layer/several-layers.html that illustrates it is working.

This example can be useful also for checking default styles are working fine, so that's why I ping you too @oleurud (it looks like we might need some changes, just compare with: https://carto.com/developers/carto-vl/examples/#example-add-multiple-source-layers)

simon-contreras-deel commented 4 years ago

Yes, we need to change some sizes and stroke