需要一个字符串数组之前,google maps API编码折线字符串解析成数组的纬度/经度对。算法可以找到从谷歌文档http://code.google.com/apis/maps/documentation/utilities/polylinealgorithm.html
引用作为
克里斯·亨克尔(2023)。Google Maps API多线译码器(//www.tatmou.com/matlabcentral/fileexchange/32341-google-maps-api-polyline-decoder), MATLAB中央文件交换。检索。