correccion bug visualizacion mapa

This commit is contained in:
fredyrivera 2017-09-26 09:41:49 -05:00
parent 56d0d419bd
commit 227f96169e

View File

@ -4268,7 +4268,7 @@ foreach ($geocoder as $clave => $valor) {
$pais = $valor['address']['country'];
$departamento = $valor['address']['state'];
$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 .= "
<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' >
@ -12436,7 +12436,7 @@ if($control !="") {
<div id='muestra_geocoder' style='position:absolute; max-height: 300px; width: 90%; overflow-y:auto; '></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 >
";