Chore: update openlayers dependencies (#44019)

This commit is contained in:
Ryan McKinley
2022-01-13 22:32:13 -08:00
committed by GitHub
parent fd8baf5f7d
commit f3dcfb2e3e
6 changed files with 22 additions and 60 deletions

View File

@@ -31,7 +31,7 @@
"marked": "4.0.9",
"moment": "2.29.1",
"moment-timezone": "0.5.34",
"ol": "6.9.0",
"ol": "6.11.0",
"papaparse": "5.3.1",
"react": "17.0.2",
"react-dom": "17.0.2",

View File

@@ -1,10 +1,10 @@
import { RegistryItemWithOptions } from '../utils/Registry';
import BaseLayer from 'ol/layer/Base';
import Map from 'ol/Map';
import { PanelData } from '../types';
import { GrafanaTheme2 } from '../themes';
import { PanelOptionsEditorBuilder } from '../utils';
import { ReactNode } from 'react';
import { PluggableMap } from 'ol';
import BaseLayer from 'ol/layer/Base';
/**
* @alpha
@@ -105,5 +105,5 @@ export interface MapLayerRegistryItem<TConfig = MapLayerOptions> extends Registr
* Function that configures transformation and returns a transformer
* @param options
*/
create: (map: Map, options: MapLayerOptions<TConfig>, theme: GrafanaTheme2) => Promise<MapLayerHandler>;
create: (map: PluggableMap, options: MapLayerOptions<TConfig>, theme: GrafanaTheme2) => Promise<MapLayerHandler>;
}