lizMap.events.on({
layersadded: function(e) {
var html = '';
// Header
html+= '
';
// Main content : body
html+= '';
// Logo LIFE GypHelp
var appName = $('div#title h1').text().trim();
html+= '
';
html+= '
';
html+='
L'outil de saisie a été mis en place par le
Cen Auvergne , il utilise le logiciel Lizmap, développé par
3Liz ';
html+='
';
html+='
';
// Project Metadata
html+= $('#metadata').html();
html+= '
';
// Footer
html+= '';
$('#lizmap-modal').html(html);
// Hide project image
$('#lizmap-modal p:first,#lizmap-modal img.liz-project-img').hide();
// Hide title label+content & description label
$('#lizmap-modal dl.dl-vertical dt:first,#lizmap-modal dl.dl-vertical dd:first,#lizmap-modal dl.dl-vertical dt:nth-child(2)').hide();
// Show modal
$('#lizmap-modal').modal('show');
}
});