[OpenLayers-Users] Tiles and border

Peter Peterse peter at peterse-uithuizen.com
Thu Jul 22 08:38:05 EDT 2010


Hello Bart,

thank you very much.
buffer:0 helps to minimize the number of tiles which will be downloaded.

Regards,
Peter.

> Peter,
>
> you are looking for buffer: 0 and ratio: 1 in the layer options. There is
> no border option. Check the API docs for details.
>
> http://dev.openlayers.org/releases/OpenLayers-2.9/doc/apidocs/files/OpenLayers/Layer/Grid-js.html
>
> Best regards,
> Bart
>
> --
> Looking for flexible support on OpenLayers or GeoExt? Please check out
> http://www.osgis.nl/support.html
>
> Bart van den Eijnden
> OSGIS
> bartvde at osgis.nl
>
> On Jul 21, 2010, at 9:14 PM, Peter Peterse wrote:
>
>> Here is you can find my example:
>> http://nas.peterse-uithuizen.com/tiles/
>>
>> Thanks for your help.
>> Peter.
>>
>> On 21-7-2010 16:47, Peter Peterse wrote:
>>> Hello all,
>>>
>>> it looks like I have a problem with loading tiles. When I change my
>>> zoom
>>> level, I see (with firebug) tiles being downloaded which I can't see
>>> direct on my screen.
>>> My TMS options are:
>>> { type:'jpg',
>>>   getURL:get_osm_url,
>>>   border:0,
>>>   transitionEffect: 'resize',
>>>   projection:new OpenLayers.Projection("EPSG:28992")
>>> }
>>>
>>> Am I right that the option border mean that tiles which are out of my
>>> window shouldend be downloaded jet?
>>>
>>> An other question is, how can I enable caching the downloaded tiles?
>>>
>>> Thanks for your help.
>>>
>>> Regards,
>>> Peter.
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at openlayers.org
>>> http://openlayers.org/mailman/listinfo/users
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>
>





More information about the Users mailing list