winky / phpgeo
php geo polygon angle
1.0.0
2018-07-23 07:10 UTC
Requires
- php: >=7.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-09-03 05:09:38 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