[OpenLayers-Users] Changing OL interface

Christopher Schmidt crschmidt at metacarta.com
Fri Feb 6 08:04:21 EST 2009


On Fri, Feb 06, 2009 at 06:32:36AM -0600, Warren Vick wrote:
> I'd like to replace/change the interface elements in OpenLayers. Since
> I'd like to resize things and move them around, it's more that simply
> replacing some images. Is the CSS used in OL documented anywhere, or do
> I need to go code diving?

Most interface elements are not specified in CSS, but in code. Newer
changes are done in CSS, nd are available through relatively obvious
names in
http://svn.openlayers.org/trunk/openlayers/theme/default/style.css . The
panzoom/panzoombar/layerswitcher controls, however, are styled in the
code itself, and can not be easily changed with CSS.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list