Hi,
I'm not sure, if this it geoserver case or geowebcache case, but...
My layer has following definitions (automatically coming from WMS server, when creating store)
Native SRS
EPSG:3067
Declared SRS
EPSG:3067
SRS handling
force declared
Bounding Boxes
Native Bounding Box
56.000 6,594.000 740.000 7,782.000
Lat/Lon Bounding Box
22.5 56.25 28.125 61.875
All seems to work with my app, when not caching (TILED: false). When I try to use with GWC, caching is not happening (TILED: true).
I'm using layer with Openlayers with following:
MAP_TILE = new OpenLayers.Layer.WMS("Map tile",
"http://localhost:8080/geoserver/wms", {layers: 'MAP_WMS:base', format:'image/png', transparent: true, TILED: true},
{opacity: 1.0, isBaseLayer: true, visibility: true, minScale: 100000, maxScale: 10000}
);
var asteet = new OpenLayers.Projection("EPSG:4326");
var mercator = new OpenLayers.Projection("EPSG:900913"); var suomi = new OpenLayers.Bounds(18.61,59.57,31.85,70.23).transform(asteet, mercator);
var map = new OpenLayers.Map('map', {
projection: mercator,
units: "m",
maxExtent: suomi,
restrictedExtent :suomi
});
Any idea, how to get GWC working.
--kupen
--
Wippies-vallankumous on täällä! Varmista paikkasi vallankumouksen eturintamassa ja liity Wippiesiin heti!
http://www.wippies.com/