hybrid(elevation:pointsOfInterest:showsTraffic:)
Creates a hybrid map style that includes the elevation, point of interest, and traffic characteristics you specify.
Declaration
static func hybrid(elevation: MapStyle.Elevation = .automatic, pointsOfInterest: PointOfInterestCategories = .all, showsTraffic: Bool = false) -> MapStyleParameters
- elevation:
One of the Elevation values that determines whether the map renders elevation.
- pointsOfInterest:
A collection of Pointofinterestcategories that the map displays.
- showsTraffic:
A Boolean value that indicates whether the map displays traffic.
Return Value
A MapStyle with the configuration you specified.