I did the following to produce this bug:
Installed the latest (as of jan 6 2009) tarball of the openlayers module, and all its dependencies into a blank drupal 6.15 install.
Turned on all the openlayers module, thus automatically turning on their dependencies.
Created a new cck content type, including an Openlayers WKT field. I believe all the settings for the field are the defaults.
But, when I go to create a new node of this content type, I get a blank map. I'm running firefox 3.5.5.
I doubt it matters, but I am accessing the test site through a proxy. All of the relevant javascript files appear to be loading (I checked in firebug).
If you need more detail, ask. Thanks so much for your efforts, look forward to helping fix this bug if I can!
--matt goins
Comments
Comment #1
mjgoins commentedIn the firebug console, I am also getting the following 3 error messages if I click around on the blank map:
lonlat is null
anonymous(x=329,y=155 x=329 y=155 CLASS_NAME=OpenLayers.Pixel)OpenLayers.js (line 1535)
anonymous(mousedown clientX=584, clientY=259)OpenLayers.js (line 1543)
anonymous("mousedown", mousedown clientX=584, clientY=259)OpenLayers.js (line 529)
anonymous(mousedown clientX=584, clientY=259)OpenLayers.js (line 532)
anonymous(mousedown clientX=584, clientY=259)OpenLayers.js (line 112)
[Break on this error] var options=OpenLayers.Util.extend({disp...e.apply(this,arguments)){return false;}\nOpenLayers.js (line 1535)
feature.geometry is null
anonymous(Object feature=Object object=Object type=featureadded)openlaye..._cck.js?A (line 125)
anonymous("featureadded", Object feature=Object object=Object type=featureadded)OpenLayers.js (line 529)
anonymous(Object name=geometry)OpenLayers.js (line 1203)
anonymous("done", [null])OpenLayers.js (line 766)
anonymous(Object name=cancel)OpenLayers.js (line 1539)
anonymous(mouseup clientX=584, clientY=259)OpenLayers.js (line 1545)
anonymous("mouseup", mouseup clientX=584, clientY=259)OpenLayers.js (line 529)
anonymous(mouseup clientX=584, clientY=259)OpenLayers.js (line 532)
anonymous(mouseup clientX=584, clientY=259)OpenLayers.js (line 112)
[Break on this error] var geometry = feature.geometry.clone();\n
this.point is null
anonymous(x=448,y=71 x=448 y=71 CLASS_NAME=OpenLayers.Pixel)OpenLayers.js (line 1539)
anonymous(mousemove clientX=703, clientY=320)OpenLayers.js (line 1544)
anonymous("mousemove", mousemove clientX=703, clientY=320)OpenLayers.js (line 529)
anonymous(mousemove clientX=703, clientY=320)OpenLayers.js (line 532)
anonymous(mousemove clientX=703, clientY=320)OpenLayers.js (line 112)
[Break on this error] this.point=null;},finalize:function(canc...ayers.Geometry.MultiPoint([geometry]);}\n
Comment #2
mjgoins commentedI think The problem was the web proxy I'm using.
Comment #3
mr.honeyfoot commentedHi there, I'm having the same problem. Were you developing locally with MAMP? Did you fix it?