Try modifying the image path in Utils.js to what the Rails application
would use for the img and theme directories.

Regards,
 
Mike Quentel


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Christopher Schmidt
Sent: Wednesday, 10 October 2007 02:13
To: staff-gmail
Cc: [email protected]
Subject: Re: [OpenLayers-Users] OpenLayers in Rails

On Tue, Oct 09, 2007 at 11:16:46PM -0600, staff-gmail wrote:
> The control icons are not showing up in Rails - I have OpenLayers.js 
> from the build directory in the Rails javascripts folder  and put the 
> /img and /theme also within the javascripts folder but they are not 
> being accessed correctly.  The control buttons seem to work okay - but

> the images don't show.  Anyone work around this ?

If you look at the image location in firebug (Hit "Inspect"), what is
the URL it is tryign to load? 

Regards,
--
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to