A
A
Alexey Bespalov2021-07-13 04:45:14
Yandex maps
Alexey Bespalov, 2021-07-13 04:45:14

Why does the new ymaps.control.SearchControl element work differently from searching in Yandex maps?

We have the development of choosing a delivery address through Yandex maps. A search bar has been added to the map:

var searchControl = new ymaps.control.SearchControl({
                options: {
                    noSelect: true,
                    suppressYandexSearch: true,
                    noPlacemark: true,
                    maxWidth: 500,
                    fitMaxWidth: true
                }
            });


Users complain that the search on our map is different from the work of Yandex maps. And a number of addresses searches incorrectly.
For example, such search strings: "ZATO Sbir ...", "Electr gardening ...".

I didn't see any other search widgets in the API.

Why does the search work differently, should the API be the same? Well, maybe there are options for changing the search so that it works the same way as on the Yandex map?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question