[OpenLayers-Users] overviewmap style properties

Alessio Di Lorenzo alessio.dilorenzo at gmail.com
Mon May 19 07:07:06 EDT 2008


Hi and thanks for your answer Christian.
Your suggestion works well in Firefox :-)
...but not with IE.
I added this css definition to my custom stylesheet:

.olControlOverviewMapElement{
        -moz-border-radius-bottomleft: 0pt;
        -moz-border-radius-bottomright: 0pt;
        -moz-border-radius-topright: 0pt;
        -moz-border-radius-topleft: 0em;
        background:none;
        padding: 0px;           
}

on IE6 and IE7 the blue background and the padding values remains active.
maybe you understand what's wrong?

alessio




Christian López Espínola ha scritto:
> Just create a new css and link it in your page, or put a style section
> in your page's head after the inclusion of the OL css..
> There you override the styles that you want to change.
>
> HTH
>
> On Sun, May 18, 2008 at 6:10 PM, Alessio Di Lorenzo
> <alessio.dilorenzo at gmail.com> wrote:
>   
>> Hi list,
>>
>> I'm working on the overview map outside the map viewport and everything
>> is going fine but I don't uderstand if it is possible to restyle the
>> overview map (by deleting, for example, the blue border) without working
>> directly on the style.css file.
>>
>> I read the online docs concerning the minRectDisplayClass
>> http://dev.openlayers.org/releases/OpenLayers-2.6/doc/apidocs/files/OpenLayers/Control/OverviewMap-js.html#OpenLayers.Control.OverviewMap.OpenLayers.Control.OverviewMap
>>
>> but I don't understand exactly how to use it and if this class is
>> suitable to reach my purpouse... that is to manage the overview map style.
>>
>> Could you give me some hints?
>>
>> thx in advance, alessio
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>>     
>
>
>
>   




More information about the Users mailing list