diff --git a/src/core_plugins/region_map/public/choropleth_layer.js b/src/core_plugins/region_map/public/choropleth_layer.js index dcc55bc60301..620d2a6a9c23 100644 --- a/src/core_plugins/region_map/public/choropleth_layer.js +++ b/src/core_plugins/region_map/public/choropleth_layer.js @@ -219,7 +219,7 @@ CORS configuration of the server permits requests from the Kibana application on return ''; } const match = this._metrics.find((bucket) => { - return bucket.term === geojsonFeature.properties[this._joinField]; + return compareLexographically(bucket.term, geojsonFeature.properties[this._joinField]) === 0; }); return tooltipFormatter(metricsAgg, match, fieldName); };