Added buttons to legend

Set up buttons in legend to build an array to turn layers on and off.