ol-ext: DayNight source
The
ol/source/DayNight
lets you display night and day on the map.
Set the date time to display the using the
setTime
function
Use the
getCoordinates()
function to get the night/day separation line.
Options:
Date:
Projection:
Geog.
WebMercator