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 -~----------~----~----~----~------~----~------~--~---
