Openlayers Client - Layer thelwallplans

Coordinate SystemImage format
png

Bounding Box

364920.3, 387365.2, 365013.8, 387436.6

JavaScript code

<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
    var mapOptions = {
    projection: new OpenLayers.Projection('EPSG:27700'),
    resolutions: [2800.0, 1400.0, 700.0, 350.0, 280, 140, 70, 28.0, 14.0, 7.0, 2.8, 1.4,
0.7, 0.28, 0.14, 0.07, 0.028],
    units: 'm',
    maxExtent: new OpenLayers.Bounds(364920.3, 387365.2, 365013.8, 387436.6)
    };

    map = new OpenLayers.Map('map', mapOptions);

    var layer = new OpenLayers.Layer.WMTS({
     name: "WMTS thelwallplans",
     url: '../wmts/thelwallplans/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.png',
     layer: 'thelwallplans',
     matrixSet: 'thelwallplans_grid',
     format: 'png',
     isBaseLayer: true,
     style: 'default',
     requestEncoding: 'REST'
    });

    map.addLayer(layer)
    map.zoomToExtent(new OpenLayers.Bounds(364920.30, 387365.20, 365013.80, 387436.60));
}
</script>