Openlayers Client - Layer settlecarlisleortho
| Coordinate System | Image format |
|---|---|
| png |
Bounding Box
339637.0, 460000.0, 382499.997, 556037.0
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: [140, 14.0, 2.8, 0.7, 0.14, 0.07],
units: 'm',
maxExtent: new OpenLayers.Bounds(339637.0, 460000.0, 382499.997, 556037.0)
};
map = new OpenLayers.Map('map', mapOptions);
var layer = new OpenLayers.Layer.WMTS({
name: "WMTS settlecarlisleortho",
url:
'../wmts/settlecarlisleortho/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.png',
layer: 'settlecarlisleortho',
matrixSet: 'settlecarlisleortho_grid',
format: 'png',
isBaseLayer: true,
style: 'default',
requestEncoding: 'REST'
});
map.addLayer(layer)
map.zoomToExtent(new OpenLayers.Bounds(339637.00, 460000.00, 382500.00, 556037.00));
}
</script>