Automatically add info panels to layers