diff --git a/Js/fonctions.js b/Js/fonctions.js index 26d25039..4b67787a 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -73359,14 +73359,12 @@ function trouve_coordonnees_geo_ip(ip) success: function(data) { if(data !='false') { - alert(data); - return; - var str = data.split('/'), lat = str[0], // Latitude de l'adresse IP retourné lon = str[1], // Longitude de l'adresse IP retourné out = "&output=embed" - src="https://maps.google.com/maps?q="+lat+","+lon+out; // Source de l'iframe + // src="https://maps.google.com/maps?q="+lat+","+lon+out; // Source de l'iframe + src="/var/www/Config/Geolocaliser.php?latitude="+lat+"&longitude="+lon; // Source de l'iframe /* $('#map').attr("src", src); $('#div_contenu_map').modal("show"); // Affiche en modal = carte google @@ -73375,7 +73373,10 @@ function trouve_coordonnees_geo_ip(ip) $('#map').html("").attr("src", ""); // Réinitialise la source de l'iframe à la fermeture du modal }); */ - load('/var/www/Config/Geolocaliser.php?latitude=lat&longitude=lon'); + + alert(src); + + // load('/var/www/Config/Geolocaliser.php?latitude=lat&longitude=lon'); } else { diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 0f582b07..0e7472a5 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -984,7 +984,7 @@ - +