Beispiel #1
0
 /**
  * Returns true if coordinate is within bounds
  *
  * @param LatLngBounds $bounds
  *
  * @return bool whether is inside of boundaries or not
  */
 public function isInBounds(LatLngBounds $bounds)
 {
     return $bounds->containsCoordinate($this);
 }