Is it possible to include a hyperlink in popup content on Leaflet, similar to this example?
function onEachFeature(feature, layer) {
idLoDat = feature.properties.IDLo;
layer.bindPopup("Company name: " + feature.properties.TenCty +
"<br>Detail: <a href='index.php?id=" + feature.properties.IDLo + "'</a>");
};
I am interested in opening a new tab with the property ID from a GeoJSON file. How can I achieve this?