# Elasticsearch integrated with Google Map Clustering Marker (Aggregate Geolocation)

**URL:** <https://discuss.elastic.co/t/elasticsearch-integrated-with-google-map-clustering-marker-aggregate-geolocation/178760>\
**Category:** Elasticsearch\
**Created:** [April 27, 2019, 4:00pm UTC](https://discuss.elastic.co/t/elasticsearch-integrated-with-google-map-clustering-marker-aggregate-geolocation/178760 "2019-04-27T16:00:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LinJIngYun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/linjingyun/32/44151_2.png) [@LinJIngYun](https://discuss.elastic.co/u/LinJIngYun)\
**Post date:** [April 27, 2019, 4:00pm UTC](https://discuss.elastic.co/t/elasticsearch-integrated-with-google-map-clustering-marker-aggregate-geolocation/178760/1 "2019-04-27T16:00:37Z")

</div>

Hello everyone now I use Elasticsearch 7.0, I try to aggregate the data from people this area and show it in elastic search for the example; I can zoom in-out in the Google Map API on my Frontend website and when the marker had been clustered from sub-district, district, city, state and country then it will query aggregate data average of fields that I want to see how can I write the query ?  
I heard about Geolocation hashing do you guy have any idea or solution for this ?  
(it like example data in Kibana that I can see aggregate data of e-commerce shop on map)

> **[Server-side clustering of geo-points on a map using Elasticsearch](https://blog.trifork.com/2013/08/01/server-side-clustering-of-geo-points-on-a-map-using-elasticsearch/)**
>
> Plotting markers on a map is easy using the tooling that is readily available. However, what if you want to add a large number of markers to a map when building a search interface? The problem is t…

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/1/710da230f448b80d480b233c3754eb23fd17f42b.jpeg) ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/3/b328965e22682be4b2ef8d4b2da80c2de5357872.jpeg)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/8/5880d55e8950ad68a3c6b93b3f50e7f1224380f5.jpeg)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/0/f0fbbd08069e964306d8ae48324db3c3ca106822.jpeg)

Thank you very much 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 25, 2019, 4:00pm UTC](https://discuss.elastic.co/t/elasticsearch-integrated-with-google-map-clustering-marker-aggregate-geolocation/178760/2 "2019-05-25T16:00:38Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
