Re: GMap2 from wicketstuff: how to dynamically resize?

2011-11-23 Thread Gabriel Landon
You can simply add a checkResize() function to the Gmap2. See : http://apache-wicket.1842946.n4.nabble.com/GMap2-in-a-Wiquery-Dialog-td3627392.html#a4102386 Regards, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/GMap2-from-wicketstuff-how-to-dynamically

GMap2 from wicketstuff: how to dynamically resize?

2010-05-16 Thread Alexandros Karypidis
Hi, I am unsing GMap2 from WicketStuff (http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap2) and need to display a map in a pop-up dialog. I use JQuery for the dialog. When the Dialog comes up, the map's viewport is offset in relation to the window and only the

Re: GMap2 from wicketstuff: how to dynamically resize?

2010-05-16 Thread Martin Funk
sorry my mind is in Sunday afternoon mode, and not able to wrap itself around this... could you come up with a Quickstart example? mf Am 16.05.2010 um 14:55 schrieb Alexandros Karypidis: Hi, I am unsing GMap2 from WicketStuff

Re: GMap2 from wicketstuff: how to dynamically resize?

2010-05-16 Thread Alexandros Karypidis
Ok, looking at the sources, I found that WicketStuff adds a WebMarkupContainer which is used for the actual map. Unfortunately, it hides this object from its client code, so there's no way to access it and call gmap2container.getMarkupId(). It does however assign the class gmap to the

Re: GMap2 from wicketstuff: how to dynamically resize?

2010-05-16 Thread Alexandros Karypidis
I guess the description was rather complicated... Anyway, the thing is: the Map2 class from the Google Maps API, apparently looks at the location and size of a div tag used as its canvas, to do some setup at page load time. When the div it targets is hidden, its size/position attributes are