<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MapStyle/standard(elevation:emphasis:pointsOfInterest:showsTraffic:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "MapKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:15_MapKit_SwiftUI0A5StyleV8standard9elevation8emphasis16pointsOfInterest12showsTrafficA2C9ElevationV_AC16StandardEmphasisVAA05PointjK10CategoriesVSbtFZ"
  },
  "title" : "standard(elevation:emphasis:pointsOfInterest:showsTraffic:)"
}
-->

# standard(elevation:emphasis:pointsOfInterest:showsTraffic:)

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

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

## Parameters

`elevation`

One of the [`MapStyle.Elevation`](/documentation/MapKit/MapStyle/Elevation) values that determines whether the framework renders map elevation.

`emphasis`

One of the [`MapStyle.StandardEmphasis`](/documentation/MapKit/MapStyle/StandardEmphasis) values that controls how the framework emphasizes map features.

`pointsOfInterest`

A collection of [`PointOfInterestCategories`](/documentation/MapKit/PointOfInterestCategories) displayed on the map.

`showsTraffic`

A Boolean value that indicates whether the map displays traffic.

## Return Value

A [`MapStyle`](/documentation/MapKit/MapStyle) with the configuration you specified.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)