Reset Click Data when clicking on map

@qdumont yes i found a Solution!
Wrap the map in a div and then just an simple callback like this
@app.callback(Output(‘map’, ‘clickData’),
[Input(‘map-Container’, ‘n_clicks’)])
def reset_clickData(n_clicks):
return None

4 Likes