Answer the question
In order to leave comments, you need to log in
How to remove all Yandex.Maps buttons?
Hello. Can someone tell me how to remove all navigation from Yandex maps and make the map fixed?
Answer the question
In order to leave comments, you need to log in
map = new ymaps.Map(id, {
center: center,
zoom : 13
});
map.controls.remove('geolocationControl');
map.controls.remove('searchControl');
map.controls.remove('trafficControl');
map.controls.remove('typeSelector');
map.controls.remove('fullscreenControl');
map.controls.remove('rulerControl');
map.behaviors.disable(['scrollZoom']);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question