trigger resize for map

This commit is contained in:
rolux 2010-12-22 18:19:47 +00:00
parent e25043765a
commit 533e3baa52

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) { that.zoom = function(value) {
self.map.setZoom(value); self.map.setZoom(value);
}; };