Hi,<div>I've got quiete a trouble here:</div><div>1) tilecache is set up the way you have one resolution per one level. Actually when I use some direct request to get tile like <a href="http://tileserver.com/lv1/">http://tileserver.com/lv1/</a> the next request goes to ttp://<a href="http://tileserver.com/lv2/">tileserver.com/lv2/</a>. Lv is just a zoom here.</div>
<div>And lv1 is actually the first level.</div><div>2) JS goes like this </div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>var resolutions = [</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>60000, </div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>....15 more</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>];</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>function init(){</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>map = new OpenLayers.Map( 'map', {</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>projection: new OpenLayers.Projection("EPSG:3395"),</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span>resolutions: resolutions //?!?</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>});<span class="Apple-tab-span" style="white-space:pre">        </span></div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>for (var i = 0; i<=15; i++) {</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>var layer = new OpenLayers.Layer.TileCache("TileCache Layer",</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span> <span class="Apple-tab-span" style="white-space:pre">        </span>["htttp://<a href="http://tileserver.com/">tileserver.com/</a>"],</div><div><span class="Apple-tab-span" style="white-space:pre">                                        </span>('lv'+(i+1)),</div>
<div><span class="Apple-tab-span" style="white-space:pre">                                        </span>{serverResolutions: resolutions[i]}</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>);</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>map.addLayer(layer);</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>}</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>map.setCenter(new OpenLayers.LonLat(0, 0), 0);</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>}</div>
<div>3) Interseting is that the first tile gets well but I don't get further. </div><div><br></div><div>Any ideas how to handle this?</div>-- <br>____________________________________<br><br>Summa cum pietate, Marat<br>
</div>