ymaps.ready(function () {
var myMap = new ymaps.Map('map', {
center: [55.738307,37.630332],
zoom: 17
}, {
searchControl: 'yandex#search'
});
var positions = myMap.getGlobalPixelCenter();
var offsetPos = myMap.options.get('projection').fromGlobalPixels([ positions[0] - 100, positions[1] ], myMap.getZoom());
var myPlacemark = new ymaps.Placemark(offsetPos);
myMap.geoObjects.add(myPlacemark);
myPlacemark = new ymaps.Placemark(myMap.getCenter(), {
balloonContent: 'г. ул. Примерная д. 13А'
}, {
iconLayout: 'default#image',
iconImageHref: 'https://www.pngrepo.com/png/167549/180/map-locator.png',
iconImageSize: [81, 81],
iconImageOffset: [-40, -40]
});
myMap.geoObjects
.add(myPlacemark);
myMap.controls.remove('searchControl'); myMap.behaviors.disable('scrollZoom');
});