Leaflet map issue in Safari using iPhone and iPad

前端 未结 2 607
小蘑菇
小蘑菇 2021-01-03 10:28

I am having some weird issue with the leaflet map using Safari in iPhone and iPad. I am using an AJAX GET request to fetch the markers on the map and binding the popup conte

2条回答
  •  滥情空心
    2021-01-03 10:43

    I confirm Nasir item is the correct one. Thanks!

    Specifically, I changed in Leaflet.GoogleMutant.js the following line from

    this._mutantContainer.style.zIndex = '800'; //leaflet map pane at 400, controls at 1000
    

    to

    this._mutantContainer.style.zIndex = '399'; //leaflet map pane at 400, controls at 1000
    

    And now it works.

    I'm not sure what is affected by this change though... thanks for comments

    Luigi

提交回复
热议问题