V
V
Vazgen Aleksanyan2021-10-09 10:42:58
JavaScript
Vazgen Aleksanyan, 2021-10-09 10:42:58

How to control zoom-in/zoom-out in Yandex maps using javascript-e?

If you look at the Yandex maps website, there are small steps to get closer. but I installed it on the site and it’s really huge. how to do to get like they have on the site? to get closer little by little.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Georgy Eremeev, 2021-12-09
@GogElf

version 2.1

let map = new ymaps.Map("map", {
    center: [55.907228, 31.260503],
    zoom: 5,
}, {
    zoomControlZoomStep: 1
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question