dolibarr 21.0.0-beta
|
Class to manage Google API. More...
Public Member Functions | |
__construct ($db, $key) | |
Constructor. | |
getGeoCoordinatesOfAddress ($address) | |
Return geo coordinates of an address. | |
Class to manage Google API.
Definition at line 28 of file google.class.php.
GoogleAPI::__construct | ( | $db, | |
$key ) |
Constructor.
Definition at line 51 of file google.class.php.
GoogleAPI::getGeoCoordinatesOfAddress | ( | $address | ) |
Return geo coordinates of an address.
string | $address | Address Example: 68 Grande rue Charles de Gaulle,+94130,+Nogent sur Marne,+France Example: 188, rue de Fontenay,+94300,+Vincennes,+France |
Definition at line 66 of file google.class.php.
References $conf, dol_strlen(), and getURLContent().