OpenLayers

The Drupal OpenLayers Module

The OpenLayers Module and its submodules bring the OpenLayers JS library into Drupal. They enable users to combine maps from different map providers with data from Views and CCK input. The OpenLayers JavaScript library is open source, making it flexible and capable across standards as well as proprietary APIs.

Features & Submodules

OpenLayers
The OpenLayers core code stores map configurations: presets, styles, layers, and behaviors, and combines them to create maps using the OpenLayers javascript library on any Drupal site.
Layers
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, Virtual Earth, TMS, WMS, CloudMade, and XYZ map types, and the MapBox module adds support for MapBox maps.
Behaviors
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 map presets which can be used to customize all sorts of things like CCK Formatters to Views Plugins. Presets 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.
OpenLayers CCK
OpenLayers CCK adds an OpenLayers map and a simple OpenLayers WKT field type for storing complex geodata like points, lines, and polygons.
OpenLayers Filters
Provide a simple filter to allow for inline maps in content areas. By using a syntax similar to [openlayers preset_name], a map can be rendered in content.

Documentation

Main documentation for this module can be found at the Drupal OpenLayers Handbook and within the docs/ directory of the module itself. Contributions are welcome.

The 1.x version contains supplemental documentation with Advanced Help.

RoadMap & Current State

  • 2.x is the main focus of future development, and while stable, is still having some features added to it. Check the roadmap draft to see direction. This version depends on ctools. If upgrading from 1.x, see handbook page.
  • 1.x is the first major version of the Drupal OpenLayers module and is mostly stable. See #432642: Development for 6-1.x for general development discussion and roadmap. 1.x is no longer actively developed. We will try to fix bugs as they arise, and always welcome patches.
  • 0.x is no longer supported.

Upgrading

Related Modules

  • OpenLayers Geocoder - This module extends OpenLayers CCK input widget allowing to mark a location on the map by simply providing its address.
  • Geo Taxonomy (2.x) - Attaches geo information (latitude, longitude, bounding boxes, etc.) to taxonomy terms. Provides Views integration.
  • WFS (2.x) - Provides integration with GeoServer and optimized interaction for complex maps.
  • Spatial Tools (1.x) - Provides shapefile widget for openlayers cck fields. Also provides for creation of layers from database tables (ie. geo data tables).
  • MapBox (2.x) - Provides a configurable MapBox layer type and the ability to quickly add attribution for OpenStreetMap data.
  • OpenLayers KML (1.x) (github) - Use filefield to upload KML files and have them automatically put on a map.
  • Domain Bonus Integration - Provides integration with the Domain Access module and the different keys for different layers
  • OpenLayers Plus (2.x) - Adds a number of nice improvements to the module, and used in Managing News.

Credits

Downloads

Recommended releases

Version Downloads Date Links
6.x-2.0-alpha8 Download (92.6 KB) 2010-Jun-27 Notes

Other releases

Version Downloads Date Links
6.x-1.0-rc3 Download (95.64 KB) 2010-Jun-10 Notes

Development releases

Version Downloads Date Links
6.x-2.x-dev Download (97.54 KB) 2010-Sep-06 Notes
6.x-1.x-dev Download (95.67 KB) 2010-Jul-15 Notes


 
 

Drupal is a registered trademark of Dries Buytaert.