We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thank you for this library.
Not sure if it's possible, but can this library be used to check if a location is within specific bounds? Something like this:
function latLng($arr) { return new Biscolab\GoogleMaps\Object\LatLng([ Biscolab\GoogleMaps\Fields\LatLngFields::LAT => $arr['lat'], Biscolab\GoogleMaps\Fields\LatLngFields::LNG => $arr['lng'] ]); } $bounds = new Biscolab\GoogleMaps\Object\LatLngBounds(); $bounds->extend(latLng([ "lat" => 132334323, "lng" => 112143432 ])); $place = latLng([ "lat" => 133434323 "lng" => 5352523 ]); print_r($bounds->getCenter()); print_r($bounds->contains($place));
The text was updated successfully, but these errors were encountered:
@anchetaWern This library may provide what you're looking for: https://github.com/alexpechkarev/geometry-library
Sorry, something went wrong.
No branches or pull requests
Thank you for this library.
Not sure if it's possible, but can this library be used to check if a location is within specific bounds? Something like this:
The text was updated successfully, but these errors were encountered: