The map doesn't have to be part of the group, if it's shared at a higher level than the group. For example, if you share the map with the "organization" it will be visible to members of the group, but not be listed as part of the group.
If a map is part of a group, then it will be shown in the gallery, if the gallery points at the group. You could write your own custom gallery to filter out maps...
Mike