LoginRegion != localRegion See also: http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines
On 09/07/2009, badnews <[email protected]> wrote: > > on row 6, visiting databae, but the value of localRegion is "", > why? > > var localRegion = ""; > > GEvent.addDomListener(window,"load",function() > { > > var geocoder = new GClientGeocoder(); //1 > > geocoder.getLocations(xy, function(response) //2 > { > if (!response) //3 > { > > var place = response.Placemark[0]; //4 > localRegion = > place.AddressDetails.Country.AdministrativeArea.AdministrativeAreaName // > 5 > > var targets = eval(VisitDb2("9","false`" + escape > (LoginRegion),false,false)) //6 > } > } > } > } > > > -- Barry - www.nearby.org.uk - www.geograph.org.uk - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
