Ah interesting, in this case that's ok because I'm not using Geoserver for the base layer but if I was I'd have a catch 22. Can't use the new feature because I need a layer to get the bounds but I need the bounds to request the layer!
<br><br><div><span class="gmail_quote">On 5/30/07, <b class="gmail_sendername">Christopher Schmidt</b> <<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, May 30, 2007 at 03:16:44PM +0100, Tom wrote:<br>> maxExtent has no properties<br>> isValidLonLat(lon=543443,lat=255213 lon=543443 lat=255213<br>> CLASS_NAME=OpenLayers.LonLat<br>> )Map.js (line 933)<br>
> setCenter( lon=543443,lat=255213 lon=543443 lat=255213 CLASS_NAME=<br>> OpenLayers.LonLat , 7, undefined, undefined)Map.js (line 804)<br>> init() classexample.php (line 11)<br>> onload(load ) classexample.php
(line 1)<br>> valid = maxExtent.containsLonLat(lonlat);<br>><br>> Any ideas?<br><br>Gotta have a layer. Add a base layer, and give it another go.<br><br>Regards,<br>--<br>Christopher Schmidt<br>MetaCarta<br></blockquote>
</div><br>