style legend and layer control