The BMMarker protocol models data which can be used to add markers to the map. More...
#import <BMMarker.h>
Public Member Functions | |
| (NSString *) | - title |
| Returns the marker's title. | |
| (NSString *) | - subtitle |
| Returns the marker's subtitle. | |
Properties | |
| CLLocationCoordinate2D | coordinate |
| Latitude and longitude of the marker. | |
The BMMarker protocol models data which can be used to add markers to the map.
The marker protocol is implemented in an object that can be represented as a marker on a map view. This protocol does not specify the marker pin itself, as this can be done with a custom BMMarkerView. The coordinate property is required, however the title and subtitle of the callout are optional.
| - (NSString*) subtitle | [optional] |
| - (NSString*) title | [optional] |
- (CLLocationCoordinate2D) coordinate [read, required, assign] |
Latitude and longitude of the marker.
1.7.2