Re: GMap2 and adding LocalSearch

2010-06-26 Thread Anh
Oh you are the man :-) Thanks Sven! On Sat, Jun 26, 2010 at 1:18 PM, Sven Meier wrote: > Hi, > > enabling the GoogleBar was quite easy: > > https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/gmap2-parent/gmap2-examples/src/main/java/wicket/contrib/examples/gmap/

Re: GMap2 and adding LocalSearch

2010-06-26 Thread Sven Meier
Hi, enabling the GoogleBar was quite easy: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/gmap2-parent/gmap2-examples/src/main/java/wicket/contrib/examples/gmap/search/HomePage.java Sven On 06/26/2010 08:58 PM, Anh wrote: Either is fine - I basically nee

Re: GMap2 and adding LocalSearch

2010-06-26 Thread Anh
Either is fine - I basically need a search box in a Gmap component to help people find the location they are looking for. Is either approach easy to integrate with the existing Gmap2 component? Thanks On Jun 26, 2010, at 11:37 AM, Sven Meier wrote: > Hi, > > LocalSearch is deprecated: >

Re: GMap2 and adding LocalSearch

2010-06-26 Thread Sven Meier
Hi, LocalSearch is deprecated: http://www.google.com/uds/solutions/localsearch/index.html Shouldn't we think about support for the GoogleBar? http://code.google.com/intl/de/apis/maps/documentation/javascript/v2/services.html#UsingGoogleBar Sven On 06/26/2010 07:29 PM, 7zark7 wrote:

GMap2 and adding LocalSearch

2010-06-26 Thread 7zark7
I'm having trouble using GMap2 and adding a LocalSearch control: http://www.google.com/uds/solutions/localsearch/index.html Looks to be a one liner in Javascript: map.addControl(new google.maps.LocalSearch()); But given the class heirarchy and JS generation used, not sure how I would do thi