rogue780/geo-helpers
最新稳定版本:v0.0.3
Composer 安装命令:
composer require rogue780/geo-helpers
包简介
A collection of helper functions
README 文档
README
#GEO-HELPERS
This is a set of basic functions that converts between meters, kilometers, feet, miles, and nautical miles. It can also measure distance between two coordinates in decimal lat/long format and provide the distance in meters, kilometers, feet, miles, and nautical miles.
The convention for unit conversions is units_to_other_units($distance_in_units); e.g: miles_to_kilometers(1000); should return 1609.34.
The convention for distance measuring is distance_in_units($lat1, $lat2, $long1, $long2);
统计信息
- 总下载量: 2.94k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-06-29