Constructor
new Select()
Custom Leaflet control which will display a select box. Selecing an item in the first box will populate the second. Selecting an item in the second box will update the map.
Options:id
Unique id for the controlposition
The location on the map (using leaflet's standard control positions). Default: topleftcollapse
True to show a button until clicked, then show the select box; false to just show the select box. Default: falselabel
The label for the select box (and the title the button when collapse=true). Default: 'Select...'items
array of items (key/value) to be displayed in the dropdownselectionAction
Function callback to invoke when the selection changesiconClass
The CSS class(es) for the button icon (if collapse=true). Default: 'fa fa-list'selectClass
The CSS class(es) for the select box. Default: 'leaflet-select'