Openlayers Client - Layer ortho_2019_luref
Coordinate System | Image format |
---|---|
jpeg |
Bounding Box
48000.0, 57000.0, 107000.0, 139000.0
JavaScript code
<script src="static/OpenLayers.js"></script> <script type="text/javascript"> var map; function init(){ var mapOptions = { projection: new OpenLayers.Projection('EPSG:2169'), 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', maxExtent: new OpenLayers.Bounds(48000.0, 57000.0, 107000.0, 139000.0), tileSize: new OpenLayers.Size(256, 256) }; map = new OpenLayers.Map('map', mapOptions); var layer = new OpenLayers.Layer.WMTS({ name: "WMTS ortho_2019_luref", url: '../wmts/ortho_2019_luref/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.jpeg', layer: 'ortho_2019_luref', matrixSet: 'GLOBAL_WEBMERCATOR_4_LU', format: 'jpeg', isBaseLayer: true, style: 'default', requestEncoding: 'REST' }); map.addLayer(layer) map.zoomToExtent(new OpenLayers.Bounds(48000.00, 57000.00, 107000.00, 139000.00)); } </script>