|
@@ -38,10 +38,10 @@ |
|
@@ -38,10 +38,10 @@ |
38
|
#import "RMQuadTree.h"
|
38
|
#import "RMQuadTree.h"
|
39
|
|
39
|
|
40
|
#import "RMFractalTileProjection.h"
|
40
|
#import "RMFractalTileProjection.h"
|
41
|
-#import "RMOpenStreetMapSource.h"
|
|
|
42
|
|
41
|
|
43
|
#import "RMTileCache.h"
|
42
|
#import "RMTileCache.h"
|
44
|
#import "RMTileSource.h"
|
43
|
#import "RMTileSource.h"
|
|
|
44
|
+#import "RMMapBoxSource.h"
|
45
|
|
45
|
|
46
|
#import "RMMapTiledLayerView.h"
|
46
|
#import "RMMapTiledLayerView.h"
|
47
|
#import "RMMapOverlayView.h"
|
47
|
#import "RMMapOverlayView.h"
|
|
@@ -321,7 +321,7 @@ |
|
@@ -321,7 +321,7 @@ |
321
|
coordinate.latitude = kDefaultInitialLatitude;
|
321
|
coordinate.latitude = kDefaultInitialLatitude;
|
322
|
coordinate.longitude = kDefaultInitialLongitude;
|
322
|
coordinate.longitude = kDefaultInitialLongitude;
|
323
|
|
323
|
|
324
|
- [self performInitializationWithTilesource:[[RMOpenStreetMapSource new] autorelease]
|
324
|
+ [self performInitializationWithTilesource:[[RMMapBoxSource new] autorelease]
|
325
|
centerCoordinate:coordinate
|
325
|
centerCoordinate:coordinate
|
326
|
zoomLevel:kDefaultInitialZoomLevel
|
326
|
zoomLevel:kDefaultInitialZoomLevel
|
327
|
maxZoomLevel:kDefaultMaximumZoomLevel
|
327
|
maxZoomLevel:kDefaultMaximumZoomLevel
|
|
@@ -333,7 +333,7 @@ |
|
@@ -333,7 +333,7 @@ |
333
|
|
333
|
|
334
|
- (id)initWithFrame:(CGRect)frame
|
334
|
- (id)initWithFrame:(CGRect)frame
|
335
|
{
|
335
|
{
|
336
|
- return [self initWithFrame:frame andTilesource:[[RMOpenStreetMapSource new] autorelease]];
|
336
|
+ return [self initWithFrame:frame andTilesource:[[RMMapBoxSource new] autorelease]];
|
337
|
}
|
337
|
}
|
338
|
|
338
|
|
339
|
- (id)initWithFrame:(CGRect)frame andTilesource:(id <RMTileSource>)newTilesource
|
339
|
- (id)initWithFrame:(CGRect)frame andTilesource:(id <RMTileSource>)newTilesource
|