Leaflet-Geoman offers a set of special options to increase performance when working with very large datasets. The problem with leaflet and very large datasets, are the amount of elements in the DOM. The following options reduce the amount of DOM nodes significantly. Thus, allowing for buttery smooth editing even with super large datasets.
See the available options in the table below.
n markers closest to the cursor. Use
-1 for no limit.
|Shows markers when under the given zoom level. ⭐
|Shows only markers in the viewport. ⭐
|Shows markers only after the layer was clicked. ⭐
All options can be used together. In fact, the performance increases even more when using multiple options together, depending on your desired user experience.
They are part of the options for Edit Mode. See usage and full options table there.