Openlayers Client - Layer EPAAirQuality

Coordinate SystemImage format
png

Bounding Box

21861.7088188, 15177.4868422, 385198.216049, 468039.713152

Level and Resolutions

LevelResolution
01768.99307152
1884.496535762
2442.248267881
3221.124133941
4110.56206697
555.2810334851
627.6405167426
713.8202583713
86.91012918564
93.45506459282
101.72753229641
110.863766148205
120.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 EPAAirQuality', '../tms/',
        {layername: 'EPAAirQuality/ig', 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>