I want to get the latitude and longatude from the Gmap control in to textboxes
- by chamara
Hi All. I tried with the following but it doesn't work
var txtlat=document.getElementById('TextBox1').value=GMap1.getCenter().lat();
var txtlong=document.getElementById('TextBox2').value=GMap1.getCenter().lng();
It gives a java script error as "Object Doesn't support this property or method".
How can i do this????
I really need help...
Thank you!