How to set mapView's zoom to your desired value?

I need to know how to set mapView’s zoom. I haven’t found answers yet =(.

You can do this by calling the mapView:setRegion() function.

   http://docs.coronalabs.com/daily/api/type/Map/setRegion.html

Sample project “Interface/MapView” that is included with the Corona Simulator shows you how to use this function within its “main.lua” file.

You can do this by calling the mapView:setRegion() function.

   http://docs.coronalabs.com/daily/api/type/Map/setRegion.html

Sample project “Interface/MapView” that is included with the Corona Simulator shows you how to use this function within its “main.lua” file.