[OpenLayers-Users] Zoom 2 Layer

Lucho lucho1524 at gmail.com
Wed Aug 22 13:22:27 PDT 2012


Hi List,

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.

Best wishes,

-- 
LUIS FERNANDO ORTIZ REYES
INGENIERO DE SISTEMAS
ESP. EN PROYECTOS INFORMÁTICOS
UNIVERSIDAD DISTRITAL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120822/66dc29d9/attachment.html>


More information about the Users mailing list