My current requirement is to implement a location sensor, ie whenever a user opens the appropriate web page , the user's current location is populated by default.
Also if a user logs in from a village, the nearest city needs to be populated by default.
Any ideas on how this can be implemented will be appreciated.