承接 traewelling/google-polyline 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

traewelling/google-polyline

Composer 安装命令:

composer require traewelling/google-polyline

包简介

A PHP library for encoding and decoding Google Maps polylines.

README 文档

README

run-tests PHPStan GitHub License Codacy Badge Codacy Badge

Since Transitous/Motis uses a non-standard implementation of Google's Encoded Polyline Algorithm Format, we needed to implement a custom decoder for it.

Motis returns a EPAF string in the legGeometry field with a custom precision of 7 decimal places in v1 and 6 decimal places in v2. Google's implementation uses 5 decimal places, so we need to adjust the precision accordingly.

This package supports every possible precision but is only tested with 5 and 6 decimal places.

统计信息

  • 总下载量: 8.93k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-07-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固