0
Je suis en train de charger mes fichiers kml (hébergé sur mon serveur) dynamiquement,cartes Google api - charge kml (php)
cet exemple fonctionne
var ctaLayer = new google.maps.KmlLayer('http://myhost.pt/perc/perc1.kml',{suppressInfoWindows: true});
mais je besoin de quelque chose comme
<?php $var= ' users/hash/perc1.kml'; ?>
var ctaLayer = new google.maps.KmlLayer('http://myhost.pt/<?php $var; ?>',{suppressInfoWindows: true});
donc je dois concaténer l'url, je ne sais vraiment pas si je peux le faire
J'espère avoir été ..clairsi quelqu'un pouvait me aider je suis reconnaissant