mxup,
function init() {
var myMap = new ymaps.Map("map", {center:[55.753994, 37.622093], zoom:9});
ymaps.geocode("omsk", {results:1}).then(function(res) {
var firstGeoObject = res.geoObjects.get(0),
coords = firstGeoObject.geometry.getCoordinates(),
bounds = firstGeoObject.properties.get("boundedBy");
firstGeoObject.options.set("preset", "islands#darkBlueDotIconWithCaption");
firstGeoObject.properties.set("iconCaption", firstGeoObject.getAddressLine());
myMap.geoObjects
.add(firstGeoObject)
.add(new ymaps.Placemark([55.753215, 37.622504], {
balloonContent: '<strong>Москва</strong>'
}, {
preset: 'islands#icon',
iconColor: '#0095b6'
}))
.add(new ymaps.Placemark([59.939095, 30.315868], {
balloonContent: '<strong>Санкт-Петербург</strong>'
}, {
preset: 'islands#icon',
iconColor: '#0095b6'
}))
.add(new ymaps.Placemark([54.513845, 36.261215], {
balloonContent: '<strong>Калуга</strong>'
}, {
preset: 'islands#icon',
iconColor: '#0095b6'
}))
.add(new ymaps.Placemark([52.970371, 36.063837], {
balloonContent: '<strong>Орёл</strong>'
}, {
preset: 'islands#icon',
iconColor: '#0095b6'
}))
myMap.setCenter(coords, 10);
myMap.setBounds(bounds, {checkZoomRange:true});
});
};