Marqueur de la carte google

This commit is contained in:
Michael RICOIS 2015-06-12 12:54:31 +00:00
parent 888a4c9ff0
commit c9283be530

View File

@ -480,8 +480,12 @@ class IdentiteController extends Zend_Controller_Action
$texte .= '<br/>'; $texte .= '<br/>';
$texte .= '<i>'.$etab->NafEtab.' : '.$etab->NafEtabLib.'</i>'; $texte .= '<i>'.$etab->NafEtab.' : '.$etab->NafEtabLib.'</i>';
$icone = 'http://'.$_SERVER['SERVER_NAME'].'/themes/default/images/maps/'.$this->iconeDuMarqueur($etab->NafEtab, $etab->Siege, $etab->Actif);
$iconeMarqueur = $this->iconeDuMarqueur($etab->NafEtab, $etab->Siege, $etab->Actif);
$icone = '';
if ( !empty($iconeMarqueur) ) {
$icone = 'http://'.$_SERVER['SERVER_NAME'].'/themes/default/images/maps/'.$iconeMarqueur;
}
$gps = array(); $gps = array();
if ( floatval($etab->GeoLatitude) != 0 && floatval($etab->GeoLongitude) != 0 ) { if ( floatval($etab->GeoLatitude) != 0 && floatval($etab->GeoLongitude) != 0 ) {
$gps = array( $gps = array(