Geomap: add basic gazetteer support (#37082)

This commit is contained in:
Ryan McKinley
2021-07-21 23:41:27 -07:00
committed by GitHub
parent 1881de8236
commit 9cd8e11c30
22 changed files with 2228 additions and 102 deletions

View File

@@ -33,8 +33,8 @@ export interface FrameGeometrySource {
wkt?: string;
lookup?: string;
// Path to a mappings file
lookupSrc?: string;
// Path to Gazetteer
gazetteer?: string;
}
/**
@@ -97,7 +97,7 @@ 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) => MapLayerHandler;
create: (map: Map, options: MapLayerOptions<TConfig>, theme: GrafanaTheme2) => Promise<MapLayerHandler>;
/**
* Show custom elements in the panel edit UI