Array
extension Array where Element == LatLngAltitude-
Returns an encoded path string from the array of LatLngAltitude using the C++ implementation.
Declaration
Swift
func encodedPath(dimensions: PathEncodingDimensions = .latLngAltitude) -> String -
Creates a new array of LatLngAltitude from an encoded path string using the C++ implementation.
Declaration
Swift
init?(encodedPath: String, dimensions: PathEncodingDimensions = .latLngAltitude)Parameters
encodedPathThe encoded path string.
Return Value
An array of LatLngAltitude, or nil if the string is invalid.