Dash map layers callback

Following this topic I have made a choropleth map and now I want to make a callback function for click on layer. I have been reading for hours trying to find the solution but couldn’t find anything. Is this possible? Should I try to make invisible markers?