How about this? b = Layer.getDataBounds() map.zoomToExtent(b) 2009/2/9 François Van Der Biest <[email protected]>: > Hi all, > > I wrote a small control, which I find useful to zoom to a vector > layer's features (see attachment). > Pierre Giraud and Eric Lemoine told me there's little chance for it to > become a standard OpenLayers control. > > What would be your opinion on that ? Is there a chance it could become > an addin then ? > What would be the steps to follow in that case (write doc, unit tests, ...) ? > > Thank's > F. > > _______________________________________________ > Dev mailing list > [email protected] > http://openlayers.org/mailman/listinfo/dev > >
-- Regards, Thomas Wood (Edgemaster) _______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
