Hi One way to do that is to have two OpenLayers layers with disjoint resolution sets. To configure a layer with resolutions you pass its constructor a config object including a "resolutions" option referencing an array of resolutions.
Hope this helps, Eric 2009/1/30, Ivo Brodien <[email protected]>: > Hello, > > i was wondering how I could change the behaviour so that after the > user zooms a different layer is requested from the WMS. > > I could not find the code, could anyone point me to it please? > > so for zoom level 18 want to have: > > http://localhost:8080/geoserver/wms?layers=level18..... > > and for level 4: > > http://localhost:8080/geoserver/wms?layers=level4..... > > > Thanks! > Ivo > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
