Serverside Google geocoding

Getlocations does all it's geocoding clientside (eg in the browser) but there may be times when a developer needs to do some geocoding serverside, here are a couple of functions to help with that:

Addressfield Autocomplete, Geofield and Geocoder work together

This page describes how you can configure Addressfield Autocomplete module with Address Field, geocode the coordinates to a Geofield and show the point on map.


Let’s say we have a content type "Tournament" which has an Address Field for the place where the tournament is played.

Basic Dealer Locator, User Locator, Store Locator proximity search

The Goal: Five minutes to location based search results

This page will describe how to create a basic Dealer Locator, User Locator, Store Locator, etc with proximity search. The results will be displayed using Views. Your users will be able to search using friendly strings, such as "City, State", "State", "Province", and "Post/Zipcode" and return a result list ordered by proximity/distance.


The result will not show a map, only a simple list of results ordered by proximity.

There is a lot of documentation in the Drupal geolocation community that is focused on creating maps, which can make anyone new to the Drupal geocoding modules confused about where to begin for simple requirements. Fear not, the steps are actually very easy to accomplish, and you will have a 'store locator' running in minutes.


Required modules

Openlayers Proximity Search – Drupal 7

Other references:


These are steps to create a proximity map that will filter a list of items and display results on a map based upon their distance from a user entered address or zip code. The process also creates a table (as an attachment) that lists the results and their distance from the selected address.

Comparison of Mapping modules

This page aims to provide developers and site builders some navigation on the sea of options for the mapping of location data sets in Drupal D7. This is by no means an extensive survey. The idea is that by listing a number of the most popular modules side by side with their features, it will make it easier for the reader to shortlist modules for their specific needs before examining details on the various project and documentation pages.

In general you'll need at least two modules to create maps from location data: one to provide a location data storage facility and one to render the locations as markers on a map.

Examples of location storage modules are: Location, Geofield and Geolocation field and Get Locations.

Additionally, while the table below indicates required location storage methods (such as "Geofield" for "Leaflets"), it is in fact possible to deploy a module such as Geocoder to, for example, use Location as a storage method for Leaflet or OpenLayers.

Subscribe with RSS Subscribe to RSS - geocoder