Marqueur de la carte google
This commit is contained in:
parent
888a4c9ff0
commit
c9283be530
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user