The gmap code has a hard-coded reference to wms-gs-1_0_0.js output as html that is used if the wms features are enabled in admin > settings > gmap.
However the version of wms-gs available from codehaus
http://dist.codehaus.org/geoserver/gmaps-geoserver_scripts/wms-gs-1_0_1.js
is now 1_0_1 ... which means installing the file in the proper directory does not cause it to be found when needed. (Also throws errors into the Drupal watchdog log.)
Temporary fix is simply to rename the new file to the old version ... but that's a little ugly.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | gmap_wms_101.patch | 559 bytes | geodaniel |
Comments
Comment #1
sunYou might use file_scan_directory() to discover this javascript file.
Comment #2
geodaniel commentedIt's not hardcoded to look just for 1_0_0, it's just a minor typo in the code. Patch attached.
Comment #3
bdragon commentedMarking as duplicate of http://drupal.org/node/244273.