Kalyan Kamepalli wrote: > By the way, what is the parameter ration: 1 does ?? what are the valid > values for it ??
Ratio: 1 requests an image the size of the viewport. Ratio:2 requests an image h*2 X w*2 so you can do some panning without redrawing the image, but at the cost of generating a larger image and transfering a larger image to the browser. I think it defaults to something like 1.5. I always set it to 1, but your needs may be different. -Steve > On Wed, Aug 4, 2010 at 2:43 PM, Kalyan Kamepalli > <kalyan.kamepa...@gmail.com <mailto:kalyan.kamepa...@gmail.com>> wrote: > > That solved my problem. Thanks Steve. > > > > On Wed, Aug 4, 2010 at 2:11 PM, Stephen Woodbridge > <wood...@swoodbridge.com <mailto:wood...@swoodbridge.com>> wrote: > > Yes you can do this by setting the layer option: > > singleTile: true, > ratio: 1 > > in mapserver or wms and maybe some others. > > -Steve > > Kalyan Kamepalli wrote: > > Hello Group, > Is it possible to have a single map tile ( WMS and/or other > map services ) in OpenLayers ?? I want to have a single tile > for the whole bounds I set for the map. Also, when I zoom in > , out or pan the map should generate single tile but not > multiple tiles. > Any one has any ideas ?? > > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > Users@openlayers.org <mailto:Users@openlayers.org> > http://openlayers.org/mailman/listinfo/users > > > > _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users