Adds a weighted direction map.