[OpenLayers-Users] How to change Box style ...

Bill Thoen bthoen at gisnet.com
Tue Jun 30 15:05:54 EDT 2009


Just change the css style in ol/theme/default/style.css for 
.olHandlerBoxZoomBox. It looks like this:
.olHandlerBoxZoomBox {
    border: 2px solid red;
    position: absolute;
    background-color: white;
    opacity: 0.50;
    font-size: 1px;
    filter: alpha(opacity=50);
}

For example, to change the border to a thin, dashed green line, you 
replace the border style with:
border: 1px dashed green;



Paul james wrote:
> Hello... I´d like to change that sytle (red border) ... Is it possible?
> How?
>
> Thanks
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>   




More information about the Users mailing list