<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKScaleView",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MKScaleView"
  },
  "title" : "MKScaleView"
}
-->

# MKScaleView

A specialized view that displays the scale information for its associated map.

```
class MKScaleView
```

## Overview

Use this class when you want to incorporate a standard scale view into your own view hierarchy. A scale view displays a legend with distance information for its associated map view. As the map region changes, the scale view updates automatically to reflect any changes in scale.

## Topics

### Creating a scale view

[`init(mapView:)`](/documentation/MapKit/MKScaleView/init(mapView:))

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

### Getting the scale view attributes

[`mapView`](/documentation/MapKit/MKScaleView/mapView)

The map view that provides the scale information to the scale view.

[`scaleVisibility`](/documentation/MapKit/MKScaleView/scaleVisibility)

The visibility of the scale view.

[`legendAlignment`](/documentation/MapKit/MKScaleView/legendAlignment)

The alignment of the distance information in the scale view.

[`MKScaleView.Alignment`](/documentation/MapKit/MKScaleView/Alignment)

Constants that indicate how the framework should align measurements.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)