From 060cd797840fe969f702afe76b1f758050bbef82 Mon Sep 17 00:00:00 2001 From: Alessio Arsuffi Date: Wed, 10 Jan 2018 15:36:50 +0100 Subject: [PATCH] Fix default values Fix default values --- Sources/Models/LocationMessageSnapshotOptions.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/Models/LocationMessageSnapshotOptions.swift b/Sources/Models/LocationMessageSnapshotOptions.swift index 300019ec..ef844240 100644 --- a/Sources/Models/LocationMessageSnapshotOptions.swift +++ b/Sources/Models/LocationMessageSnapshotOptions.swift @@ -44,21 +44,21 @@ public struct LocationMessageSnapshotOptions { /// A Boolean value indicating whether the snapshot image should display buildings. /// /// The default value of this property is `false`. - public var showsBuildings = false + public var showsBuildings: Bool /// A Boolean value indicating whether the snapshot image should display points of interest. /// /// The default value of this property is `false`. - public var showsPointsOfInterest = false + public var showsPointsOfInterest: Bool /// The span of the snapshot. /// /// The default value of this property uses a width of `0` and height of `0`. - public var span: MKCoordinateSpan = MKCoordinateSpan(latitudeDelta: 0, longitudeDelta: 0) + public var span: MKCoordinateSpan /// The scale of the snapshot. /// /// The default value of this property uses the `UIScreen.main.scale`. - public var scale: CGFloat = UIScreen.main.scale + public var scale: CGFloat }