On Oct 22, 1:08 pm, Jenson <[email protected]> wrote: > Hi, > > The requirement is to send the location name and extrat the nearest > places along with longitude and latitude based on the Domain > selected.. > > Domains can be > > Google.COM, Google.CO.Uk, Google.Cn etc etc > > When ever user select any domain, we need to execute a script > <script type="text/javascript" src="http://www.google.com/jsapi? > key=ABCDEFG"></script> > > in the above script "google.com" will be changed accordingly.....
Why? The API doesn't come from a different place if you do that. > when do do this the page is gettling loaded again...Is there any other > options..? > Can we dynamically change domain when sending a text for geocoding..? What are you actually attempting to do? Are you trying to bias the geocoding results? That is, if someone chooses "UK" and searches for "Lincoln" you get Lincoln in the UK; but if they've chosen "US" then it finds Lincoln in Nebraska? If that is the desired result, have a look at setBaseCountryCode(). Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-maps-api?hl=en -~----------~----~----~----~------~----~------~--~---
