No deltas for tile bounds/position calculation
Now we also do not use deltas for shiftRow and shiftColumn. Some refactoring was done so we do not need different calculateGridLayout methods for layers with top-left and bottom-left tile origin. TODO: With this commit, ArcGisCache and KaMap layers are broken.
This commit is contained in:
@@ -114,7 +114,8 @@ OpenLayers.Layer.KaMap = OpenLayers.Class(OpenLayers.Layer.Grid, {
|
||||
return {
|
||||
tilelon: tilelon, tilelat: tilelat,
|
||||
tileoffsetlon: tileoffsetlon, tileoffsetlat: tileoffsetlat,
|
||||
tileoffsetx: tileoffsetx, tileoffsety: tileoffsety
|
||||
tileoffsetx: tileoffsetx, tileoffsety: tileoffsety,
|
||||
startcol: tilecol, startrow: tilerow
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user