Hi,

I am pretty new to this and i believe this is pretty simple but  I am
looking to get the google map api to return me the geometry coordinate
of the map via a search. But i haven been able to do so.

Can anyone please tell me where i went wrong? thanks.

Below is the attached code.

 function search(){

        var address = document.getElementById('txta');
        var geocoder = new GClientGeocoder();
    var testtest = geocoder.getLatLng(address, function(latlng){
                var a = document.getElementById('txta');
                a.value = lating;
        });
        //alert(testtest);
        }

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to