Functions

Function Description
geocode Geocodes an address.

geocode

Geocodes an address.

Return Value: An array containing "latitude" and "longitude" keys if successful, otherwise false.

geocode($address, $ignore_cache = false)
Parameter Description
$address A string of address information to geocode.
$ignore_cache Whether to re-fetch this geocode, even if we already have it cached. Defaults to false.