I was struggling to get OL3 installed with the message "Openlayers library was not found. To install it...", even though I had OL3 in my site under "libraries/openlayer". I fixed this by stashing the OL3 into "libraries/openlayers3". I tried every combo, "libraries/openlayers" namely and my guess is that this is reserved for OL2. I don't have drush on the box I am working on today and thus drush is not an option (previous bug report found that drush installed this properly) so essentially, these instructions are critical.

I attach a completely ridiculous patch here, one that just tells the user to put it in "openlayers3" sub-directory. I am sure that a better patch would be to auto-detect the actuall version of OL in various combos of directories (OL3 release distro seems to like the sub-dir "ol"). At the very least in the "right way" install directions this should be mentioned.

Also, there is no README in the current version of the install, so I think this might be useful in there.

CommentFileSizeAuthor
#1 drupal-2474837-1.patch816 bytesrobertwb

Comments

robertwb’s picture

StatusFileSize
new816 bytes

  • Pol committed 0c54bd3 on 7.x-3.x authored by robertwb
    Issue #2474837 by robertwb: OpenLayers3 needs js library in directory...
m.stenta’s picture

Status: Active » Fixed

This was committed. Marking as "Fixed"...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.