K
K
Klein Maximus2017-11-22 22:06:27
JavaScript
Klein Maximus, 2017-11-22 22:06:27

Does Yandex.Maps have an event for switching from one popup (balloon) to another?

When you click on any element (GeoObject), a popup (balloon) appears on the map.
With the events of opening/closing/shifting, etc., everything is clear.
But here's how to catch when there are several placemarks in the active area of ​​the map, and the user switches between them? That is, during this action, the balloon is already open and does not close, but simply changes its position and content.
How to track?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Klein Maximus, 2017-11-23
@kleinmaximus

The solution I used was the following: I simply "zapped" this.mapInstanse.balloon into a vue getter (Vue is used as the main framework) and track its change through $watch.

I
iKest, 2017-11-23
@iKest

Use a clusterer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question