Advertising sustains the DA. Ads are hidden for members. Join today

OpenLayers Geocoder tutorial

Last updated on
30 April 2025

You are browsing documentation for an older version of Drupal, which is not supported any longer, and the information may not be correct. See current documentation for Contributed modules

Tutorial goal

  • Display both map and address using the OpenLayers Geocoder module

Requirements

Steps

  1. Create a content type at admin/content/types/add
  2. Add the following Text field
    Label: Address
    Field name: geocoder_address
  3. Add the following OpenLayers Geocoder field
    Label: Map
    Field name: geocoder_map
  4. Configure the OpenLayers Geocoder field
    Under the Autocompletion section
    Check the Enable box next to the Address Field
    Under Content, type in the following token: [formatted_address]
  5. That's it you're done. To test go to /node/add to create a content.

Source: JoshuaBud at http://drupal.org/node/951378#comment-3739308

Help improve this page

Page status: Not set

You can: