I develop HTML pages by using OpenLayers, which points to a local GeoServer WMS service. On displaying a layer, it stops at its available max zoom level, but it is still too small to manipulate (a polygon of 10 meter square). Is there a way to increase the zoom level? Where should I do the workaround -- on the OpenLayers or the layer setting in GeoServer? This is my OpenLayers code:
var xwms = new OpenLayers.Layer.WMS( "Central Java",
"http://localhost:8080/geoserver/myneighborhood/wms/",
{
layers: 'basemap',
styles: 'tlx_map_land',
bgcolor: '0xBED0DE'
} );
var map = new OpenLayers.Map({
div: "map",
layers: [xwms],
controls: [
new OpenLayers.Control.Navigation({
dragPanOptions: {
enableKinetic: true
}
}),
new OpenLayers.Control.PanZoom(),
new OpenLayers.Control.Attribution()
],
center: [110.248191,-7.477177],
zoom: 13
});
============================ solved ===============================
Finally, I decided to utilise Klokantech's tool to generate custom bounding box(es), set it into both layer publishing in GeoServer and OpenLayers map options. To everyone who participate, thanks for your time and attention.