I'm trying to draw my own path on a static map downloaded via Static Map API.
The map is downloaded rightly and I'm able to show it on my application, but I have some trouble to choose the right proportions for place my path over the image because the margins and the scale are different for each map I download. Which is the best way to do what I want? There is a way to know the exact longitude/latitude range of the downloaded image.
I attach a couple of image where the blue rectangle show the requested area for the obtained image and the track (in fucsia) don't overlap the street.