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.

CommentFileSizeAuthor
#2 gmap_wms_101.patch559 bytesgeodaniel

Comments

sun’s picture

You might use file_scan_directory() to discover this javascript file.

geodaniel’s picture

Assigned: Unassigned » geodaniel
Status: Active » Needs review
StatusFileSize
new559 bytes

It's not hardcoded to look just for 1_0_0, it's just a minor typo in the code. Patch attached.

bdragon’s picture

Status: Needs review » Closed (duplicate)

Marking as duplicate of http://drupal.org/node/244273.