Centre Google Map on dynamic data coordinates

I have a business details page on which i have placed a google map based on lat/lng which is stored in the database record for the business.
This means the map has only 1 marker
How can i centre the map on the marker position as the google maps option in wappler only allows for a static centre to be input?
Leaving the centre position out simply paces the map at 0,0
I really want to centre map on the marker showing the streets around it by default.

Hello,
Just select the map, click dynamic attributes > google maps > and add either the address or the lat/lon coordinates.

1 Like

Thanks Teodor, i assumed that was to set the marker position rather than the centre. Working fine now thanks

1 Like

Yes, it might be a little confusing. I will check if we can rename these options in the next update to be more clear.

1 Like

Thanks. May be a good idea.