Openlayers Client - Layer osmtools_islands_foot_orto_combined
JavaScript code
<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
OpenLayers.Util.onImageLoadErrorColor = "transparent";
map = new OpenLayers.Map('map', {
maxResolution: 6557.05283588,
maxExtent: new OpenLayers.Bounds(275886.433618, 6985772.99652, 1954491.9596,
8067641.46175),
projection: new OpenLayers.Projection("EPSG:3857"),
numZoomLevels: 22
});
var layer = new OpenLayers.Layer.WMS( "WMS osmtools_islands_foot_orto_combined",
"../service?",
{layers: "osmtools_islands_foot_orto_combined", format: "image/png",
srs:"EPSG:3857",
exceptions: "application/vnd.ogc.se_inimage", transparent: true},
{singleTile: true, ratio: 1, isBaseLayer: true} );
map.addLayer(layer);
map.zoomToMaxExtent();
}
</script>