I’m creating marker dynamically (as a variable) and have it assigned to the map. I want the map to be centered to the marker’s position once the market is changed.
How can I achieve that?
Hey @pitt2k
Which map are you using? Mapbox?
Google map. I found the solution. The map Inital values must be set to the values from the marker. That’s it!
Great, congrats!