[OpenLayers-Dev] 256x256

aymankoo ayman_sjo at yahoo.com
Sun May 16 00:27:57 EDT 2010


I am using WorldWind caching. one of my caching using 256x256, but when I
used OpenLayers with 256x256 it has very strange behavior, it downloaded the
same tile more than once and draw it on different places on the same level.
attached an image of this behavior 
My code:
map = new OpenLayers.Map('map',{numZoomLevels: 18,'m
http://n2.nabble.com/file/n5060802/OpenLayers.JPG OpenLayers.JPG
axResolution': 0.1875, tileSize: new OpenLayers.Size(256, 256)});
            ww2 = new OpenLayers.Layer.CGIS( "LANDSAT",
            "http://172.31.101.109:8080/servlet/getWWJ", 3,
13,{dir:"t256"});
			ww2.transitionEffect = 'resize';
            map.addLayers([ww2]);
            map.addControl(new OpenLayers.Control.LayerSwitcher());
            map.setCenter(new OpenLayers.LonLat(51.275, 25.208), 8);

-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/256x256-tp5060802p5060802.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.



More information about the Dev mailing list