我正在使用 openlayers、geoserver 和 Extjs,如何从 geoserver 的 geowebcache 正确访问 wms 层。现在我正在使用这段代码
map.addLayer(
new OpenLayers.Layer.WMS(
"trivandrum","http://localhost:8080/geoserver/gwc/service/wms",{
srs:"EPSG:4030",
LAYERS:'tvm_road_colony',
Format:'image/png',
transparent:true,
tiled: true
},
{
buffer: 0,
displayOutsideMaxExtent:true,
visibility: true,
isBaseLayer: true
}
)
);
here I have got wms layer but when i try to zoom i did'nt get the layer completely how can i solve this problem? please help