# In kibana's coordinate map mode, how to set the China map as the default location instead of the world map?

**URL:** https://discuss.elastic.co/t/in-kibanas-coordinate-map-mode-how-to-set-the-china-map-as-the-default-location-instead-of-the-world-map/143619
**Category:** Kibana
**Created:** [August 9, 2018, 2:59am UTC](https://discuss.elastic.co/t/in-kibanas-coordinate-map-mode-how-to-set-the-china-map-as-the-default-location-instead-of-the-world-map/143619 "2018-08-09T02:59:27Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![sun\_changlong](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sun_changlong/32/39036_2.png) [@sun\_changlong](https://discuss.elastic.co/u/sun_changlong)
#### Post date: [August 9, 2018, 2:59am UTC](https://discuss.elastic.co/t/in-kibanas-coordinate-map-mode-how-to-set-the-china-map-as-the-default-location-instead-of-the-world-map/143619/1 "2018-08-09T02:59:27Z")

</div>

Can the default area of the coordinate map be set to the specified position in kibana? The default is a world map. Can it be replaced with a map of China? Now I save a Visualize, and I need to re-specify the Visualize method every time I enter. Is there any other way?

---

<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: [August 9, 2018, 2:21pm UTC](https://discuss.elastic.co/t/in-kibanas-coordinate-map-mode-how-to-set-the-china-map-as-the-default-location-instead-of-the-world-map/143619/2 "2018-08-09T14:21:46Z")

</div>

There is no offical way to set the default map center and zoom. You can open an [feature request](https://github.com/elastic/kibana/issues/new?template=Feature_request.md) if you want.

You could manually set the default values if you are comfortable messing around with a javascript file. In [tile\_map\_vis](https://github.com/elastic/kibana/blob/master/src/core_plugins/tile_map/public/tile_map_vis.js#L54) set `mapCenter` and `mapZoom` to the desired defaults. Delete the `optimize` directory and restart kibana. Be sure to try this on a dev system and verify the changes before attempting on any operational systems.

---

<div class="post-metadata">

### Author: ![sun\_changlong](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sun_changlong/32/39036_2.png) [@sun\_changlong](https://discuss.elastic.co/u/sun_changlong)
#### Post date: [August 10, 2018, 3:30am UTC](https://discuss.elastic.co/t/in-kibanas-coordinate-map-mode-how-to-set-the-china-map-as-the-default-location-instead-of-the-world-map/143619/3 "2018-08-10T03:30:41Z")

</div>

really glad to receive your response，thank you.  
I changed the mapCenter and mapZoom in the tile\_map\_vis.js file.

> mapZoom: 5,  
> mapCenter: [32.97180377635759, 108.28125],

And deleted the optimize directory,But after restarting kibana, optimeze loads very slowly, not just in a few minutes.So that loading for an hour is not completed.I gave up the reload and will re-extract and copy the unused optimize file to use.  
The result of the replacement is "Unable to retrieve the manifest from the tile service: status -1" and the map is blank.  
Can I replace this with this?

---

<div class="post-metadata">

### Author: ![sun\_changlong](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sun_changlong/32/39036_2.png) [@sun\_changlong](https://discuss.elastic.co/u/sun_changlong)
#### Post date: [August 13, 2018, 2:19am UTC](https://discuss.elastic.co/t/in-kibanas-coordinate-map-mode-how-to-set-the-china-map-as-the-default-location-instead-of-the-world-map/143619/4 "2018-08-13T02:19:41Z")

</div>

Hi Nathan\_Reese . I changed the tile\_map\_vis.js file, set the mapCenter and mapZoom is [32.97180377635759, 108.28125] and 5. delete the optimize file and restart kibana.

But, Jump to Visualize by the visualize of geoip.location in discover, the map display area has not changed. The same is true directly through Visuzlize.  
How can I solve this problem? Looking forward to your reply。

---

<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: [September 10, 2018, 2:19am UTC](https://discuss.elastic.co/t/in-kibanas-coordinate-map-mode-how-to-set-the-china-map-as-the-default-location-instead-of-the-world-map/143619/5 "2018-09-10T02:19:46Z")

</div>

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