From bd51e921158ed0689ad1a7f9aeb23d91b6c75964 Mon Sep 17 00:00:00 2001 From: Dan Nemec Date: Thu, 17 Dec 2020 01:37:36 -0600 Subject: [PATCH] Add target=_blank to map URLs so they always open in new tab --- instagram-locations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instagram-locations.py b/instagram-locations.py index ca53952..4198752 100644 --- a/instagram-locations.py +++ b/instagram-locations.py @@ -124,7 +124,7 @@ html_template = ''' }).addTo(map); function onEachFeature(feature, layer) { - layer.bindPopup(`` + feature.properties.name + `
` + feature.properties.address ); + layer.bindPopup(`` + feature.properties.name + `
` + feature.properties.address ); } L.geoJSON(locs, {