Lines Matching defs:bounds
40 * @param string $returnType Type of Geometry to return. Can either be 'points' or 'bounds' (polygon)
41 * @param array|bool|Geometry $bounds Limit the search area to within this region.
49 public function read($address, $apiKey = null, $returnType = 'point', $bounds = false, $returnMultiple = false)
55 if (gettype($bounds) == 'object') {
56 $bounds = $bounds->getBBox();
58 if (gettype($bounds) == 'array') {
59 $boundsString = '&bounds=' . $bounds['miny'] . ',' . $bounds['minx'] . '|' . $bounds['maxy'] . ',' . $bounds['maxx'];
74 if ($returnType == 'bounds' || $returnType == 'polygon') {
85 if ($returnType == 'bounds' || $returnType == 'polygon') {
187 $lat = $this->result->results[$delta]->geometry->bounds->northeast->lat;
188 $lon = $this->result->results[$delta]->geometry->bounds->southwest->lng;
194 $lat = $this->result->results[$delta]->geometry->bounds->northeast->lat;
195 $lon = $this->result->results[$delta]->geometry->bounds->northeast->lng;
201 $lat = $this->result->results[$delta]->geometry->bounds->southwest->lat;
202 $lon = $this->result->results[$delta]->geometry->bounds->southwest->lng;
208 $lat = $this->result->results[$delta]->geometry->bounds->southwest->lat;
209 $lon = $this->result->results[$delta]->geometry->bounds->northeast->lng;