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

Ivan Grcic igrcic at gmail.com
Wed Dec 16 08:38:13 EST 2009


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 <kwonghu at 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 at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>



-- 
Ivan Grcic



More information about the Users mailing list