Answer the question
In order to leave comments, you need to log in
Why don't Yandex maps v2.1 work in safari on ios 13?
Works in all browsers except Safari on ios 13.1.3. It even works in chrome on ios. The bottom line is that the map itself is displayed, but completely non-clickable, does not respond to pressing, moving, and to auxiliary control buttons, such as zooming in. On ipad of the same version of ios it works. What could be the problem?
<div class="map__map" id="main-map" style="width: 100%; height: 710px"></div>
<script>
ymaps.ready(init);
function init() {
var map = new ymaps.Map("main-map", {
center: [35.138223, 33.229774],
controls: ['zoomControl'],
zoom: 10
}, {
minZoom: 9,
maxZoom: 11
});
map.behaviors.disable('scrollZoom')
</script>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question