Openlayers Client - Layer nemobilite2030_projet_rer
Coordinate System | Image format |
---|---|
png |
Bounding Box
514000.0, 176000.0, 580000.0, 236000.0
JavaScript code
<script src="static/OpenLayers.js"></script> <script type="text/javascript"> var map; function init(){ var mapOptions = { projection: new OpenLayers.Projection('EPSG:21781'), resolutions: [100, 50, 20, 10, 5], units: 'm', maxExtent: new OpenLayers.Bounds(514000.0, 176000.0, 580000.0, 236000.0), tileSize: new OpenLayers.Size(256, 256) }; map = new OpenLayers.Map('map', mapOptions); var layer = new OpenLayers.Layer.WMTS({ name: "WMTS nemobilite2030_projet_rer", url: '../wmts/1.0.0/nemobilite2030_projet_rer/default/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png', layer: 'nemobilite2030_projet_rer', matrixSet: 'mobilite2030_grid', format: 'png', isBaseLayer: true, style: 'default', requestEncoding: 'REST' }); map.addLayer(layer) map.zoomToExtent(new OpenLayers.Bounds(514000.00, 176000.00, 580000.00, 236000.00)); } </script>