Skip to content

Commit

Permalink
enabling maps integration
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Apr 13, 2021
1 parent 6842e98 commit dee153b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion x-pack/plugins/file_data_visualizer/kibana.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"requiredBundles": [
"esUiShared",
"kibanaReact",
"fileUpload"
"fileUpload",
"maps"
],
"extraPublicDirs": [
"common"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { EuiFlexItem } from '@elastic/eui';
import { Feature, Point } from 'geojson';
import type { FieldDataRowProps } from '../../stats_table/types/field_data_row';
import { DocumentStatsTable } from '../../stats_table/components/field_data_expanded_row/document_stats';
// import { MlEmbeddedMapComponent } from '../../ml_embedded_map';
import { MlEmbeddedMapComponent } from '../../ml_embedded_map';
import { convertWKTGeoToLonLat, getGeoPointsLayer } from './format_utils';
import { ExpandedRowContent } from '../../stats_table/components/field_data_expanded_row/expanded_row_content';
import { ExamplesList } from '../../examples_list';
Expand Down Expand Up @@ -72,7 +72,7 @@ export const GeoPointContent: FC<FieldDataRowProps> = ({ config }) => {
className={'mlDataVisualizerMapWrapper'}
data-test-subj={'mlDataVisualizerEmbeddedMap'}
>
{/* <MlEmbeddedMapComponent layerList={formattedResults.layerList} /> */}
<MlEmbeddedMapComponent layerList={formattedResults.layerList} />
</EuiFlexItem>
)}
</ExpandedRowContent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
* 2.0.
*/

// export { MlEmbeddedMapComponent } from './ml_embedded_map';
export { MlEmbeddedMapComponent } from './ml_embedded_map';

0 comments on commit dee153b

Please sign in to comment.