[OpenLayers-Users] Changing OL interface

geotribu arnaud.sig at gmail.com
Mon Feb 9 04:22:59 EST 2009


I've made something like that in a tutorial. You will find some custom styles
for OpenLayers.Control.PanZoom

http://geotribu.net/node/78 Custom PanZoom 

Is the 3.0 OpenLayers library more customizable ? And less hard coded for
the style? 


Christopher Schmidt-2 wrote:
> 
> 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
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://n2.nabble.com/Changing-OL-interface-tp2283848p2296406.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list