VirtualEarth has no zoom 0 that I can find. In investigating this, I learned th…
…at we never care about the fact that certain tilesets can have a min or max zoom. This is being set so we eventually fix this
Showing
2 changed files
with
6 additions
and
1 deletions
@@ -56,6 +56,11 @@ | @@ -56,6 +56,11 @@ | ||
56 | return quadKey; | 56 | return quadKey; |
57 | } | 57 | } |
58 | 58 | ||
59 | +-(float) minZoom | ||
60 | +{ | ||
61 | + return 1; | ||
62 | +} | ||
63 | + | ||
59 | -(NSString*) urlForQuadKey: (NSString*) quadKey | 64 | -(NSString*) urlForQuadKey: (NSString*) quadKey |
60 | { | 65 | { |
61 | NSString *mapType = @"r"; //type road | 66 | NSString *mapType = @"r"; //type road |
@@ -25,7 +25,7 @@ | @@ -25,7 +25,7 @@ | ||
25 | 25 | ||
26 | [window addSubview:[rootViewController view]]; | 26 | [window addSubview:[rootViewController view]]; |
27 | [window makeKeyAndVisible]; | 27 | [window makeKeyAndVisible]; |
28 | - | 28 | + [[NSURLCache sharedURLCache] removeAllCachedResponses]; |
29 | [self performSelector:@selector(performTest) withObject:nil afterDelay:1.0]; | 29 | [self performSelector:@selector(performTest) withObject:nil afterDelay:1.0]; |
30 | } | 30 | } |
31 | 31 |
-
Please register or login to post a comment