I make one simple example using Google Apps Script and google maps .
The problem if I add many locations : for example one in Europe and another in USA the google static maps show me all the world.
So I need to make a zoom features to deal with this issue . Thank you . Regards.
Use the StaticMap.setZoom()
method to set the appropriate zoom level on your map