How to search their marker on Yandex maps?

Good time of day. Faced with the task that you want to search at Yandex maps among their labels. The labels are derived from the JSON object. But the problem is that when forming the JSON object in the form field in the address. I can't understand how to add display its label exactly at the address you enter?

Here is the form:

Code label generation from JSON:

function init () {
 var myMap = new ymaps.Map('map', {
 center: [55.76, 37.64],
 zoom: 10
 }, {
 searchControlProvider: 'yandex#search'
 objectManager = new ymaps.ObjectManager({
 // To make the label began to be clustered up the option.
 clusterize: true,
 // ObjectManager accepts the same options as clusterization.
 gridSize: 32,
 clusterDisableClickZoom: true

 // To select single objects and clusters
 // refer to child collections of the ObjectManager.
 objectManager.objects.options.set('preset', 'islands#greenDotIcon');
 objectManager.clusters.options.set('preset', 'islands#greenClusterIcons');

 url: "data.json"
 }).done(function(data) {

1 answer
June 10th 19 at 14:22
Yandex is looking at your data. You need to write your search. Or through the address you can copy to get the coordinates and already around them to look for their items.
And it is possible to redraw markers without reloading the whole map? - darius commented on June 10th 19 at 14:25
To remove and add a new one. - Keira commented on June 10th 19 at 14:28
I choose the category in the form, then send an AJAX request to the server and it returns me a JSON with labels and using objectManager I brought them, but I also change the coordinates to center on those that got in the geocoder? This is the correct algorithm? - darius commented on June 10th 19 at 14:31

Find more questions by tags Yandex.MapsFrontendProgrammingWeb DevelopmentJavaScript