mjaschen / phpgeo

Simple Yet Powerful Geo Library for PHP
https://phpgeo.marcusjaschen.de
MIT License
1.55k stars 195 forks source link

BoundsFactory: Calculate Bounds from a center point #60

Closed sdennler closed 4 years ago

sdennler commented 4 years ago

Create a Bounds object by accepting the center point + distance from center to corners.

mjaschen commented 4 years ago

Thanks for your pull request! I've added documentation and merged everything. 2.4.0 is available on Packagist now.