[OpenLayers-Dev] ImgPath and theme

Jochen Topf jochen at remote.org
Sun Oct 4 12:25:55 EDT 2009


Hi!

If you want to create a different theme for OpenLayers there are two things
you need to handle:
* Some images are found through the setting in OpenLayers.ImgPath
* Some images and styles are found through the theme mechanism (setting theme
  option on map object)

Is there a reason those cases are handled differently? Wouldn't it make
sense to put all the images in one directory and find them through the
theme mechanism?

Jochen
-- 
Jochen Topf  jochen at remote.org  http://www.remote.org/jochen/  +49-721-388298




More information about the Dev mailing list