Polyline
Polyline copied to clipboard
Polyline encoder / decoder in swift
I have found that a polyline with 1e7 precision will often fail to decode. After some investigation I think the cause is [here](https://github.com/raphaelmor/Polyline/blob/master/Sources/Polyline/Polyline.swift#L322): ``` if (componentCounter == 6) && ((currentChar...
Decoding a zero-length polyline consisting of two coincident endpoints returns an array of only one `CLLocationCoordinate2D`, which would be a malformed line string: ```swift decodePolyline("s{byuArigzhF", precision: 1e6) ``` ``` ▿...
If I enter the encode polyline below into https://developers.google.com/maps/documentation/utilities/polylineutility it decodes it just fine. ojteGtmswOWiLCyJBcc@AmKGkKz@cKCkKKiKdBkIpGsBzGoA~GiA~GeA`H}@bc@qF|GiAhYsIrGaCzi@oTxGuA`HO|Gx@fG~CpCzB-PB@@?DC@DIB?C?AAFC@CGCEBP But I am unable to get it to decode with this.
Please help where to update in this library to make it work with GMSPolyline
I've found that if I include the Polyline library in my iOS project as a framework (built using Carthage), exporting an IPA through Xcode Organizer fails if "Rebuild from Bitcode"...