diff --git a/src/providers/yandex/Yandex.js b/src/providers/yandex/Yandex.js index 4aeb58d..ae28e91 100644 --- a/src/providers/yandex/Yandex.js +++ b/src/providers/yandex/Yandex.js @@ -54,6 +54,11 @@ class Yandex extends Map { // Center the map this.map.setBounds(bounds); + + // If one marker: readjust zoom because bounds are too small to show tiles + if (this.points && this.points.length === 1) { + this.setZoom(16); + } } load(callback, loadingMask) {