mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Elasticsearch: Increase maximum geohash aggregation precision to 12 (#27539)
This commit is contained in:
parent
a0beaa3bbe
commit
e350e1fff6
@ -144,8 +144,8 @@ export class ElasticBucketAggCtrl {
|
||||
break;
|
||||
}
|
||||
case 'geohash_grid': {
|
||||
// limit precision to 7
|
||||
settings.precision = Math.max(Math.min(settings.precision, 7), 1);
|
||||
// limit precision to 12
|
||||
settings.precision = Math.max(Math.min(settings.precision, 12), 1);
|
||||
settingsLinkText = 'Precision: ' + settings.precision;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user