Contents

standard(elevation:emphasis:pointsOfInterest:showsTraffic:)

Creates a standard map style that includes the elevation, point of interest, and traffic characteristics you specify.

Declaration

static func standard(elevation: MapStyle.Elevation = .automatic, emphasis: MapStyle.StandardEmphasis = .automatic, pointsOfInterest: PointOfInterestCategories = .all, showsTraffic: Bool = false) -> MapStyle

Parameters

  • elevation:

    One of the Elevation values that determines whether the framework renders map elevation.

  • emphasis:

    One of the Standardemphasis values that controls how the framework emphasizes map features.

  • pointsOfInterest:

    A collection of Pointofinterestcategories displayed on the map.

  • showsTraffic:

    A Boolean value that indicates whether the map displays traffic.

Return Value

A MapStyle with the configuration you specified.

See Also

Creating map styles