forked from qwerty/tupali
bug mapa
This commit is contained in:
parent
31470417c7
commit
5114e2e835
@ -5,7 +5,7 @@ function loadArticle(pageNumber,id,plantilla,registros,scroll) {
|
||||
|
||||
$.ajax({
|
||||
|
||||
url: 'milfs/api.php?id='+id+'&tipo=simple&formato=li&plantilla='+plantilla+'®istros='+registros+'&pagina=' + pageNumber,
|
||||
url: './milfs/api.php?id='+id+'&tipo=simple&formato=li&plantilla='+plantilla+'®istros='+registros+'&pagina=' + pageNumber,
|
||||
type: 'POST',
|
||||
dataType: '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 );
|
||||
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' >";
|
||||
|
Loading…
Reference in New Issue
Block a user