Skip to content

Commit

Permalink
enable map drilldown
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant committed Aug 5, 2020
1 parent 22d6f09 commit 08980be
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion x-pack/plugins/maps/public/embeddable/map_embeddable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ import { render, unmountComponentAtNode } from 'react-dom';
import { Subscription } from 'rxjs';
import { Unsubscribe } from 'redux';
import { Embeddable, IContainer } from '../../../../../src/plugins/embeddable/public';
import { APPLY_FILTER_TRIGGER } from '../../../../../src/plugins/ui_actions/public';
import {
APPLY_FILTER_TRIGGER,
TriggerContextMapping,
} from '../../../../../src/plugins/ui_actions/public';
import {
esFilters,
TimeRange,
Expand Down Expand Up @@ -99,6 +102,10 @@ export class MapEmbeddable extends Embeddable<MapEmbeddableInput, MapEmbeddableO
this._subscription = this.getInput$().subscribe((input) => this.onContainerStateChanged(input));
}

supportedTriggers(): Array<keyof TriggerContextMapping> {
return [APPLY_FILTER_TRIGGER];
}

setRenderTooltipContent = (renderTooltipContent: RenderToolTipContent) => {
this._renderTooltipContent = renderTooltipContent;
};
Expand Down

0 comments on commit 08980be

Please sign in to comment.