---
title: "mapViewWillStartLoadingMap(_:)"
framework: mapkit
role: symbol
role_heading: Instance Method
path: "mapkit/mkmapviewdelegate/mapviewwillstartloadingmap(_:)"
---

# mapViewWillStartLoadingMap(_:)

Tells the delegate that the specified map view is about to retrieve some map data.

## Declaration

```swift
optional func mapViewWillStartLoadingMap(_ mapView: MKMapView)
```

## Parameters

- `mapView`: The map view that begins loading the data.

## Discussion

Discussion The map view calls this method whenever it needs to download a new group of map tiles from the server. This typically occurs whenever you expose portions of the map by panning or zooming the content. You can use this method to mark the time that it takes for the map view to load the data.

## See Also

### Loading the map data

- [mapViewDidFinishLoadingMap(_:)](mapkit/mkmapviewdelegate/mapviewdidfinishloadingmap(_:).md)
- [mapViewDidFailLoadingMap(_:withError:)](mapkit/mkmapviewdelegate/mapviewdidfailloadingmap(_:witherror:).md)
- [mapViewWillStartRenderingMap(_:)](mapkit/mkmapviewdelegate/mapviewwillstartrenderingmap(_:).md)
- [mapViewDidFinishRenderingMap(_:fullyRendered:)](mapkit/mkmapviewdelegate/mapviewdidfinishrenderingmap(_:fullyrendered:).md)
