planetfederal / qgis-webappbuilder-plugin

GNU General Public License v3.0
18 stars 20 forks source link

Map should be visible in overview eben if "visible on startup" is not active #368

Closed gioman closed 7 years ago

gioman commented 7 years ago

Or alternatively if "visible on startup" is not active then also "show in overview" should be disabled.

volaya commented 7 years ago

@gioman the visibility of the layer affects all the places where it is rendered. Do you think it could be a good idea to clone layers that are used for the overview map, so the cloned layer is used for that matter instead, and it is always visible regardless of the visibility of the original one? That's the only solution i see

gioman commented 7 years ago

@volaya is a minor issue, but can be confusing because the controls for layer visibility in map and overview are separated. Your solution sounds good, or just disable the overview checkbox if the visibility checkbox is disabled.

volaya commented 7 years ago

@bartvde what do you think? Cloning the layer will have some effect on the performance?

bartvde commented 7 years ago

cloning makes sense to me

volaya commented 7 years ago

now the overview map uses it's own layers, cloned from original ones, and they stay always visible

@gioman Test and close if it works ok

gioman commented 7 years ago

works for me.