trigger resize for map
This commit is contained in:
parent
e25043765a
commit
533e3baa52
|
@ -7675,6 +7675,13 @@ requires
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
that.triggerResize = function() {
|
||||||
|
Ox.print('---- triggerResize');
|
||||||
|
var center = self.map.getCenter();
|
||||||
|
google.maps.event.trigger(self.map, 'resize');
|
||||||
|
self.map.setCenter(center);
|
||||||
|
}
|
||||||
|
|
||||||
that.zoom = function(value) {
|
that.zoom = function(value) {
|
||||||
self.map.setZoom(value);
|
self.map.setZoom(value);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user