[OpenLayers-Users] getBounds().transform().toBBOX()

Christopher Schmidt crschmidt at metacarta.com
Wed Dec 10 11:34:18 EST 2008


On Wed, Dec 10, 2008 at 11:08:17AM -0500, Heidt, Christopher M. wrote:
> var bbox =
> bboxLayer.getFeatureById('customBoundingBox').geometry.getBounds().trans
> form(map.projection, map.displayProjection).toBBOX();
> 
> I need a string bbox in my displayProjection, but every time I run this
> my bounds changes.

.getBounds().clone(), instead of getBounds().

-- Chris



More information about the Users mailing list