sourcetoad/bytey
最新稳定版本:v1.1.0
Composer 安装命令:
composer require sourcetoad/bytey
包简介
A library for encoding Google Map's Encoded Polyline.
README 文档
README
A simple implementation of Google's Polyline Encoding algorithm in PHP.
Install
This package is currently supporting PHP 8.2 and above.
composer require sourcetoad/bytey
Documentation
Encoding
use Sourcetoad\Bytey; $points = [ [38.5, -120.2], [40.7, -120.95], [43.252, -126.453] ]; $encoded = Bytey::googlePolylineEncode($points); // Outputs "_p~iF~ps|U_ulLnnqC_mqNvxq`@"
统计信息
- 总下载量: 1.03k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-08-20