How to center a map whit markers

You only need to create a global variable called “Centro” “(Center)”, and to be able to center you need to have two Arrays, one for latitudes and the other for longitudes of your markers, the rest does the function.

blocks%20(1)

The zoom you must ned to search what’s the best for your Situation.

2 Likes