Skip to content

Commit

Permalink
Add missing doc and fix extra return (#2261)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksproger committed Aug 13, 2024
1 parent 0050af8 commit bc3b5ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/MapboxMaps/Foundation/CameraOptions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public struct CameraOptions: Codable, Hashable {
- Parameter zoom: The zoom level of the map.
- Parameter bearing: The bearing of the map, measured in degrees clockwise from true north.
- Parameter pitch: Pitch toward the horizon measured in degrees, with 0 degrees resulting in a top-down view for a two-dimensional map.
- Returns: A `CameraOptions` that contains all configuration information the map will use to determine which part of the map to render.
*/
public init(center: CLLocationCoordinate2D? = nil,
padding: UIEdgeInsets? = nil,
Expand Down
2 changes: 2 additions & 0 deletions Sources/MapboxMaps/Style/MapStyle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ public struct MapStyle: Equatable {
/// - showTransitLabels: Shows or hides all transit icons and text. Default value is `true`.
/// - showPlaceLabels: Shows and hides place label layers, such as house numbers. Default value is `true`.
/// - showRoadLabels: Shows and hides all road labels, including road shields. Default value is `true`.
/// - showRoadsAndTransit: Show and hide all roads and transits. Default values is `true`.
/// - showPedestrianRoads: Show and hide pedestrian roads. Default value is `true`.
public static func standardSatellite(
lightPreset: StandardLightPreset? = nil,
font: String? = nil,
Expand Down

0 comments on commit bc3b5ba

Please sign in to comment.