Include heading geozone in investments sidebar map
Note that, in this case, we aren't binding a popup to the polygon because the link would point to the same page we're already in.
This commit is contained in:
@@ -211,7 +211,10 @@
|
||||
className: "map-polygon"
|
||||
});
|
||||
|
||||
polygon.bindPopup(geozone.headings.join("<br>"));
|
||||
if (geozone.headings !== undefined) {
|
||||
polygon.bindPopup(geozone.headings.join("<br>"));
|
||||
}
|
||||
|
||||
polygon.addTo(map);
|
||||
},
|
||||
openMarkerPopup: function(e) {
|
||||
|
||||
Reference in New Issue
Block a user