StreetView splits Safari on iOS (API v3)

Is there a memory issue when using full-screen StreetView on iOS, either in your own application or on Google’s Safari website on the iPad retina, maybe others?

In StreetView, hold arrows that quickly change position, and soon the application (or Safari) will be forced to close due to low memory status.

One fix is ​​to add a listener to the panorama and turn off visibility and turn on ...

google.maps.event.addListener(pan, 'position_changed', function() { panmove(); });

function panmove()
{
    pan.setVisible(false);
    setTimeout(function() { pan.setVisible(true); }, 10);
}

Has anyone else run into this problem, and is there any other solution as changing visibility causes StreetView to remain blank for a short time.

+5
source share

All Articles