mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
13 lines
361 B
TypeScript
13 lines
361 B
TypeScript
|
import { MapLayerRegistryItem, Registry } from '@grafana/data';
|
||
|
|
||
|
import { basemapLayers } from './basemaps';
|
||
|
import { dataLayers } from './data';
|
||
|
|
||
|
/**
|
||
|
* Registry for layer handlers
|
||
|
*/
|
||
|
export const geomapLayerRegistry = new Registry<MapLayerRegistryItem<any>>(() => [
|
||
|
...basemapLayers, // simple basemaps
|
||
|
...dataLayers, // Layers with update functions
|
||
|
]);
|