winky / phpgeo
php geo polygon angle
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/winky/phpgeo
Requires
- php: >=7.0
This package is not auto-updated.
Last update: 2025-10-16 00:57:36 UTC
README
author Marcus Jaschen mjaschen@gmail.com github https://github.com/mjaschen/phpgeo
develop on this basis, add angle between two points. Thanks Jaschen.
phpgeo documentation see https://github.com/mjaschen/phpgeo
Angle
<?php use Location\LatLng; use Location\Angle; $A = new LatLng(116.431973, 39.92031); $B = new LatLng(116.469567,39.921495); $angle = new Angle(); $angle->getAngle($A, $B); // returns 87.646479487294