Skip to content

Commit

Permalink
Add LOC ID to bubbles (#320)
Browse files Browse the repository at this point in the history
#319 add loc id to bubbles
  • Loading branch information
majibow authored Nov 25, 2023
1 parent 4a74521 commit 4bd01ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
},
onEachFeature: function (feature, layer) {
// popup with place name and upgrade type
var s = "<b>" + feature.properties.name + "</b><br>Current tech: " + feature.properties.tech
var s = "<b>" + feature.properties.name + "</b><br>Location: " + feature.properties.locID + "<br>Current tech: " + feature.properties.tech
// legacy FTTP upgrade pre November 2023
if (!("target_eligibility_quarter" in feature.properties) && feature.properties.tech != "FTTP" && (feature.properties.tech == "FTTN" || feature.properties.tech == "FTTC")) {
s += "<br>Upgrade available: " + (feature.properties.upgrade == "FTTP_SA" ? "Yes" : (feature.properties.upgrade == "FTTP_NA" ? "Soon" : "No"))
Expand Down

0 comments on commit 4bd01ac

Please sign in to comment.