[OpenLayers-Users] maxResolution for a WMS layer

Eric Lemoine eric.lemoine at camptocamp.com
Mon Aug 31 12:22:13 EDT 2009


On Monday, August 31, 2009, Guillaume Sueur <no-reply at 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 10000 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 but it doesnt' help.
>
> any hint ?

Hi Guillaume. Have you checked that the value of
wmsLayer.maxResolution is what you expect after the WMS layer is added
to the map? You can also set a breakpoint in the calculateInRange
method to understand what's going on.
>
> Thanks
>
> Guillaume
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list