given a central latitude and longitude and also a zoom say 12, how can i get the max/min values for both lat and lon? basically, how can i get the bounds?? asked 15 Mar '12, 21:35 bernabasd |
There's a wiki page that explains this with lots of examples in different programming languages: http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames answered 15 Mar '12, 22:10 Frederik Ramm ♦ |
If you're using an existing Javascript library to display map tiles, then it may already contain functions that save you a bit of work, such as these in Leaflet. answered 16 Mar '12, 10:48 SomeoneElse ♦ |