Yes, but unfortunately, it's going to involve a considerable amount of  
rewriting for your GSmapSearchControl (i.e., wizard-generated map  
search control).  You might check out my [Semi] Advanced Google Maps  
Local Search Control, available at the link below:

http://jgeerdes.home.mchsi.com/playground/jGMLSC.html

I would be happy to help you set it up to add the "Football Ground"  
addition you want.

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
[EMAIL PROTECTED]

Unless otherwise noted, any price quotes contained within this  
communication are given in US dollars.

If you're in the Des Moines, IA, area, check out Debra Heights  
Wesleyan Church!




On Oct 21, 2008, at 6:26 AM, superjeans wrote:

>
> Hi,
>
> I have a wizard generated piece of code, which creates a map that
> succesfully finds local football grounds based purely on post code and
> hidden input fields via:
>
> this.gs.execute(this.searchForm.input.value+' Football Ground ')
>
> However, when cicking on a result bubble on "Directions" it defaults
> to going from the centre point of my map defined in the code.
>
> Is there any way to make this a bit more dynamic? e.g.,
>
> I type in my location - lets say S10 1UP. This says my nearest
> football ground is Sheffield United, I know this is only a few miles
> away in Sheffield. However, because the map centre is defined as
> London in the code, it says I have to start from London and travel 3
> hours to get there.
>
> Is it possible to dynamically change the start location (based on the
> user defined search input - the post code) that is sent to google to
> retrieve the directions?
>
> Many thanks.
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to