geoman-io / leaflet-geoman

🍂🗺️ The most powerful leaflet plugin for drawing and editing geometry layers
https://geoman.io
MIT License
2.21k stars 433 forks source link

Grouping default tools together #1307

Closed dpak1999 closed 1 year ago

dpak1999 commented 1 year ago

Hey Is there way i can group default tools together so that it takes lesser space on the map

Falke-Design commented 1 year ago

You can use oneBlock: true (https://github.com/geoman-io/leaflet-geoman#customize-controls)

map.pm.addControls({
  oneBlock: true,
});