I want to zoom a map to the extent of a layer (called baseLayer) but when I try: map.zoomToExtent(baseLayer.getDataExtent()); the baseLayer.getDataExtent() function returns null. When I don't include this line everything works fine (the layer appears normally, only without the zoom that I want.) What am I missing here? _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users
- [OpenLayers-Users] Zoom to a Layer's Extent Bill Thoen
- Re: [OpenLayers-Users] Zoom to a Layer's Extent Eric Lemoine
- Re: [OpenLayers-Users] Zoom to a Layer's Exte... Bill Thoen
- Re: [OpenLayers-Users] Zoom to a Layer's ... Eric Lemoine
- Re: [OpenLayers-Users] Zoom to a Laye... Bill Thoen
- Re: [OpenLayers-Users] Zoom to a... Bill Thoen
- Re: [OpenLayers-Users] Zoom ... Christopher Schmidt
- Re: [OpenLayers-Users] Z... Bill Thoen
- Re: [OpenLayers-Users] Z... Christopher Schmidt