L.LayerChooser()

new LayerChooser()

Represents a control for selecting layers on the map. It extends the Leaflet's L.Control.Layers class. This control not only manages layer visibility but also provides persistence of layer display states between sessions. The class has been enhanced with additional options and methods for more flexible layer management.

Extends

  • L.Control.Layers