mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Maps] use blended layer when linking discover to maps (#61467)
This commit is contained in:
parent
aa7779f4d3
commit
9a53c08c3c
1 changed files with 3 additions and 1 deletions
|
@ -84,6 +84,7 @@ export function getMapsAppUrl(
|
|||
|
||||
// create initial layer descriptor
|
||||
const hasColumns = columns && columns.length && columns[0] !== '_source';
|
||||
const supportsClustering = field.aggregatable;
|
||||
mapAppParams.set(
|
||||
'initialLayers',
|
||||
// @ts-ignore
|
||||
|
@ -97,9 +98,10 @@ export function getMapsAppUrl(
|
|||
geoField: field.name,
|
||||
tooltipProperties: hasColumns ? columns : [],
|
||||
indexPatternId: indexPattern.id,
|
||||
scalingType: supportsClustering ? 'CLUSTERS' : 'LIMIT',
|
||||
},
|
||||
visible: true,
|
||||
type: 'VECTOR',
|
||||
type: supportsClustering ? 'BLENDED_VECTOR' : 'VECTOR',
|
||||
},
|
||||
])
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue