---
title: MapZoomStepper
framework: mapkit
role: symbol
role_heading: Structure
path: mapkit/mapzoomstepper
---

# MapZoomStepper

Buttons a person uses to adjust the zoom level of the map.

## Declaration

```swift
@MainActor @preconcurrency struct MapZoomStepper
```

## Overview

Overview You typically use MapZoomStepper with Map as a stand alone view, as shown in the following example:     struct ZoomStepperTestView: View {         @Namespace var mapScope         var body: some View {             VStack {                 Map(scope: mapScope)                 MapZoomStepper(scope: mapScope)             }             .mapScope(mapScope)         }     } You can also use a MapZoomStepper in conjunction with the Map/mapControls(_:) modifier, as show in here:     Map()         .mapControls {             MapZoomStepper()         }

## Topics

### Creating a zoom stepper

- [init(scope:)](mapkit/mapzoomstepper/init(scope:).md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [View](swiftui/view.md)

## See Also

### Map controls

- [MapCompass](mapkit/mapcompass.md)
- [MapLocationCompass](mapkit/maplocationcompass.md)
- [MapPitchSlider](mapkit/mappitchslider.md)
- [MapPitchToggle](mapkit/mappitchtoggle.md)
- [MapScaleView](mapkit/mapscaleview.md)
- [MapUserLocationButton](mapkit/mapuserlocationbutton.md)
