Public Member Functions | Properties

BMPushpinView Class Reference

BMPushpinView is a concrete implementation of BMMarkerView. More...

Inheritance diagram for BMPushpinView:
BMMarkerView

List of all members.

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.

Detailed Description

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


Member Function Documentation

- (id) initWithMarker: (id <BMMarker>)  marker
reuseIdentifier: (NSString *)  reuseIdentifier 
[implementation]

Returns a BMMarker object.

Parameters:
markerThe marker to use to initialize the view.
reuseIdentifierThe identifier to reuse the view when being recycled.
Returns:
Returns an instance of the marker view.

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.

Parameters:
selectedIndicates whether the view should display itself as selected.
animatedIndicates if a change in selection state is animated.

Reimplemented from BMMarkerView.


Property Documentation

- (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.


The documentation for this class was generated from the following files: