trigger resize for map

This commit is contained in:
rolux 2010-12-22 18:19:47 +00:00
parent 33cce09096
commit 5ac1e5e2bf

View file

@ -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) {
self.map.setZoom(value);
};