forked from qwerty/tupali
correccion bug visualizacion mapa
This commit is contained in:
parent
56d0d419bd
commit
227f96169e
@ -4268,7 +4268,7 @@ foreach ($geocoder as $clave => $valor) {
|
|||||||
$pais = $valor['address']['country'];
|
$pais = $valor['address']['country'];
|
||||||
$departamento = $valor['address']['state'];
|
$departamento = $valor['address']['state'];
|
||||||
$licencia= $valor['licence'];
|
$licencia= $valor['licence'];
|
||||||
$link = "milfs/mapa.php?lat=$valor[lon]&lon=$valor[lat]&zoom=16&id=$campo&exif";
|
$link = "$_SESSION[site]milfs/mapa.php?lat=$valor[lon]&lon=$valor[lat]&zoom=16&id=$campo&exif";
|
||||||
$linea .= "
|
$linea .= "
|
||||||
<div onclick=\" xajax_limpia_div('muestra_geocoder'); document.getElementById('mapita').src='$link'; \" style='padding:5px; border-radius: 3px;margin:5px;border: 1px solid gray; background-color : white;'>
|
<div onclick=\" xajax_limpia_div('muestra_geocoder'); document.getElementById('mapita').src='$link'; \" style='padding:5px; border-radius: 3px;margin:5px;border: 1px solid gray; background-color : white;'>
|
||||||
<ul class='list-unstyled' >
|
<ul class='list-unstyled' >
|
||||||
@ -12436,7 +12436,7 @@ if($control !="") {
|
|||||||
<div id='muestra_geocoder' style='position:absolute; max-height: 300px; width: 90%; overflow-y:auto; '></div>
|
<div id='muestra_geocoder' style='position:absolute; max-height: 300px; width: 90%; overflow-y:auto; '></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<iframe id='mapita' src='milfs/mapa.php?lat=$lat&lon=$lon&zoom=$zoom&id=".$id_campo."[".$item."]' width='100%' height='300px'></iframe>
|
<iframe id='mapita' src='$_SESSION[site]milfs/mapa.php?lat=$lat&lon=$lon&zoom=$zoom&id=".$id_campo."[".$item."]' width='100%' height='300px'></iframe>
|
||||||
<input value='$value' type='text' id='".$id_campo."[".$item."]' name='".$id_campo."[".$item."]' class='form-control' placeholder='coordenadas' readonly >
|
<input value='$value' type='text' id='".$id_campo."[".$item."]' name='".$id_campo."[".$item."]' class='form-control' placeholder='coordenadas' readonly >
|
||||||
|
|
||||||
";
|
";
|
||||||
|
Loading…
Reference in New Issue
Block a user