[OpenLayers-Users] Help needed: bounds.toBBOX() Problem

Arnie Shore ashore3 at verizon.net
Mon Jun 13 07:41:27 EDT 2011


Folks, any help on this is appreciated.

While the alert below reports seemingly valid coordinates, why does 
bounds.toBBOX() not work in the map.setCenter context?  (It seems to 
return a set of NaN, and the map centers on the origin.)

	bounds.extend(new OpenLayers.LonLat( value1, value2));
...
	alert(bounds.toBBOX());
	map.setCenter (bounds.toBBOX(), 9);

AS


More information about the Users mailing list