I have a pretty map with a cool event that trigger a map.onclick event like that :
function onMapClick(e) {
L.popup()
.setLatLng(e.latlng)
.setContent('<link rel="import" href="./pages/myPopup.html">')
.openOn(mymap);
}
mymap.on('click', onMapClick);
And i'm trying to import html text in my leaflet popup. I'm using bootstrap+JQuery and I already saw bootstrap3-dialog but I think there is something to try with HTML5 or with jquery, but I don't know how !
I also found some explanations for having a click link inside leaflet popup that help for the start ! (JSFiddle here)