I want to get the latitude and longatude from the Gmap control in to textboxes
Posted
by chamara
on Stack Overflow
See other posts from Stack Overflow
or by chamara
Published on 2010-06-15T18:05:57Z
Indexed on
2010/06/15
18:22 UTC
Read the original article
Hit count: 183
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!
© Stack Overflow or respective owner