# So many layers with same data in MAP

**URL:** <https://discuss.elastic.co/t/so-many-layers-with-same-data-in-map/306676>\
**Category:** Kibana\
**Created:** [June 8, 2022, 10:12am UTC](https://discuss.elastic.co/t/so-many-layers-with-same-data-in-map/306676 "2022-06-08T10:12:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![akshay\_bhardwaj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akshay_bhardwaj/32/106428_2.png) [@akshay\_bhardwaj](https://discuss.elastic.co/u/akshay_bhardwaj)\
**Post date:** [June 8, 2022, 10:12am UTC](https://discuss.elastic.co/t/so-many-layers-with-same-data-in-map/306676/1 "2022-06-08T10:12:58Z")

</div>

When i draw a map with data there are so many layers on hover showing same data how i can reduce the same.

 ![Screenshot from 2022-06-08 15-40-25](https://us1.discourse-cdn.com/elastic/original/3X/5/5/554ebb9800b8037d973450da63ace410756590db.png)

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [June 8, 2022, 5:23pm UTC](https://discuss.elastic.co/t/so-many-layers-with-same-data-in-map/306676/2 "2022-06-08T17:23:52Z")

</div>

What version of Kibana are you using?

It looks like your map has 2 layers. Can you provide details on those layers - what data view are they pulling data from? What is displayed under "Source details"?

Layers showing Elasticsearch documents will show all documents in the area. Do you have multiple documents at a given location? In Maps, click "Inspect" to open the "Inspector". Find the request for Elasticsearch documents layer and open in console. Run the request in console. Do you see multiple documents for a location?

---

<div class="post-metadata">

**Author:** ![akshay\_bhardwaj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akshay_bhardwaj/32/106428_2.png) [@akshay\_bhardwaj](https://discuss.elastic.co/u/akshay_bhardwaj)\
**Post date:** [June 8, 2022, 5:28pm UTC](https://discuss.elastic.co/t/so-many-layers-with-same-data-in-map/306676/3 "2022-06-08T17:28:56Z")

</div>

yes i have multiple documents with same location and on every layer i found same data of Performed hours and Contracted Hours

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [June 8, 2022, 9:25pm UTC](https://discuss.elastic.co/t/so-many-layers-with-same-data-in-map/306676/4 "2022-06-08T21:25:57Z")

</div>

If you would like to only show the latest document per branch, then use a [Top hits per entity](https://www.elastic.co/guide/en/kibana/current/maps-top-hits-aggregation.html) layer. This layer will only show the latest document for an entity.

1. Click "Add layer"
2. Select "Top hits per entity"
3. Select your data view
4. Select "branch" field for "Entity" select

---

<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:** [July 6, 2022, 9:26pm UTC](https://discuss.elastic.co/t/so-many-layers-with-same-data-in-map/306676/5 "2022-07-06T21:26:50Z")

</div>

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