The Drupal Openlayers Module

Features & Submodules

The OpenLayers core code stores map configurations: maps, styles, layers, and behaviors, and combines them to create maps using the OpenLayers JavaScript library on any Drupal site.
OpenLayers supports a wide range of map types and new types can easily be added as ctools exportables - new layer types are being added all the time. Currently the module supports OpenStreetMap, Google Maps, Yahoo Maps, Bing Maps, TMS, WMS, CloudMade, XYZ map types and the MapBox maps.
OpenLayers supports a wide range projections and new ones can easily be added as ctools exportables. Proj4JS is the JS library who allows to create custom projections, so, the proj4js module is now a dependency.
Map interactions like popups, zoom controls, editing, and fullscreen can be added via the UI and extended by other modules.
OpenLayers UI
This module allows for a user interface to create and store maps which can be used to customize all sorts of things like CCK Formatters to Views Plugins. Maps can be provided by code or stored in the database and integrated with Features.
OpenLayers Views
The Views module is the preferred system of putting an OpenLayers map on a page: two types are provided - OpenLayers Data and OpenLayers Map, so that a single map can contain multiple node types and views.

Dependencies and requirements

What keeps us busy

How to report bugs

  1. Browse the issue queue to check if the bug hasn't been already reported. There's a great tutorial on how to use it here.
  2. Use the search function if you don't find anything
  3. Use the search function again
  4. Create an issue following the those recommandations

Please, keep in mind that the more work we have in the issue queue, the lesser time we have to work on this module, so, to be clear, before posting an issue, use the search functionality. Fixing bugs is notably more efficient if you provide steps to reproduce the bug.

Active maintainers


  • 14/01/2015: OpenLayers 7.x-3.x is now in development, please use it, test it, give feedback and if you want, contribute. See this page for a more complete roadmap.

You have to be sure you are downloading the correct file from github.

The WRONG way

  • Visit the OpenLayers 2 github site (
  • Select the branch/tag you want to download from
  • Click the download button
  • Using this method, the download will only contain the files that are in the repository and will not contain files that get built and included in each release.

The RIGHT way

  • Visit the OpenLayers 2 github site (
  • Click the releases link (in the menu just above the branches/tags selector)
  • Click the download button for the release you want to use
  • Using this method will get you an official release containing the files that get built and are not included in the repository.

Related Modules



Project Information