I have been trying this since yesterday. If I load only the tilestache layer, it is visible. If I load both bing and tilestache layer, the tilestache layer is not visible. When I look at the firebug console, the tiles are being loaded.
_map = new OpenLayers.Map({div: 'map'});
bing = new OpenLayers.Layer.Bing({
key: 'AqR9gcXm14-PKVQsWrL8H9A_RnusHZCzQKX_tbJegzU1EOZGafcjzCYbcpkwukQh',
type: 'Aerial'
});
tilestache = new OpenLayers.Layer.XYZ(
'hul',
'http://www.hyderabadurbanlab.com/tiles/tiles.py/hul2/${z}/${x}/${y}.png',
{
tileSize: new OpenLayers.Size(256, 256),
tileOrigin: get_point(17.4099, 78.4761),
sphericalMercator: true,
isBaseLayer: false,
transparent: true,
opacity: 0.6,
transitionEffect: 'resizing',
buffer: 1,
wrapDateLine: true
}
);
_map.addLayers([bing, tilestache]);
Attached is the screen shot of how it looks.
When I load just the tilestache layer, it looks like this:
I want the Bing maps as the base layer and the tilestache layer on top of it as an overlay.
Thank you.