Answer the question
In order to leave comments, you need to log in
How to remove controls on the Yandex map?
Using the map constructor, I generated a map for the site. The only thing you can somehow remove the controls including the slider?
Answer the question
In order to leave comments, you need to log in
What if controls: [] doesn't help? Any ideas why it might not work? The type of map is created at the wrong moment ....
The code is normal
myMap = new ymaps.Map( 'YMapsID', {
center: [55, 55],
zoom: 7,
controls: []
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question