[OpenLayers-Users] Setting bounds disables map

2009-10-14 Thread David Lozzi
Thanks Michael. I've changed it to the following and now the map doesn't disappear, but it is not limiting my zooming out. I can zoom out far past the map. var bounds = new OpenLayers.Bounds(); bounds.extend(new OpenLayers.LonLat(-73.54243,41.48687)); //bottom l

Re: [OpenLayers-Users] Setting bounds disables map

2009-10-13 Thread Michael Shishcu
Hi, David well, just thought: your extent is 16617, 777514, 348089, 959747, but center you are setting as (-71.1491479425792,42.5394078098106), which does not fall into your extent regards, michael 2009/10/14 David Lozzi > Hello, > > > > See my code below. When I specify maxExtent: bounds in

[OpenLayers-Users] Setting bounds disables map

2009-10-13 Thread David Lozzi
Hello, See my code below. When I specify maxExtent: bounds in the new map, my maps don't appear. All of the added controls appear but no maps. IE shows download 75 items then down to Done, but there is nothing to see. var lon = 50; var lat = 0; var zoom = 0;