Lines Matching refs:returnType
40 * @param string $returnType Type of Geometry to return. Can either be 'points' or 'bounds' (polygon)
49 public function read($address, $apiKey = null, $returnType = 'point', $bounds = false, $returnMultiple = false)
71 if ($returnType == 'point') {
74 if ($returnType == 'bounds' || $returnType == 'polygon') {
78 if ($returnType == 'point') {
85 if ($returnType == 'bounds' || $returnType == 'polygon') {
117 * @param string $returnType Should be either 'string' or 'array' or 'both'
123 public function write(Geometry $geometry, $apiKey = null, $returnType = 'string', $language = null)
137 if ($returnType == 'string') {
139 } elseif ($returnType == 'array') {
141 } elseif ($returnType == 'full') {
145 if ($returnType == 'string') {
148 if ($returnType == 'array') {