Leaflet Control Loader

Simple control to show a gif loader to the center of the map

var controlLoader = L.control.loader().addTo(map);

controlLoader.show();
...
controlLoader.hide();
move map to show the loader
Labs
Fork me on GitHub