[OpenLayers-Users] <ows:Exception
exceptionCode="InvalidParameterValue">
giraam
sdjbm17 at gmail.com
Tue Jun 8 12:34:06 EDT 2010
Ian Turton wrote:
> Try looking at the page source of the GeoServer layer preview.
Actually I've looked at the page source generated by the GeoServer and I got
from there my bounding box value, and the src, etc.
var bounds = new OpenLayers.Bounds(
432.719, 7177.306,
492.263, 7219.892
);
var options = {
controls: [],
maxExtent: bounds,
maxResolution: 0.2325937499999999,
projection: "EPSG:4326",
units: 'degrees'
};
map = new OpenLayers.Map('map', options);
// setup tiled layer
tiled = new OpenLayers.Layer.WMS(
"pdv_new - Tiled",
"http://192.168.11.22:8080/geoserver/wms",
{
layers: 'GestionComercial:pdv_new',
styles: '',
width: '512',
height: '366',
srs: 'EPSG:4326',
format: format,
tiled: 'true',
tilesOrigin : map.maxExtent.left + ',' +
map.maxExtent.bottom
},
{
buffer: 0,
displayOutsideMaxExtent: true
}
);
The only difference between this and with mine is I instantiate as WFS...
-----
just another web developer
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/ows-Exception-exceptionCode-InvalidParameterValue-tp5149142p5154497.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list