[OpenLayers-Users] help!

toni hernández tonidelacalle at gmail.com
Wed May 13 02:48:00 EDT 2009


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 <xiaying4415139 at 163.com> 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
> > Users at openlayers.org
> > 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
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090513/c700858b/attachment.html


More information about the Users mailing list