Openlayers Client - Layer ortho_2019_luref
Bounding Box
48000.0, 57000.0, 107000.0, 139000.0
Level and Resolutions
| Level | Resolution |
|---|---|
| 0 | 320.3125 |
| 1 | 160.15625 |
| 2 | 80.078125 |
| 3 | 40.0390625 |
| 4 | 20.01953125 |
| 5 | 10.009765625 |
| 6 | 5.0048828125 |
| 7 | 2.50244140625 |
| 8 | 1.25122070312 |
| 9 | 0.625610351562 |
| 10 | 0.312805175781 |
| 11 | 0.156402587891 |
| 12 | 0.0782012939453 |
| 13 | 0.0391006469727 |
| 14 | 0.0195503234863 |
| 15 | 0.00977516174316 |
| 16 | 0.00488758087158 |
| 17 | 0.00244379043579 |
| 18 | 0.0012218952179 |
| 19 | 0.000610947608948 |
| 20 | 0.000305473804474 |
| 21 | 0.000152736902237 |
JavaScript code
<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
var mapOptions = {
projection: new OpenLayers.Projection('EPSG:2169'),
maxResolution: 320.3125,
resolutions: [320.3125, 160.15625, 80.078125, 40.0390625, 20.01953125, 10.009765625,
5.0048828125, 2.50244140625, 1.25122070312, 0.625610351562, 0.312805175781,
0.156402587891, 0.0782012939453, 0.0391006469727, 0.0195503234863, 0.00977516174316,
0.00488758087158, 0.00244379043579, 0.0012218952179, 0.000610947608948, 0.000305473804474,
0.000152736902237],
units: 'm',
numZoomLevels: 22,
maxExtent: new OpenLayers.Bounds(48000.0, 57000.0, 107000.0, 139000.0)
};
map = new OpenLayers.Map('map', mapOptions);
var layer = new OpenLayers.Layer.TMS('TMS ortho_2019_luref', '../tms/',
{layername: 'ortho_2019_luref/GLOBAL_WEBMERCATOR_4_LU', type: 'jpeg',
tileSize: new OpenLayers.Size(256, 256)
});
map.addLayer(layer)
map.zoomToExtent(new OpenLayers.Bounds(48000.00, 57000.00, 107000.00, 139000.00));
}
</script>