Google Map crashes in IOS7

后端 未结 11 2244
予麋鹿
予麋鹿 2020-12-12 14:59

We are developing an Hybrid app and we are using google map API in our application. When we are trying to load 2000 data markers in the map, it got crashed. Map is not get c

11条回答
  •  死守一世寂寞
    2020-12-12 15:30

    We have the same issue with Labels on google map. When map zoom in app get crashed. This started to happen after upgrade in to IOS 7. I am trying different options like remove and add label in events like "drag" and "idle". This code works but still crash occur. but less often. I hope someone might have better fix for this.

        google.maps.event.addListener(Map.gmap, 'drag', function () {
                $('.arrowSite_box').remove(); // remove labels
        });
    
        google.maps.event.addListener(Map.gmap, 'idle', function () {
            loadMarkers(results); // add labels
        });
    

提交回复
热议问题