This PR adds the missing visible and opacity traits/attributes in vector tile layers, so now it's possible to control the opacity and visibility of these layers using custom widgets.
Here's how it looks like using a custom widget with a checkbox (linked to visible) and a slider (linked to opacity):
This solves the downstream leafmap issue associated with its custom layer control toolbar:
This PR adds the missing
visible
andopacity
traits/attributes in vector tile layers, so now it's possible to control the opacity and visibility of these layers using custom widgets.Here's how it looks like using a custom widget with a checkbox (linked to
visible
) and a slider (linked toopacity
):This solves the downstream leafmap issue associated with its custom layer control toolbar: