Adrian, I saw a similar error when I was attempting to integrate OL into Drupal. I was only experimenting at the time so I have not followed up.
I would be really interested to hear what you find. And I will go back to my own work and see whatelse I can report on the problem that I was seeing. Andrew ----- Original message ----- > Hello Marc, > > I spoke too soon. If I use that file, I get ~34 errors in Firebug all > complaining that "OpenLayers.Layer is undefined" in various js files. It > seems something doesn't load properly. > > I'm using OpenLayers 2.8, stored in /var/www/html/map/openlayers/ > directory on my web server. My page loads it like: > <script type="text/javascript" src="openlayers/lib/OpenLayers.js"></script> > > Any ideas? > Adrian > > Marc Jansen wrote: > > Hi Adrian, > > > > assuming you are using a local copy of OpenLayers, you could use > > > > OpenLayers-Folder/lib/OpenLayers.js > > > > instead of > > > > OpenLayers-Folder/OpenLayers.js > > > > which would load lots of uncompressed/non-minimized js-files. > > > > Regards, > > Marc > > > > > > Adrian Popa schrieb: > > > Hello, > > > > > > I'm running into a problem where firebug says "element doesn't exist" > > > somewhere in OpenLayers code. I'm having trouble debugging this > > > issue, because my Openlayers code is pretty compact. What should I > > > include in to have OpenLayers with a more readable code? Is there an > > > intermediary file with formatting preserved which I could use > > > temporarly? > > > > > > Thanks, > > > Adrian > > > > > > _______________________________________________ > > > Users mailing list > > > [email protected] > > > http://openlayers.org/mailman/listinfo/users > > > > > > > > > > > > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
