Plottly scattermap events

Hey Guys,

currently I was working with plotly.scattermap and faced one problem. If the app is rerun the scattermap will be reloaded. Sadly all changes will be lost so the map will be reloaded at the initial zoom, latitude and longitude.

To face this problem. I created a component which will return values for certain events. Those returned values in combination with st.session_state can be used to initalize the map at the position the user has been working on.

This component is heavily inspired by the work of Null Jones. Thank you
https://discuss.streamlit.io/t/bi-directional-plotly-component/12229