[OpenLayers-Dev] why are there 2+ img locations?

Christopher Schmidt crschmidt at metacarta.com
Wed Mar 26 14:49:30 EDT 2008


On Wed, Mar 26, 2008 at 02:41:56PM -0400, Dejung Gewissler wrote:
> Hi Devs-
> 
> In trying to better understand OpenLayers and how to customize aspects 
> of it I came across three different locations for images.
> These are:
>     - openlayers\img
>     - openlayers\theme\default\img
>     - openlayers\art
> 
> Does anyone have any insight as to why they live separately?
> In choosing where to add my own customized images for the panZoom 
> controls or other toolbars (like editing) I am ambiguous and need help :)

In the beginning, there was a panzoom control. And it was blue, and we
said that it was good.

And the art was created in vectors, for changing later: and we saved the
originals, and it was good.

And then, users came along and asked to change things. So we changed
portions of the code to use CSS, and it was good.

And the requests got more complex, and so we said "Let there be a Panel
Control". And it was. And it was good.

And then we created images for hte panel control, which were
controllable via CSS. And we added them to the directory where the CSS
skin lived. And it was good.

And then people came along and asked why there were two different way of
doing things, and we said "Hysterical Raisins"[1], despite it only being
the sixth day.

And on the 7th day, we rested, and said "Patches welcome" to improve the
confusion.[2]


[1] http://catb.org/jargon/html/H/hysterical-reasons.html
[2] http://trac.openlayers.org/ticket/1400

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Dev mailing list