Skip to content

areichman/leaflet-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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();

About

Fire an 'updatelayer' event at a specified interval to notify time-sensitive layers to update

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published