Bonjour,
afin d'intégrer le géoportail dans mapfish j'ai implémenté la requête open layers
ainsi
var ign_options = {
name: "IGN - cartes",
url: "http://wxs.ign.fr/clef/wmts",
layer: "GEOGRAPHICALGRIDSYSTEMS.MAPS",
matrixSet: "PM",
style: "normal",
numZoomLevels: 19,
group : 'IGN',
attribution: '©IGN <a href="http://www.geoportail.fr/" target="_blank"><img src="http://api.ign.fr/geoportail/api/js/2.0.0beta/theme/geoportal/img/logo_gp.gif"></a> <a href="http://www.geoportail.gouv.fr/depot/api/cgu/licAPI_CGUF.pdf" alt="TOS" title="TOS" target="_blank">Terms of Service</a>'
};
var createMap = function() {
return new OpenLayers.Map({
projection: new OpenLayers.Projection("EPSG:900913"),
displayProjection: new OpenLayers.Projection("EPSG:4326"),
units: "m",
numZoomLevels: 18,
maxResolution: 10000,
maxExtent: new OpenLayers.Bounds(600000,6000000,700000,670000),
allOverlays: false,
controls: []
});
};
il m'est retourné l'erreur 403, merci de m'expliquer pourquoi
Partager