[OpenLayers-Users] Re: Version 2.11 - What happened to the NavToolbar?

Bart van den Eijnden bartvde at osgis.nl
Tue Sep 13 08:39:08 EDT 2011


Did you rename your script to something else then OpenLayers.js? If so OpenLayers cannot figure out well where it resides on the web server.

So in that case you can set:

OpenLayers.ImgPath

to the url where your images are.

Best regards,
Bart

-- 
Bart van den Eijnden
OSGIS - http://osgis.nl

On Sep 13, 2011, at 2:16 PM, magerlin wrote:

> Thanks for your investigation.
> 
> It seems that Openlayers expect the png files to be local on my server:
> http://byogtrafik.ramboll.dk/Furesoe_211/img/pan-panel.png" 
> 
> Well none of the png files for the other controls are on my server.
> 
> So is it a bug in openlayers with a faulty url for theese png's?
> 
> Regards Morten
> 
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Version-2-11-What-happened-to-the-NavToolbar-tp6786921p6787227.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110913/9c1b3cfc/attachment-0001.html


More information about the Users mailing list