https://www.mapquestapi.com/staticmap/v5/map?key=KEY&boundingBox=38.915,-77.072,38.876,-77.001&size=1100,500@2x
In some cases, when doing a boundingBox
, changing the margin
parameter can adjust the zoom level accordingly when you are out of the bounds of the map.
Below is an example where the margin
parameter is 200 instead of the default
value of 50.
https://www.mapquestapi.com/staticmap/v5/map?key=KEY&boundingBox=38.915,-77.072,38.876,-77.001&margin=200&size=1100,500@2x