Initializer

init(mapView:)

Creates a scale view and associates it with the specified map view.

Declaration

convenience init(mapView: MKMapView?)

Parameters

mapView

The map to associate with the scale view. The scale view automatically updates to reflect the scale of this map.

Return Value

An initialized scale view.