BMPushpinView is a concrete implementation of BMMarkerView. More...
Public Member Functions | |
(id) | - initWithMarker:reuseIdentifier: [implementation] |
Returns a BMMarker object. | |
(void) | - setSelected:animated: [implementation] |
Sets the selection state of the marker view. You should not call this method directly. An BMMapView object calls this method in response to user interactions with the marker. | |
Properties | |
BMPushpinColor | pinColor |
The color of the pushpin. | |
BOOL | animatesDrop |
Indicates whether to display an animation when pushpins are added to the map. |
BMPushpinView is a concrete implementation of BMMarkerView.
BMPushpinView provides pushpins which can be placed on the map, giving control over pushpin appearance and behaviour.
Pushpins are available in the following colors: BMPushpinColorOrange --> Orange BMPushpinColorGreen --> Green BMPushpinColorRed --> Red BMPushpinColorBlue --> Blue BMPushpinColorYellow --> Yellow BMPushpinColorPurple --> Purple
- (id) initWithMarker: | (id <BMMarker>) | marker | |
reuseIdentifier: | (NSString *) | reuseIdentifier | |
[implementation] |
Returns a BMMarker object.
marker | The marker to use to initialize the view. |
reuseIdentifier | The identifier to reuse the view when being recycled. |
Reimplemented from BMMarkerView.
- (void) setSelected: | (BOOL) | selected | |
animated: | (BOOL) | animated | |
[implementation] |
Sets the selection state of the marker view. You should not call this method directly. An BMMapView object calls this method in response to user interactions with the marker.
selected | Indicates whether the view should display itself as selected. |
animated | Indicates if a change in selection state is animated. |
Reimplemented from BMMarkerView.
- (BOOL) animatesDrop [read, write, assign] |
Indicates whether to display an animation when pushpins are added to the map.
- (BMPushpinColor) pinColor [read, write, assign] |
The color of the pushpin.
For pinColor values, see BMPushpinColor.