Skip to content

Commit

Permalink
make latitude and longitude properties public
Browse files Browse the repository at this point in the history
  • Loading branch information
petrpavlik committed Feb 23, 2018
1 parent 06fa7a8 commit 599673c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/GeoSwift.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public enum GeoCoordinate2DError: Error {

/// Represents a valid location coordinate. Initializer throws `GeoCoordinate2DError` error in case of an attempt to create an instance with invalid coordinates.
public struct GeoCoordinate2D {
let latitude: Double
let longitude: Double
public let latitude: Double
public let longitude: Double

public init(latitude: Double, longitude: Double) throws {

Expand Down

0 comments on commit 599673c

Please sign in to comment.