tangrams / bubble-wrap

Bubble Wrap basemap style
http://tangrams.github.io/bubble-wrap/
MIT License
27 stars 21 forks source link

Allow sdk control over initial visibility for buildings, minor roads #243

Open nvkelso opened 7 years ago

nvkelso commented 7 years ago

In the current design we show things like buildings at zoom 13 and minor roads at zoom 12. This looks great, but sometimes has a performance impact. Let's add a SDK config to throttle back when some features are shown.

This probably involves making use of layer enabled properties for buildings (added in Tangram v0.12, was visible in earlier releases) and possibly also looking at individual feature min_zoom with an offset (like for roads).