Drupal Tutorials > Other Useful > Implementing location proximity search with Drupal and Google Maps

Implementing location proximity search with Drupal and Google Maps

categories: Other Useful, Views
for Drupal: D6
0

This tutorial will show you how create a Google Map with location pinpoints in Drupal 6, and how to let your users filter the map based on postalcode.

This walkthrough was written to create a map for Belgium, as I encountered some gotchas while doing so. However most of it will apply to other countries as well, and you might even skip some steps that are only required for the Belgium use case.

Imagine you would want to create a Google Map showing all shops in Belgium, and let your users enter their postal code and a distance range (in kilometers or miles) to filter the results to. This would allow a user to search for shops nearby his location. As you can see in the screenshot below our map shows only shops that are within a 20 kilometer range of Brussels.

(Implementing location proximity search with Drupal and Google Maps >>)

ingridients (modules): gmap, location, views

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
233 Drupal Tutorials and counting!