---
title: "buildBlock(_:)"
framework: mapkit
role: symbol
role_heading: Type Method
path: "mapkit/mapcontentbuilder/buildblock(_:)-5ewn9"
---

# buildBlock(_:)

Creates a map content block that contains a single content result.

## Declaration

```swift
static func buildBlock<C>(_ content: C) -> C where C : MapContent
```

## Parameters

- `content`: The view content to add to the block.

## Return Value

Return Value Returns the MapContent with the single element you provided.

## See Also

### Map content builders

- [buildBlock()](mapkit/mapcontentbuilder/buildblock().md)
