hi,
Maybe this is already solved but..
assuming the layer is called streetslayer and that you have the street
selected (and only one street)

hope this works.

    var bound = streetslayer.features[0].geometry.getBounds();
    map.zoomToExtent(bound,false);


On Wed, May 13, 2009 at 2:33 AM, shane_china <[email protected]> wrote:

>
> First, my answer is no business about your question.
> I love your ext style. But ext + openlayers(1.5M or more), is it too big to
> internet?
>
>
> Hugo Teixeira wrote:
> >
> > hi,
> >
> > i'm trying to do one search streets with openlayers.
> >
> > i have made the search, but i'm been abling to do the go to street, zoom
> > to
> > the selected street by the search.
> >
> > can anyone help me ???
> >
> > the project is here: http://84.91.20.142:82/webvias/index.php
> >
> > Best Regards,
> >
> > --
> > Hugo Teixeira
> >
> > _______________________________________________
> > Users mailing list
> > [email protected]
> > http://openlayers.org/mailman/listinfo/users
> >
> >
>
> --
> View this message in context:
> http://n2.nabble.com/help%21-tp2872401p2877449.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to