Max/min latitude of map tile map

I'm trying to build a map based on a center point lat/long, the map will always be a fixed size say 1024 by 1024. The user can chance the center point and zoom.

If I populate the map with map tiles from map quest for example, is there someway I can know the max/min latitudes of the map currently being displayed based on the map tiles?

I want to know this so I can accurately project things onto the map.

Thanks

Answers


The OSM Wiki has a description of the Slippy map tilenames which also covers lon/lat-to-tilenames and tilenames-to-lon/lat.


Need Your Help

C++ How to create two seperate objects that display random numbers 10 times?

c++ class random numbers generator

The program I am trying to write is to create two objects to display random numbers between 1000-9000 and 100-900 respectively.

ApplicationPoolIdentity permissions and UserPrincipal

asp.net iis-7 application-pool directoryservices

I've been receiving a COM Exception when performing an AD Search in an ASP.NET 4.0: An operations error occurred (0x80072020)

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.