Geomap: Release night / day layer (#63435)

This commit is contained in:
Adela Almasan 2023-02-21 23:39:39 -06:00 committed by GitHub
parent 2240484935
commit 3949706182
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -82,7 +82,7 @@ There are three map layer types to choose from in the Geomap visualization.
There are also five alpha layer types.
- [Night / Day (alpha)]({{< relref "#night--day-layer-alpha" >}}) renders a night / day region.
- [Night / Day layer]({{< relref "#night--day-layer" >}}) renders a night / day region.
- **Icon at last point (alpha)** renders an icon at the last data point.
- **Dynamic GeoJSON (alpha)** styles a GeoJSON file based on query results.
- **Route (alpha)** render data points as a route.
@ -332,7 +332,7 @@ An ArcGIS layer is a layer from an ESRI ArcGIS MapServer.
- [**ArcGIS Services**](https://services.arcgisonline.com/arcgis/rest/services)
- [**About ESRI**](https://www.esri.com/en-us/about/about-esri/overview)
## Night / Day layer (Alpha)
## Night / Day layer
The Night / Day layer displays night and day regions based on the current time range.

View File

@ -6,7 +6,6 @@ import {
EventBus,
DataHoverEvent,
DataHoverClearEvent,
PluginState,
} from '@grafana/data';
import Map from 'ol/Map';
import VectorLayer from 'ol/layer/Vector';
@ -58,7 +57,6 @@ export const dayNightLayer: MapLayerRegistryItem<DayNightConfig> = {
name: 'Night / Day',
description: 'Show day and night regions',
isBaseMap: false,
state: PluginState.alpha,
/**
* Function that configures transformation and returns a transformer