Hi Henry,

Place something like this in your javascript (needs to be before the Map 
constructor call??):

OpenLayers.ImgPath='scripts/openlayers/theme/default/imagesOpenlayers/';

Roy
  _____  

From: Henry [mailto:[email protected]]
To: [email protected]
Sent: Thu, 13 Jan 2011 17:56:27 +0100
Subject: [OpenLayers-Users] change OpenLayers.Util.getImagesLocation


  Hi there,
  
  I've added a couple of custom images. Now, I would like to rename this image
  folder from 'img' to 'imagesOpenlayers'. However the function
  'OpenLayers.Util.getImagesLocation' can't find this folder then. Hence, is
  there a possiblity to change the standard image location im Openlayers, so
  that the function returns the right path?
  
  Thanks in advance!
  
  Best reagards,
  Henry
  -- 
  View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/change-OpenLayers-Util-getImagesLocation-tp5918927p5918927.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

Reply via email to