logic to not show map marker when there are no locations