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
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to