mapseed/platform

Basemaps on maps without legends don't work in develop-0.7.0

Closed this issue · 1 comments

zmbc commented

Whoops. This is due to my own change: PR #440. Specifically, basemaps are now set to be visible or not using visibleDefault in the legend config, just like other types of layers. This (obviously) is not an option when there is no legend config.

If there isn't a legend, we can assume that all layers are visible, right? We don't currently do that. The only reason this issue doesn't exist in 0.6.0 is that we special-case tile layers here. (Incidentally, we also special-case basemaps here, but as far as I can tell we never actually used that config option)

If there isn't a legend, we can assume that all layers are visible, right?

Yup, I think that's reasonable. I should have seen this one coming too! Thanks for the catch.