Contents

buildBlock(_:)

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

Declaration

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

Parameters

  • content:

    The view content to add to the block.

Return Value

Returns the MapContent with the single element you provided.

See Also

Map content builders