Authored by Obrand69

As RMMarkerManager was not in the target, I added a method to overcome an import…

… that could not been resolved. As Joseph has fixed it, I have removed the unnecessary method.
... ... @@ -124,7 +124,6 @@ enum {
- (void)zoomWithLatLngBoundsNorthEast:(CLLocationCoordinate2D)ne SouthWest:(CLLocationCoordinate2D)se;
- (void)zoomWithRMMercatorRectBounds:(RMXYRect)bounds;
- (RMXYPoint)latLongToPoint:(RMLatLong)aLatLong;
- (CLLocationCoordinate2DBounds) getScreenCoordinateBounds;
... ...
... ... @@ -561,11 +561,6 @@ static BOOL _performExpensiveOperations = YES;
// Move overlays stuff here - at the moment overlay stuff is above...
- (RMXYPoint)latLongToPoint:(RMLatLong)aLatLong
{
return [projection latLongToPoint:aLatLong];
}
- (CLLocationCoordinate2DBounds) getScreenCoordinateBounds
{
CLLocationCoordinate2DBounds bounds;
... ...
... ... @@ -8,6 +8,7 @@
#import "RMMarkerManager.h"
#import "RMMercatorToScreenProjection.h"
#import "RMProjection.h"
@implementation RMMarkerManager
... ... @@ -30,7 +31,7 @@
- (void) addMarker: (RMMarker*)marker AtLatLong:(CLLocationCoordinate2D)point
{
[marker setLocation:[contents latLongToPoint:point]];
[marker setLocation:[[contents projection]latLongToPoint:point]];
[self addMarker: marker];
}
... ...