hi i'm having some problem with google.loader.ClientLocation. I'm not able to get my Location information(city,region,country) in MAC os using following script. Although in windows and Linux i'm able to get my city,state and country.
<html> <script type="text/javascript" src="http://www.google.com/jsapi? key=ABQIAAAAZa7lRXP3ENEBedfvFn3eERTi6GN1FOGG0elxb12Akk_ye4II3RRyzWcVKZmcf7F2ohzjAlh9r_Ji6A"></ script> <script type="text/javascript"> alert("Hi"); var loc; google.load("maps", "2", {callback: test}); if (google.loader.ClientLocation){ loc = google.loader.ClientLocation.address.city + ',' + google.loader.ClientLocation.address.region + ',' + google.loader.ClientLocation.address.country alert(loc); } alert("THANKS FOR TESTING") function test() { alert("INTEST"); } </script> </html> Everytime google.loader.ClientLocation is null on mac. Is there any OS specific changes needs to be done while using google.loader.ClientLocation on mac machine. thanks, Abhishek Singh -- 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.
