weekly icon indicating copy to clipboard operation
weekly copied to clipboard

【文章推荐】google maps 巧妙的轨迹压缩算法实现

Open jeff-fe opened this issue 1 year ago • 1 comments

只需要几步就把经纬度信息巧妙的转换成了字符串,并且还原也容易。 原文地址: https://developers.google.com/maps/documentation/utilities/polylinealgorithm FaWm-TmVUAAvw-l

jeff-fe avatar Aug 17 '22 23:08 jeff-fe

一个 float 变成了 10 个 ascii ? 这为了网页纯文本传输浪费好多空间,“Polyline encoding is a lossy compression algorithm”,感觉应该叫编码不能叫压缩了……有人能讲讲网络服务里面所有的技术妥协就好了,想看😁

NomandChan avatar Aug 25 '22 01:08 NomandChan