# Default Map initialization

**URL:** https://discuss.elastic.co/t/default-map-initialization/231497
**Category:** Kibana
**Tags:** maps
**Created:** [May 7, 2020, 9:17am UTC](https://discuss.elastic.co/t/default-map-initialization/231497 "2020-05-07T09:17:33Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![marrel](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@marrel](https://discuss.elastic.co/u/marrel)
#### Post date: [May 7, 2020, 9:17am UTC](https://discuss.elastic.co/t/default-map-initialization/231497/1 "2020-05-07T09:17:33Z")

</div>

Hi,

I am wondering if I can change the default world Map in Kibana, once I choose to make a new map visualization. Can I have a default country map instead of the whole world Map before I start the visualizations?

Thank you.

---

<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: [May 7, 2020, 11:45am UTC](https://discuss.elastic.co/t/default-map-initialization/231497/2 "2020-05-07T11:45:31Z")

</div>

Hi @marrel

I think the only way to change the default map is to disable Elastic Map Service completely and add a different tile server. There are details for that procedure [here](https://www.elastic.co/guide/en/kibana/7.6/maps-connect-to-ems.html#_disable_elastic_maps_service). Still, I'm not sure if you want to change the map style or just the initial location of the view when you create a new map.

Could you please elaborate a bit more what is your use case and requirements?

---

<div class="post-metadata">

### Author: ![marrel](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@marrel](https://discuss.elastic.co/u/marrel)
#### Post date: [May 8, 2020, 10:35am UTC](https://discuss.elastic.co/t/default-map-initialization/231497/3 "2020-05-08T10:35:26Z")

</div>

Hello @jsanz. Thank you very much for your prompt reply.  
I want to have a specific initial location of the map view when I create a new map. Not the whole world but a country view. Is this possible?

Not this map view:

 ![esc1](https://us1.discourse-cdn.com/elastic/original/3X/0/9/093a64cbb2fbe3438aa74b8b721339a934e9243b.png)

This map view eg. Italy map view:

 ![italy](https://us1.discourse-cdn.com/elastic/original/3X/1/b/1b60d0b811f499e2716afd121a4e8bc468f2ca63.png)

Because when I add a layer, and choose `Select source` then `Documents`, I do not know where my data are presented in the map.

So is there any automated way when I add a layer in the map, the map to automatically zoom in the region where my data are presented, in order not to search where are my data?

---

<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: [May 8, 2020, 10:45am UTC](https://discuss.elastic.co/t/default-map-initialization/231497/4 "2020-05-08T10:45:12Z")

</div>

I'm afraid there's no configuration setting for an initial location. Feel free to create a [feature request](https://github.com/elastic/kibana/issues/new?template=Feature_request.md) with full as much detail as possible on requirements.

If your documents use `geo_point` data type, then you can move the location to fit the data bounds

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

If the data is of type `geo_shape`, we will have the same feature [on 7.8 release](https://github.com/elastic/kibana/pull/64303). In the same release we will also have a [global fit to data](https://github.com/elastic/kibana/pull/64702) button for all the layers.

---

<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: [June 5, 2020, 10:45am UTC](https://discuss.elastic.co/t/default-map-initialization/231497/5 "2020-06-05T10:45:16Z")

</div>

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