[OpenLayers-Users] WMS layer: Limit on lat/long

2009-12-16 Thread Kwong Hu Kiu
Hi, I would like to prevent Openlayers from requesting WMS data when it goes pass certain range(lat,long). That means stop asking WMS servers for map data. Is there a way i can do that? Currently, my server cannot generate wms data once it reaches a certain range. Thanks

Re: [OpenLayers-Users] WMS layer: Limit on lat/long

2009-12-16 Thread Ivan Grcic
Hi, define maxExtent(bounds) for you layer, and make sure displayOutsideMaxExtent:true is set (default value) cheers On Wed, Dec 16, 2009 at 2:10 PM, Kwong Hu Kiu kwon...@hotmail.com wrote: Hi, I would like to prevent Openlayers from requesting WMS data when it goes pass certain