Openlayers Client - Layer pag_pap_approuves_staging
Coordinate System | Image format |
---|---|
png |
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 pag_pap_approuves_staging", url: '../wmts/pag_pap_approuves_staging/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.png', layer: 'pag_pap_approuves_staging', matrixSet: 'GLOBAL_WEBMERCATOR_4_LU', format: 'png', isBaseLayer: true, style: 'default', requestEncoding: 'REST' }); map.addLayer(layer) map.zoomToExtent(new OpenLayers.Bounds(48000.00, 56000.00, 107000.00, 139000.00)); } </script>