GitHub repository: simonasdev/Leaflet.Deflate
Description: Deflates lines and polygons to a marker when their screen size becomes too small in lower zoom levels.