Loading mask should be cleared after 10 second (loading failed) but it is not.
reproduce:
write a page contains a gmap, disable network (e.g., simply setup an invalid
proxy exclude localhost)
workaround:
modify callback of loadAPIs as below:
gmapsGapi.loadAPIs(wgt, function() {
try {
wgt._tryBind(dt, skipper, after);
} catch (err) {
var mopts = wgt._maskOpts;
if (mopts && mopts._mask && mopts._mask.mask)
gmapsGapi.clearMask(wgt, wgt._maskOpts);
}
},
'Loading Google Ajax APIs');
fix:
can either simply apply the workaround above, or clear mask in 'function
waitUntil' of gapi.js
Original issue reported on code.google.com by benbai...@gmail.com on 27 Nov 2013 at 4:04
Original issue reported on code.google.com by
benbai...@gmail.com
on 27 Nov 2013 at 4:04