I'm trying to generate a map by providing a strict boundingbox. In order to get the size correct, I calculate the distance in both directions between min and max, and translate those to a pixel size between 170 and 1920. This al works great.
However, it seems that Mapquest adds an extra margin to the image's boundingbox. The size of this margin is not static, but it changes between different map sizes and ratio's. To visualize this, I also place 2 markers on both the upper left corner and lower right corner : https://www.mapquestapi.com/staticmap/v5/map?key=KEY&boundingBox=33.45222000000002,-112.07819,33.44505,-112.07461000000131&locations=33.44505,-112.07461000000131||33.45222000000002,-112.07819&size=499,1198&margin=0
Is there a way to generate a map without this offset? I need precise imagery.