Geo centroid aggregation #
A metrics aggregation computing the weighted centroid (mean latitude and
longitude) of all geo_point values.
Example #
Returns the count of points and their centroid — the natural center
point for map placement.
Parameters for geo_centroid
#
field
(Required, string)geo_pointfield you wish to aggregate.