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
function decodePolyline(encoded) { | |
var points = [] | |
var index = 0, | |
len = encoded.length; | |
var lat = 0, | |
lng = 0; | |
while (index < len) { | |
var b, shift = 0, | |
result = 0; |