dont waited for loaded, check window.google
This commit is contained in:
parent
7bb3d5d185
commit
0de8f278da
1 changed files with 1 additions and 1 deletions
|
@ -714,7 +714,7 @@ Ox.Map = function(options, self) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getMapBounds(callback) {
|
function getMapBounds(callback) {
|
||||||
if (!self.loaded) {
|
if (!window.google) {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
getMapBounds(callback);
|
getMapBounds(callback);
|
||||||
}, 100);
|
}, 100);
|
||||||
|
|
Loading…
Reference in a new issue