On Monday, August 31, 2009, Eric Lemoine <[email protected]> wrote: > On Monday, August 31, 2009, Guillaume Sueur <[email protected]> > 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.
also, wmsLayer.alwaysInRange should be false. >> >> Thanks >> >> Guillaume >> _______________________________________________ >> Users mailing list >> [email protected] >> 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 : [email protected] > http://www.camptocamp.com > -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : [email protected] http://www.camptocamp.com _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
