# \[Kibana/Vega\] Map signals latitude, longitude & zoom

**URL:** https://discuss.elastic.co/t/kibana-vega-map-signals-latitude-longitude-zoom/267796
**Category:** Kibana
**Tags:** vega
**Created:** [March 19, 2021, 10:25am UTC](https://discuss.elastic.co/t/kibana-vega-map-signals-latitude-longitude-zoom/267796 "2021-03-19T10:25:12Z")
**Posts on this page:** 1
**Showing post:** 4

<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: [March 24, 2021, 1:37pm UTC](https://discuss.elastic.co/t/kibana-vega-map-signals-latitude-longitude-zoom/267796/4 "2021-03-24T13:37:41Z")

</div>

Hi,

I took a closer look at the vega documentation and it seems that signals are updated sequentially. So the behaviour is normal...

Still I managed to do what I wanted by creating the following signal:

```auto
{name:"sigrepaintMap",on:[{events:"timer{2000}",update:"setMapView([sigLongitude,sigLatitude],sigZoom)"}]}

```

`setMapView()` modifies all three signals at the same time.

The info was found here: [GitHub - nyurik/leaflet-vega: Leaflet layer based on Vega visualization grammar](https://github.com/nyurik/leaflet-vega).

Regards.

---

_[View the full topic](https://discuss.elastic.co/t/kibana-vega-map-signals-latitude-longitude-zoom/267796)._
