Openlayers Client - Layer EXTIGHSites
Bounding Box
421849.81, 518361.28, 768347.28, 968015.39
Level and Resolutions
| Level | Resolution |
|---|---|
| 0 | 1756.46136719 |
| 1 | 878.230683594 |
| 2 | 439.115341797 |
| 3 | 219.557670898 |
| 4 | 109.778835449 |
| 5 | 54.8894177246 |
| 6 | 27.4447088623 |
| 7 | 13.7223544312 |
| 8 | 6.86117721558 |
| 9 | 3.43058860779 |
| 10 | 1.71529430389 |
| 11 | 0.857647151947 |
| 12 | 0.428823575974 |
JavaScript code
<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
var mapOptions = {
projection: new OpenLayers.Projection('EPSG:2157'),
maxResolution: 1756.46136719,
resolutions: [1756.46136719, 878.230683594, 439.115341797, 219.557670898,
109.778835449, 54.8894177246, 27.4447088623, 13.7223544312, 6.86117721558, 3.43058860779,
1.71529430389, 0.857647151947, 0.428823575974],
units: 'm',
numZoomLevels: 13,
maxExtent: new OpenLayers.Bounds(421849.81, 518361.28, 768347.28, 968015.39)
};
map = new OpenLayers.Map('map', mapOptions);
var layer = new OpenLayers.Layer.TMS('TMS EXTIGHSites', '../tms/',
{layername: 'EXTIGHSites/itm', type: 'png',
tileSize: new OpenLayers.Size(256, 256)
});
map.addLayer(layer)
map.zoomToExtent(new OpenLayers.Bounds(421849.81, 518361.28, 768347.28, 968015.39));
}
</script>