How to get user current location and display node attached with current location? I am developing a deal based site in drupal 7. I am using addressfield, geocoder, leaflet and views module to display deals node on leaflet map.

I am able to attach exposed filter "city" so that use can search deals on specific city but I want it like groupon site, where they recognize visitor city and displaying all deals related to visitor current city.

How can I get user current city and display all content related to user city on leaflet map and node view.

Thanks
You might want to use SmartIP to get the ip/location of the visitor. Or enter a location in the user profile.

Then in the leaflet view, as filter use proximity. This way you can select the distance from the user to the node you want to filter on.