Андрей7897, это печально.
ymaps.ready(function () {
var myMap = new ymaps.Map("map", {
center: [55.764094, 37.617617],
zoom: 11,
controls: ['fullscreenControl', 'typeSelector']
}, {
searchControlProvider: 'yandex#map'
});
var searchControl = new ymaps.control.SearchControl({
options: {
fitMaxWidth: true,
maxWidth: [660, 660, 660]
}
});
myMap.controls.add(searchControl);
searchControl.events.add('resultselect', function(e) {
var searchRequestString = searchControl.getRequestString();// получить строку запроса
alert(searchRequestString);
var results = searchControl.getResultsArray();
var selected = e.get('index');
var point = results[selected].geometry.getCoordinates();
alert(point);
});
});