# Emulate region map max(field) in Maps

**URL:** <https://discuss.elastic.co/t/emulate-region-map-max-field-in-maps/287863>\
**Category:** Kibana\
**Created:** [October 28, 2021, 1:01am UTC](https://discuss.elastic.co/t/emulate-region-map-max-field-in-maps/287863 "2021-10-28T01:01:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gustavo\_Llermaly](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gustavo_llermaly/32/92019_2.png) [@Gustavo\_Llermaly](https://discuss.elastic.co/u/Gustavo_Llermaly)\
**Post date:** [October 28, 2021, 1:01am UTC](https://discuss.elastic.co/t/emulate-region-map-max-field-in-maps/287863/1 "2021-10-28T01:01:51Z")

</div>

Hello, I want to emulate the region map on a min field value, not the document count, but I can not get it with the New Maps layout because is grouping by document count.

How can I get this old functionality? I just want to colour the map based on the min value of a country term aggregation.

Thanks

---

<div class="post-metadata">

**Author:** ![Gustavo\_Llermaly](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gustavo_llermaly/32/92019_2.png) [@Gustavo\_Llermaly](https://discuss.elastic.co/u/Gustavo_Llermaly)\
**Post date:** [October 28, 2021, 3:35am UTC](https://discuss.elastic.co/t/emulate-region-map-max-field-in-maps/287863/2 "2021-10-28T03:35:05Z")

</div>

I solved it this way:

1. Recovered Region maps setting `xpack.maps.showMapVisualizationTypes` to `true` in kibana.yml

2. Created the Region map as I want

3. Press the "View in maps" button that appeared. Then will convert your region map into Map view

---

<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:** [October 29, 2021, 7:38pm UTC](https://discuss.elastic.co/t/emulate-region-map-max-field-in-maps/287863/3 "2021-10-29T19:38:32Z")

</div>

`xpack.maps.showMapVisualizationTypes` is deprecated and will be removed in 8.0.0 along with region map and coordinate map visualizations.

You can create region maps in Maps application by

1. clicking "Add layer"
2. Selecting "Choropleth"
3. Configuring join and clicking "Add layer"
4. Then, under "Term joins", click "and use metric" to add additional metrics such as min field.

 ![Screen Shot 2021-10-29 at 1.38.04 PM](https://us1.discourse-cdn.com/elastic/original/3X/3/f/3f3e1a8e44fcd504150c63e29bec4e1d5a3a3a50.png)

Hope this helps.

---

<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:** [November 26, 2021, 7:38pm UTC](https://discuss.elastic.co/t/emulate-region-map-max-field-in-maps/287863/4 "2021-11-26T19:38:42Z")

</div>

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