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 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
>
>
>
>
> _______________________________________________
> Users mailing list
> Users@openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>



-- 
Ivan Grcic
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to