Hi,

i'm just trying to use OL and I meet a problem with  map.getZoom 

<a href="http://www.pofableau.com/openlayer/multicouche2.html//" target="_top" rel="nofollow" link="external">here's</a> url of my test.

for adapt an  size of an OpenLayers.Layer.Vector and an externalGraphic 
I call a var zoom with map.getZoom

line: 159  I call var z= map.getZoom(); for change the size of an image

But they don't work "Error: Invalid value for <image> attribute height="Infinity" 

If I try to see the z'value   Firebug give me  "0" ..... 
<img class='smiley' src='http://n6.nabble.com/images/smiley/smiley_what.gif' />

Thank a lot if you have the solution I search it since two days.
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/pb-with-map-getZoom-tp4982396.html">pb with map.getZoom</a><br/>
Sent from the <a href="http://osgeo-org.1560.n6.nabble.com/OpenLayers-Users-f3910695.html">OpenLayers Users mailing list archive</a> at Nabble.com.<br/>