Table of contents for map layers based on nlui's TOC widget