Map, Markers, Infobox

I build a map on react-map-google in React.js.
I want to add a feature when I click on a marker I want to move to the center of the infobox. Now If I open the infobox it looks like this: I want to achieve
Do you have any idea how I can achieve this by clicking on the marker?
Thank you.

Hello, I am sure there are better ways than this but have you tried playing with the CSS? There probably is a simple JS method that will do this haha

No, I haven’t tried JS. What do you suggest in JS or CSS?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.