[OpenLayers-Users] Display an Icon on a Vector layer

Jaume Figueras i Jové jaume.figueras at masafi.cat
Thu Mar 14 06:03:21 PDT 2013


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 : jaume.figueras at upc.edu
        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


More information about the Users mailing list