Hi @Emil , getting access to all the event handlers is fantastic and I have now used it for a few, but I am struggling to catch the events emitted from the LayersControl. When I try the measureControl one from the examples, it all works as expected but the layersControl always only returns None. Are you able to mock up an example that interacts with the layersControl which returns the name of the overlay which is toggled on/off please? What I have is as follows:
event_handlers = dict(
overlayadd=assign(“function(e, ctx){ctx.setProps({layerAdd: e.name})}”),
)
Any help will be greatly appreciated! Thanks.