GeocodingService::geocode
Returns resulting geocode in the format
array( 'Success' => true, 'Latitude' => '0.000', 'Longitude' => '0.000', 'Error' => '', // error code (if error) 'Message' => '', // error message (if error) 'Cache' => true // true if this result can be reproduced (cached) ) Success and Cache are always required. If success, Latitude and Longitude are required. If failure, Error and Message are required.
Signature
public function geocode(string|array
$address )
Parameters
$address
— object- Address, or list of components
Returns
- array
- Result