I am working on one project in which it is required that in registration field if a user selects a location then the location's logitude and latitude inserted into input field.If possible,Please tell me the way to do this.

How are you selecting the location?

at this time i am selecting the location by address,And i am thinking to do such that a user will mark the location(on project website) then he will get latitude and longtude or inserted in input field .Is it possible?