You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by 7zark7 <7z...@gmail.com> on 2010/06/26 19:29:09 UTC

GMap2 and adding LocalSearch

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 this.

Has anyone done this our could give advice?


Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: GMap2 and adding LocalSearch

Posted by Anh <7z...@gmail.com>.
Oh you are the man :-)
Thanks Sven!


On Sat, Jun 26, 2010 at 1:18 PM, Sven Meier <sv...@meiers.net> 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/search/HomePage.java
>
> Sven
>
>
> On 06/26/2010 08:58 PM, Anh wrote:
>>
>> 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<sv...@meiers.net>  wrote:
>>
>>
>>>
>>> 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:
>>>
>>>>
>>>> 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 this.
>>>>
>>>> Has anyone done this our could give advice?
>>>>
>>>>
>>>> Thanks
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: GMap2 and adding LocalSearch

Posted by Sven Meier <sv...@meiers.net>.
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 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<sv...@meiers.net>  wrote:
>
>    
>> 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:
>>      
>>> 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 this.
>>>
>>> Has anyone done this our could give advice?
>>>
>>>
>>> Thanks
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>        
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>      
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>    


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: GMap2 and adding LocalSearch

Posted by Anh <7z...@gmail.com>.
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 <sv...@meiers.net> wrote:

> 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:
>> 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 this.
>> 
>> Has anyone done this our could give advice?
>> 
>> 
>> Thanks
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: GMap2 and adding LocalSearch

Posted by Sven Meier <sv...@meiers.net>.
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:
> 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 this.
>
> Has anyone done this our could give advice?
>
>
> Thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org