Geomap: configure legend on map (#37077)

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
An
2021-07-26 18:50:15 -04:00
committed by GitHub
parent 5f0bc252bc
commit 154c380c8c
11 changed files with 226 additions and 130 deletions

View File

@@ -68,8 +68,8 @@ export interface MapLayerOptions<TConfig = any> {
*/
export interface MapLayerHandler {
init: () => BaseLayer;
legend?: () => ReactNode;
update?: (data: PanelData) => void;
legend?: ReactNode;
}
/**