Steve, wnen I comment out the line that generates the error I get my map
displayed and the icons for the layer.
But you're saying that OpenLayers probably isn't defined at that point
in the script?
AS
On 5/4/2012 5:26 PM, Stephen Woodbridge wrote:
On 5/4/2012 5:19 PM, Arnie Shore wrote:
Folks, the JS line below behaves error-free in one script of mine, but
in a second one it generates the error message in the error line below.
It's in my init() function
I'll appreciate any suggestion re how to troubleshoot this.
var click = new OpenLayers.Control.Click();
Error: OpenLayers.Control.Click is not a constructor
Arnie,
This might be a stupid response, but have you verified that OL actually
loaded and that you don't have a path or permissions problem on
OpenLayers.js
-Steve
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users