mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
* [maps] fix Color ramp UI for percent of a top term in join layer is broken
* add comments and make more explicit
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit faa2afb59c
)
Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
This commit is contained in:
parent
c87fff15e4
commit
34a40acda8
1 changed files with 7 additions and 2 deletions
|
@ -23,8 +23,13 @@ export class TopTermPercentageField implements IESAggField {
|
|||
}
|
||||
|
||||
supportsFieldMetaFromLocalData(): boolean {
|
||||
// Elasticsearch vector tile search API does not support top term metric
|
||||
return false;
|
||||
if (this.getSource().isMvt()) {
|
||||
// Elasticsearch vector tile search API does not support top term metric so meta tile does not contain any values
|
||||
return false;
|
||||
} else {
|
||||
// field meta can be extracted from local data when field is geojson source
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
getSource(): IVectorSource {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue