---
title: "init(coordinate:tint:)"
framework: mapkit
role: symbol
role_heading: Initializer
path: "mapkit/mappin/init(coordinate:tint:)"
---

# init(coordinate:tint:)

Creates a map pin at the map location that you specify.

## Declaration

```swift
init(coordinate: CLLocationCoordinate2D, tint: Color? = nil)
```

## Parameters

- `coordinate`: The location of the specified pin.
- `tint`: The color of the pin.
