OpenLayers.ImgPath won't help things that are controlled by CSS, like the navpanel.
-- Chris On Sep 13, 2011, at 8:39 AM, ext Bart van den Eijnden wrote: > 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 >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/openlayers-users >> > > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
