Public Member Functions | Properties

<BMMarker> Protocol Reference

The BMMarker protocol models data which can be used to add markers to the map. More...

#import <BMMarker.h>

Inheritance diagram for <BMMarker>:
BMEntity BMUserLocation

List of all members.

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.

Detailed Description

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.


Member Function Documentation

- (NSString*) subtitle [optional]

Returns the marker's subtitle.

Returns:
String containing the subtitle.

Reimplemented in BMEntity.

- (NSString*) title [optional]

Returns the marker's title.

Returns:
String containing the title.

Reimplemented in BMEntity.


Property Documentation

- (CLLocationCoordinate2D) coordinate [read, required, assign]

Latitude and longitude of the marker.


The documentation for this protocol was generated from the following file: