MapContentBuilder
A result builder that creates map content from closures you provide.
Declaration
@resultBuilder struct MapContentBuilderOverview
The buildBlock(_:) methods in this type create MapContent instances based on the number and types of sources you provide as parameters.
You don’t use this type directly. Instead, SwiftUI annotates the content parameter of the various MapView initializers with the @MapContentBuilder annotation, implicitly calling this builder for you.