Location Finder with Zero Coding Using Drupal Location, Gmap and Views Modules

2015-06-13

Jitesh Doshi

Location Finder with Zero Coding Using Drupal Location, Gmap and Views Modules

Build a full-featured store locator with zero coding using Drupal location, gmap, and views modules.

Drupal is such a powerful and mature platform that you can build a full featured location finder (e.g. Store Locator) with zero coding.

Features:

  • A very flexible Store Location content type with any number and types of custom fields
  • Import any number of store locations from a CSV file
  • Automatically geocode (assign latitude & longitude) the locations based on the address
  • A search form and result listing with exposed filter to enter the zipcode
  • Show distance of the location from user’s zipcode and sort by distance
  • Show all matching locations on an interactive map

Steps:

  1. Install and configure the location module (use 7.x-3.x-dev version)
  2. Create a content type for Store Location, including the custom fields relevant to your business
  3. Download a CSV sample file and import using feeds module with location_feeds
  4. Create a view with “page” display, a “gmap” attachment display, and an exposed filter to enter the zipcode
  5. Package the whole setup as a feature