How to get latitude,longitude and address of the user from the google map and include it into a text box automatically? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to get latitude,longitude and address of the user from the google map and include it into a text box automatically?

I am designing a form in HTML that includes fields - latitude, longitude and address. I want the user just to pick a point on Google map and the resultant latitude, longitude and address of the user location has to be automatically included into the respective textbox. I am trying but I am not able to get it. My sincere appreciation for anyone who can help me.

7th Apr 2018, 6:42 AM
Muthiah Abbhirami
Muthiah Abbhirami - avatar
2 Answers
7th Apr 2018, 6:52 AM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
0
@Brains thanks! btw I have done it.
7th Apr 2018, 7:25 AM
Muthiah Abbhirami
Muthiah Abbhirami - avatar