Filter Drupal contents based on your visitor's city location in Views using Smart IP and Location modules
This guide will show how to setup a View that shows list of contents in a Drupal 7 site that are filtered based on your visitor's city location with the use of Smart IP and Location contributed modules. Smart IP module is used to identify Drupal site visitor's geographical location based on his IP address and Location module is used to provide the field and expose views location filters.
Steps:
The following steps will list all the nodes with city location field stored content same as the value of my city detected by Smart IP.