Skip to content

Commit

Permalink
Included polystring to coordinate decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhawak committed Mar 22, 2021
1 parent 9b8c1a5 commit c28245a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BaatoSwift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Pod::Spec.new do |spec|

spec.name = "BaatoSwift"
spec.version = "0.1.9"
spec.version = "0.2.1"
spec.summary = "This framework help to consume baato api."
spec.description = <<-DESC
Baato Swift is a framework developed for consuming the baato api efficiently.
Expand Down
4 changes: 2 additions & 2 deletions BaatoSwift/Model/Route Modals/GHDecoder.swift
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import CoreLocation

internal final class DecoderPoly {
public class DecoderPoly {
/**
Special handling for the decoding of the encoded points string.
- paramter encoded: The encoded string of points.
- paramter is3D: Specifies if the points in the encoded string also contains elevation.
*/
class func decodePoints(_ encoded: String, is3D: Bool = false) -> [CLLocationCoordinate2D] {
public class func decodePoints(_ encoded: String, is3D: Bool = false) -> [CLLocationCoordinate2D] {
var points = [CLLocationCoordinate2D]()
let enc = encoded.unicodeScalars
let len = enc.count
Expand Down

0 comments on commit c28245a

Please sign in to comment.