Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I unzipped the proj4s library into sites/all/libraries but the Status Report page reports it missing.
Comment | File | Size | Author |
---|---|---|---|
#7 | file_requirements-1960194-7.patch | 498 bytes | boyan.borisov |
Comments
Comment #1
fonant CreditAttribution: fonant commentedHmmm.. seems clearing the cache helped.
Comment #2
PolComment #3
angus_muir CreditAttribution: angus_muir commentedI am still having this problem. It is not recognizing Proj4JS library for OpenLayers module.
I cleared cache, updated Libraries module to no avail.
Comment #5
spgd01 CreditAttribution: spgd01 commentedStill an issue for me. I would like to update proj4js to proj4js 2.x and when any proj4js.js file (even default 1.0.1 file provided by this module) is in "sites/all/libraries/proj4js/proj4js.js" it is not recognized. Yes I have libraries 2.1 installed
Comment #6
BoySherman CreditAttribution: BoySherman commentedWe fixed this by using this version of the library.
Comment #7
boyan.borisov CreditAttribution: boyan.borisov commentedI created a patch for this version of the Proj4JS library.
Comment #8
PolHi all,
I'm ok to commit the patch, but I need people to test it.
Also, which version of the library is that patch downloading ? Master branch ?
Thanks !
Comment #9
oliverandmichele CreditAttribution: oliverandmichele commentedI wanted to update this thread detailing my problems with the proj4js library.
I am using an MAMP local development environment and have Drupal core 7.26 and Libraries 7.x-2.2 installed. Upon updating my OpenLayers to 7.x-2.0-beta7 I noticed the new requirement for the proj4js library. So, I downloaded the proj4js project file and moved it to the "libraries" folder.
(On a side note, if anyone would be so kind and let me know a faster Drush command to do this I would be grateful.)
I noticed the proj4js library was still coming up missing so I did a google search which lead me here. I have tried downloading the file posted at #6 by BoySherman and using that version of the library but I still get a missing library.
Unfortunately I could not find a way to get the library to be recognized and had to downgrade to OpenLayers 7.x-2.0-beta3 which does not require the proj4js library.
I will continue to monitor this issue in hopes that someone comes up with a permanent fix.
Comment #10
milos.kroulik CreditAttribution: milos.kroulik commentedI'm also wondering which versions of proj4js are compatible with this module (and openlayers). I'm still using 1.1.0, which is no longer accessible from Github.