3 or the drupal module's JS files simply won't work and probably break other things. These errors can be seen in Firebug's or other browser's dev console. This also occurs in the recommended d7 version. The files are:
* sites/all/modules/openlayers-DRUPAL-7--2/includes/behaviors/js/openlayers_behavior_permalink.js (line 22)
* sites/all/modules/openlayers-DRUPAL-7--2/includes/behaviors/js/openlayers_behavior_scaleline.js (line 22)
* sites/all/modules/openlayers-DRUPAL-7--2/includes/behaviors/js/openlayers_behavior_drawfeatures.js (line 140)
and
* sites/all/modules/openlayers-DRUPAL-7--2/OpenLayers-2.10/OpenLayers.js (line 247 -- in the min version...)
The above files are missing a closing curly bracket (})
After the above errors are reported (in say, Firebug), it ends with the message:
TypeError: this.projection.getUnits is not a function
Comments
Comment #1
tmcw commentedFixed in http://drupal.org/cvs?commit=486468
The problem with OpenLayers isn't in the domain of this module; it integrates with OpenLayers.js, but does not contain or directly develop it.