Instance Property

showsTraffic

A Boolean value indicating whether the map displays traffic information.

Declaration

@property(nonatomic) BOOL showsTraffic;

Discussion

The mapType property must be set to MKMapTypeStandard or MKMapTypeHybrid for traffic information to be shown. The default value of this property is NO.

See Also

Configuring the Map’s Appearance

camera

The camera used for determining the appearance of the map.

setCamera:animated:

Changes the camera used for determining the map’s viewing parameters and optionally animates the change.

showsPointsOfInterest

A Boolean indicating whether the map displays point-of-interest information.

showsBuildings

A Boolean indicating whether the map displays extruded building information.

showsCompass

A Boolean indicating whether the map displays a compass control.

showsZoomControls

A Boolean indicating whether the map displays zoom controls.

showsScale

A Boolean indicating whether the map shows scale information.