Answer the question
In order to leave comments, you need to log in
Are there any examples of the implementation of normal label filtering on Yandex. maps?
The bottom line is that there are about 500 labels, each of them has 8 values \u200b\u200bin properties (in a json file) and they are displayed through the objectManager, I tried to make filters through .setFilter, but there are many problems, up to the fact that they are outside the function are not executed at all, and the toggle function fires immediately.
If anyone can - throw off a link to an example of good filtering (selects, checkboxes, draggers), because the documentation did not understand how to implement it. And for some reason there are no such examples in the sandbox.
Answer the question
In order to leave comments, you need to log in
Well , for example, there are much more than five hundred marks.
Leonid Sysoletin
like this
var min = $('#minpr').val();
$('#minpr').change(function(){
objectManager.setFilter('properties.minpr > min');
});
want to bind only the first dragger now and of course it didn't work
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question