Hi all I'm trying to get a basic map displayed but keep getting bounds is null error.
None of the suggestions (allOverlays: true) that I found works, most probably because of other issues with my code/setup. Code: function init() { var map = new OpenLayers.Map('map'); var layers = new OpenLayers.Layers.WMS( "basic", "http://localhost:8080/geoserver/wms", {layers: 'topp:states'} map.addLayers(layers); map.zoomToMaxExtent(); } My geoserver is working, I can request the map and other data from the server. Any pointers to good tutorials are welcome. Setup: Ubuntu 9.10 GeoServer 2.0.1 Openlayers 2.8 I would appreciate any help. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Basic-GeoServer-OpenLayers-map-tp4946195p4946195.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users