[OpenLayers-Users] Changing singleTile property of a loaded layer

Stephen Woodbridge woodbri at swoodbridge.com
Thu Apr 29 10:57:21 EDT 2010


strk wrote:
> Is it possible to switch between singleTile on/off for
> a layer which is already added to a map ?
> 
> When I try using addOptions({singleTile:true}) over a layer
> initialized w/out that option the result is some odd behaviour:
> a single tile is loaded with the request of full extent BUT
> it is placed as it was a single tile of a set.
> 
> The test is here:
> 
>  http://strk.keybit.net/tmp/ol/st.html
> 
> Thanks in advance for any help.

I have not tried that, but what I normally do is have two layers, one 
tiled and one single tile and switch between them.

-Steve



More information about the Users mailing list