yy20111011659 / route-me

Automatically exported from code.google.com/p/route-me
0 stars 0 forks source link

RMMapContents -zoomWithLatLngBoundsNorthEast:SouthWest: crashes on bad zoom levels #143

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Pass values that would cause a very zoomed-in map (example: a single point).
2. Use a tile set with a max zoom level of 10.
3. Map tries to zoom to 16. 
4. Crash.

What is the expected output? What do you see instead?

Expecting no crash. Would expect to instead zoom to the tile set's 
highest-numbered zoom level to avoid crash.

What subversion release are you using? Does the behavior occur on the
simulator, a real iPhone/iPod Touch, or both?

Occurs everywhere. Using r628. 

Original issue reported on code.google.com by codesorc...@gmail.com on 12 Jul 2010 at 9:23