Contents

init(position:bounds:interactionModes:selection:scope:)

Creates a new map with the initial camera position, bounds, interaction modes, scope, and content you provide.

Declaration

@MainActor @preconcurrency init(position: Binding<MapCameraPosition>, bounds: MapCameraBounds? = nil, interactionModes: MapInteractionModes = .all, selection: Binding<MapFeature?>, scope: Namespace.ID? = nil) where Content == MapContentView<MapFeature, EmptyMapContent>

Parameters

See Also

Creating a map