thanks!, openlayers perform now only two request and it's much more faster!
2010/9/23 Michael Shishcu <[email protected]> > Hi > > Add "singleTile: true" to options, not to params ;-) (...},{singleTile: > true, isBaseLayer:false}...) > > regards, michael > > > On 23 September 2010 17:20, rai 8 <[email protected]> wrote: > >> I added singleTile parameter and the behavior is the same, mapserver logs >> shows many requests within openlayers map bounding box, one for every tile >> >> My layer: >> >> mapserver_demo_png = new OpenLayers.Layer.WMS( >> "demo", >> "http://lcoalhost/cgi-bin/mapserv?", >> {layers: 'time_demo,sat_demo', transparent:true, >> format:'image/png', time:"2010-08-29T14:00:00", singleTile: >> true},{isBaseLayer:false} >> ); >> >> >> >> 2010/9/23 Andreas Hocevar <[email protected]> >> >>> If you want one request per layer, configure your layer with singleTile: >>> true in the layer options. >>> >>> Regards, >>> Andreas. >>> >>> On Sep 23, 2010, at 16:05 , rai_1000 wrote: >>> >>> > >>> > >>> > Kiks wrote: >>> >> >>> >> >>> >> The strange is that if I make the same call from the browser URL to >>> >> MapServer with a WMS GetMap, the response is immediate, for this >>> matter I >>> >> think that there is something to optimize in my OpenLayer code, that >>> >> anyway is works correctly, but slow. >>> >> Any suggestion on what to check? >>> >> >>> >> >>> > >>> > Hi!, >>> > >>> > I have the same problem, I look mapsever log and openlayers perform a >>> > request for every tile, and if you do from browser URL only perform one >>> > request. >>> > I'm thinking to get the image with ajax with the url and then draw in >>> > map.... It's a good idea? >>> > >>> > thanks! >>> > -- >>> > View this message in context: >>> http://osgeo-org.1803224.n2.nabble.com/Performance-decreasing-while-zooming-in-tp5495848p5563176.html >>> > Sent from the OpenLayers Users mailing list archive at Nabble.com. >>> > _______________________________________________ >>> > Users mailing list >>> > [email protected] >>> > http://lists.osgeo.org/mailman/listinfo/openlayers-users >>> >>> >>> >>> -- >>> Andreas Hocevar >>> OpenGeo - http://opengeo.org/ >>> Expert service straight from the developers. >>> >>> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/openlayers-users >> >> >
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
