[OpenLayers-Users] Tuning Open Layers

Christopher Schmidt crschmidt at metacarta.com
Mon Jul 23 08:42:33 EDT 2007


On Mon, Jul 23, 2007 at 11:28:54AM +0100, Joanne Cook wrote:
> Hi Eric,
> 
> Thanks for bringing the compressed version to my attention. I've ran ./build_py (the readme file talks about build.sh so I assume it's a little out of date), and have a new OpenLayers.js, but when I try and use it the graphics on the map seem to have got lost. It seems to be looking for the img folder in the root directory of my web server rather than in OpenLayers/img. 
> 
> Now, I could copy the img folder to where it's expecting to find it, but is there a simple code fix to address this issue?

The single file version is designed to live at a directory level *above*
lib/ -- so you should move it from build/ to '..' from there.

Also, if you need vector support, you should do './build.py full', not
just ./build.py.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list