polyline:在 Google Maps API 中解码和编码折线的工具

时间:2021-07-02 13:41:42
【文件属性】:
文件名称:polyline:在 Google Maps API 中解码和编码折线的工具
文件大小:54KB
文件格式:ZIP
更新时间:2021-07-02 13:41:42
CSS 折线 Polyline 是一种在Google Maps API 中解码和编码折线的工具。 如果您想在查询 Google API 以获取路线时绕过 25 个 WayPoints 的限制,它会很有用。 通过解码用于在地图上绘制路径的折线,您可以获得更多坐标。 有关用于编码折线的算法的说明,请参阅。 编码 偏移量列表 iex> Polyline.to_offset_list '_p~iF~ps|U_ulLnnqC_mqNvxq`@' {:ok, [{3850000, -12020000}, {220000, -75000}, {255200, -550300}]} 坐标列表 iex> Polyline.to_point_list '_p~iF~ps|U_ulLnnqC_mqNvxq`@' {:ok, [{3850000, -12020000}, {4070000, -12095000},
【文件预览】:
polyline-master
----mix.exs(702B)
----lib()
--------polyline.ex(4KB)
----.travis.yml(280B)
----config()
--------config.exs(1KB)
----LICENSE(1KB)
----test()
--------polyline_test.exs(1KB)
--------test_helper.exs(15B)
----README.md(1KB)
----mix.lock(79B)
----docs()
--------index.html(352B)
--------overview.html(1KB)
--------modules_list.html(2KB)
--------js()
--------protocols_list.html(1KB)
--------Polyline.html(7KB)
--------css()
--------exceptions_list.html(1KB)
----.gitignore(34B)

网友评论