Openlayers Client - Layer orthos3
| Coordinate System | Image format |
|---|---|
| jpeg |
Bounding Box
-357824.0, 6037007.0, 1313633.0, 7230727.0
JavaScript code
<script src="static/OpenLayers.js"></script>
<script type="text/javascript">
var map;
function init(){
var mapOptions = {
projection: new OpenLayers.Projection('EPSG:2154'),
resolutions: [25.2, 22.4, 19.599999999999998, 16.799999999999997, 13.999999999999998,
11.2, 8.399999999999999, 5.6, 2.8, 1.4, 0.7, 0.5599999999999999, 0.35, 0.28, 0.14, 0.07],
units: 'm',
maxExtent: new OpenLayers.Bounds(-357824.0, 6037007.0, 1313633.0, 7230727.0),
tileSize: new OpenLayers.Size(256, 256)
};
map = new OpenLayers.Map('map', mapOptions);
var layer = new OpenLayers.Layer.WMTS({
name: "WMTS orthos3",
url: '../wmts/orthos3/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.jpeg',
layer: 'orthos3',
matrixSet: 'l93gridwmts',
format: 'jpeg',
isBaseLayer: true,
style: 'default',
requestEncoding: 'REST'
});
map.addLayer(layer)
map.zoomToExtent(new OpenLayers.Bounds(-357824.00, 6037007.00, 1313633.00,
7230727.00));
}
</script>