Hi

i try to set in center of my map street (with selected ID).

Streets are in postgresql (postgis) database. I get BBOX of selected street
and then use this code:

// code begin

bounds222 = new
OpenLayers.Bounds.fromString("some_bbox_od_selected_street");
map.zoomToExtent(bounds222);

//code end

Bbox of selectet street are in same SRID as map.


The problem is that openlayers don't set this street in center of map
window....

*Question: How to set this street (red line) in center of map window
(browser).*

[image: aaa.PNG]

<<aaa.PNG>>

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to