Bonjour,
Dans cet exemple basique, la couche orthophotos "ORTHOIMAGERY.ORTHOPHOTOS" ne s'affiche plus, elle n'est pas non plus affichée dans le layerswitcher.
Cela fonctionnait la semaine dernière, en localhost et en distant
Code JavaScript : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 var map = Gp.Map.load( "map", // html div { // Geoportal access key obtained here : http://professionnels.ign.fr/ign/contrats apiKey: "apikey", // layers to display zoom : 6, center : { x : 2, y : 46, projection : "CRS:84" }, layersOptions : { "ORTHOIMAGERY.ORTHOPHOTOS" : {} , "GEOGRAPHICALGRIDSYSTEMS.MAPS" : { opacity : 0.9 } }, // additional tools to display on the map controlsOptions : { "layerSwitcher" : {} } } ) ;
aucun problème avec GEOGRAPHICALGRIDSYSTEMS.MAPS", pas de 'forbidden' dans le network.
Merci de me donner votre avis
Laurent
Partager