RMMarkerManager.h
898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// RMMarkerManager.h
// MapView
//
// Created by olivier on 11/5/08.
// Copyright 2008 NA. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "RMMapContents.h"
#import "RMMarker.h"
@class RMProjection;
@interface RMMarkerManager : NSObject {
RMMapContents *contents;
}
@property (assign, readwrite) RMMapContents *contents;
- (id)initWithContents:(RMMapContents *)mapContents;
- (void) addMarker: (RMMarker*)marker;
- (void) addMarker: (RMMarker*)marker AtLatLong:(CLLocationCoordinate2D)point;
- (void) addDefaultMarkerAt: (CLLocationCoordinate2D)point;
- (void) removeMarkers;
- (NSArray *)getMarkers;
- (void) removeMarker:(RMMarker *)marker;
- (CGPoint) getMarkerScreenCoordinate: (RMMarker *)marker;
- (CLLocationCoordinate2D) getMarkerCoordinate2D: (RMMarker *) marker;
- (NSArray *) getMarkersForScreenBounds;
- (void) hideAllMarkers;
- (void) unhideAllMarkers;
@end