[OpenLayers-Users] Changing OL interface

Warren Vick wvick at europa-tech.com
Mon Feb 9 07:27:38 EST 2009


Thanks Christopher.

There seems to be plenty of things I can change in this style sheet.

Regards,
Warren

-----Original Message-----
From: Christopher Schmidt [mailto:crschmidt at metacarta.com] 
Sent: 06 February 2009 13:04
To: Warren Vick
Cc: Users at openlayers.org
Subject: Re: [OpenLayers-Users] Changing OL interface

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