evilgenius/google-maps 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

evilgenius/google-maps

Composer 安装命令:

composer require evilgenius/google-maps

包简介

To Work with google maps api

README 文档

README

#Get Time Travel Data From Google Maps API

  • Namespaced under EvenGenius
  • API throws exceptions instead of returning errors
  • All requests and responses are communicated over JSON
  • A minimum of PHP 5.3 is required

Installation

composer require evilgenius/google-maps

  • If you are not using composer, download the latest release from the releases section. You should download the evilgenius-maps.zip file. After that, include map.php in your application and you can use the API as usual.

Usage

  use EvilGenius\Map; 

  $map = new Map('your-google-maps-key');  
  
  $map->getTwoPointDistance($firstLat, $firstLong, $secLat, $secLong); // returns distance in km
  
  $map->getTwoPointTimeInSeconds($firstLat, $firstLong, $secLat, $secLong); // returns time travel in seconds
  

License

You are Free to use any way you like

Release

  1. v1.0.1 Contains two methods

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-03-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固