# Display numbers or show legend in Maps

**URL:** <https://discuss.elastic.co/t/display-numbers-or-show-legend-in-maps/225269>\
**Category:** Kibana\
**Tags:** maps\
**Created:** [March 26, 2020, 6:42pm UTC](https://discuss.elastic.co/t/display-numbers-or-show-legend-in-maps/225269 "2020-03-26T18:42:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nosql\_injection](https://avatars.discourse-cdn.com/v4/letter/n/4491bb/32.png) [@nosql\_injection](https://discuss.elastic.co/u/nosql_injection)\
**Post date:** [March 26, 2020, 6:42pm UTC](https://discuss.elastic.co/t/display-numbers-or-show-legend-in-maps/225269/1 "2020-03-26T18:42:23Z")

</div>

Hi there,

I created a "World Countries" map using a EMS boundaries layer. I'm using two letter country codes with a simple join "Join World Countries:iso2 with abc-threat-\*:country.keyword".

My question: How do I display a number for each country directly on the map (so there's no need to check the tooltip for every single country? I'd like to place the numbers on top of the countries, but a legend beside the map would also do ...

Thanks and cheers,  
Markus

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [March 27, 2020, 9:32am UTC](https://discuss.elastic.co/t/display-numbers-or-show-legend-in-maps/225269/2 "2020-03-27T09:32:44Z")

</div>

Hi Markus,

Unfortunately at this moment labels are only available for point geometries, we have already captured this request on [this issue](https://github.com/elastic/kibana/issues/61468), feel free to provide more feedback there if you feel appropriate.

Still, the metric should be available in the layer legend.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/0/b09e96edf3602c34fc0783231fd66ba2c2605c75.png)

Maybe you are expecting the ramp to be split in classes like in the old region map? That is a feature in development and you can track its status [here](https://github.com/elastic/kibana/pull/60570).

---

<div class="post-metadata">

**Author:** ![nosql\_injection](https://avatars.discourse-cdn.com/v4/letter/n/4491bb/32.png) [@nosql\_injection](https://discuss.elastic.co/u/nosql_injection)\
**Post date:** [March 30, 2020, 8:17am UTC](https://discuss.elastic.co/t/display-numbers-or-show-legend-in-maps/225269/3 "2020-03-30T08:17:47Z")

</div>

Thanks! At least it wasn't me looking in the wrong places 😉

---

<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:** [April 27, 2020, 8:17am UTC](https://discuss.elastic.co/t/display-numbers-or-show-legend-in-maps/225269/4 "2020-04-27T08:17:49Z")

</div>

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