Код: Выделить всё
var layers = new Array;
layers.push(new OpenLayers.Layer.TMS("OSM (Mapnik)",
"http://tile.openstreetmap.org/",
{ type: 'png', getURL: getOsmMapnikTileURL, displayOutsideMaxExtent: true,
attribution: '<a href="http://www.openstreetmap.org/">OpenStreetMap</a>'})
);
layers.push(new OpenLayers.Layer.Image("Tiles",
"http://192.168.1.4/map/images/404.png",
new OpenLayers.Bounds(37.2,55.8,37.4,55.7),
new OpenLayers.Size(80, 120),
{}
));
m_map.addLayers(layers);
В чем может быть проблема?
Заранее благодарен за ответы.