# How does Visualize's coordinate or region map limit the latitude and longitude of the default region?

**URL:** https://discuss.elastic.co/t/how-does-visualizes-coordinate-or-region-map-limit-the-latitude-and-longitude-of-the-default-region/144138
**Category:** Kibana
**Created:** [August 13, 2018, 9:44am UTC](https://discuss.elastic.co/t/how-does-visualizes-coordinate-or-region-map-limit-the-latitude-and-longitude-of-the-default-region/144138 "2018-08-13T09:44:44Z")
**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 13, 2018, 9:44am UTC](https://discuss.elastic.co/t/how-does-visualizes-coordinate-or-region-map-limit-the-latitude-and-longitude-of-the-default-region/144138/1 "2018-08-13T09:44:44Z")

</div>

The area displayed by Visualize's coordinate or region map by default is the world map. How can I narrow down to a specified latitude and longitude region?

I set mapCenter and mapZoom under tile\_map\_vis.js and delete the optimize directory. Restart kibana, but the map default area has not changed.

Save and use visualize by manually shrinking the visualize map. However, in the geoip.location option to jump to visualize, the map is still no change.

**How do I implement changing the default latitude and longitude of the map to a custom area?**

---

<div class="post-metadata">

### Author: ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)
#### Post date: [August 13, 2018, 8:26pm UTC](https://discuss.elastic.co/t/how-does-visualizes-coordinate-or-region-map-limit-the-latitude-and-longitude-of-the-default-region/144138/2 "2018-08-13T20:26:22Z")

</div>

Hi there, are you building Kibana from source? If so, then after you edit `tile_map_vis.js` you need to rebuild and then re-run Kibana. Here are the instructions for creating a new build: [https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#testing-and-building](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#testing-and-building)

Manually adjusting the position and zoom of a map visualization will only affect that particular visualization and not new visualizations you subsequently create.

If you'd like the ability to set a default lat and lon for map visualizations (for example, in the Advanced Settings section), please [create a feature request](https://github.com/elastic/kibana/issues/new?template=Feature_request.md).

Thanks,  
CJ

---

<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 14, 2018, 1:50am UTC](https://discuss.elastic.co/t/how-does-visualizes-coordinate-or-region-map-limit-the-latitude-and-longitude-of-the-default-region/144138/3 "2018-08-14T01:50:00Z")

</div>

hi cj：  
I used the decompression of the tar file and did not rebuild it. If I want to change completely, I must to rebuild kibana?  
I have create a feature request before, it's [Coordinate map set the display area range](https://github.com/elastic/kibana/issues/21876)  
What else can I do besides rebuilding kibana? Looking forward to your reply.  
Thanks， Sun

---

<div class="post-metadata">

### Author: ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)
#### Post date: [August 14, 2018, 9:13pm UTC](https://discuss.elastic.co/t/how-does-visualizes-coordinate-or-region-map-limit-the-latitude-and-longitude-of-the-default-region/144138/4 "2018-08-14T21:13:37Z")

</div>

Hi Sun, because that file you edited lives in source then, yes, the only way to re-run Kibana with your change would be to rebuild it. Other than submitting a feature request, you are also welcome to submit a pull request adding you desired feature.

Thanks,  
CJ

---

<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 11, 2018, 9:13pm UTC](https://discuss.elastic.co/t/how-does-visualizes-coordinate-or-region-map-limit-the-latitude-and-longitude-of-the-default-region/144138/5 "2018-09-11T21:13:43Z")

</div>

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