[Users] Adding a feature to map zooms to hightest zoom level: why?

Andreas Hocevar ahocevar at opengeo.org
Fri Jan 14 15:39:50 CET 2011


On Jan 13, 2011, at 19:56 , Robert Buckley wrote:

> I tried this...
> 
> OpenLayers.Bounds.fromArray(clone.get("llbbox").transform(new OpenLayers.Projection("EPSG:4326"),new OpenLayers.Projection("EPSG:900913")), 15)
> 
> but I´m getting...
> 
> "clone.get("llbbox").transform is not a function"

Look at your braces. clone.get("llbbox") is an array, but you cannot transform an array. You can, however, transform OpenLayers.Bounds.

> 
> 
> mmm??
> 
> Robert
> 
> 
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users

-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Users mailing list