---
title: "init(_:image:coordinate:)"
framework: mapkit
role: symbol
role_heading: Initializer
path: "mapkit/marker/init(_:image:coordinate:)-1q3pz"
---

# init(_:image:coordinate:)

Creates a marker at the given location with an image displayed as the balloon’s icon.

## Declaration

```swift
@MainActor @preconcurrency init(_ titleResource: LocalizedStringResource, image: String, coordinate: CLLocationCoordinate2D) where Label == Label<Text, Image>
```

## Parameters

- `titleResource`: The localized string for the title.
- `image`: The name of the image resource to look up and use as the marker balloon’s glyph.
- `coordinate`: The coordinate to display the marker at.
