[OpenLayers-Users] Tuning Open Layers
Joanne Cook
j.cook at oxfordarch.co.uk
Mon Jul 23 09:00:09 EDT 2007
Does it also assume that the page you are calling it from is in the directory above lib?
Mine is not, and it doesn't work. I have copied the img folder into the same directory as the page I am calling from (the root directory of my web server) and that seems to work.
Can I remove some of the stuff from the openlayers directories to save space now?
Jo
-----------------------------------------------------
Joanne Cook
Information Systems Coordinator
Oxford Archaeology (North)
01524 541000
http://thehumanjourney.net
----- Original Message -----
From: "Christopher Schmidt" <crschmidt at metacarta.com>
To: "Joanne Cook" <j.cook at oxfordarch.co.uk>
Cc: users at openlayers.org
Sent: 23 July 2007 13:42:33 o'clock (GMT) Europe/London
Subject: Re: [OpenLayers-Users] Tuning Open Layers
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
This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com
------
Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://openarchaeology.net/iso26300 for more information.
More information about the Users
mailing list