[OpenLayers-Users] Setting the map center with a bounding box?

Robert Hicks robhyx at gmail.com
Mon Jan 25 11:06:41 EST 2010


Hey all, is it possible to call OpenLayers.Map.setCenter(); but with a
bounding box instead of a lat lon (point), or an equivalent
functionality? The reason for this is I need my map to load based on
the minimum bounding rectangle of a bunch of points. I didn't see
anything in the api except for specifying a point, which won't work
because I need the extent to be determined by the MBR.

-- 
web http://www.hyxspace.com
aim hyx1138



More information about the Users mailing list