This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data class Coordinate(val longitude: Double, val latitude: Double) | |
/** | |
* Encodes a polyline using Google's polyline algorithm | |
* (See http://code.google.com/apis/maps/documentation/polylinealgorithm.html for more information). | |
* | |
* code derived from : https://gist.github.com/signed0/2031157 | |
* | |
* @param (x,y)-Coordinates |