[OpenLayers-Users] Single Tile for the entire Map bounds
Stephen Woodbridge
woodbri at swoodbridge.com
Wed Aug 4 10:43:39 EDT 2010
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.kamepalli at gmail.com <mailto:kalyan.kamepalli at gmail.com>> wrote:
>
> That solved my problem. Thanks Steve.
>
>
>
> On Wed, Aug 4, 2010 at 2:11 PM, Stephen Woodbridge
> <woodbri at swoodbridge.com <mailto:woodbri at 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 at openlayers.org <mailto:Users at openlayers.org>
> http://openlayers.org/mailman/listinfo/users
>
>
>
>
More information about the Users
mailing list