Hello, I'm trying to access OSM through my application. Here is an example of a request I'm sending: http://pafciu17.dev.openstreetmap.org/?module=map&bbox=-111.97021484375,33.46292927417002,-111.82470703125,33.37333569698748&width=596.0&height=366.0&imgType=jpeg If you notice, the bounding box that is in the request is smaller than the image that is being returned. I'm not quite sure why this is happening? Is it a pixel issue? I'm trying to get away with using an api that does not require a zoom to be specified, that is why I went with the above api. Thank you for any help, I appreciate any help asked 01 Feb '13, 19:04 meburris |
That would be this API, so be aware that your application is likely to get blocked if it places undue load on the servers as per the warning. From the links on that page it also looks like it is no longer maintained, and the images it produces seem to have an out of date attribution. It might be worth following the recommendation on the Static Maps API page and trying staticMapLite instead? answered 01 Feb '13, 19:44 EdLoach ♦ ok thank you, I will look into that. I was trying to get away with using an api that didn't require a "zoom" or "scale" parameter because we use Pixels per degree and I thought it would be difficult.
(01 Feb '13, 19:47)
meburris
|