One Logo Pool Ball
_MapKit_SwiftUI · IOS API REFERENCE

Marker

struct · iOS 17.0+ · SDK 27.1

@MainActor @preconcurrency struct Marker<Label> where Label : View

A balloon-shaped annotation that marks a map location. Create instances of ``Marker`` in the closure you provide to the `content` parameter in ``MapView`` initializers.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

10 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

Marker.init(coordinate:label:)

callback cannot propagate synchronous failure

Marker.init(_:monogram:coordinate:)

The iOS SDK compiler rejected this binding: initializer 'init(_:monogram:coordinate:)' requires the types 'AnyView' and 'Label<Text, Text>' be equivalent

Marker.init(_:monogram:coordinate:)

The iOS SDK compiler rejected this binding: initializer 'init(_:monogram:coordinate:)' requires the types 'AnyView' and 'Label<Text, Text>' be equivalent

Marker.init(_:monogram:coordinate:)

The iOS SDK compiler rejected this binding: initializer 'init(_:monogram:coordinate:)' requires the types 'AnyView' and 'Label<Text, Text>' be equivalent

Marker.init(_:systemImage:coordinate:)

The iOS SDK compiler rejected this binding: initializer 'init(_:systemImage:coordinate:)' requires the types 'AnyView' and 'Label<Text, Image>' be equivalent

Marker.init(_:systemImage:coordinate:)

The iOS SDK compiler rejected this binding: initializer 'init(_:systemImage:coordinate:)' requires the types 'AnyView' and 'Label<Text, Image>' be equivalent

Marker.init(_:systemImage:coordinate:)

The iOS SDK compiler rejected this binding: initializer 'init(_:systemImage:coordinate:)' requires the types 'AnyView' and 'Label<Text, Image>' be equivalent

Marker.init(_:image:coordinate:)

The iOS SDK compiler rejected this binding: initializer 'init(_:image:coordinate:)' requires the types 'AnyView' and 'Label<Text, Image>' be equivalent

Marker.init(_:image:coordinate:)

The iOS SDK compiler rejected this binding: initializer 'init(_:image:coordinate:)' requires the types 'AnyView' and 'Label<Text, Image>' be equivalent

Marker.init(_:image:coordinate:)

The iOS SDK compiler rejected this binding: initializer 'init(_:image:coordinate:)' requires the types 'AnyView' and 'Label<Text, Image>' be equivalent

All _MapKit_SwiftUI types →