Smart Map - Output map locations from relationship file in a matrix
At a glance, your code looks perfect... but I think there's a subtle error. The locations parameter can be an array of elements, but you are building an array of Address fields (which is not valid).

https://plugins.doublesecretagency.com/smart-map/render-a-map-in-twig/


You can simplify the middle part of your code to this:
{# add entry to locations array #}
{% set locations = locations|merge([member]) %}

That way, locations will end up being an array of elements.