[OpenLayers-Users] OverviewMap Container
Richard Duivenvoorde
rdmailings at duif.net
Thu Nov 8 05:09:33 EST 2007
Hi Reinhard,
looks like the styles from you stylesheet are overridden by script?
Did you include the default stylesheet as a link and declare any style
modifications below that link?
Like shown/mentioned here:
http://www.openlayers.org/dev/examples/custom-style.html
Richard Duivenvoorde
R. Ortner wrote:
> Hi,
>
> i put the Overviewmap outside my map with the <div option...
>
> now i tried to change the color of the container by changing it in the
> style.css .olControlOverviewMapElemet Section but no effect.
> I made a new custom styleX.css, but it in the html file in the stylesheet
> section, but still no effect so far the container color is blue!
>
> then i tried to but this:
>
> .olControlOverviewMapElement {
> background-color: green;
> }
>
> to the style section of my html file;
> What happens is that when i load the map, very short before the overview is
> loaded the color is green and then it is overwritten by the standard blue
> color!
>
> does anyone know why?
More information about the Users
mailing list