[OpenLayers-Dev] Image path issue

Bart van den Eijnden bartvde at osgis.nl
Sat Nov 13 03:49:13 EST 2010


Hi Jeroen,

you can change it by setting OpenLayers.ImgPath

Best regards,
Bart

-- 
Looking for flexible support on OpenLayers or GeoExt? Please check out http://www.osgis.nl/support.html

Bart van den Eijnden
OSGIS
bartvde at osgis.nl

On Nov 13, 2010, at 6:56 AM, Jeroen De Dauw wrote:

> Hey,
> 
> I'm using OpenLayers in a MediaWiki extension called Maps [0]. I've run into an issue with the library with the latest version of MediaWiki which introduces a resource loading framework called the Resource Loader. This RL modifies JS and CSS and loads it by calling load.php, which is not in the same directory as the OpenLayers lib. This is breaking the images that form the map controls (generated img tags in the map that assume the image is in "img", relative to where the lib is served from). 
> 
> Is there a way to specify what path these images can be found on? And if not, where do I file a feature request?
> 
> [0] http://www.mediawiki.org/wiki/Extension:Maps
> 
> Cheers
> 
> --
> Jeroen De Dauw
> http://blog.bn2vs.com
> Don't panic. Don't be evil.
> --
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101113/0f584a80/attachment.html


More information about the Dev mailing list