S
S
Sergey Alpeev2014-09-15 10:31:33
PHP
Sergey Alpeev, 2014-09-15 10:31:33

How to react to js event?

Good day, I need to complete such a task, I have a filter for real estate objects made using mFilter2 , I have a script that collects addresses of objects, geocodes them and displays marks on a Yandex map with brief information about the object, but the search results may change, question in the following : how can I make the feature map update automatically and add or remove labels depending on the results of the selection ? thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
akyc, 2019-07-23
@QTnub

When filters are updated, the mse2_load event fires:

$(document).on('mse2_load', function(e, data) {
    //обновление карты
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question