coordenadas en exportación de campo mapa en vista planilla

This commit is contained in:
humano 2020-04-06 07:25:04 -05:00
parent 3b1b2b47f5
commit b2896adc7b

View File

@ -15179,9 +15179,9 @@ if (mysqli_num_rows($sql)!='0'){
//$url_pin =urlencode("$_SESSION[site]milfs/images/iconos/pin.png");
//https://staticmap.openstreetmap.co/staticmap.php?center=40.714728,-73.998672&zoom=14&size=865x512&maptype=mapnik
$contenido = "
$contenido = "<a class='link_mapa' href='https://www.openstreetmap.org/?mlat=$lon&mlon=$lat#map=$zoom/$lon/$lat' target='mapa' >
<img class='mapa_estatico mapa_estatico_planilla $lazy img-rounded img img-responsive' style='max-height: 100px !important;' $src='milfs/images/sinimagen_150.jpg' $data_src='https://staticmap.openstreetmap.co/staticmap.php?center=$lon,$lat&zoom=$zoom&size=250x100&maptype=mapnik&markers=$lon,$lat,red-pushpin' >
<a class='link_mapa' href='https://www.openstreetmap.org/?mlat=$lon&mlon=$lat#map=$zoom/$lon/$lat' target='mapa'>Ampliar mapa </a>";
</a>Lat:$lon Lon:$lat Zoom:$zoom";
} else { $contenido =' ';}
//return "vacio";