Hi, I reply to myself. From a CSS expert the solution to this problem is
to add:
body div.olLayerDiv {
width: auto !important;
}
to your CSS.
Jaume.
On 14/03/13 14:03, Jaume Figueras i Jové wrote:
Hello,
I like to display a custom icon in a Vector layer. Now it's done, but
its not displaying properly. The Vector layer is in a <div> with
class="olLayerDiv" but adds inline a style="position: absolute; left:
0px; top: 0px; z-index: 725; height: 100%; width: 100%". The effect of
this style is that the icon is not displayed, but if I remove the width
element with firebug the icon is properly displayed. The width and heigh
elements conflicts with my web styles somewhow I can't figure out.
Is there any way I can remove the width style that is places inline?
Thanks.
--
Jaume Figueras i Jové
o o o Responsable de projectes SIG
o o o inLab FIB
o o o
U P C Universitat Politècnica de Catalunya - Barcelona Tech
E-mail : [email protected]
Web : http://inlab.fib.upc.edu/
Telf : +34937398621 (intern UPC: 98621)
Mòbil : +34650756456 (intern UPC: 44785)
Fax : +34937398628 (intern UPC: 98628)
Adreça : inLab FIB
Edifici B5-S102
C/ Jordi Girona, 31
08025 BARCELONA
Ubuntu User #14347 - Linux User #504317
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users