Function Hook_geocoding_google->geocode

Definitions

sources/hooks/systems/geocoding/google.php

  • Geocode a written location.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$location string required parameter N/A N/A Written location
$errormsg ?Tempcode Null N/A N/A Error message (returned by reference) (null: not set yet)

Return

  • A tuple: Latitude, Longitude, NE lat, NE lng, SW lat, SW lng (null: error)
  • Type: ?array
  • Set: N/A
  • Range: N/A