[OpenLayers-Users] maxExtent has no properties

Christopher Schmidt crschmidt at metacarta.com
Wed May 30 10:49:43 EDT 2007


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



More information about the Users mailing list