Openlayers Client - Layer osniPointer
Bounding Box
21861.7088188, 15177.4868422, 385198.216049, 468039.713152
Level and Resolutions
| Level | Resolution |
|---|---|
| 0 | 1768.99307152 |
| 1 | 884.496535762 |
| 2 | 442.248267881 |
| 3 | 221.124133941 |
| 4 | 110.56206697 |
| 5 | 55.2810334851 |
| 6 | 27.6405167426 |
| 7 | 13.8202583713 |
| 8 | 6.91012918564 |
| 9 | 3.45506459282 |
| 10 | 1.72753229641 |
| 11 | 0.863766148205 |
| 12 | 0.431883074103 |
JavaScript code
<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
var mapOptions = {
projection: new OpenLayers.Projection('EPSG:29903'),
maxResolution: 1768.99307152,
resolutions: [1768.99307152, 884.496535762, 442.248267881, 221.124133941,
110.56206697, 55.2810334851, 27.6405167426, 13.8202583713, 6.91012918564, 3.45506459282,
1.72753229641, 0.863766148205, 0.431883074103],
units: 'm',
numZoomLevels: 13,
maxExtent: new OpenLayers.Bounds(21861.7088188, 15177.4868422, 385198.216049,
468039.713152)
};
map = new OpenLayers.Map('map', mapOptions);
var layer = new OpenLayers.Layer.TMS('TMS osniPointer', '../tms/',
{layername: 'osniPointer/irishgrid29903', type: 'png',
tileSize: new OpenLayers.Size(256, 256)
});
map.addLayer(layer)
map.zoomToExtent(new OpenLayers.Bounds(21861.71, 15177.49, 385198.22, 468039.71));
}
</script>