# \[Vega Map\] Zoom levels limited to \[0-10\] when using base map layer

**URL:** <https://discuss.elastic.co/t/vega-map-zoom-levels-limited-to-0-10-when-using-base-map-layer/284691>\
**Category:** Kibana\
**Tags:** vega, maps\
**Created:** [September 21, 2021, 8:27am UTC](https://discuss.elastic.co/t/vega-map-zoom-levels-limited-to-0-10-when-using-base-map-layer/284691 "2021-09-21T08:27:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kayak007](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kayak007/32/147597_2.png) [@Kayak007](https://discuss.elastic.co/u/Kayak007)\
**Post date:** [September 21, 2021, 8:27am UTC](https://discuss.elastic.co/t/vega-map-zoom-levels-limited-to-0-10-when-using-base-map-layer/284691/1 "2021-09-21T08:27:09Z")

</div>

Hi,

We just updated from Kibana **v7.10** to **v7.13.2** and there seems to be some changes on the Vega Map visualisations.

When using base map layer ( **mapStyle: false** ), zoom levels seem to be limited to the range between 1 and 10.  
And not taking into account the **minzoom** / **maxzoom** defined in the Vega spec, which use to allow zooms from 1 to 20.  
When setting **mapStyle: true** , the full range of zoom levels can be used (1 to 20).

Code hasn't changed, Vega schema is the same so I guess it must come from the update but couldn't find anything in the documentation regarding changes on Vega Maps or the EMS.

The only reference I could find was to the following parameters in the **kibana.yml** : **map.tilemap.options.minZoom** , **map.tilemap.options.maxZoom**.  
But seems that 1-10 were always the default values.

Any idea on how to solve the "problem"?

Thanks.

Regards.

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [September 21, 2021, 10:55pm UTC](https://discuss.elastic.co/t/vega-map-zoom-levels-limited-to-0-10-when-using-base-map-layer/284691/2 "2021-09-21T22:55:33Z")

</div>

Hi @Kayak007. Thanks for reaching out! I looked into this and can confirm this is a bug in Kibana. [I've filed a bug report here](https://github.com/elastic/kibana/issues/112764).

---

<div class="post-metadata">

**Author:** ![Kayak007](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kayak007/32/147597_2.png) [@Kayak007](https://discuss.elastic.co/u/Kayak007)\
**Post date:** [September 22, 2021, 7:11am UTC](https://discuss.elastic.co/t/vega-map-zoom-levels-limited-to-0-10-when-using-base-map-layer/284691/3 "2021-09-22T07:11:32Z")

</div>

Hi,  
Thanks for quick the answer.

You think there's a workaround that I could try until the bug is fixed?

Regards.

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [September 22, 2021, 3:43pm UTC](https://discuss.elastic.co/t/vega-map-zoom-levels-limited-to-0-10-when-using-base-map-layer/284691/4 "2021-09-22T15:43:32Z")

</div>

As a workaround, you could configure a third-party Tile Map Service in Kibana. There are some examples that should work in [this blog post](https://www.elastic.co/blog/custom-basemaps-for-region-and-coordinate-maps-in-kibana).

---

<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:** [October 20, 2021, 3:43pm UTC](https://discuss.elastic.co/t/vega-map-zoom-levels-limited-to-0-10-when-using-base-map-layer/284691/5 "2021-10-20T15:43:49Z")

</div>

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