Hi,
I've got quiete a trouble here:
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
http://tileserver.com/lv1/ the next request goes to ttp://
tileserver.com/lv2/. Lv is just a zoom here.
And lv1 is actually the first level.
2) JS goes like this
var resolutions = [
60000,
....15 more

];
function init(){
map = new OpenLayers.Map( 'map', {
projection: new OpenLayers.Projection("EPSG:3395"),
resolutions: resolutions //?!?
});
for (var i = 0; i<=15; i++) {
var layer = new OpenLayers.Layer.TileCache("TileCache Layer",
 ["htttp://tileserver.com/"],
('lv'+(i+1)),
{serverResolutions: resolutions[i]}
);
map.addLayer(layer);
}
map.setCenter(new OpenLayers.LonLat(0, 0), 0);
}
3) Interseting is that the first tile gets well but I don't get further.

Any ideas how to handle this?
-- 
____________________________________

Summa cum pietate, Marat
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to