Re: [OpenLayers-Users] maxResolution for a WMS layer

2009-09-01 Thread Guillaume Sueur
Eric Lemoine a écrit : On Monday, August 31, 2009, Guillaume Sueur no-re...@neogeo-online.net wrote: Setting maxResolution after adding layer to the map did the trick. Setting maxResolution in the config object passed to the constructor it does not should work. If it does not, I guess

[OpenLayers-Users] maxResolution for a WMS layer

2009-08-31 Thread Guillaume Sueur
Hi list, I'm using a WMS layer on the top of Google Maps. This layer is set with a MAXSCALE of 1 in MapServer map file. I'd like to avoid OpenLayers sending requests on resolutions over 2.38865713348 which all return blank images. I've tried to set my layer with maxResolution:2.38865713348

Re: [OpenLayers-Users] maxResolution for a WMS layer

2009-08-31 Thread Eric Lemoine
On Monday, August 31, 2009, Guillaume Sueur no-re...@neogeo-online.net wrote: Hi list, I'm using a WMS layer on the top of Google Maps. This layer is set with a MAXSCALE of 1 in MapServer map file. I'd like to avoid OpenLayers sending requests on resolutions over 2.38865713348 which all

Re: [OpenLayers-Users] maxResolution for a WMS layer

2009-08-31 Thread Guillaume Sueur
Hi Eric, Ok, I will hint for those. I just wanted to be sure that the expected behaviour could be obtained using maxResolution. Best regards ! Guillaume Eric Lemoine a écrit : On Monday, August 31, 2009, Guillaume Sueur no-re...@neogeo-online.net wrote: Hi list, I'm using a WMS layer on

Re: [OpenLayers-Users] maxResolution for a WMS layer

2009-08-31 Thread Guillaume Sueur
Setting maxResolution after adding layer to the map did the trick. Thanks very much for your help which made me focused on the proper place. Hope it's going well for you and your team. Best regards, Guillaume Eric Lemoine a écrit : On Monday, August 31, 2009, Eric Lemoine

Re: [OpenLayers-Users] maxResolution for a WMS layer

2009-08-31 Thread Eric Lemoine
On Monday, August 31, 2009, Guillaume Sueur no-re...@neogeo-online.net wrote: Setting maxResolution after adding layer to the map did the trick. Setting maxResolution in the config object passed to the constructor should work. If it does not, I guess the problem should be reported. Hope you're