Get sunset or sunrise at map click
Switch branches/tags
Nothing to show
Clone or download
Latest commit b8942da Jan 4, 2018
Permalink
Failed to load latest commit information.
L.Sun.js Add files via upload Jan 4, 2018
README.md Update README.md Jan 4, 2018
index.html Add files via upload Jan 4, 2018

README.md

Leaflet.Sun

Description
Get sunset or sunrise at map click.

Demo https://dj0001.github.io/Leaflet.Sun/

Usage

Leaflet.Sun extends the Popup class. Adding the sunset to a leaflet popup is as easy as

L.sun.sunset(e.latlng)

the second class ist sunrise.