Skip to content

Commit

Permalink
added initializer fro size in meters
Browse files Browse the repository at this point in the history
  • Loading branch information
Asheshp23 committed Nov 7, 2022
1 parent 580575d commit d7bca07
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/GeoJSONSwiftHelper/MapHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,9 @@ public struct MapCorners {
public struct SizeInMeters {
public let width: CLLocationDistance
public let height: CLLocationDistance

public init(width: CLLocationDistance, height: CLLocationDistance) {
self.width = width
self.height = height
}
}

0 comments on commit d7bca07

Please sign in to comment.