o Small changes to one example
Showing
1 changed file
with
2 additions
and
4 deletions
@@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
30 | 30 | ||
31 | - (void)addMarkers | 31 | - (void)addMarkers |
32 | { | 32 | { |
33 | -#define kNumberRows 3 | 33 | +#define kNumberRows 1 |
34 | #define kNumberColumns 9 | 34 | #define kNumberColumns 9 |
35 | #define kSpacing 0.1 | 35 | #define kSpacing 0.1 |
36 | 36 | ||
@@ -74,8 +74,6 @@ | @@ -74,8 +74,6 @@ | ||
74 | { | 74 | { |
75 | [super viewDidLoad]; | 75 | [super viewDidLoad]; |
76 | [mapView setDelegate:self]; | 76 | [mapView setDelegate:self]; |
77 | - mapView.enableClustering = YES; | ||
78 | - mapView.positionClusterMarkersAtTheGravityCenter = NO; | ||
79 | mapView.tileSource = [[[RMOpenStreetMapSource alloc] init] autorelease]; | 77 | mapView.tileSource = [[[RMOpenStreetMapSource alloc] init] autorelease]; |
80 | 78 | ||
81 | center.latitude = 47.5635; | 79 | center.latitude = 47.5635; |
@@ -83,7 +81,7 @@ | @@ -83,7 +81,7 @@ | ||
83 | 81 | ||
84 | // [mapView zoomWithLatitudeLongitudeBoundsSouthWest:CLLocationCoordinate2DMake(47.5, 10.15) northEast:CLLocationCoordinate2DMake(47.6, 10.25) animated:NO]; | 82 | // [mapView zoomWithLatitudeLongitudeBoundsSouthWest:CLLocationCoordinate2DMake(47.5, 10.15) northEast:CLLocationCoordinate2DMake(47.6, 10.25) animated:NO]; |
85 | 83 | ||
86 | - [mapView setZoom:8.0]; | 84 | + [mapView setZoom:10.0]; |
87 | [mapView setCenterCoordinate:center animated:NO]; | 85 | [mapView setCenterCoordinate:center animated:NO]; |
88 | 86 | ||
89 | [self updateInfo]; | 87 | [self updateInfo]; |
-
Please register or login to post a comment