I'm having trouble centering a google map.
I have an MVC application, created much like Phils Designer 2.0 video from yesterday. http://www.sencha.com/blog/sencha-designer-beta
List. When list is clicked a detail card of the tabs is created. Data is set for a form, and position/an marker is set for a map.
However I'm having trouble centering the map. The problem is that the map do not have any with and height at the time of the centering, so the position I want is always to the top left in stead of center.