[OpenLayers-Users] maxExtent has no properties

Tom tom at ukbassline.co.uk
Wed May 30 11:01:48 EDT 2007


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!

On 5/30/07, Christopher Schmidt <crschmidt at metacarta.com> wrote:
>
> On Wed, May 30, 2007 at 03:16:44PM +0100, Tom wrote:
> > maxExtent has no properties
> > isValidLonLat(lon=543443,lat=255213 lon=543443 lat=255213
> > CLASS_NAME=OpenLayers.LonLat
> > )Map.js (line 933)
> > setCenter( lon=543443,lat=255213 lon=543443 lat=255213 CLASS_NAME=
> > OpenLayers.LonLat , 7, undefined, undefined)Map.js (line 804)
> > init() classexample.php (line 11)
> > onload(load ) classexample.php (line 1)
> > valid = maxExtent.containsLonLat(lonlat);
> >
> > Any ideas?
>
> Gotta have a layer. Add a base layer, and give it another go.
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070530/d60aea28/attachment.html


More information about the Users mailing list