leaflet-timer Usage var map = L.map('map', { layers: [...], timer: 300000 // seconds }); The timer will automatically start when the map is created. To stop/start it manually: map.stopTimer(); map.startTimer();