 readme  id readmetxt v 11728 20100908 113526 strk exp current for 6x20alpha2 description openlayers is a suite of module to help integrate the openlayers javascript library within drupal requirements openlayers requires ctools http drupalorg project ctools submodules require openlayers views requires views http drupalorg project views openlayers cck requires cck http drupalorg project cck openlayers can use features to package maps into modules features http drupalorg project features submodules you ll most likely want to enable openlayers ui and openlayers views modules for typical uses of openlayers openlayers ui creates a user interface to make map arrays which can be used in various places cck allows integration with cck so that geo data can be inputted via a map views allows data to be displayed on a map via views filters creates a filter to replace openlayers presetname with a map basic concepts presets an openlayers map in drupal is a combination of decisions about which layers to show what styles to apply the minimum and maximum zoom levels and how the user can interact with the map a map preset object is where the options for these settings are combined and stored presets can be rendered through openlayers views of the type openlayers map through filters provided by the openlayers filters module or directly in your modules using the api function openlayersrendermap layers openlayers allows for the display of a variety of raster and vector data on maps these are divided into two categories basemaps and overlays basemaps like those from openstreetmap or google maps provide a background for your data overlays can be data from openlayers data views kml layers or other types of data from external sources for more information on layer types see docs layertypestxt styles the openlayers module currently allows users to define custom styles for vector overlays the primary usecase here will be data from openlayers data views but this could also include kml files styles define things like stroke width background and outline colors and point size and allow the use of icons if desired they must be associated with layers on a per preset basis behaviors behaviors can be enabled on map presets to control how users interact with the map examples of behaviors include navigation which when enabled allows users to zoom and pan and layer switcher which provides a ui that allows users to toggle on and off the layers available on the map openlayers views openlayers views come in two varieties the first is a display type called openlayers data this is what allows users to control which pieces of content show up on the map and in what manner each openlayers data view provides a layer that can be added to maps when configuring a preset the second is a style called openlayers map that can be applied to pages blocks attachments and so on and give users an easy way of rendering presets installation 1 normal drupal module installation 2 set openlayers source at admin build openlayers it is suggested to download the library and use it locally for performance 3 a tutorial documentation more documentation is available in the docs directory of this module customizationtxt a cookbook for common customizations users might want to make for performance and tweaking apitxt a technical description of the main mapgenerating api layertypestxt a technical description of how layer types work and guide for implementation of new layer types kmltxt an explanation of how kml support works in openlayers javascripttxt a technical explanation of how the javascript included in the openlayers module not the code in the actual openlayers library operates a tutorial is available on drupalorg http drupalorg node 627816 authors credits zzolo http drupalorg user 147331 phayes http drupalorg user 47098 tmcw http drupalorg user 12664 brynbellomy http drupalorg user 537416 bdragon http drupalorg user 53081 openlayers monster by saman bemel benrud http wwwflickrcom photos samanpwbb strk http drupalorg user 781486  