dolibarr  17.0.3
Public Member Functions | List of all members
GoogleAPI Class Reference

Class to manage Google API. More...

Public Member Functions

 __construct ($db, $key)
 Constructor. More...
 getGeoCoordinatesOfAddress ($address)
 Return geo coordinates of an address. More...

Detailed Description

Class to manage Google API.

Definition at line 27 of file google.class.php.

Constructor & Destructor Documentation

◆ __construct()

GoogleAPI::__construct (   $db,


DoliDB$dbDatabase handler
string$keyGoogle key

Definition at line 47 of file google.class.php.

References db.

Member Function Documentation

◆ getGeoCoordinatesOfAddress()

GoogleAPI::getGeoCoordinatesOfAddress (   $address)

Return geo coordinates of an address.

string$addressAddress Example: 68 Grande rue Charles de Gaulle,+94130,+Nogent sur Marne,+France Example: 188, rue de Fontenay,+94300,+Vincennes,+France
string Coordinates

Definition at line 62 of file google.class.php.

The documentation for this class was generated from the following file: