[OpenLayers-Users] Supress loading of surrounding tiles?

Ingo Weinzierl ingo.weinzierl at intevation.de
Tue Sep 15 09:38:25 EDT 2009


Hi Swärd,

On Tuesday 15 September 2009 15:26:59 Swärd Mårten wrote:
> Hi folks!
> Is there any way to get OL not to fetch the surrounding tiles( the one
> that's not shown on the current view) from the WMS?

I think you can set the singleTile property of the WMS-layer to 'true', so 
that only one tile will be fetched from the server.

>
> We are using OL to show a map (not zoomable and no panning), just a
> straight map, and therefor there is no need for OL to load the surrounding
> tiles. The map that is shown is aproxomatly 2*2 tiles but if I look with
> FireBug the application fetches more than 30 surrounding tiles witch is
> quite unneccessary..
>
> Best regards, Mårten

Regards,
Ingo

-- 
Ingo Weinzierl				              OpenPGP key: 0x2D2E2573
http://www.intevation.de/
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück; AG Osnabrück, HR B 18998
Geschäftsführer:   Frank Koormann,  Bernhard Reiter,  Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090915/acedd50a/attachment.bin


More information about the Users mailing list