Re: initial GMap2 bounds question

2009-02-28 Thread Antony Stubbs
ommands, e-mail: users-h...@wicket.apache.org >> > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > ---

Re: initial GMap2 bounds question

2008-10-08 Thread Martin Funk
Sven Meier wrote: Regretfully there's no direct API call in GMap2 supporting your case. Here's a description how to do it with Javascript only: http://econym.googlepages.com/basic14.htm We could make up a function that hides the details: GMap2#fitMarkers(List) Martin, what do you think?

Re: initial GMap2 bounds question

2008-10-08 Thread Doug Leeper
s all my specific custom locations. Works like a charm! -- View this message in context: http://www.nabble.com/initial-GMap2-bounds-question-tp19883071p19886673.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: initial GMap2 bounds question

2008-10-08 Thread Sven Meier
Regretfully there's no direct API call in GMap2 supporting your case. Here's a description how to do it with Javascript only: http://econym.googlepages.com/basic14.htm We could make up a function that hides the details: GMap2#fitMarkers(List) Martin, what do you think? Sven Doug Leeper

initial GMap2 bounds question

2008-10-08 Thread Doug Leeper
Lets say I have two GLatLng Points, i.e. Chicago and Indianapolis. I would like to have the map be centered between these points and bounded to show these points. What is the best way to do this? -- View this message in context: http://www.nabble.com/initial-GMap2-bounds-question