match legend opacity to map opacity