Adds legend div to map