apiCall()
apiCall( $key = null) : string
Retourne une portion de code html appelant l'api GoogleMap
Parameters
$key |
Gestionnaire Gmap
initMap(string $content_div, array $config = array(), boolean $function = false) : string
Initialisation d'une Gmap
string | $content_div | identifiant DOM de la div contenant le gmap |
array | $config | |
boolean | $function | si true, le code retourné génèrera une fonction qui pourra être appelée ailleur dans la page |
initDirection(string $content_div, string $from_address, string $to_address, array $config = array(), boolean $function = false) : string
Initialise un googleDirection
string | $content_div | identifiant DOM de la div contenant le gmap |
string | $from_address | adresse du point de départ |
string | $to_address | adresse du point d'arrivé |
array | $config | configuration |
boolean | $function |
si true, le code retourné génèrera une fonction qui pourra être appelée ailleur dans la page