Hi List,<div><br></div><div>I'm trying to create a button with the zoom2layer funcionality, but this function map.zoomToExtent(layer_name.getDataExtent()); doesn't return any value. I don't know if this is because the layer is an image, not a vector layer. Any help with this funcionality will be appreciated.</div>
<div><br></div><div>Best wishes, <br clear="all"><div><br></div>-- <br>LUIS FERNANDO ORTIZ REYES<br>INGENIERO DE SISTEMAS<br>ESP. EN PROYECTOS INFORMÁTICOS<br>UNIVERSIDAD DISTRITAL<br>
</div>