mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 20:22:32 +08:00

Co-authored-by: Ryan McKinley <ryantxu@gmail.com> Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com> Co-authored-by: Nathan Marrs <nathanielmarrs@gmail.com>
33 lines
996 B
Markdown
33 lines
996 B
Markdown
---
|
|
aliases:
|
|
- /docs/grafana/latest/features/panels/geomap/daynight/
|
|
- /docs/grafana/latest/panels/visualizations/geomap/daynight/
|
|
description: Night / Day layer
|
|
keywords:
|
|
- grafana
|
|
- Geomap
|
|
- panel
|
|
- documentation
|
|
title: Night / Day layer
|
|
weight: 400
|
|
---
|
|
|
|
# Night / Day layer
|
|
|
|
The Night / Day layer displays night and day regions based on the current time range.
|
|
|
|
{{< figure src="/static/img/docs/geomap-panel/geomap-day-night-9-1-0.png" max-width="1200px" caption="Geomap panel Night / Day" >}}
|
|
|
|
## Options
|
|
|
|
- **Show** toggles time source from panel time range
|
|
- **Night region color** picks color for night region
|
|
- **Display sun** toggles sun icon
|
|
- **Opacity** from 0 (transparent) to 1 (opaque)
|
|
|
|
{{< figure src="/static/img/docs/geomap-panel/geomap-day-night-options-9-1-0.png" max-width="1200px" caption="Geomap panel Night / Day options" >}}
|
|
|
|
## More information
|
|
|
|
- [**Extensions for OpenLayers - DayNight**](https://viglino.github.io/ol-ext/examples/layer/map.daynight.html)
|