This commit is contained in:
humano 2017-11-14 19:35:48 -05:00
parent 31470417c7
commit 5114e2e835

View File

@ -5,7 +5,7 @@ function loadArticle(pageNumber,id,plantilla,registros,scroll) {
$.ajax({ $.ajax({
url: 'milfs/api.php?id='+id+'&tipo=simple&formato=li&plantilla='+plantilla+'&registros='+registros+'&pagina=' + pageNumber, url: './milfs/api.php?id='+id+'&tipo=simple&formato=li&plantilla='+plantilla+'&registros='+registros+'&pagina=' + pageNumber,
type: 'POST', type: 'POST',
dataType: 'html', dataType: 'html',
success: function(html) { success: function(html) {
@ -49,7 +49,7 @@ function loadArticle(pageNumber,id,plantilla,registros,scroll) {
} }
var coordenadas = "milfs/mapa.php?lon="+lat+"&lat="+long+"&zoom=18&id="+campo_mapa+"[0]"; var coordenadas = "./milfs/mapa.php?lon="+lat+"&lat="+long+"&zoom=18&id="+campo_mapa+"[0]";
// alert(long+' '+lat+' '+altura ); // alert(long+' '+lat+' '+altura );
document.getElementById('mapita').contentWindow.document.location.href=coordenadas; document.getElementById('mapita').contentWindow.document.location.href=coordenadas;
var minimapa = campo+"//<img class='lazy img-round img img-responsive' src ='http://staticmap.openstreetmap.de/staticmap.php?center="+lat+","+long+"&zoom=12&size=250x100&maptype=mapnik&markers="+lat+","+long+",red-pushpin' >"; var minimapa = campo+"//<img class='lazy img-round img img-responsive' src ='http://staticmap.openstreetmap.de/staticmap.php?center="+lat+","+long+"&zoom=12&size=250x100&maptype=mapnik&markers="+lat+","+long+",red-pushpin' >";