issue #0001545 : Correction retour tabData
This commit is contained in:
parent
40d88bbd5e
commit
c8b13a3d42
@ -1424,10 +1424,10 @@ function GPSEntete($values)
|
||||
|
||||
function GPSData($siren, $nic, $values = false)
|
||||
{
|
||||
$tab['latitude'] = '';
|
||||
$tab['longitude'] = '';
|
||||
$tab['altitude'] = '';
|
||||
$tab['precis'] = '';
|
||||
$tabData['latitude'] = '';
|
||||
$tabData['longitude'] = '';
|
||||
$tabData['altitude'] = '';
|
||||
$tabData['precis'] = '';
|
||||
|
||||
$iDb = new WDB('sdv1');
|
||||
$result = $iDb->select(
|
||||
@ -1448,11 +1448,12 @@ function GPSData($siren, $nic, $values = false)
|
||||
$etab['adr_ville'],
|
||||
'France'
|
||||
);
|
||||
$tab['latitude'] = $mMap->latitudeDec;
|
||||
$tab['longitude'] = $mMap->longitudeDec;
|
||||
$tab['altitude'] = $mMap->altitude;
|
||||
$tab['precis'] = $mMap->precision;
|
||||
$tabData['latitude'] = $mMap->latitudeDec;
|
||||
$tabData['longitude'] = $mMap->longitudeDec;
|
||||
$tabData['altitude'] = $mMap->altitude;
|
||||
$tabData['precis'] = $mMap->precision;
|
||||
}
|
||||
return $tabData;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user